Separated ERT from red alert and other small changes...

Separated the ERT to be callable via the keycard auth device.

Gave the ERT call different messages to work with the above, as well as a message when it has been denied.

The old base amount of 50 was way too stronk. Furthermore, it was added to by other factors from the game. It has been lowered a bit and a proc added in to increase it the longer the round has been going on.

Made it so that you may only attempt to call the ERT a single time.

Changed it so that you only have 5 minutes to join the ERT after it has been called.
This commit is contained in:
NicholasDV
2013-08-03 05:13:28 -04:00
parent 63dc2dc345
commit 3e364635b2
3 changed files with 34 additions and 10 deletions
@@ -69,6 +69,7 @@
if(screen == 1)
dat += "Select an event to trigger:<ul>"
dat += "<li><A href='?src=\ref[src];triggerevent=Red alert'>Red alert</A></li>"
dat += "<li><A href='?src=\ref[src];triggerevent=Emergency Rescue Team'>Emergency Rescue Team</A></li>" // DEC
dat += "<li><A href='?src=\ref[src];triggerevent=Emergency Maintenance Access'>Emergency Maintenance Access</A></li>"
dat += "</ul>"
user << browse(dat, "window=keycard_auth;size=500x250")
@@ -146,6 +147,9 @@
if("Emergency Maintenance Access")
make_maint_all_access()
feedback_inc("alert_keycard_auth_maint",1)
if("Emergency Rescue Team") // DEC
trigger_armed_response_team(1)
feedback_inc("alert_keycard_auth_ert",1)
/proc/make_maint_all_access()
for(var/obj/machinery/door/airlock/A in machines)
@@ -59,10 +59,6 @@
FA.overlays = list()
FA.overlays += image('icons/obj/monitors.dmi', "overlay_red")
// trigger a response team
spawn
sleep(100)
if(security_level == SEC_LEVEL_RED) trigger_armed_response_team()
if(SEC_LEVEL_DELTA)
world << "<font size=4 color='red'>Attention! Delta security level reached!</font>"
world << "<font color='red'>[config.alert_desc_delta]</font>"