diff --git a/craft.lua b/craft.lua new file mode 100644 index 0000000..c69f53f --- /dev/null +++ b/craft.lua @@ -0,0 +1,28 @@ +minetest.register_craft({ + output = "moreinventorys:backpack", + recipe = { + {"group:wood", "", "group:wood"}, + {"group:wood", "moreinventorys:digable_chest", "group:wood"}, + {"group:wood", "", "group:wood"} + } +}) + +minetest.register_craft({ + output = "moreinventorys:password_chest", + recipe = { + {"default:chest", "default:chest", "default:chest"}, + {"default:chest", "", "default:chest"}, + {"default:chest", "default:chest", "default:chest"}, + + } +}) + +minetest.register_craft({ + output = "moreinventorys:digable_chest", + recipe = {{"default:chest", "default:chest"}} +}) + +minetest.register_craft({ + output = "moreinventorys:player_chest", + recipe = {{"moreinventorys:password_chest"}} +}) \ No newline at end of file diff --git a/init.lua b/init.lua index 01660f7..a04a527 100644 --- a/init.lua +++ b/init.lua @@ -5,4 +5,5 @@ dofile(modpath.."/digable_chest.lua") dofile(modpath.."/backpack.lua") dofile(modpath.."/password_chest.lua") dofile(modpath.."/player_chest.lua") -dofile(modpath.."/post.lua") \ No newline at end of file +dofile(modpath.."/post.lua") +dofile(modpath.."/craft.lua") \ No newline at end of file