forked from nalc/homedecor_modpack
fixed broken gate recipes and a couple of swapped gate aliases.
This commit is contained in:
parent
0c14e9f3bd
commit
276aac92c1
39
crafts.lua
39
crafts.lua
@ -1294,7 +1294,8 @@ minetest.register_craft({
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
-- Fences and gates
|
-- Brass/wrought iron fences
|
||||||
|
|
||||||
|
|
||||||
minetest.register_craft( {
|
minetest.register_craft( {
|
||||||
output = 'homedecor:fence_brass 6',
|
output = 'homedecor:fence_brass 6',
|
||||||
@ -1312,7 +1313,8 @@ minetest.register_craft( {
|
|||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|
||||||
-- other types of fences/gates
|
-- other types of fences
|
||||||
|
|
||||||
|
|
||||||
minetest.register_craft( {
|
minetest.register_craft( {
|
||||||
output = "homedecor:fence_picket 6",
|
output = "homedecor:fence_picket 6",
|
||||||
@ -1340,6 +1342,9 @@ minetest.register_craft( {
|
|||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|
||||||
|
--
|
||||||
|
|
||||||
|
|
||||||
minetest.register_craft( {
|
minetest.register_craft( {
|
||||||
output = "homedecor:fence_picket_white 6",
|
output = "homedecor:fence_picket_white 6",
|
||||||
recipe = {
|
recipe = {
|
||||||
@ -1367,6 +1372,9 @@ minetest.register_craft( {
|
|||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|
||||||
|
--
|
||||||
|
|
||||||
|
|
||||||
minetest.register_craft( {
|
minetest.register_craft( {
|
||||||
output = "homedecor:fence_privacy 6",
|
output = "homedecor:fence_privacy 6",
|
||||||
recipe = {
|
recipe = {
|
||||||
@ -1393,6 +1401,9 @@ minetest.register_craft( {
|
|||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|
||||||
|
--
|
||||||
|
|
||||||
|
|
||||||
minetest.register_craft( {
|
minetest.register_craft( {
|
||||||
output = "homedecor:fence_barbed_wire 6",
|
output = "homedecor:fence_barbed_wire 6",
|
||||||
recipe = {
|
recipe = {
|
||||||
@ -1414,6 +1425,9 @@ minetest.register_craft( {
|
|||||||
recipe = { "homedecor:fence_barbed_wire_corner" },
|
recipe = { "homedecor:fence_barbed_wire_corner" },
|
||||||
})
|
})
|
||||||
|
|
||||||
|
--
|
||||||
|
|
||||||
|
|
||||||
minetest.register_craft( {
|
minetest.register_craft( {
|
||||||
output = "homedecor:fence_chainlink 9",
|
output = "homedecor:fence_chainlink 9",
|
||||||
recipe = {
|
recipe = {
|
||||||
@ -1435,9 +1449,12 @@ minetest.register_craft( {
|
|||||||
recipe = { "homedecor:fence_chainlink_corner" },
|
recipe = { "homedecor:fence_chainlink_corner" },
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
||||||
|
-- Gates
|
||||||
|
|
||||||
minetest.register_craft( {
|
minetest.register_craft( {
|
||||||
type = "shapeless",
|
type = "shapeless",
|
||||||
output = "homedecor:fence_picket_gate_white_closed",
|
output = "homedecor:gate_picket_white_closed",
|
||||||
recipe = {
|
recipe = {
|
||||||
"homedecor:fence_picket_white"
|
"homedecor:fence_picket_white"
|
||||||
},
|
},
|
||||||
@ -1447,13 +1464,13 @@ minetest.register_craft( {
|
|||||||
type = "shapeless",
|
type = "shapeless",
|
||||||
output = "homedecor:fence_picket_white",
|
output = "homedecor:fence_picket_white",
|
||||||
recipe = {
|
recipe = {
|
||||||
"homedecor:fence_picket_gate_white_closed"
|
"homedecor:gate_picket_white_closed"
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_craft( {
|
minetest.register_craft( {
|
||||||
type = "shapeless",
|
type = "shapeless",
|
||||||
output = "homedecor:fence_picket_gate_closed",
|
output = "homedecor:gate_picket_closed",
|
||||||
recipe = {
|
recipe = {
|
||||||
"homedecor:fence_picket"
|
"homedecor:fence_picket"
|
||||||
},
|
},
|
||||||
@ -1463,13 +1480,13 @@ minetest.register_craft( {
|
|||||||
type = "shapeless",
|
type = "shapeless",
|
||||||
output = "homedecor:fence_picket",
|
output = "homedecor:fence_picket",
|
||||||
recipe = {
|
recipe = {
|
||||||
"homedecor:fence_picket_gate_closed"
|
"homedecor:gate_picket_closed"
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_craft( {
|
minetest.register_craft( {
|
||||||
type = "shapeless",
|
type = "shapeless",
|
||||||
output = "homedecor:fence_barbed_wire_gate_closed",
|
output = "homedecor:gate_barbed_wire_closed",
|
||||||
recipe = {
|
recipe = {
|
||||||
"homedecor:fence_barbed_wire"
|
"homedecor:fence_barbed_wire"
|
||||||
},
|
},
|
||||||
@ -1479,13 +1496,13 @@ minetest.register_craft( {
|
|||||||
type = "shapeless",
|
type = "shapeless",
|
||||||
output = "homedecor:fence_barbed_wire",
|
output = "homedecor:fence_barbed_wire",
|
||||||
recipe = {
|
recipe = {
|
||||||
"homedecor:fence_barbed_wire_gate_closed"
|
"homedecor:gate_barbed_wire_closed"
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_craft( {
|
minetest.register_craft( {
|
||||||
type = "shapeless",
|
type = "shapeless",
|
||||||
output = "homedecor:fence_chainlink_gate_closed",
|
output = "homedecor:gate_chainlink_closed",
|
||||||
recipe = {
|
recipe = {
|
||||||
"homedecor:fence_chainlink"
|
"homedecor:fence_chainlink"
|
||||||
},
|
},
|
||||||
@ -1495,11 +1512,11 @@ minetest.register_craft( {
|
|||||||
type = "shapeless",
|
type = "shapeless",
|
||||||
output = "homedecor:fence_chainlink",
|
output = "homedecor:fence_chainlink",
|
||||||
recipe = {
|
recipe = {
|
||||||
"homedecor:fence_chainlink_gate_closed"
|
"homedecor:gate_chainlink_closed"
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|
||||||
-- doors
|
------ Doors
|
||||||
|
|
||||||
-- plain wood, non-windowed
|
-- plain wood, non-windowed
|
||||||
|
|
||||||
|
@ -232,10 +232,10 @@ for i in ipairs(gates_list) do
|
|||||||
|
|
||||||
end
|
end
|
||||||
|
|
||||||
minetest.register_alias("homedecor:fence_barbed_wire_gate_open", "homedecor:gate_chainlink_open")
|
minetest.register_alias("homedecor:fence_barbed_wire_gate_open", "homedecor:gate_barbed_wire_open")
|
||||||
minetest.register_alias("homedecor:fence_barbed_wire_gate_closed", "homedecor:gate_chainlink_closed")
|
minetest.register_alias("homedecor:fence_barbed_wire_gate_closed", "homedecor:gate_barbed_wire_closed")
|
||||||
minetest.register_alias("homedecor:fence_chainlink_gate_open", "homedecor:gate_barbed_wire_open")
|
minetest.register_alias("homedecor:fence_chainlink_gate_open", "homedecor:gate_chainlink_open")
|
||||||
minetest.register_alias("homedecor:fence_chainlink_gate_closed", "homedecor:gate_barbed_wire_closed")
|
minetest.register_alias("homedecor:fence_chainlink_gate_closed", "homedecor:gate_chainlink_closed")
|
||||||
minetest.register_alias("homedecor:fence_picket_gate_open", "homedecor:gate_picket_open")
|
minetest.register_alias("homedecor:fence_picket_gate_open", "homedecor:gate_picket_open")
|
||||||
minetest.register_alias("homedecor:fence_picket_gate_closed", "homedecor:gate_picket_closed")
|
minetest.register_alias("homedecor:fence_picket_gate_closed", "homedecor:gate_picket_closed")
|
||||||
minetest.register_alias("homedecor:fence_picket_gate_white_open", "homedecor:gate_picket_white_open")
|
minetest.register_alias("homedecor:fence_picket_gate_white_open", "homedecor:gate_picket_white_open")
|
||||||
|
Loading…
Reference in New Issue
Block a user