1
0
mirror of https://github.com/mt-mods/basic_materials.git synced 2024-11-14 06:20:34 +01:00

Add mcl_copper support (#22)

* add mcl_core to optional dependencies

* add support for mcl_copper
This commit is contained in:
Jacob Lifshay 2023-12-23 02:33:28 -08:00 committed by GitHub
parent e4a122dfdd
commit 1009295ee6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 1 deletions

View File

@ -54,6 +54,9 @@ if minetest.get_modpath("mcl_core") then
silver_ingot = "mcl_core:iron_ingot",
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
materials = {
dirt = "fl_topsoil:dirt",

View File

@ -1,3 +1,3 @@
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