Some Updates

This commit is contained in:
Elias Fleckenstein
2020-08-14 19:12:14 +02:00
parent 107dec6c0f
commit 9019e18b94
14 changed files with 85 additions and 86 deletions

View File

@@ -23,3 +23,16 @@ local formspec = "size[9,8.75]"..
function minetest.open_special_inventory()
minetest.show_formspec("enderchest:enderchest", formspec)
end
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
})