aedenthorn / ValheimMods

Other
145 stars 102 forks source link

DefaultColor for AdvancedSigns #98

Closed cdar closed 10 months ago

cdar commented 10 months ago

This change updates every sign text to include <color=defaultColor> at the beginning if a text did not already have a < in it. So if you changed to a different color that default it won't be changed.

E.g.:

title -> <color=defaultColor>title

If you change the default color in settings, the change will happen you edit a sign in game.

To remove all tags (colors) set RemoveRichText to true in config, then run the game, exit, set RemoveRichText to false. You can now remove this plugin or start the game and every sign color will be changed again to the current default color value.

cdar commented 10 months ago

@aedenthorn Please make a review :)

Thank you for your work and mods :heart: