airalarm
Vars | |
aidisabled | Boolean to prevent AI from tampering with this alarm. |
---|---|
air_sensor_chamber_id | Used to link air alarm to air sensor via map helpers |
alarm_manager | Represents a signel source of atmos alarms, complains to all the listeners if one of our thresholds is violated |
all_access | Used for air alarm helper called all_access to remove air alarm's required access. |
allow_link_change | Whether it is possible to link/unlink this air alarm from a sensor |
away_general_access | Used for air alarm helper called away_general_access to make air alarm's required access away_general_access. |
buildstage | Current build stage. [AIRALARM_BUILD_COMPLETE], [AIRALARM_BUILD_NO_WIRES], [AIRALARM_BUILD_NO_CIRCUIT] |
connected_sensor | Used for connecting air alarm to a remote tile/zone via air sensor instead of the tile/zone of the air alarm |
danger_level | Current alert level of our air alarm. AIR_ALARM_ALERT_NONE, [AIR_ALARM_ALERT_MINOR], [AIR_ALARM_ALERT_SEVERE] |
engine_access | Used for air alarm helper called engine_access to make air alarm's required access one of ACCESS_ATMOSPHERICS & ACCESS_ENGINEERING. |
locked | Boolean for whether the current air alarm can be tweaked by players or not. |
mixingchamber_access | Used for air alarm helper called mixingchamber_access to make air alarm's required access one of ACCESS_ATMOSPHERICS & ACCESS_ORDNANCE. |
my_area | A reference to the area we are in |
selected_mode | Currently selected mode of the alarm. An instance of /datum/air_alarm_mode. |
shorted | Boolean of whether alarm is currently shorted. Mess up some functionalities. |
syndicate_access | Used for air alarm helper called syndicate_access to make air alarm's required access syndicate_access. |
tlv_cold_room | Used for air alarm helper called tlv_cold_room to adjust alarm thresholds for cold room. |
tlv_collection | An assoc list of datum/tlvs, indexed by "pressure", "temperature", and datum/gas typepaths. |
tlv_no_checks | Used for air alarm helper called tlv_no_ckecks to remove alarm thresholds. |
unlocked | Used for air alarm helper called unlocked to make air alarm unlocked. |
warning_cooldown | Cooldown on sending warning messages |
warning_message | Warning message spoken by air alarms |
Procs | |
check_danger | Check the current air and update our danger level. /obj/machinery/airalarm/var/danger_level |
connect_sensor | Used to connect air alarm with a sensor |
disconnect_sensor | Used to reset the air alarm to default configuration after disconnecting from air sensor |
give_all_access | Used for all_access air alarm helper, which set air alarm's required access to null. |
give_away_general_access | Used for away_general_access air alarm helper, which set air alarm's required access to away_general_access. |
give_engine_access | Used for engine_access air alarm helper, which set air alarm's required access to away_general_access. |
give_mixingchamber_access | Used for mixingchamber_access air alarm helper, which set air alarm's required access to away_general_access. |
give_syndicate_access | Used for syndicate_access air alarm helper, which sets air alarm's required access to syndicate_access. |
set_tlv_cold_room | Used for air alarm cold room tlv helper, which sets cold room temperature and pressure alarm thresholds |
set_tlv_no_checks | Used for air alarm no tlv helper, which removes alarm thresholds |
setup_chamber_link | Used for air alarm link helper, which connects air alarm to a sensor with corresponding chamber_id |
unlock | Used for unlocked air alarm helper, which unlocks the air alarm. |
Var Details
aidisabled
Boolean to prevent AI from tampering with this alarm.
air_sensor_chamber_id
Used to link air alarm to air sensor via map helpers
alarm_manager
Represents a signel source of atmos alarms, complains to all the listeners if one of our thresholds is violated
all_access
Used for air alarm helper called all_access to remove air alarm's required access.
allow_link_change
Whether it is possible to link/unlink this air alarm from a sensor
away_general_access
Used for air alarm helper called away_general_access to make air alarm's required access away_general_access.
buildstage
Current build stage. [AIRALARM_BUILD_COMPLETE], [AIRALARM_BUILD_NO_WIRES], [AIRALARM_BUILD_NO_CIRCUIT]
connected_sensor
Used for connecting air alarm to a remote tile/zone via air sensor instead of the tile/zone of the air alarm
danger_level
Current alert level of our air alarm. AIR_ALARM_ALERT_NONE, [AIR_ALARM_ALERT_MINOR], [AIR_ALARM_ALERT_SEVERE]
engine_access
Used for air alarm helper called engine_access to make air alarm's required access one of ACCESS_ATMOSPHERICS & ACCESS_ENGINEERING.
locked
Boolean for whether the current air alarm can be tweaked by players or not.
mixingchamber_access
Used for air alarm helper called mixingchamber_access to make air alarm's required access one of ACCESS_ATMOSPHERICS & ACCESS_ORDNANCE.
my_area
A reference to the area we are in
selected_mode
Currently selected mode of the alarm. An instance of /datum/air_alarm_mode.
shorted
Boolean of whether alarm is currently shorted. Mess up some functionalities.
syndicate_access
Used for air alarm helper called syndicate_access to make air alarm's required access syndicate_access.
tlv_cold_room
Used for air alarm helper called tlv_cold_room to adjust alarm thresholds for cold room.
tlv_collection
An assoc list of datum/tlvs, indexed by "pressure", "temperature", and datum/gas typepaths.
tlv_no_checks
Used for air alarm helper called tlv_no_ckecks to remove alarm thresholds.
unlocked
Used for air alarm helper called unlocked to make air alarm unlocked.
warning_cooldown
Cooldown on sending warning messages
warning_message
Warning message spoken by air alarms
Proc Details
check_danger
Check the current air and update our danger level. /obj/machinery/airalarm/var/danger_level
connect_sensor
Used to connect air alarm with a sensor
disconnect_sensor
Used to reset the air alarm to default configuration after disconnecting from air sensor
give_all_access
Used for all_access air alarm helper, which set air alarm's required access to null.
give_away_general_access
Used for away_general_access air alarm helper, which set air alarm's required access to away_general_access.
give_engine_access
Used for engine_access air alarm helper, which set air alarm's required access to away_general_access.
give_mixingchamber_access
Used for mixingchamber_access air alarm helper, which set air alarm's required access to away_general_access.
give_syndicate_access
Used for syndicate_access air alarm helper, which sets air alarm's required access to syndicate_access.
set_tlv_cold_room
Used for air alarm cold room tlv helper, which sets cold room temperature and pressure alarm thresholds
set_tlv_no_checks
Used for air alarm no tlv helper, which removes alarm thresholds
setup_chamber_link
Used for air alarm link helper, which connects air alarm to a sensor with corresponding chamber_id
unlock
Used for unlocked air alarm helper, which unlocks the air alarm.