diff --git a/.luacheckrc b/.luacheckrc index e46563b..57f490d 100644 --- a/.luacheckrc +++ b/.luacheckrc @@ -1,4 +1,5 @@ globals = { + "core", "minetest", "xcompat", } diff --git a/src/materials/farlands_reloaded.lua b/src/materials/farlands_reloaded.lua index 7ed1955..c414f0c 100644 --- a/src/materials/farlands_reloaded.lua +++ b/src/materials/farlands_reloaded.lua @@ -78,6 +78,7 @@ local materials = { jungle_leaves = "fl_trees:jungletree_leaves", bowl = "", stick = "fl_trees:stick", + insulation = "fl_bricks:clay_lump", } if minetest.get_modpath("basic_materials") then @@ -90,4 +91,15 @@ elseif minetest.get_modpath("x_farming") then materials.bowl = "x_farming:bowl" end -return materials \ No newline at end of file +if core.get_modpath("mesecons_materials") then + materials.insulation = "mesecons_materials:fiber" +end + +if core.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" + materials.insulation = "technic:rubber" +end + +return materials diff --git a/src/materials/hades_revisited.lua b/src/materials/hades_revisited.lua index a40f1f3..c094ccd 100644 --- a/src/materials/hades_revisited.lua +++ b/src/materials/hades_revisited.lua @@ -85,6 +85,7 @@ local materials = { --hades has no bowl but you get plate on eat so makes most sense? bowl = "hades_food:plate", stick = "hades_core:stick", + insulation = "hades_core:paper", } if minetest.get_modpath("hades_bucket") then @@ -98,10 +99,14 @@ end if minetest.get_modpath("hades_default") then materials.desert_sand = "hades_default:desert_sand" end +if core.get_modpath("mesecons_materials") then + materials.insulation = "mesecons_materials:fiber" +end if minetest.get_modpath("hades_technic") then materials.lead_ingot = "hades_technic:lead_ingot" materials.carbon_steel_ingot = "hades_technic:carbon_steel_ingot" materials.stainless_steel_ingot = "hades_technic:stainless_steel_ingot" + materials.insulation = "technic:rubber" end -return materials \ No newline at end of file +return materials diff --git a/src/materials/mineclonia.lua b/src/materials/mineclonia.lua index 8b80ac5..fc34ac2 100644 --- a/src/materials/mineclonia.lua +++ b/src/materials/mineclonia.lua @@ -79,6 +79,7 @@ local materials = { jungle_leaves = "mcl_trees:leaves_jungle", bowl = "mcl_core:bowl", stick = "mcl_core:stick", + insulation = "mcl_core:paper", } if minetest.get_modpath("moreores") then @@ -87,10 +88,15 @@ if minetest.get_modpath("moreores") then materials.silver_ingot = "moreores:silver_ingot" end +if core.get_modpath("mesecons_materials") then + materials.insulation = "mesecons_materials:fiber" +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" + materials.insulation = "technic:rubber" end return materials diff --git a/src/materials/minetest.lua b/src/materials/minetest.lua index 319a1a2..ad824a5 100644 --- a/src/materials/minetest.lua +++ b/src/materials/minetest.lua @@ -101,7 +101,7 @@ local materials = { wheat = "farming:wheat", wheat_seed = "farming:seed_wheat", dry_shrub = "default:dry_shrub", - insulation = "mesecons_materials:fiber", + insulation = "default:paper", furnace = "default:furnace", } @@ -117,6 +117,10 @@ if minetest.get_modpath("moreores") then materials.mithril_ingot = "moreores:mithril_ingot" end +if core.get_modpath("mesecons_materials") then + materials.insulation = "mesecons_materials:fiber" +end + if minetest.get_modpath("technic") then materials.lead_ingot = "technic:lead_ingot" materials.carbon_steel_ingot = "technic:carbon_steel_ingot" @@ -132,4 +136,4 @@ if minetest.get_modpath("techage") then materials.aluminum_ingot = "techage:aluminum" end -return materials \ No newline at end of file +return materials