mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-12 07:33:34 +01:00
Adjustments to events
Adds alarm for the singularity containment field.
This commit is contained in:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user