firealarm
Vars | |
alert_type | The current alarm state |
---|---|
buildstage | Buildstate for contruction steps. 2 = complete, 1 = no wires, 0 = circuit gone |
my_area | Our home area, set in Init. Due to loading step order, this seems to be null very early in the server setup process, which is why some procs use my_area? for var or list checks. |
radial_choices | Radial menu choice cache |
Procs | |
alarm | Sounds the fire alarm and closes all firelocks in the area. Also tells the area to color the lights red. |
check_security_level | Signal handler for checking if we should update fire alarm appearance accordingly to a newly set security level |
reset | Resets all firelocks in the area. Also tells the area to disable alarm lighting, if it was enabled. |
Var Details
alert_type
The current alarm state
buildstage
Buildstate for contruction steps. 2 = complete, 1 = no wires, 0 = circuit gone
my_area
Our home area, set in Init. Due to loading step order, this seems to be null very early in the server setup process, which is why some procs use my_area?
for var or list checks.
radial_choices
Radial menu choice cache
Proc Details
alarm
Sounds the fire alarm and closes all firelocks in the area. Also tells the area to color the lights red.
Arguments:
- mob/user is the user that pulled the alarm.
check_security_level
Signal handler for checking if we should update fire alarm appearance accordingly to a newly set security level
Arguments:
- source The datum source of the signal
- new_level The new security level that is in effect
reset
Resets all firelocks in the area. Also tells the area to disable alarm lighting, if it was enabled.
Arguments:
- mob/user is the user that reset the alarm.