remove static chat colour tags

This commit is contained in:
Kashargul
2024-01-21 12:34:53 +01:00
parent 956acefc4d
commit e4b62dfa35
242 changed files with 1178 additions and 996 deletions
@@ -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
..()
+2 -2
View File
@@ -24,9 +24,9 @@
anchored = !anchored
playsound(src, O.usesound, 50, 1)
if(anchored)
to_chat(user, "<font color='blue'>You secure \the [src].</font>")
to_chat(user, span_blue("You secure \the [src]."))
else
to_chat(user, "<font color='blue'>You unsecure \the [src].</font>")
to_chat(user, span_blue("You unsecure \the [src]."))
if(O.has_tool_quality(TOOL_WRENCH))
playsound(src, O.usesound, 50, 1)
to_chat(user, "<span class='notice'>Now disassembling \the [src]...</span>")