mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-07-20 11:35:19 +01:00
remove static chat colour tags
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
|
||||
|
||||
..()
|
||||
|
||||
@@ -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>")
|
||||
|
||||
Reference in New Issue
Block a user