mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-29 15:08:34 +01:00
refactors most spans
This commit is contained in:
@@ -87,11 +87,11 @@
|
||||
/obj/structure/gravemarker/ex_act(severity)
|
||||
switch(severity)
|
||||
if(1.0)
|
||||
visible_message("<span class='danger'>\The [src] is blown apart!</span>")
|
||||
visible_message(span_danger("\The [src] is blown apart!"))
|
||||
qdel(src)
|
||||
return
|
||||
if(2.0)
|
||||
visible_message("<span class='danger'>\The [src] is blown apart!</span>")
|
||||
visible_message(span_danger("\The [src] is blown apart!"))
|
||||
if(prob(50))
|
||||
dismantle()
|
||||
else
|
||||
@@ -101,7 +101,7 @@
|
||||
/obj/structure/gravemarker/proc/damage(var/damage)
|
||||
health -= damage
|
||||
if(health <= 0)
|
||||
visible_message("<span class='danger'>\The [src] falls apart!</span>")
|
||||
visible_message(span_danger("\The [src] falls apart!"))
|
||||
dismantle()
|
||||
|
||||
/obj/structure/gravemarker/proc/dismantle()
|
||||
|
||||
Reference in New Issue
Block a user