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
+3 -3
View File
@@ -93,7 +93,7 @@
/obj/machinery/shield/hitby(AM as mob|obj)
//Let everyone know we've been hit!
visible_message("<span class='danger'>\The [src] was hit by [AM].</span>")
visible_message(span_danger("\The [src] was hit by [AM]."))
//Super realistic, resource-intensive, real-time damage calculations.
var/tforce = 0
@@ -291,13 +291,13 @@
else if(istype(W, /obj/item/stack/cable_coil) && malfunction && is_open)
var/obj/item/stack/cable_coil/coil = W
to_chat(user, "<span class='notice'>You begin to replace the wires.</span>")
to_chat(user, span_notice("You begin to replace the wires."))
//if(do_after(user, min(60, round( ((getMaxHealth()/health)*10)+(malfunction*10) ))) //Take longer to repair heavier damage
if(do_after(user, 30))
if (coil.use(1))
health = max_health
malfunction = 0
to_chat(user, "<span class='notice'>You repair the [src]!</span>")
to_chat(user, span_notice("You repair the [src]!"))
update_icon()
else if(W.has_tool_quality(TOOL_WRENCH))