MUTINY. O BOY.

This commit is contained in:
suethecake
2015-01-08 17:46:36 -06:00
parent 530fed426d
commit 29924324a6
24 changed files with 1757 additions and 102 deletions
@@ -152,9 +152,16 @@
revoke_maint_all_access()
feedback_inc("alert_keycard_auth_maintRevoke",1)
if("Emergency Response Team")
if(!config.ert_admin_call_only)
trigger_armed_response_team(1)
feedback_inc("alert_keycard_auth_ert",1)
if(is_ert_blocked())
usr << "\red All emergency response teams are dispatched and can not be called at this time."
return
trigger_armed_response_team(1)
feedback_inc("alert_keycard_auth_ert",1)
/obj/machinery/keycard_auth/proc/is_ert_blocked()
if(config.ert_admin_call_only) return 1
return ticker.mode && ticker.mode.ert_disabled
var/global/maint_all_access = 0