SaucyPigeon / RW_ShowFertility

A RimWorld mod allowing you to display fertility in-game clearly.
https://steamcommunity.com/sharedfiles/filedetails/?id=1891466396
MIT License
0 stars 0 forks source link

Customisable colours #1

Open SaucyPigeon opened 4 years ago

SaucyPigeon commented 4 years ago

Allow user to customise colors used in fertility display via mod settings.

SaucyPigeon commented 4 years ago

Other customisable options:

May need to define a gradient def to allow easy patching for other mods

SaucyPigeon commented 4 years ago

(such as tilled soil with high fertility values)

SaucyPigeon commented 4 years ago

1.1.0 uses custom gradient class (benefit over UnityEngine.Gradient is that it allows for values over 1.0 and values past the contained range automatically go to the highest/lowest value accordingly).

Mod settings could allow user to add a t value and then assign a colour to it. Colour assignment could be three simple floats, ints or even a custom colour picker widget.