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 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 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.
Please be aware that the content of this thread may be outdated and no longer applicable.