Terasology / SimpleFarming

Easy to understand growing of foods
11 stars 27 forks source link

Created Tint Modifier System #95

Closed vedant-shroff closed 4 years ago

vedant-shroff commented 4 years ago

Contains

Created a tint modifier system for seeds to get a tint based on their genetically modified filling values. The tint serves as a visual representation for the filling rather than having to consume the seed to check. The filling values are divided into 3 different categories and corresponding tinting modifiers are applied, namely the LowTinter, ModerateTinter and the MaxTinter. This can later be modified into categories for the seed which can be used to differentiate between varieties of seeds for other purposes like special cooking recipes. It is probably not desirable to have all seeds of a particular colour, therefore seeds with filling less than 1.5f after being genetically modified, will not have any tint but rather retain their original colour. The tinting mechanism can be extended with the addition of more traits to vary the saturation and brightness of the tint, thus giving a better idea of the genes of the seed.

How to test

https://github.com/Terasology/EdibleFlora/pull/8 must be merged for this PR to work.

blueApple The above picture shows fruits affected by the moderateTint