mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-23 20:17:15 +01:00
refactors most spans
This commit is contained in:
@@ -25,9 +25,9 @@
|
||||
/obj/machinery/power/tesla_coil/examine()
|
||||
. = ..()
|
||||
if(anchored)
|
||||
. += "<span class='notice'>It has been securely bolted down and is ready for operation.</span>"
|
||||
. += span_notice("It has been securely bolted down and is ready for operation.")
|
||||
else
|
||||
. += "<span class='warning'>It is not secured!</span>"
|
||||
. += span_warning("It is not secured!")
|
||||
|
||||
/obj/machinery/power/tesla_coil/New()
|
||||
..()
|
||||
@@ -240,9 +240,9 @@
|
||||
/obj/machinery/power/grounding_rod/examine()
|
||||
. = ..()
|
||||
if(anchored)
|
||||
. += "<span class='notice'>It has been securely bolted down and is ready for operation.</span>"
|
||||
. += span_notice("It has been securely bolted down and is ready for operation.")
|
||||
else
|
||||
. += "<span class='warning'>It is not secured!</span>"
|
||||
. += span_warning("It is not secured!")
|
||||
|
||||
/obj/machinery/power/grounding_rod/pre_mapped
|
||||
anchored = TRUE
|
||||
|
||||
@@ -52,7 +52,7 @@
|
||||
|
||||
/obj/structure/closet/tesla_act(var/power)
|
||||
..() //extend the zap
|
||||
visible_message("<span class='danger'>[src] is blown apart by the bolt of electricity!</span>", "<span class='danger'>You hear a metallic screeching sound.</span>")
|
||||
visible_message(span_danger("[src] is blown apart by the bolt of electricity!"), span_danger("You hear a metallic screeching sound."))
|
||||
dump_contents()
|
||||
qdel(src)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user