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
@@ -168,13 +168,13 @@
. = ..()
if(!emagged)
if(user)
to_chat(user, "<span class='notice'>\The [src] buzzes and beeps.</span>")
to_chat(user, span_notice("\The [src] buzzes and beeps."))
emagged = TRUE
patrol_speed = 3
target_speed = 4
return TRUE
else
to_chat(user, "<span class='notice'>\The [src] is already corrupt.</span>")
to_chat(user, span_notice("\The [src] is already corrupt."))
/mob/living/bot/secbot/attackby(var/obj/item/O, var/mob/user)
var/curhealth = health
@@ -328,11 +328,11 @@
spawn(2)
busy = FALSE
update_icons()
visible_message("<span class='warning'>\The [H] was prodded by \the [src] with a stun baton!</span>")
visible_message(span_warning("\The [H] was prodded by \the [src] with a stun baton!"))
insult(H)
else
playsound(src, 'sound/weapons/handcuffs.ogg', 30, 1, -2)
visible_message("<span class='warning'>\The [src] is trying to put handcuffs on \the [H]!</span>")
visible_message(span_warning("\The [src] is trying to put handcuffs on \the [H]!"))
busy = TRUE
if(do_mob(src, H, 60))
if(!H.handcuffed)
@@ -352,7 +352,7 @@
spawn(2)
busy = FALSE
update_icons()
visible_message("<span class='warning'>\The [M] was beaten by \the [src] with a stun baton!</span>")
visible_message(span_warning("\The [M] was beaten by \the [src] with a stun baton!"))
insult(L)
/mob/living/bot/secbot/slime/UnarmedAttack(var/mob/living/L, var/proximity)
@@ -363,7 +363,7 @@
S.slimebatoned(src, xeno_stun_strength)
/mob/living/bot/secbot/explode()
visible_message("<span class='warning'>[src] blows apart!</span>")
visible_message(span_warning("[src] blows apart!"))
var/turf/Tsec = get_turf(src)
var/obj/item/secbot_assembly/Sa = new /obj/item/secbot_assembly(Tsec)