From 53d899b3fe6a176858494c9f2302545122e5936f Mon Sep 17 00:00:00 2001 From: VorTechnix <45538536+VorTechnix@users.noreply.github.com> Date: Thu, 11 Mar 2021 12:59:04 -0800 Subject: [PATCH] commented tmp --- worldeditadditions_commands/commands/selectors/scol.lua | 3 +++ worldeditadditions_commands/commands/selectors/scube.lua | 4 ++++ worldeditadditions_commands/commands/selectors/srect.lua | 4 ++++ 3 files changed, 11 insertions(+) diff --git a/worldeditadditions_commands/commands/selectors/scol.lua b/worldeditadditions_commands/commands/selectors/scol.lua index 08a2c36..37af6f4 100644 --- a/worldeditadditions_commands/commands/selectors/scol.lua +++ b/worldeditadditions_commands/commands/selectors/scol.lua @@ -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 diff --git a/worldeditadditions_commands/commands/selectors/scube.lua b/worldeditadditions_commands/commands/selectors/scube.lua index b3d337e..e7e38c9 100644 --- a/worldeditadditions_commands/commands/selectors/scube.lua +++ b/worldeditadditions_commands/commands/selectors/scube.lua @@ -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 diff --git a/worldeditadditions_commands/commands/selectors/srect.lua b/worldeditadditions_commands/commands/selectors/srect.lua index 9c478fa..7669100 100644 --- a/worldeditadditions_commands/commands/selectors/srect.lua +++ b/worldeditadditions_commands/commands/selectors/srect.lua @@ -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