Jump to content

How do I make character regenerate sanity as a skill?


Hajimi.

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?

Link to comment
Share on other sites

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!

Link to comment
Share on other sites

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.

×
  • Create New...