rid of old span macros

This commit is contained in:
Kashargul
2024-10-01 23:51:48 +02:00
parent ded60639bc
commit e0d694e8ac
205 changed files with 862 additions and 868 deletions
+2 -2
View File
@@ -7,7 +7,7 @@
/obj/item/holder/attack_hand(mob/living/user as mob) //straight up just copypasted from objects/items.dm with a few things changed (doesn't called dropped unless +actually dropped+)
if (!user) return
if(anchored)
to_chat(user, span("notice", "\The [src] won't budge, you can't pick it up!"))
to_chat(user, span_notice("\The [src] won't budge, you can't pick it up!"))
return
if (hasorgans(user))
var/mob/living/carbon/human/H = user
@@ -56,4 +56,4 @@
If this is fine to you, ensure that the other player is fine with you doing things to them beforehand!
"},"OOC Warning")
//VORESTATION EDIT END.
return
return
@@ -89,18 +89,18 @@
break
if(busy && !(target == current_target))
to_chat(user, span("warning", "\The [src] is already targeting something."))
to_chat(user, span_warning("\The [src] is already targeting something."))
return
if(!isliving(target))
to_chat(user, span("warning", "\the [target] is not a valid target."))
to_chat(user, span_warning("\the [target] is not a valid target."))
return
var/mob/living/L = target
var/mob/living/U = user
if(get_dist(target, user) > beam_range)
to_chat(user, span("warning", "You are too far away from \the [target] to affect it. Get closer."))
to_chat(user, span_warning("You are too far away from \the [target] to affect it. Get closer."))
return
if(target == current_target && busy)
@@ -121,7 +121,7 @@
unresizable = TRUE
if(unresizable)
to_chat(user, span("warning", "\the [target] is immune to resizing."))
to_chat(user, span_warning("\the [target] is immune to resizing."))
// Start the effects
current_target = target
@@ -175,7 +175,7 @@
else
sizeshift_mode = !sizeshift_mode
update_icon()
to_chat(user, span("notice", "\The [src] will now [sizeshift_mode ? "grow" : "shrink"] its targets."))
to_chat(user, span_notice("\The [src] will now [sizeshift_mode ? "grow" : "shrink"] its targets."))
#undef SIZE_SHRINK
@@ -256,7 +256,7 @@
/obj/item/slow_sizegun/AltClick(mob/user)
if (trading == 0)
trading = 1
to_chat(user, span("notice", "\The [src] will now trade your targets size for your own."))
to_chat(user, span_notice("\The [src] will now trade your targets size for your own."))
else
trading = 0
to_chat(user, span("notice", "\The [src] will no longer trade your targets size for your own."))
to_chat(user, span_notice("\The [src] will no longer trade your targets size for your own."))
@@ -378,7 +378,7 @@
// if(.)
//
// if(M.get_effective_size(TRUE) > RESIZE_TINY)
// to_chat(M, SPAN_WARNING("You are to big to fit in \the [src]."))
// to_chat(M, span_warning("You are to big to fit in \the [src]."))
// . = FALSE
//
//