mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 18:53:06 +00:00
[MIRROR] refactors most spans (#9139)
Co-authored-by: Heroman3003 <31296024+Heroman3003@users.noreply.github.com> Co-authored-by: Kashargul <KashL@t-online.de>
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user