refactors most spans

This commit is contained in:
Kashargul
2024-10-02 21:10:31 +02:00
parent 5417c7772c
commit a2c673ab7a
1517 changed files with 12436 additions and 12347 deletions
+4 -4
View File
@@ -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
+1 -1
View File
@@ -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)