/tg/ Station 13 - Modules - TypesVar Details - Proc Details

lava

Vars

fish_source_typeThe type for the preset fishing spot of this type of turf.
immerse_addedWhether the immerse element has been added yet or not
immerse_overlay_colorThe color we use for our immersion overlay
immunity_resistance_flagsobjects with these flags won't burn.
immunity_traitmobs with this trait won't burn.
lava_damageHow much fire damage we deal to living mobs stepping on us
lava_firestacksHow many firestacks we add to living mobs stepping on us
lava_temperaturethe temperature that this turf will attempt to heat/cool gasses too in a heat exchanger, in kelvin
mask_iconThe icon that covers the lava bits of our turf
mask_stateThe icon state that covers the lava bits of our turf
temperature_damageHow much temperature we expose objects with

Procs

Enteredturf/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_stuffProc 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_initedWe lazily add the immerse element when something is spawned or crosses this turf and not before.
refresh_lightRefreshes this lava turf's lighting

Var Details

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

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