]> git.lizzy.rs Git - minetest.git/commitdiff
DevTest: Remove experimental mod
authorWuzzy <Wuzzy@disroot.org>
Sat, 8 Oct 2022 17:50:23 +0000 (19:50 +0200)
committersfan5 <sfan5@live.de>
Sun, 23 Oct 2022 19:58:56 +0000 (21:58 +0200)
games/devtest/README.md
games/devtest/mods/experimental/commands.lua [deleted file]
games/devtest/mods/experimental/init.lua [deleted file]
games/devtest/mods/experimental/mod.conf [deleted file]

index 77e722af78022af255ee2591c85f53407d4a6e78..4b5fb73f2fea4015425ff71362761c6dc05afc74 100644 (file)
@@ -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 (file)
index 3b00bd9..0000000
+++ /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 (file)
index b321fea..0000000
+++ /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 (file)
index cf0f9cb..0000000
+++ /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.