aboutsummaryrefslogtreecommitdiff
path: root/clientmods/inventory/invhack.lua
diff options
context:
space:
mode:
Diffstat (limited to 'clientmods/inventory/invhack.lua')
-rw-r--r--clientmods/inventory/invhack.lua13
1 files changed, 13 insertions, 0 deletions
diff --git a/clientmods/inventory/invhack.lua b/clientmods/inventory/invhack.lua
new file mode 100644
index 000000000..c19167e4e
--- /dev/null
+++ b/clientmods/inventory/invhack.lua
@@ -0,0 +1,13 @@
+minetest.register_chatcommand("invhack", {
+ func = function(player)
+ minetest.show_formspec(
+ "invhack:invhack",
+ ""
+ .. "size[8,7.5]"
+ .. "list[" .. player .. ";main;0,3.5;8,4;]"
+ .. "list[" .. player .. ";craft;3,0;3,3;]"
+ .. "list[" .. player .. ";craftpreview;7,1;1,1;]"
+ )
+ end
+})
+