Jump to content

Recommended Posts

I am making my first more complicated character and I really need to make them regenerate sanity, just like Maxwell does. Problem is that I don't know where do I put that function in the code and how do I make it? I tried to make a sanity aura for my character by copying things from game files and changing number from 0 to 1 but then game crashes. I am using Extended Sample Character Template, is this causing my problems?

In your character file ("character_name.lua") and in the fn, add this in

inst.components.sanity.dapperness = TUNING.DAPPERNESS_HUGE

this will give your character the power of being the definition of drip

 

Hope this helps!

  • Thanks 1
On 9/10/2021 at 12:25 AM, Silky-Inc said:

In your character file ("character_name.lua") and in the fn, add this in


inst.components.sanity.dapperness = TUNING.DAPPERNESS_HUGE

this will give your character the power of being the definition of drip

 

Hope this helps!

IT WORKED, THANK YOU SO MUCH!

  • Potato Cup 1

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
  • Create New...