byond - Modules - TypesVar Details - Proc Details

floor

Vars

breakable_tileCan this turf be broken
brokenIf the turf has been physically damaged
burnable_tilecan this turf be burnt
burntIf the turf has been damaged by fire
drytimer_idturf dry timer
floor_tilethe type of tile that makes this turf
hull_floorinvincible floor, can't interact with it
icon_variantsNumber of icon state variation this turf has
wet_overlayholder for the wet floor overlay

Procs

break_tileBreaks the turf
broken_statesReturns a list of icon_states to show this turf is broken
burn_tileBurns the turf
burnt_statesReturns a list of icon_states to show this turf is burnt
has_tilechecks if this turf has a floor tile of some kind
make_platingThings seem to rely on this actually returning plating. Override it if you have other baseturfs.
normal_statesReturns an undamaged icon state for this turf
pry_tileRemoves the floor tile from the turf via a tool
remove_tileRemoves the floor tile from the turf
spawn_tilecreates a loose floor tile
try_replace_tileswaps 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