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
@@ -124,12 +124,12 @@
var/z = params["z"]
if(!name)
to_chat(usr, "<span class='warning'>Name cannot be empty.</span>")
to_chat(usr, span_warning("Name cannot be empty."))
return FALSE
var/turf/T = locate(x, y, z)
if(!T)
to_chat(usr, "<span class='warning'>Those coordinates are outside the boundaries of the map.</span>")
to_chat(usr, span_warning("Those coordinates are outside the boundaries of the map."))
return FALSE
for(var/i = 0, i < amount, i++)
@@ -180,7 +180,7 @@
M.size_multiplier = size_mul
M.update_icon()
else
to_chat(usr, "<span class='warning'>Size Multiplier not applied: ([size_mul]) is not a valid input.</span>")
to_chat(usr, span_warning("Size Multiplier not applied: ([size_mul]) is not a valid input."))
M.forceMove(T)