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
+6 -6
View File
@@ -25,21 +25,21 @@
if(istype(O, /obj/machinery/power/apc))
var/obj/machinery/power/apc/A = O
if(A.emagged || A.hacker)
to_chat(user, "<span class='warning'>There is a software error with the device.</span>")
to_chat(user, span_warning("There is a software error with the device."))
else
to_chat(user, "<span class='notice'>The device's software appears to be fine.</span>")
to_chat(user, span_notice("The device's software appears to be fine."))
return 1
if(istype(O, /obj/machinery/door))
var/obj/machinery/door/D = O
if(D.operating == -1)
to_chat(user, "<span class='warning'>There is a software error with the device.</span>")
to_chat(user, span_warning("There is a software error with the device."))
else
to_chat(user, "<span class='notice'>The device's software appears to be fine.</span>")
to_chat(user, span_notice("The device's software appears to be fine."))
return 1
else if(istype(O, /obj/machinery))
var/obj/machinery/A = O
if(A.emagged)
to_chat(user, "<span class='warning'>There is a software error with the device.</span>")
to_chat(user, span_warning("There is a software error with the device."))
else
to_chat(user, "<span class='notice'>The device's software appears to be fine.</span>")
to_chat(user, span_notice("The device's software appears to be fine."))
return 1