mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 10:43:20 +00:00
[MIRROR] remove static chat colour tags (#7635)
Co-authored-by: Heroman3003 <31296024+Heroman3003@users.noreply.github.com> Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com> Co-authored-by: Guti <32563288+TheCaramelion@users.noreply.github.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: CHOMPStation2 <chompsation2@gmail.com> Co-authored-by: Raeschen <rycoop29@gmail.com> Co-authored-by: Changelogs <action@github.com> Co-authored-by: Aroliacue <96730930+Aroliacue@users.noreply.github.com> Co-authored-by: Eli <fracshun@gmail.com> Co-authored-by: tacoguy7765093 <karokaromaro@gmail.com> Co-authored-by: Nadyr <41974248+Darlantanis@users.noreply.github.com> Co-authored-by: TheGreatKitsune <88862343+TheGreatKitsune@users.noreply.github.com> Co-authored-by: Missile597 <150307788+Missile597@users.noreply.github.com>
This commit is contained in:
@@ -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("<font color='red'><b>The anti-tamper mechanism of [src] triggers an explosion!</b></font>")
|
||||
visible_message(span_red("<b>The anti-tamper mechanism of [src] triggers an explosion!</b>"))
|
||||
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("<font color='red'><b>The anti-tamper mechanism of [src] causes an explosion!</b></font>")
|
||||
visible_message(span_red("<b>The anti-tamper mechanism of [src] causes an explosion!</b>"))
|
||||
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("<font color='red'><b>The anti-tamper mechanism of [src] causes a small fire!</b></font>")
|
||||
visible_message(span_red("<b>The anti-tamper mechanism of [src] causes a small fire!</b>"))
|
||||
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("<font color='green'><b>The anti-tamper mechanism of [src] fails!</b></font>")
|
||||
visible_message(span_green("<b>The anti-tamper mechanism of [src] fails!</b>"))
|
||||
return
|
||||
|
||||
..()
|
||||
|
||||
Reference in New Issue
Block a user