From 9e087ff995e7fccde690832a390741a43a824109 Mon Sep 17 00:00:00 2001 From: Daniel Sosa Date: Fri, 2 Jan 2015 21:45:25 -0600 Subject: Add outset, inset, shift and initial draft of expand --- worldedit_commands/init.lua | 2 ++ 1 file changed, 2 insertions(+) (limited to 'worldedit_commands/init.lua') diff --git a/worldedit_commands/init.lua b/worldedit_commands/init.lua index c93a760..30e6f9a 100644 --- a/worldedit_commands/init.lua +++ b/worldedit_commands/init.lua @@ -1182,3 +1182,5 @@ minetest.register_chatcommand("/clearobjects", { worldedit.player_notify(name, count .. " objects cleared") end), }) + +dofile(minetest.get_modpath("worldedit_commands") .. "/area.lua") -- cgit v1.2.3 From 8d213d32a092ec03dca17ada9217a87656bd2b18 Mon Sep 17 00:00:00 2001 From: Daniel Sosa Date: Sat, 3 Jan 2015 19:46:59 -0600 Subject: refactor code for mantainability and reusability. Start of chat command refactor. Implement /outset. --- worldedit_commands/init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'worldedit_commands/init.lua') diff --git a/worldedit_commands/init.lua b/worldedit_commands/init.lua index 30e6f9a..21a6af3 100644 --- a/worldedit_commands/init.lua +++ b/worldedit_commands/init.lua @@ -1183,4 +1183,4 @@ minetest.register_chatcommand("/clearobjects", { end), }) -dofile(minetest.get_modpath("worldedit_commands") .. "/area.lua") +dofile(minetest.get_modpath("worldedit_commands") .. "/cuboid.lua") -- cgit v1.2.3 From 04d20de4cd9bc55fc37889ee53fd827e5ebcf9a0 Mon Sep 17 00:00:00 2001 From: Daniel Sosa Date: Tue, 6 Jan 2015 13:20:58 +0000 Subject: Fix several typos --- worldedit_commands/init.lua | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'worldedit_commands/init.lua') diff --git a/worldedit_commands/init.lua b/worldedit_commands/init.lua index 21a6af3..eedc372 100644 --- a/worldedit_commands/init.lua +++ b/worldedit_commands/init.lua @@ -10,6 +10,7 @@ if minetest.place_schematic then worldedit.prob_list = {} end +dofile(minetest.get_modpath("worldedit_commands") .. "/cuboid.lua") dofile(minetest.get_modpath("worldedit_commands") .. "/mark.lua") local safe_region, check_region = dofile(minetest.get_modpath("worldedit_commands") .. "/safe.lua") @@ -1181,6 +1182,4 @@ minetest.register_chatcommand("/clearobjects", { local count = worldedit.clear_objects(worldedit.pos1[name], worldedit.pos2[name]) worldedit.player_notify(name, count .. " objects cleared") end), -}) - -dofile(minetest.get_modpath("worldedit_commands") .. "/cuboid.lua") +}) \ No newline at end of file -- cgit v1.2.3