Jump to content

[scripting] gain sanity by company?

Recommended Posts

@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
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

  • Create New...