commented tmp

This commit is contained in:
VorTechnix 2021-03-11 12:59:04 -08:00
parent ff9abded2e
commit 53d899b3fe
3 changed files with 11 additions and 0 deletions

View File

@ -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

View File

@ -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

View File

@ -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