mirror of
https://github.com/mt-mods/basic_materials.git
synced 2024-11-19 20:53:43 +01:00
Add mcl_copper support (#22)
* add mcl_core to optional dependencies * add support for mcl_copper
This commit is contained in:
parent
e4a122dfdd
commit
1009295ee6
@ -54,6 +54,9 @@ if minetest.get_modpath("mcl_core") then
|
|||||||
silver_ingot = "mcl_core:iron_ingot",
|
silver_ingot = "mcl_core:iron_ingot",
|
||||||
silicon = "mesecons_materials:silicon",
|
silicon = "mesecons_materials:silicon",
|
||||||
}
|
}
|
||||||
|
if minetest.get_modpath("mcl_copper") then
|
||||||
|
materials.copper_ingot = "mcl_copper:copper_ingot"
|
||||||
|
end
|
||||||
elseif minetest.get_modpath("fl_ores") and minetest.get_modpath("fl_stone") then
|
elseif minetest.get_modpath("fl_ores") and minetest.get_modpath("fl_stone") then
|
||||||
materials = {
|
materials = {
|
||||||
dirt = "fl_topsoil:dirt",
|
dirt = "fl_topsoil:dirt",
|
||||||
|
2
mod.conf
2
mod.conf
@ -1,3 +1,3 @@
|
|||||||
name = basic_materials
|
name = basic_materials
|
||||||
optional_depends = moreores, default, mesecons_materials, dye, bucket, fl_stone, fl_trees, mcl_sounds, hades_core, hades_sounds, hades_materials, hades_dye, hades_bucket, hades_extraores, hades_mesecons_materials, aloz, rp_crafting
|
optional_depends = moreores, default, mesecons_materials, dye, bucket, fl_stone, fl_trees, mcl_sounds, hades_core, hades_sounds, hades_materials, hades_dye, hades_bucket, hades_extraores, hades_mesecons_materials, aloz, rp_crafting, mcl_core, mcl_copper
|
||||||
min_minetest_version = 5.2.0
|
min_minetest_version = 5.2.0
|
||||||
|
Loading…
Reference in New Issue
Block a user