add some materials for moretrees game agnostic pr (#19)

This commit is contained in:
wsor4035 2024-05-23 23:12:17 -04:00 committed by GitHub
parent 3da43ebf4e
commit 08bb0d0ed5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,5 +1,4 @@
local materials = { local materials = {
dirt = "default:dirt",
sand = "default:sand", sand = "default:sand",
sandstone = "default:sandstone", sandstone = "default:sandstone",
gravel = "default:gravel", gravel = "default:gravel",
@ -12,6 +11,10 @@ local materials = {
gold_block = "default:goldblock", gold_block = "default:goldblock",
tin_block = "default:tinblock", tin_block = "default:tinblock",
axe_steel = "default:axe_steel", axe_steel = "default:axe_steel",
axe_diamond = "default:axe_diamond",
axe_bronze = "default:axe_bronze",
axe_stone = "default:axe_stone",
axe_wood = "default:axe_wood",
pick_steel = "default:pick_steel", pick_steel = "default:pick_steel",
mese = "default:mese", mese = "default:mese",
mese_crystal = "default:mese_crystal", mese_crystal = "default:mese_crystal",
@ -58,6 +61,12 @@ local materials = {
cobble = "default:cobble", cobble = "default:cobble",
brick = "default:brick", brick = "default:brick",
obsidian_glass = "default:obsidian_glass", obsidian_glass = "default:obsidian_glass",
water_source = "default:water_source",
water_flowing = "default:water_flowing",
dirt = "default:dirt",
dirt_with_grass = "default:dirt_with_grass",
apple_leaves = "default:leaves",
jungle_leaves = "default:jungleleaves",
} }
if minetest.get_modpath("moreores") then if minetest.get_modpath("moreores") then
@ -80,7 +89,6 @@ end
if minetest.get_modpath("mcl_core") then if minetest.get_modpath("mcl_core") then
materials = { materials = {
dirt = "mcl_core:dirt",
sand = "mcl_core:sand", sand = "mcl_core:sand",
sandstone = "mcl_core:sandstone", sandstone = "mcl_core:sandstone",
gravel = "mcl_core:gravel", gravel = "mcl_core:gravel",
@ -93,6 +101,10 @@ if minetest.get_modpath("mcl_core") then
gold_block = "mcl_core:gold_block", gold_block = "mcl_core:gold_block",
tin_block = "mcl_core:iron_block", tin_block = "mcl_core:iron_block",
axe_steel = "mcl_core:axe_steel", axe_steel = "mcl_core:axe_steel",
axe_diamond = "mcl_core:axe_diamond",
axe_bronze = "mcl_core:axe_bronze",
axe_stone = "mcl_core:axe_stone",
axe_wood = "mcl_core:axe_wood",
pick_steel = "mcl_core:pick_steel", pick_steel = "mcl_core:pick_steel",
mese = "mesecons_torch:redstoneblock", mese = "mesecons_torch:redstoneblock",
mese_crystal = "mesecons:redstone", mese_crystal = "mesecons:redstone",
@ -138,10 +150,15 @@ if minetest.get_modpath("mcl_core") then
chest = "mcl_chests:chest", chest = "mcl_chests:chest",
cobble = "mcl_core:cobble", cobble = "mcl_core:cobble",
brick = "mcl_core:brick", brick = "mcl_core:brick",
water_source = "mcl_core:water_source",
water_flowing = "mcl_core:water_flowing",
dirt = "mcl_core:dirt",
dirt_with_grass = "mcl_core:dirt_with_grass",
apple_leaves = "mcl_trees:apple_leaves",
jungle_leaves = "mcl_trees:jungle_leaves",
} }
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 = {
dirt = "fl_topsoil:dirt",
sand = "fl_stone:sand", sand = "fl_stone:sand",
sandstone = "fl_stone:sandstone", sandstone = "fl_stone:sandstone",
gravel = "fl_topsoil:gravel", gravel = "fl_topsoil:gravel",
@ -153,8 +170,12 @@ elseif minetest.get_modpath("fl_ores") and minetest.get_modpath("fl_stone") then
steel_block = "fl_ores:iron_block", steel_block = "fl_ores:iron_block",
gold_block = "fl_ores:gold_block", gold_block = "fl_ores:gold_block",
tin_block = "fl_ores:tin_block", tin_block = "fl_ores:tin_block",
axe_steel = "fl_tools:steel_pick", axe_steel = "fl_tools:steel_axe",
pick_steel = "fl_tools:steel_axe", axe_diamond = "fl_tools:diamond_axe",
axe_bronze = "fl_tools:bronze_axe",
axe_stone = "fl_tools:stone_axe",
axe_wood = "fl_tools:wood_axe",
pick_steel = "fl_tools:steel_pick",
mese = "fl_ores:iron_ingot", mese = "fl_ores:iron_ingot",
mese_crystal = "fl_ores:iron_ingot", mese_crystal = "fl_ores:iron_ingot",
mese_crystal_fragment = "fl_ores:iron_ingot", mese_crystal_fragment = "fl_ores:iron_ingot",
@ -199,6 +220,12 @@ elseif minetest.get_modpath("fl_ores") and minetest.get_modpath("fl_stone") then
chest = "fl_storage:wood_chest", chest = "fl_storage:wood_chest",
cobble = "fl_stone:stone_rubble", cobble = "fl_stone:stone_rubble",
brick = "", brick = "",
water_source = "fl_liquids:water_source",
water_flowing = "fl_liquids:water_flowing",
dirt = "fl_stone:dirt",
dirt_with_grass = "fl_topsoil:dirt_with_grass",
apple_leaves = "fl_trees:apple_leaves",
jungle_leaves = "fl_trees:jungletree_leaves",
} }
elseif minetest.get_modpath("hades_core") then elseif minetest.get_modpath("hades_core") then
materials = { materials = {
@ -215,6 +242,10 @@ elseif minetest.get_modpath("hades_core") then
gold_block = "hades_core:goldblock", gold_block = "hades_core:goldblock",
tin_block = "hades_core:tinblock", tin_block = "hades_core:tinblock",
axe_steel = "hades_core:axe_steel", axe_steel = "hades_core:axe_steel",
axe_diamond = "hades_core:axe_diamond",
axe_bronze = "hades_core:axe_bronze",
axe_stone = "hades_core:axe_stone",
axe_wood = "hades_core:axe_wood",
pick_steel = "hades_core:pick_steel", pick_steel = "hades_core:pick_steel",
mese = "hades_core:mese", mese = "hades_core:mese",
mese_crystal = "hades_core:mese_crystal", mese_crystal = "hades_core:mese_crystal",
@ -266,7 +297,13 @@ elseif minetest.get_modpath("hades_core") then
desert_sand = "hades_core:volcanic_sand", desert_sand = "hades_core:volcanic_sand",
chest = "hades_chests:chest"; chest = "hades_chests:chest";
cobble = "hades_core:cobble", cobble = "hades_core:cobble",
brick = "hades_core:brick" brick = "hades_core:brick",
water_source = "hades_core:water_source",
water_flowing = "hades_core:water_flowing",
dirt = "hades_core:dirt",
dirt_with_grass = "hades_core:dirt_with_grass",
apple_leaves = "hades_core:leaves",
jungle_leaves = "hades_core:jungleleaves",
} }
if minetest.get_modpath("hades_bucket") then if minetest.get_modpath("hades_bucket") then