Jump to content

Need 1 Willow change


Recommended Posts

Hi

I would like Willow to be more susceptible to cold whether through rain or winter.  I would like a -120 cold resistance added to her whether or not she's wearing items.

Thanks 

Would this be enough

inst.components.temperature.inherentinsulation = -120?

 

Link to comment
Share on other sites

On 10.12.2018 at 7:09 PM, Berwin said:

Hi

I would like Willow to be more susceptible to cold whether through rain or winter.  I would like a -120 cold resistance added to her whether or not she's wearing items.

Thanks 

Would this be enough

inst.components.temperature.inherentinsulation = -120?

 

It will only work by deceasing existing insulation to maximum of 0. So if you dont have any clothes and have inherited insulation of -120 your total insulation would be 0. If you wore a hat that gives +60 insulation, total would be still 0. If you wear beefalo hat that gives 240 insulation, the total would be 120. 

That chunk of code basically reduces effectiveness of insulating clothes, but does not make your character be more susceptible to cold without clothes

Edited by Parusoid
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
 Share

×
×
  • Create New...