Please disclose if any significant portion of your mod was created using AI tools by adding the 'AI Generated' category. Failing to do so may result in the mod being removed from Thunderstore.
You are viewing a potentially older version of this package.
View all versions.
ColorfulLights
Color any torch, firepit, stone hearth and bonfire using RGB and HTML color codes.
| Date uploaded | a year ago |
| Version | 1.12.0 |
| Download link | ComfyMods-ColorfulLights-1.12.0.zip |
| Downloads | 4606 |
| Dependency string | ComfyMods-ColorfulLights-1.12.0 |
This mod requires the following mods to function
denikson-BepInExPack_Valheim
BepInEx pack for Valheim. Preconfigured and includes unstripped Unity DLLs.
Preferred version: 5.4.2202README
ColorfulLights
- You can color any torch, firepit, stone hearth and bonfire using RGB and HTML color codes!
- Those without the mod will still see yellow torches, green guck torches and standard yellow fireworks.
Features
Color any torch or fireplace
- In-game, press F1 to bring up the ConfigurationManager and navigate to the ColorfulLights section.
- Change the target color using the RGB sliders or using an HTML color code.
- Hover or any torch or fireplace and a prompt to change its color will appear.
- This prompt can be hidden by disabling the
showChangeColorHoverTextsetting. - Prompt font-size can be configured with the
colorPromptFontSizesetting.
- This prompt can be hidden by disabling the
- Hit the hot-key
LeftShift + E(configurable) to change the color.
Launch colored fireworks
- Colors applied to any campfire, hearth or bonfire will also color any fireworks launched from that fireplace!
- Players without the mod will see the standard firework color.
Notes
- This is the good enough release with more features/options to be added later.
- See source at: GitHub.
- Looking for a chill Valheim server? Comfy Valheim Discord
CHANGELOG
Changelog
1.12.0
- Fixed for the
v0.220.3patch. - Bumped up
<LangVersion>to C# 12. - Code clean-up and refactoring.
1.11.0
- Fixed for the
v0.217.38patch. - Moved changelog into
CHANGELOG.md.
1.10.0
- Fixed for
v0.217.14patch. - Removed colored fireworks feature as it broke with new vanilla fireworks items.
- Modified the keyboard shortcut logic to prevent further keypress if a the action was performed.
1.9.0
- Fixed for
v0.216.8PTB patch. - Modified
Player.TakeInput()transpiler patch to happen afterPlayer.UpdateHover(). - Minor code clean-up.
1.8.0
- Converted color config option to use
ExtendedColorConfigEntryandColorPalette. - Added
PieceLastColoredByHostZDO string field filled by player'sNetworkuserIdwhen modifying light color. - Modified the
Player.TakeInput()patch to also check that taking input is allowed.
1.7.1
- Fixed yet another small bug with the
Player.TakeInput()transpiler not matching the same pattern as other mods.
1.7.0
- Fixed a bug with the
Player.TakeInput()transpiler blocking other inputs with the same keybind. - Rewrote the entire fireplace-coloring system to use a new MonoBehaviour
FireplaceColor. - Fixed colorizing fireworks... it never worked properly before and now it does.
- Moved patch-related code into their own classes.
1.6.0
- Move action check from
Fireplace.Interact()prefix to Player.TakeInput() transpiler delegate.- Can now configure the hot-key to change the color.
- Convert spawn colored fireworks code from
Fireplace.UseItem()prefix to a transpiler.
1.5.0
- Added an option to change the font-size for the text prompt on hover.
1.4.0
- Updated for Hearth & Home.
- Renamed
LastColoredByPlayerIdZDO key toLightLastColoredBy.
1.3.0
- Fixed colors not applying to the Light component in the
Point lightGameObject. - Now writes the PlayerId to a new ZDO field:
LastColoredByPlayerId.
1.2.0
- Fixed a memory leak when caching lights/fires. Now starts a coroutine to clean-up the cache.
1.1.0
- Adding configuration setting to hide the 'change color' prompt over a torch or fireplace.
- Now saves the target color's alpha value to the ZDO and reads/uses this alpha value if present in the ZDO.
1.0.0
- Initial release.