lava ![code/game/turfs/open/lava.dm 7](git.png)
Vars | |
fish_source_type | The type for the preset fishing spot of this type of turf. |
---|---|
immerse_added | Whether the immerse element has been added yet or not |
immerse_overlay_color | The color we use for our immersion overlay |
immunity_resistance_flags | objects with these flags won't burn. |
immunity_trait | mobs with this trait won't burn. |
lava_damage | How much fire damage we deal to living mobs stepping on us |
lava_firestacks | How many firestacks we add to living mobs stepping on us |
lava_temperature | the temperature that this turf will attempt to heat/cool gasses too in a heat exchanger, in kelvin |
mask_icon | The icon that covers the lava bits of our turf |
mask_state | The icon state that covers the lava bits of our turf |
temperature_damage | How much temperature we expose objects with |
Procs | |
Entered | turf/Initialize() calls Entered on its contents too, however we need to wait for movables that still need to be initialized before we add the immerse element. |
burn_stuff | Proc that sets on fire something or everything on the turf that's not immune to lava. Returns TRUE to make the turf start processing. |
on_atom_inited | We lazily add the immerse element when something is spawned or crosses this turf and not before. |
refresh_light | Refreshes this lava turf's lighting |
Var Details
fish_source_type ![code/game/turfs/open/lava.dm 43](git.png)
The type for the preset fishing spot of this type of turf.
immerse_added ![code/game/turfs/open/lava.dm 47](git.png)
Whether the immerse element has been added yet or not
immerse_overlay_color ![code/game/turfs/open/lava.dm 45](git.png)
The color we use for our immersion overlay
immunity_resistance_flags ![code/game/turfs/open/lava.dm 35](git.png)
objects with these flags won't burn.
immunity_trait ![code/game/turfs/open/lava.dm 33](git.png)
mobs with this trait won't burn.
lava_damage ![code/game/turfs/open/lava.dm 27](git.png)
How much fire damage we deal to living mobs stepping on us
lava_firestacks ![code/game/turfs/open/lava.dm 29](git.png)
How many firestacks we add to living mobs stepping on us
lava_temperature ![code/game/turfs/open/lava.dm 37](git.png)
the temperature that this turf will attempt to heat/cool gasses too in a heat exchanger, in kelvin
mask_icon ![code/game/turfs/open/lava.dm 39](git.png)
The icon that covers the lava bits of our turf
mask_state ![code/game/turfs/open/lava.dm 41](git.png)
The icon state that covers the lava bits of our turf
temperature_damage ![code/game/turfs/open/lava.dm 31](git.png)
How much temperature we expose objects with
Proc Details
Entered
turf/Initialize() calls Entered on its contents too, however we need to wait for movables that still need to be initialized before we add the immerse element.
burn_stuff
Proc that sets on fire something or everything on the turf that's not immune to lava. Returns TRUE to make the turf start processing.
on_atom_inited
We lazily add the immerse element when something is spawned or crosses this turf and not before.
refresh_light
Refreshes this lava turf's lighting