Add portholes recipe

This commit is contained in:
ezhh 2017-02-10 23:51:32 +00:00
parent d2306baca7
commit 59eb08a604

@ -150,6 +150,25 @@ for i = 1, #cook_list do
end
-- porthole recipes
local port_recipes = {
{"wood",}, {"junglewood",},
}
for i in ipairs(port_recipes) do
local name = port_recipes[i][1]
minetest.register_craft({
output = "abriglass:porthole_"..name.." 4",
recipe = {
{"default:glass", "", "default:glass",},
{"default:"..name, "", "default:steel_ingot",},
{"default:glass", "", "default:glass",},
}
})
end
-- one-way recipes
local oneway_recipe_list = {
{"abriglass:oneway_glass_desert_brick", "default:desert_stonebrick",},