floor

Vars | |
breakable_tile | Can this turf be broken |
---|---|
broken | If the turf has been physically damaged |
burnable_tile | can this turf be burnt |
burnt | If the turf has been damaged by fire |
drytimer_id | turf dry timer |
floor_tile | the type of tile that makes this turf |
hull_floor | invincible floor, can't interact with it |
icon_variants | Number of icon state variation this turf has |
wet_overlay | holder for the wet floor overlay |
Procs | |
break_tile | Breaks the turf |
broken_states | Returns a list of icon_states to show this turf is broken |
burn_tile | Burns the turf |
burnt_states | Returns a list of icon_states to show this turf is burnt |
has_tile | checks if this turf has a floor tile of some kind |
make_plating | Things seem to rely on this actually returning plating. Override it if you have other baseturfs. |
normal_states | Returns an undamaged icon state for this turf |
pry_tile | Removes the floor tile from the turf via a tool |
remove_tile | Removes the floor tile from the turf |
spawn_tile | creates a loose floor tile |
try_replace_tile | swaps out an existing floor tile with another one |
Var Details
breakable_tile

Can this turf be broken
broken

If the turf has been physically damaged
burnable_tile

can this turf be burnt
burnt

If the turf has been damaged by fire
drytimer_id

turf dry timer
floor_tile

the type of tile that makes this turf
hull_floor

invincible floor, can't interact with it
icon_variants

Number of icon state variation this turf has
wet_overlay

holder for the wet floor overlay
Proc Details
break_tile
Breaks the turf
broken_states
Returns a list of icon_states to show this turf is broken
burn_tile
Burns the turf
burnt_states
Returns a list of icon_states to show this turf is burnt
has_tile
checks if this turf has a floor tile of some kind
make_plating
Things seem to rely on this actually returning plating. Override it if you have other baseturfs.
normal_states
Returns an undamaged icon state for this turf
pry_tile
Removes the floor tile from the turf via a tool
remove_tile
Removes the floor tile from the turf
spawn_tile
creates a loose floor tile
try_replace_tile
swaps out an existing floor tile with another one