Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .luacheckrc
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
globals = {
"core",
"minetest",
"xcompat",
}
Expand Down
14 changes: 13 additions & 1 deletion src/materials/farlands_reloaded.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -90,4 +91,15 @@ elseif minetest.get_modpath("x_farming") then
materials.bowl = "x_farming:bowl"
end

return materials
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
7 changes: 6 additions & 1 deletion src/materials/hades_revisited.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
return materials
6 changes: 6 additions & 0 deletions src/materials/mineclonia.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
8 changes: 6 additions & 2 deletions src/materials/minetest.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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",
}

Expand All @@ -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"
Expand All @@ -132,4 +136,4 @@ if minetest.get_modpath("techage") then
materials.aluminum_ingot = "techage:aluminum"
end

return materials
return materials