mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-28 06:28:01 +01:00
refactors most spans
This commit is contained in:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user