[MIRROR] next set of spans (#9247)

Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
Co-authored-by: Kashargul <KashL@t-online.de>
This commit is contained in:
CHOMPStation2
2024-10-17 16:33:07 -07:00
committed by GitHub
parent bc6662ef9e
commit 7416cbea22
599 changed files with 2619 additions and 2564 deletions

View File

@@ -7,7 +7,7 @@
if(locked && tamper_proof && health <= Proj.damage)
if(tamper_proof == 2) // Mainly used for events to prevent any chance of opening the box improperly.
visible_message(span_red("<b>The anti-tamper mechanism of [src] triggers an explosion!</b>"))
visible_message(span_bolddanger("The anti-tamper mechanism of [src] triggers an explosion!"))
var/turf/T = get_turf(src.loc)
explosion(T, 0, 0, 0, 1) // Non-damaging, but it'll alert security.
qdel(src)
@@ -15,18 +15,18 @@
var/open_chance = rand(1,5)
switch(open_chance)
if(1)
visible_message(span_red("<b>The anti-tamper mechanism of [src] causes an explosion!</b>"))
visible_message(span_bolddanger("The anti-tamper mechanism of [src] causes an explosion!"))
var/turf/T = get_turf(src.loc)
explosion(T, 0, 0, 0, 1) // Non-damaging, but it'll alert security.
qdel(src)
if(2 to 4)
visible_message(span_red("<b>The anti-tamper mechanism of [src] causes a small fire!</b>"))
visible_message(span_boldwarning("The anti-tamper mechanism of [src] causes a small fire!"))
for(var/atom/movable/A as mob|obj in src) // For every item in the box, we spawn a pile of ash.
new /obj/effect/decal/cleanable/ash(src.loc)
new /obj/fire(src.loc)
qdel(src)
if(5)
visible_message(span_green("<b>The anti-tamper mechanism of [src] fails!</b>"))
visible_message(span_infoplain(span_green(span_bold("The anti-tamper mechanism of [src] fails!"))))
return
..()