Position statements for command returns

This commit is contained in:
VorTechnix 2024-10-01 08:03:21 -07:00
parent f4b3b09b26
commit e811090527
No known key found for this signature in database
GPG Key ID: 091E91A69545D5BA
6 changed files with 6 additions and 6 deletions

@ -26,7 +26,7 @@ worldeditadditions_core.register_command("scentre", {
wea_c.pos.set_all(name, {pos1, pos2})
return true, "Pos1 set to "..pos1..", Pos2 set to "..pos2
return true, "Position 1 to "..pos1..", Position 2 to "..pos2
end,
})

@ -34,7 +34,7 @@ worldeditadditions_core.register_command("sgrow", {
pos1, pos2 = pos1:add(min), pos2:add(max)
wea_c.pos.set_all(name, {pos1, pos2})
return true, "Pos1 set to "..pos1..", Pos2 set to "..pos2
return true, "Position 1 to "..pos1..", Position 2 to "..pos2
end,
})

@ -126,6 +126,6 @@ worldeditadditions_core.register_command("smake", {
for k,_ in pairs(targ) do delta[k] = eval(delta[k]) end
wea_c.pos.set(name, 2, pos1 + delta)
return true, "Pos2 set to "..pos2
return true, "Position 2 to "..pos2
end
})

@ -29,7 +29,7 @@ worldeditadditions_core.register_command("srel", {
local pos2 = pos1:add(vec)
wea_c.pos.set_all(name, {pos1, pos2})
return true, "Pos1 set to "..pos1..", Pos2 set to "..pos2
return true, "Position 1 to "..pos1..", Position 2 to "..pos2
end,
})

@ -26,7 +26,7 @@ worldeditadditions_core.register_command("sshift", {
local pos2 = vec:add(wea_c.pos.get(name, 2))
wea_c.pos.set_all(name, {pos1, pos2})
return true, "Pos1 set to "..pos1..", Pos2 set to "..pos2
return true, "Position 1 to "..pos1..", Position 2 to "..pos2
end,
})

@ -34,7 +34,7 @@ worldeditadditions_core.register_command("sshrink", {
pos1, pos2 = pos1:add(max), pos2:add(min)
wea_c.pos.set_all(name, {pos1, pos2})
return true, "Pos1 set to "..pos1..", Pos2 set to "..pos2
return true, "Position 1 to "..pos1..", Position 2 to "..pos2
end,
})