TemporarySolutn Posted June 11, 2019 Share Posted June 11, 2019 So its already like oh boy making regen seems complicated and what ive tried to use just gives the regeneration for a few seconds rather than actually making it toggle-able and its not like im retarded and dont know lua, just new to "dont starve lua" Link to comment https://forums.kleientertainment.com/forums/topic/107449-passive-regen-while-raining-and-below-a-certain-wetness/ Share on other sites More sharing options...
Ultroman Posted June 24, 2019 Share Posted June 24, 2019 You can take a look at what I did in my mod Stat Regen System. I just built my own complete regen system, which reacts to whether you're moving, have been in battle recently, has timers to delay it and everything, but the basic functionality is simple: DoPeriodicTask => check if the character should regen health, and if so, add some health. The not-so-simple part is the check for whether they should regen health or not. Link to comment https://forums.kleientertainment.com/forums/topic/107449-passive-regen-while-raining-and-below-a-certain-wetness/#findComment-1213610 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