mirror of
https://github.com/mt-mods/xcompat.git
synced 2024-12-22 17:10:18 +01:00
Added flint, bowls, aspen/birch(planks, logs, leaves) and apple/oak(planks, logs) (#21)
Co-authored-by: wsor4035 <24964441+wsor4035@users.noreply.github.com>
This commit is contained in:
parent
215b094515
commit
eb7d9fd4f6
@ -2,6 +2,7 @@ local materials = {
|
|||||||
sand = "default:sand",
|
sand = "default:sand",
|
||||||
sandstone = "default:sandstone",
|
sandstone = "default:sandstone",
|
||||||
gravel = "default:gravel",
|
gravel = "default:gravel",
|
||||||
|
flint = "default:flint",
|
||||||
copper_ingot = "default:copper_ingot",
|
copper_ingot = "default:copper_ingot",
|
||||||
steel_ingot = "default:steel_ingot",
|
steel_ingot = "default:steel_ingot",
|
||||||
gold_ingot = "default:gold_ingot",
|
gold_ingot = "default:gold_ingot",
|
||||||
@ -66,9 +67,21 @@ local materials = {
|
|||||||
dirt = "default:dirt",
|
dirt = "default:dirt",
|
||||||
dirt_with_grass = "default:dirt_with_grass",
|
dirt_with_grass = "default:dirt_with_grass",
|
||||||
apple_leaves = "default:leaves",
|
apple_leaves = "default:leaves",
|
||||||
|
apple_log = "default:tree",
|
||||||
|
apple_planks = "default:wood",
|
||||||
|
birch_leaves = "default:aspen_leaves",
|
||||||
|
birch_log = "default:aspen_tree",
|
||||||
|
birch_planks = "default:aspen_wood",
|
||||||
jungle_leaves = "default:jungleleaves",
|
jungle_leaves = "default:jungleleaves",
|
||||||
|
bowl = "",
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if minetest.registered_items["farming:bowl"] then
|
||||||
|
materials.bowl = "farming:bowl"
|
||||||
|
elseif minetest.get_modpath("x_farming") then
|
||||||
|
materials.bowl = "x_farming:bowl"
|
||||||
|
end
|
||||||
|
|
||||||
if minetest.get_modpath("moreores") then
|
if minetest.get_modpath("moreores") then
|
||||||
materials.silver_ingot = "moreores:silver_ingot"
|
materials.silver_ingot = "moreores:silver_ingot"
|
||||||
end
|
end
|
||||||
@ -92,6 +105,7 @@ if minetest.get_modpath("mcl_core") then
|
|||||||
sand = "mcl_core:sand",
|
sand = "mcl_core:sand",
|
||||||
sandstone = "mcl_core:sandstone",
|
sandstone = "mcl_core:sandstone",
|
||||||
gravel = "mcl_core:gravel",
|
gravel = "mcl_core:gravel",
|
||||||
|
flint = "mcl_core:flint",
|
||||||
copper_ingot = "mcl_copper:copper_ingot",
|
copper_ingot = "mcl_copper:copper_ingot",
|
||||||
steel_ingot = "mcl_core:iron_ingot",
|
steel_ingot = "mcl_core:iron_ingot",
|
||||||
gold_ingot = "mcl_core:gold_ingot",
|
gold_ingot = "mcl_core:gold_ingot",
|
||||||
@ -155,13 +169,20 @@ if minetest.get_modpath("mcl_core") then
|
|||||||
dirt = "mcl_core:dirt",
|
dirt = "mcl_core:dirt",
|
||||||
dirt_with_grass = "mcl_core:dirt_with_grass",
|
dirt_with_grass = "mcl_core:dirt_with_grass",
|
||||||
apple_leaves = "mcl_trees:leaves_oak",
|
apple_leaves = "mcl_trees:leaves_oak",
|
||||||
jungle_leaves = "mcl_trees:leaves_jungle",
|
apple_log = "mcl_trees:tree_oak",
|
||||||
|
apple_planks = "mcl_trees:wood_oak",
|
||||||
|
birch_leaves = "mcl_trees:leaves_birch",
|
||||||
|
birch_log = "mcl_trees:tree_birch",
|
||||||
|
birch_planks = "mcl_trees:wood_birch",
|
||||||
|
jungle_leaves = "mcl_trees:jungle_leaves",
|
||||||
|
bowl = "mcl_core:bowl",
|
||||||
}
|
}
|
||||||
elseif minetest.get_modpath("fl_ores") and minetest.get_modpath("fl_stone") then
|
elseif minetest.get_modpath("fl_ores") and minetest.get_modpath("fl_stone") then
|
||||||
materials = {
|
materials = {
|
||||||
sand = "fl_stone:sand",
|
sand = "fl_stone:sand",
|
||||||
sandstone = "fl_stone:sandstone",
|
sandstone = "fl_stone:sandstone",
|
||||||
gravel = "fl_topsoil:gravel",
|
gravel = "fl_topsoil:gravel",
|
||||||
|
flint = "fl_topsoil:flint",
|
||||||
copper_ingot = "fl_ores:copper_ingot",
|
copper_ingot = "fl_ores:copper_ingot",
|
||||||
steel_ingot = "fl_ores:iron_ingot",
|
steel_ingot = "fl_ores:iron_ingot",
|
||||||
gold_ingot = "fl_ores:gold_ingot",
|
gold_ingot = "fl_ores:gold_ingot",
|
||||||
@ -225,13 +246,20 @@ elseif minetest.get_modpath("fl_ores") and minetest.get_modpath("fl_stone") then
|
|||||||
dirt = "fl_stone:dirt",
|
dirt = "fl_stone:dirt",
|
||||||
dirt_with_grass = "fl_topsoil:dirt_with_grass",
|
dirt_with_grass = "fl_topsoil:dirt_with_grass",
|
||||||
apple_leaves = "fl_trees:apple_leaves",
|
apple_leaves = "fl_trees:apple_leaves",
|
||||||
|
apple_log = "fl_trees:apple_trunk",
|
||||||
|
apple_planks = "fl_trees:apple_plank",
|
||||||
|
birch_leaves = "fl_trees:aspen_leaves",
|
||||||
|
birch_log = "fl_trees:aspen_trunk",
|
||||||
|
birch_planks = "fl_trees:aspen_plank",
|
||||||
jungle_leaves = "fl_trees:jungletree_leaves",
|
jungle_leaves = "fl_trees:jungletree_leaves",
|
||||||
|
bowl = "",
|
||||||
}
|
}
|
||||||
elseif minetest.get_modpath("hades_core") then
|
elseif minetest.get_modpath("hades_core") then
|
||||||
materials = {
|
materials = {
|
||||||
sand = "hades_core:fertile_sand",
|
sand = "hades_core:fertile_sand",
|
||||||
sandstone = "hades_core:sandstone",
|
sandstone = "hades_core:sandstone",
|
||||||
gravel = "hades_core:gravel",
|
gravel = "hades_core:gravel",
|
||||||
|
flint = "",
|
||||||
copper_ingot = "hades_core:copper_ingot",
|
copper_ingot = "hades_core:copper_ingot",
|
||||||
steel_ingot = "hades_core:steel_ingot",
|
steel_ingot = "hades_core:steel_ingot",
|
||||||
gold_ingot = "hades_core:gold_ingot",
|
gold_ingot = "hades_core:gold_ingot",
|
||||||
@ -303,7 +331,14 @@ elseif minetest.get_modpath("hades_core") then
|
|||||||
dirt = "hades_core:dirt",
|
dirt = "hades_core:dirt",
|
||||||
dirt_with_grass = "hades_core:dirt_with_grass",
|
dirt_with_grass = "hades_core:dirt_with_grass",
|
||||||
apple_leaves = "hades_trees:leaves",
|
apple_leaves = "hades_trees:leaves",
|
||||||
|
apple_log = "hades_trees:tree",
|
||||||
|
apple_planks = "hades_trees:wood",
|
||||||
|
birch_leaves = "hades_core:birch_leaves",
|
||||||
|
birch_log = "hades_trees:birch_tree",
|
||||||
|
birch_planks = "hades_trees:cream_wood",
|
||||||
jungle_leaves = "hades_trees:jungle_leaves",
|
jungle_leaves = "hades_trees:jungle_leaves",
|
||||||
|
--hades has no bowl but you get plate on eat so makes most sense?
|
||||||
|
bowl = "hades_food:plate",
|
||||||
}
|
}
|
||||||
|
|
||||||
if minetest.get_modpath("hades_bucket") then
|
if minetest.get_modpath("hades_bucket") then
|
||||||
@ -324,4 +359,4 @@ elseif minetest.get_modpath("hades_core") then
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
return materials
|
return materials
|
||||||
|
Loading…
Reference in New Issue
Block a user