jissouseki Posted January 13, 2015 Share Posted January 13, 2015 Is there any section I should be looking up on how to have a mod character increase sanity by having another player (or humanoid NPC) around? Or, in reverse, to have company DRAIN their sanity and gain slowly when they're left alone? Link to comment https://forums.kleientertainment.com/forums/topic/49044-scripting-gain-sanity-by-company/ Share on other sites More sharing options...
rezecib Posted January 13, 2015 Share Posted January 13, 2015 @jissouseki, I'm pretty sure I wrote a code snippet for that before... But I can't seem to find it. Basically you want to use Willow's custom sanity rate function, but have it detect players (:HasTag("player")) instead of burnables or whatever. As for a passive gain, you can look at the waxwell prefab. Link to comment https://forums.kleientertainment.com/forums/topic/49044-scripting-gain-sanity-by-company/#findComment-601219 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