firedoor

Vars | |
alert_type | Type of alarm when active. See code/defines/firealarm.dm for the list. This var being null means there is no alarm. |
---|---|
joined_areas | Every area a firedoor is listening to. |
light_xoffset | X offset for the overlay lights, so that they line up with the thin border firelocks |
light_yoffset | Y offset for the overlay lights, so that they line up with the thin border firelocks |
luminosity | Trick to get the glowing overlay visible from a distance |
my_area | The firedoor's area loc |
Procs | |
adjust_lights_starting_offset | Sets the offset for the warning lights. |
try_to_crowbar | We check for adjacency when using the primary attack. |
Var Details
alert_type

Type of alarm when active. See code/defines/firealarm.dm for the list. This var being null means there is no alarm.
joined_areas

Every area a firedoor is listening to.
light_xoffset

X offset for the overlay lights, so that they line up with the thin border firelocks
light_yoffset

Y offset for the overlay lights, so that they line up with the thin border firelocks
luminosity

Trick to get the glowing overlay visible from a distance
my_area

The firedoor's area loc
Proc Details
adjust_lights_starting_offset
Sets the offset for the warning lights.
Used for special firelocks with light overlays that don't line up to their sprite.
try_to_crowbar
We check for adjacency when using the primary attack.