Jump to content

Recommended Posts

  • Developer

First of all, welcome to the forums! :D

 

Second of all,

I want to lower her sanity drain at night slightly

Mobbstar is right, Wendy has this line in her code:

inst.components.sanity.night_drain_mult = TUNING.WENDY_SANITY_MULT

If you just want to set it the same as Wendy's, you just input that line in your character's prefab.

 

If you want to modify Wendy's falue, you could do this:

inst.components.sanity.night_drain_mult = (TUNING.WENDY_SANITY_MULT * 2)

This basically tells the game to take Wendy's sanity drain and multiply it by 2, making it even worse.

 

Or you could also just give it a set value, like this:

inst.components.sanity.night_drain_mult = 4

This multiply the damage drain itself, instead of multiplying Wendy's sanity drain.

 

Play around with these settings a bit and see which one you like for your character! :D

I hope I helped!

 

Shamelessly ripped TheDanaAddam's tutorial and modified it to help you, all credit goes to her.

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