mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-05-17 20:30:46 +01:00
7c8bb85de3
* Update settings * Whitespace changes * Comment out merger hooks in gitattributes Corrupt maps would have to be resolved in repo before hooks could be updated * Revert "Whitespace changes" This reverts commitafbdd1d844. * Whitespace again minus example * Gitignore example changelog * Restore changelog merge setting * Keep older dmi hook attribute until hooks can be updated * update vscode settings too * Renormalize remaining * Revert "Gitignore example changelog" This reverts commitde22ad375d. * Attempt to normalize example.yml (and another file I guess) * Try again
16 lines
517 B
Plaintext
16 lines
517 B
Plaintext
/datum/alarm_handler/fire
|
|
category = "Fire Alarms"
|
|
|
|
/datum/alarm_handler/fire/on_alarm_change(var/datum/alarm/alarm, var/was_raised)
|
|
var/area/A = alarm.origin
|
|
if(istype(A))
|
|
if(was_raised)
|
|
A.fire_alert()
|
|
else
|
|
A.fire_reset()
|
|
//VOREStation Add - Alarm for AR glasses uses
|
|
/*var/atom/source = length(alarm.sources_assoc) ? alarm.sources_assoc[1] : alarm.alarm_area()
|
|
broadcast_engineering_hud_message("Alarm in [alarm.origin] [was_raised ? "raised!" : "cleared."]", source)*/
|
|
//VOREStation Add End
|
|
..()
|