@@ -3,6 +3,7 @@ local S = minetest.get_translator("worldedit_commands")
33worldedit .register_command (" outset" , {
44 params = " [h/v] <amount>" ,
55 description = S (" Outset the selected region." ),
6+ category = S (" Region operations" ),
67 privs = {worldedit = true },
78 require_pos = 2 ,
89 parse = function (param )
@@ -42,6 +43,7 @@ worldedit.register_command("outset", {
4243worldedit .register_command (" inset" , {
4344 params = " [h/v] <amount>" ,
4445 description = S (" Inset the selected region." ),
46+ category = S (" Region operations" ),
4547 privs = {worldedit = true },
4648 require_pos = 2 ,
4749 parse = function (param )
@@ -79,6 +81,7 @@ worldedit.register_command("inset", {
7981worldedit .register_command (" shift" , {
8082 params = " x/y/z/?/up/down/left/right/front/back [+/-]<amount>" ,
8183 description = S (" Shifts the selection area without moving its contents" ),
84+ category = S (" Region operations" ),
8285 privs = {worldedit = true },
8386 require_pos = 2 ,
8487 parse = function (param )
@@ -114,6 +117,7 @@ worldedit.register_command("shift", {
114117worldedit .register_command (" expand" , {
115118 params = " [+/-]x/y/z/?/up/down/left/right/front/back <amount> [reverse amount]" ,
116119 description = S (" Expands the selection in the selected absolute or relative axis" ),
120+ category = S (" Region operations" ),
117121 privs = {worldedit = true },
118122 require_pos = 2 ,
119123 parse = function (param )
@@ -163,6 +167,7 @@ worldedit.register_command("expand", {
163167worldedit .register_command (" contract" , {
164168 params = " [+/-]x/y/z/?/up/down/left/right/front/back <amount> [reverse amount]" ,
165169 description = S (" Contracts the selection in the selected absolute or relative axis" ),
170+ category = S (" Region operations" ),
166171 privs = {worldedit = true },
167172 require_pos = 2 ,
168173 parse = function (param )
0 commit comments