How do I make character regenerate sanity as a skill?

Recommended Posts

Hajimi.    0

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?

Share this post

Link to post
Share on other sites
Silky-Inc    0

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!

Share this post

Link to post
Share on other sites

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