Added Bronze ingot recipe and copper rail
This commit is contained in:
parent
a5e93a7c6f
commit
c5e2bd5043
11
init.lua
11
init.lua
|
@ -29,6 +29,7 @@ local is_mcl_core_present = minetest.get_modpath("mcl_core") ~= nil
|
||||||
local is_mcl_sounds_present = minetest.get_modpath("mcl_sounds") ~= nil
|
local is_mcl_sounds_present = minetest.get_modpath("mcl_sounds") ~= nil
|
||||||
local is_mcl_copper_present = minetest.registered_items["mcl_copper:copper_ingot"] ~= nil
|
local is_mcl_copper_present = minetest.registered_items["mcl_copper:copper_ingot"] ~= nil
|
||||||
local stone_ingrediant = mcl_core_modpath and "mcl_core:stone" or "default:stone"
|
local stone_ingrediant = mcl_core_modpath and "mcl_core:stone" or "default:stone"
|
||||||
|
local copper_ingrediant = mcl_core_modpath and "mcl_copper:copper_ingot" or 'default:copper_ingot'
|
||||||
local default_stone_sounds = nil
|
local default_stone_sounds = nil
|
||||||
local default_metal_sounds = nil
|
local default_metal_sounds = nil
|
||||||
|
|
||||||
|
@ -446,8 +447,8 @@ else
|
||||||
output = "default:bronze_ingot 3",
|
output = "default:bronze_ingot 3",
|
||||||
recipe = {
|
recipe = {
|
||||||
"moreores:tin_ingot",
|
"moreores:tin_ingot",
|
||||||
"default:copper_ingot",
|
copper_ingrediant,
|
||||||
"default:copper_ingot",
|
copper_ingrediant,
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
end
|
end
|
||||||
|
@ -471,9 +472,9 @@ end
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
output = "moreores:copper_rail 24",
|
output = "moreores:copper_rail 24",
|
||||||
recipe = {
|
recipe = {
|
||||||
{"default:copper_ingot", "", "default:copper_ingot"},
|
{copper_ingrediant, "", copper_ingrediant},
|
||||||
{"default:copper_ingot", "group:stick", "default:copper_ingot"},
|
{copper_ingrediant, "group:stick", copper_ingrediant},
|
||||||
{"default:copper_ingot", "", "default:copper_ingot"},
|
{copper_ingrediant, "", copper_ingrediant},
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue