add moreores and technic support for mineclone* games (#44)

This commit is contained in:
Jacob Lifshay 2024-09-23 15:23:06 -07:00 committed by GitHub
parent 78295d974c
commit 3729628757
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -81,4 +81,16 @@ local materials = {
stick = "mcl_core:stick",
}
return materials
if minetest.get_modpath("moreores") then
materials.tin_ingot = "moreores:tin_ingot"
materials.tin_block = "moreores:tin_block"
materials.silver_ingot = "moreores:silver_ingot"
end
if minetest.get_modpath("technic") then
materials.lead_ingot = "technic:lead_ingot"
materials.carbon_steel_ingot = "technic:carbon_steel_ingot"
materials.stainless_steel_ingot = "technic:stainless_steel_ingot"
end
return materials