mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-07-21 03:56:47 +01:00
refactors most spans
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