From 3729628757c1f5f4eb61f8547337f9180fe08b64 Mon Sep 17 00:00:00 2001 From: Jacob Lifshay Date: Mon, 23 Sep 2024 15:23:06 -0700 Subject: [PATCH] add moreores and technic support for mineclone* games (#44) --- src/materials/mineclonia.lua | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/src/materials/mineclonia.lua b/src/materials/mineclonia.lua index d2bf1d0..8b80ac5 100644 --- a/src/materials/mineclonia.lua +++ b/src/materials/mineclonia.lua @@ -81,4 +81,16 @@ local materials = { stick = "mcl_core:stick", } -return materials \ No newline at end of file +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