mirror of
https://github.com/mt-mods/homedecor_modpack.git
synced 2024-12-23 00:20:17 +01:00
add brass and steel chainlinks, recipe changes...
if glooptest is not installed, an alias is added to equate homedecor steel chainlinks to glooptest's, for compatibility. The six-steel-ingot wall chain recipe is no longer to make wall chains. Instead, if glooptest is not installed, this recipe is used to make chain *links*. Whether glooptest is installed or not, the steel chainlinks are still used along with steel ingots, to make wall chains as before.
This commit is contained in:
parent
5405b71a05
commit
0afd5b9b2c
@ -108,6 +108,16 @@ minetest.register_craftitem("homedecor:steel_strip", {
|
||||
inventory_image = "homedecor_steel_strip.png"
|
||||
})
|
||||
|
||||
minetest.register_craftitem("homedecor:chainlink_steel", {
|
||||
description = "Steel chainlink",
|
||||
inventory_image = "homedecor_chainlink_steel.png"
|
||||
})
|
||||
|
||||
minetest.register_craftitem("homedecor:chainlink_brass", {
|
||||
description = "Brass chainlink",
|
||||
inventory_image = "homedecor_chainlink_brass.png"
|
||||
})
|
||||
|
||||
-- alternate crafting if mesecons is/isn't installed
|
||||
|
||||
if not minetest.get_modpath("mesecons") then
|
||||
@ -2549,3 +2559,37 @@ minetest.register_craft( {
|
||||
{ "vessels:glass_bottle", "dye:brown" }
|
||||
},
|
||||
})
|
||||
|
||||
if not minetest.get_modpath("glooptest") then
|
||||
|
||||
minetest.register_alias("glooptest:chainlink", "homedecor:chainlink_steel")
|
||||
|
||||
minetest.register_craft({
|
||||
output = "glooptest:chainlink 12",
|
||||
recipe = {
|
||||
{"", "default:steel_ingot", "default:steel_ingot"},
|
||||
{ "default:steel_ingot", "", "default:steel_ingot" },
|
||||
{ "default:steel_ingot", "default:steel_ingot", "" },
|
||||
},
|
||||
})
|
||||
|
||||
end
|
||||
|
||||
minetest.register_craft({
|
||||
output = "homedecor:chains 4",
|
||||
recipe = {
|
||||
{ "default:steel_ingot", "", "default:steel_ingot"},
|
||||
{ "homedecor:chainlink_steel", "", "homedecor:chainlink_steel" },
|
||||
{ "homedecor:chainlink_steel", "", "homedecor:chainlink_steel" },
|
||||
},
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "homedecor:chainlink_brass 12",
|
||||
recipe = {
|
||||
{"", "technic:brass_ingot", "technic:brass_ingot"},
|
||||
{ "technic:brass_ingot", "", "technic:brass_ingot" },
|
||||
{ "technic:brass_ingot", "technic:brass_ingot", "" },
|
||||
},
|
||||
})
|
||||
|
||||
|
@ -219,24 +219,6 @@ minetest.register_craft({
|
||||
},
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "homedecor:chains 4",
|
||||
recipe = {
|
||||
{"","default:steel_ingot","default:steel_ingot"},
|
||||
{ "default:steel_ingot","", "default:steel_ingot" },
|
||||
{ "default:steel_ingot", "default:steel_ingot", "" },
|
||||
},
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "homedecor:chains 4",
|
||||
recipe = {
|
||||
{ "default:steel_ingot", "", "default:steel_ingot"},
|
||||
{ "glooptest:chainlink", "", "glooptest:chainlink" },
|
||||
{ "glooptest:chainlink", "", "glooptest:chainlink" },
|
||||
},
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "homedecor:torch_wall 10",
|
||||
recipe = {
|
||||
|
BIN
homedecor/textures/homedecor_chainlink_brass.png
Normal file
BIN
homedecor/textures/homedecor_chainlink_brass.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 302 B |
BIN
homedecor/textures/homedecor_chainlink_steel.png
Normal file
BIN
homedecor/textures/homedecor_chainlink_steel.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 175 B |
Loading…
Reference in New Issue
Block a user