aboutsummaryrefslogtreecommitdiff
path: root/games/devtest/mods/experimental/commands.lua
diff options
context:
space:
mode:
Diffstat (limited to 'games/devtest/mods/experimental/commands.lua')
-rw-r--r--games/devtest/mods/experimental/commands.lua21
1 files changed, 0 insertions, 21 deletions
diff --git a/games/devtest/mods/experimental/commands.lua b/games/devtest/mods/experimental/commands.lua
index 5badff7e3..3b00bd9e3 100644
--- a/games/devtest/mods/experimental/commands.lua
+++ b/games/devtest/mods/experimental/commands.lua
@@ -1,24 +1,3 @@
-minetest.register_chatcommand("test_inv", {
- params = "",
- description = "Test: Modify player's inventory formspec",
- func = function(name, param)
- local player = minetest.get_player_by_name(name)
- if not player then
- return false, "No player."
- end
- player:set_inventory_formspec(
- "size[13,7.5]"..
- "image[6,0.6;1,2;player.png]"..
- "list[current_player;main;5,3.5;8,4;]"..
- "list[current_player;craft;8,0;3,3;]"..
- "list[current_player;craftpreview;12,1;1,1;]"..
- "list[detached:test_inventory;main;0,0;4,6;0]"..
- "button[0.5,7;2,1;button1;Button 1]"..
- "button_exit[2.5,7;2,1;button2;Exit Button]")
- return true, "Done."
- end,
-})
-
minetest.register_chatcommand("test_bulk_set_node", {
params = "",
description = "Test: Bulk-set 9×9×9 stone nodes",