converts our spans (#9185)

This commit is contained in:
Kashargul
2024-10-07 20:47:23 +02:00
committed by GitHub
parent f4155aa973
commit a92a42b85b
162 changed files with 1360 additions and 1269 deletions
@@ -2,9 +2,9 @@
. = ..()
if(Adjacent(user))
if(water.energy)
. += "<span class='notice'>[src] is wet. Just like it should be.</span>"
. += span_notice("[src] is wet. Just like it should be.")
if(water.energy < 5)
. += "<span class='notice'>[src] is dry.</span>"
. += span_notice("[src] is dry.")
/obj/item/gun/energy/taser/mounted/cyborg/flare
name = "flare gun"
@@ -15,7 +15,7 @@
if (stat != CONSCIOUS || nutrition <= 1000)
return
nutrition = 1000
to_chat(src, "<span class='warning'>You have purged most of the nutrition lingering in your systems.</span>")
to_chat(src, span_warning("You have purged most of the nutrition lingering in your systems."))
return TRUE
/mob/living/silicon/robot/proc/ex_reserve_refill()
@@ -30,9 +30,9 @@
amount = water.energy
water.use_charge(amount)
E.reagents.add_reagent("water", amount)
to_chat(src, "<span class='filter_notice'>You refill the extinguisher using your water reserves.</span>")
to_chat(src, span_filter_notice("You refill the extinguisher using your water reserves."))
else
to_chat(src, "<span class='filter_notice'>Insufficient water reserves.</span>")
to_chat(src, span_filter_notice("Insufficient water reserves."))
/mob/living/silicon/robot/proc/reset_belly_lights(var/b_class)
if(sprite_datum.belly_light_list.len && sprite_datum.belly_light_list.Find(b_class))