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

stairs

Vars

directly_aboveUpstairs turf. Is observed for changes if force_open_above is TRUE (to re-open if necessary)
force_open_aboveIf TRUE replaces the turf above this stair obj with /turf/open/openspace
has_merged_spritesIf TRUE, we have left/middle/right sprites.
mob_to_imageLazyassoc list of weakef to mob viewing stair indicators to their images
terminator_modeDetermines if this stair is the last in a "chain" of stairs, ie next step is upstairs

Procs

can_fall_down_stairsWill the passed mob tumble down the stairs instead of walking?
on_fallWhat happens when a mob tumbles down the stairs
update_surroundingUpdates the sprite and the sprites of neighboring stairs to reflect merged sprites

Var Details

directly_above

Upstairs turf. Is observed for changes if force_open_above is TRUE (to re-open if necessary)

force_open_above

If TRUE replaces the turf above this stair obj with /turf/open/openspace

has_merged_sprites

If TRUE, we have left/middle/right sprites.

mob_to_image

Lazyassoc list of weakef to mob viewing stair indicators to their images

terminator_mode

Determines if this stair is the last in a "chain" of stairs, ie next step is upstairs

Proc Details

can_fall_down_stairs

Will the passed mob tumble down the stairs instead of walking?

on_fall

What happens when a mob tumbles down the stairs

update_surrounding

Updates the sprite and the sprites of neighboring stairs to reflect merged sprites