mirror of
https://github.com/sbrl/Minetest-WorldEditAdditions.git
synced 2024-12-22 19:45:02 +00:00
commented tmp
This commit is contained in:
parent
ff9abded2e
commit
53d899b3fe
3 changed files with 11 additions and 0 deletions
|
@ -22,6 +22,9 @@ worldedit.register_command("scol", {
|
|||
else vec[ax1] = sn1 * tmp.len end
|
||||
|
||||
return true, vec, tmp
|
||||
-- tmp carries:
|
||||
-- The length (len) arguement to the main function for use if "get" is invoked there
|
||||
-- The bool value "get" to tell the main function if it needs to populate missing information in vec
|
||||
end,
|
||||
func = function(name, vec, tmp)
|
||||
if tmp.get then
|
||||
|
|
|
@ -29,6 +29,10 @@ worldedit.register_command("scube", {
|
|||
|
||||
tmp.axes = ax1..","..ax2..","..ax3
|
||||
return true, vec, tmp
|
||||
-- tmp carries:
|
||||
-- The length (len) arguement to the main function for use if "get" is invoked there
|
||||
-- The bool value "get" to tell the main function if it needs to populate missing information in vec
|
||||
-- The string "axes" to tell the main function what axes are and/or need to be populated if "get" is invoked
|
||||
end,
|
||||
func = function(name, vec, tmp)
|
||||
if tmp.get then
|
||||
|
|
|
@ -26,6 +26,10 @@ worldedit.register_command("srect", {
|
|||
|
||||
tmp.axes = ax1..","..ax2
|
||||
return true, vec, tmp
|
||||
-- tmp carries:
|
||||
-- The length (len) arguement to the main function for use if "get" is invoked there
|
||||
-- The bool value "get" to tell the main function if it needs to populate missing information in vec
|
||||
-- The string "axes" to tell the main function what axes are and/or need to be populated if "get" is invoked
|
||||
end,
|
||||
func = function(name, vec, tmp)
|
||||
if tmp.get then
|
||||
|
|
Loading…
Reference in a new issue