mirror of
https://github.com/Ezhh/abriglass.git
synced 2024-11-27 01:03:48 +01:00
Add portholes recipe
This commit is contained in:
parent
d2306baca7
commit
59eb08a604
19
crafting.lua
19
crafting.lua
@ -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",},
|
||||
|
Loading…
Reference in New Issue
Block a user