From 998e50725c177e9fb4e41f7afbf643183778f9cf Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Sat, 8 Oct 2022 19:50:23 +0200 Subject: [PATCH] DevTest: Remove experimental mod --- games/devtest/README.md | 1 - games/devtest/mods/experimental/commands.lua | 24 -------------------- games/devtest/mods/experimental/init.lua | 6 ----- games/devtest/mods/experimental/mod.conf | 2 -- 4 files changed, 33 deletions(-) delete mode 100644 games/devtest/mods/experimental/commands.lua delete mode 100644 games/devtest/mods/experimental/init.lua delete mode 100644 games/devtest/mods/experimental/mod.conf diff --git a/games/devtest/README.md b/games/devtest/README.md index 77e722af7..4b5fb73f2 100644 --- a/games/devtest/README.md +++ b/games/devtest/README.md @@ -34,7 +34,6 @@ Confused by a certain node or item? Check out for inline code comments. The usag ## Random notes -* Experimental/strange/unstructured tests can be found in the `experimental` mod * Textures of drawtype test nodes have a red dot at the top left corner. This is to see whether the textures are oriented properly ## Design philosophy diff --git a/games/devtest/mods/experimental/commands.lua b/games/devtest/mods/experimental/commands.lua deleted file mode 100644 index 3b00bd9e3..000000000 --- a/games/devtest/mods/experimental/commands.lua +++ /dev/null @@ -1,24 +0,0 @@ -minetest.register_chatcommand("test_bulk_set_node", { - params = "", - description = "Test: Bulk-set 9×9×9 stone nodes", - func = function(name, param) - local player = minetest.get_player_by_name(name) - if not player then - return false, "No player." - end - local pos_list = {} - local ppos = player:get_pos() - local i = 1 - for x=2,10 do - for y=2,10 do - for z=2,10 do - pos_list[i] = {x=ppos.x + x,y = ppos.y + y,z = ppos.z + z} - i = i + 1 - end - end - end - minetest.bulk_set_node(pos_list, {name = "mapgen_stone"}) - return true, "Done." - end, -}) - diff --git a/games/devtest/mods/experimental/init.lua b/games/devtest/mods/experimental/init.lua deleted file mode 100644 index b321fea8e..000000000 --- a/games/devtest/mods/experimental/init.lua +++ /dev/null @@ -1,6 +0,0 @@ --- --- Experimental things --- - -dofile(minetest.get_modpath("experimental").."/commands.lua") - diff --git a/games/devtest/mods/experimental/mod.conf b/games/devtest/mods/experimental/mod.conf deleted file mode 100644 index cf0f9cb42..000000000 --- a/games/devtest/mods/experimental/mod.conf +++ /dev/null @@ -1,2 +0,0 @@ -name = experimental -description = Chaotic mod containing unstructured tests for testing out engine features. The features in this mod should be moved to other mods.