Jump to content

Recommended Posts

I need a my character to not take damage from fire, and not be able to overheat, also, always have the option to light something on fire if even if not holding anything to light it with (this one isn't necessary) also how to make a custom voice file(also not necessary)

mainly just need to be immune to fire and not be able to overheat

ooh, natural insulation would be nice too

like +40 just from existing

These code would make you immune to fire & overheating I think :)

inst.components.health.fire_damage_scale = 0
inst.components.temperature.maxtemp = 30

-- for insulation against cold I think
inst.components.temperature.inherentinsulation = 100

 

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