ClumsyPenny Posted February 10, 2022 Share Posted February 10, 2022 I need to know the _moistureceil and _moisturefloor values for my mod to calculate how much moisture is needed to currently start rain, but I can't figure out how to access the latter normally. The _moistureceil is very easy to get from TheWorld.state.moistureceil, but the other is missing in components\worldstate for some reason. I was able to use the upvalue hacker to get _moisturefloor through the GetDebugString() of the weather components, but I feel like there has to be a better way. Link to comment Share on other sites More sharing options...
penguin0616 Posted February 10, 2022 Share Posted February 10, 2022 4 minutes ago, HobNob said: but I feel like there has to be a better way. As far as I'm aware, that's a nope. Last time I tried to get the moisture floor, I had to take the same approach as you. 1 Link to comment Share on other sites More sharing options...
ClumsyPenny Posted February 11, 2022 Author Share Posted February 11, 2022 14 hours ago, penguin0616 said: As far as I'm aware, that's a nope. Last time I tried to get the moisture floor, I had to take the same approach as you. I was feeling bad for taking such a roundabout approach, but that's reassuring. Thank you for the help! 1 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