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
@@ -14,7 +14,7 @@
/obj/item/borg/upgrade/proc/action(var/mob/living/silicon/robot/R)
if(R.stat == DEAD)
to_chat(usr, "<span class='warning'>The [src] will not function on a deceased robot.</span>")
to_chat(usr, span_warning("The [src] will not function on a deceased robot."))
return 1
return 0
@@ -236,7 +236,7 @@
var/obj/T = R.has_upgrade_module(/obj/item/dogborg/sleeper)
if(!T)
to_chat(usr, "<span class='warning'>This robot has had its processor removed!</span>")
to_chat(usr, span_warning("This robot has had its processor removed!"))
return 0
if(R.has_advanced_upgrade(type))
@@ -328,7 +328,7 @@
var/obj/T = R.has_upgrade_module(/obj/item/dogborg/sleeper)
if(!T)
to_chat(usr, "<span class='warning'>This robot has had its processor removed!</span>")
to_chat(usr, span_warning("This robot has had its processor removed!"))
return 0
if(R.has_restricted_upgrade(type))
@@ -362,7 +362,7 @@
var/obj/T = R.has_upgrade_module(/obj/item/gun/energy/taser/mounted/cyborg)
if(!T)
to_chat(usr, "<span class='warning'>This robot has had its taser removed!</span>")
to_chat(usr, span_warning("This robot has had its taser removed!"))
return 0
if(R.has_restricted_upgrade(type))