vitasunshine Posted 4 hours ago Share Posted 4 hours ago Hello Don't Starve Together community! New to character modding and not familiar with Lua at all, so I wanted some help here. So, a bit of backstory. I'm creating a character mod. One of the negative perks of this character is that she's weak to sunlight (think like a vampire), which I tried integrating into the game by making her sanity drain during the daytime, but then realized it actually benefited another one of her perks that multiplies her damage output the lower her sanity is. So, I decided maybe tying it into another one of her core mechanics would work better, that being that she is super hungry all the time, and maybe the heat of the sun would cause her hunger to drain slightly faster. Thing is, I can't for the life of me figure out how to make her hunger drain faster during the day and slightly less at dusk/night and in caves. Help would be appreciated! Link to comment https://forums.kleientertainment.com/forums/topic/171067-changing-character-hunger-rate-based-on-time-of-day/ 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