Daedalus Dock - Modules - TypesVar Details - Proc Details

firealarm

Vars

alert_typeThe current alarm state
buildstageBuildstate for contruction steps. 2 = complete, 1 = no wires, 0 = circuit gone
my_areaOur 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_choicesRadial menu choice cache

Procs

alarmSounds the fire alarm and closes all firelocks in the area. Also tells the area to color the lights red.
check_security_levelSignal handler for checking if we should update fire alarm appearance accordingly to a newly set security level
resetResets 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:

check_security_level

Signal handler for checking if we should update fire alarm appearance accordingly to a newly set security level

Arguments:

reset

Resets all firelocks in the area. Also tells the area to disable alarm lighting, if it was enabled.

Arguments: