Adjustments to events

Adds alarm for the singularity containment field.
This commit is contained in:
SkyMarshal
2012-02-03 17:48:35 -07:00
parent c1ea1d0a97
commit 3254aa10d8
7 changed files with 27 additions and 9 deletions
@@ -62,7 +62,7 @@
user.burn_skin(shock_damage)
user.updatehealth()
user.visible_message("\red [user.name] was shocked by the [src.name]!", \
"\red <B>You feel a powerful shock course through your body sending you flying!</B>", \
"\red <B>You feel a powerful shock course through your body, sending you flying!</B>", \
"\red You hear a heavy electrical crack")
var/stun = min(shock_damage, 15)
@@ -1,3 +1,4 @@
var/containment_fail_announced = 0
/*
field_generator power level display
@@ -329,6 +330,13 @@ field_generator power level display
cleanup()
if(!containment_fail_announced)
containment_fail_announced = 1
var/obj/item/device/radio/a = new /obj/item/device/radio(null)
a.autosay("DANGER! Field failure detected! Immediate response advised!", "Singularity Monitoring Computer")
del(a)
spawn(6000) //10 minutes.
containment_fail_announced = 0
clean_up = 1
for (var/obj/machinery/containment_field/F in fields)
if (isnull(F))