icantevenname Posted March 2, 2017 Share Posted March 2, 2017 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? Link to comment Share on other sites More sharing options...
CarlZalph Posted March 2, 2017 Share Posted March 2, 2017 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 More sharing options...
DVGMedia Posted March 2, 2017 Share Posted March 2, 2017 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 More sharing options...
DVGMedia Posted March 2, 2017 Share Posted March 2, 2017 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 More sharing options...
icantevenname Posted March 3, 2017 Author Share Posted March 3, 2017 17 hours ago, CarlZalph said: In the master postinit: inst.components.temperature.OnUpdate = function(self, dt, applyhealthdelta, ...) -- Do nothing end Thanks for the tip! Link to comment 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