The values are randomized on component creation:
self.wither_temp = math.random(TUNING.MIN_PLANT_WITHER_TEMP, TUNING.MAX_PLANT_WITHER_TEMP) self.rejuvenate_temp = math.random(TUNING.MIN_PLANT_REJUVENATE_TEMP, TUNING.MAX_PLANT_REJUVENATE_TEMP)
But because they're not saved, they will change any time you reload the game. This can cause weird behavior during early or late summer, where temperature didn't go past the randomized threshold for some plants, but then does after loading because it's now a different value, and so.
If saving these is deemed a waste or not really needed, maybe you could pseudorandom the values in a way that they stay consistent..? Not sure.
Steps to Reproduce
- Start a world, check the wither and rejuvenate temperatures of a witherable plant.
- Reload the world and check them again.
- Notice how the values have changed.
There are no comments to display.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now