aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWuzzy <Wuzzy@disroot.org>2022-10-08 19:50:23 +0200
committersfan5 <sfan5@live.de>2022-10-23 21:58:56 +0200
commit998e50725c177e9fb4e41f7afbf643183778f9cf (patch)
treefd36c5b09a5e71609068713ff0df254cf9817d7e
parenta23701b5e654139158ba934155ecd99c8f4b8fd7 (diff)
downloadminetest-998e50725c177e9fb4e41f7afbf643183778f9cf.tar.xz
DevTest: Remove experimental mod
-rw-r--r--games/devtest/README.md1
-rw-r--r--games/devtest/mods/experimental/commands.lua24
-rw-r--r--games/devtest/mods/experimental/init.lua6
-rw-r--r--games/devtest/mods/experimental/mod.conf2
4 files changed, 0 insertions, 33 deletions
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.