Jump to content

No warmth and cold


Recommended Posts

8 minutes ago, icantevenname said:

I'm working on a new mod, a demon lady. I want to give her the perk of not feeling hot or cold, but I have no idea how to. Can someone help me?

In the master postinit:

inst.components.temperature.OnUpdate = function(self, dt, applyhealthdelta, ...)
    -- Do nothing
end

 

Link to comment
Share on other sites

i would think kind of like how in wx78s code there is a line that sets his temperature minimum to 10 degrees when he is over charged  so that would help on the cold part but  im not entirely sure on the warm

 

Link to comment
Share on other sites

3 minutes ago, CarlZalph said:

In the master postinit:


inst.components.temperature.OnUpdate = function(self, dt, applyhealthdelta, ...)
    -- Do nothing
end

 

aww well that is way more straight forward than what i was thinking heh im such a nub on coding

which is still kinda why my elegent items skins mod is pretty much at a stand still heh

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