Lumina Posted May 28, 2018 Share Posted May 28, 2018 Hi, I would like to make temperature higher in cave during summer. Enough so you need to refresh yourself one way or another, but if possible without withering plants. Ideally, i would like : - something that couldn't happen the first year (so you can prepare, and use caves as a nice way to escape summer the first year) - something that will only happen, let's say, one year in two Thanks for any clues or answer you could give ! Link to comment Share on other sites More sharing options...
ptr Posted May 28, 2018 Share Posted May 28, 2018 So far as I have seen, For cave temperature, it is the temperature of master world times TUNING.CAVES_TEMP_MULT which is 0.6 by default This is done in prefabs/cave_network, you can replace the function or simply modify TUNING.CAVES_TEMP_MULT For periodicity, you can calculate year with cycles, springlength+summerlength+autumnlength+winterlength, they can be found in worldstate For plants withering, you can play with Witherable:Start() function in components/witherable, Link to comment Share on other sites More sharing options...
Lumina Posted May 29, 2018 Author Share Posted May 29, 2018 Thanks, i will look at it. Link to comment Share on other sites More sharing options...
Recommended Posts
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