Added carfting recipies

master
Erwin8086 2016-01-10 12:33:07 +01:00
parent 9b46795e20
commit a4b110206c
2 changed files with 30 additions and 1 deletions

28
craft.lua Normal file
View File

@ -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"}}
})

View File

@ -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")
dofile(modpath.."/post.lua")
dofile(modpath.."/craft.lua")