Hajimi. Posted August 18, 2021 Share Posted August 18, 2021 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 https://forums.kleientertainment.com/forums/topic/132789-how-do-i-make-character-regenerate-sanity-as-a-skill/ Share on other sites More sharing options...
Silky-Inc Posted September 9, 2021 Share Posted September 9, 2021 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! 1 Link to comment https://forums.kleientertainment.com/forums/topic/132789-how-do-i-make-character-regenerate-sanity-as-a-skill/#findComment-1493207 Share on other sites More sharing options...
Hajimi. Posted November 17, 2021 Author Share Posted November 17, 2021 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! 1 Link to comment https://forums.kleientertainment.com/forums/topic/132789-how-do-i-make-character-regenerate-sanity-as-a-skill/#findComment-1513890 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