Don't Starve Together
Home Base Bonus
Question about moisture levels.
I'm currently making a mod that involves wetness, and discovered your code from a few years ago. Do you remember how you coded for detecting moisture levels? I'm trying to make a structure that breaks when it rains, but all my attempts at detecting rain or the moisture level of a structure result in it the game crashing..
Τελευταία επεξεργασία από Furry Eskimo; 30 Ιουλ 2020, 20:00
< >
Εμφάνιση 1-2 από 2 σχόλια
Serp  [δημιουργός] 11 Φεβ 2021, 13:41 
hm, seems I was never notified about this :D (better write a comment).

I guess your question is not relevant anymore. Also the devs changed wetness code, so I had to disable parts of that code from this mod. Don't know much about the new code.
Thanks for replying! I found a different way to code the structure. Idk why but trying to give a structure a wetness property was causing, issues.. What I ended up doing was setting the structure’s durability Super high, and it checks the weather every few seconds, and based on the surrounding conditions, loses some uses. Seems to work well enough.
< >
Εμφάνιση 1-2 από 2 σχόλια
Ανά σελίδα: 1530 50