Add deepslate ores in MCL

This commit is contained in:
mrkubax10 2023-03-08 21:56:37 +01:00
parent ed0255dbe9
commit 3bfb473d35
2 changed files with 35 additions and 0 deletions

View File

@ -48,6 +48,21 @@ if industrialtest.mclAvailable then
tiles={"default_stone.png^industrialtest_mcl_stone_with_"..name..".png"},
sounds=mcl_sounds.node_sound_stone_defaults(),
drop="industrialtest:raw_"..name,
is_ground_content=true,
groups={pickaxey=3,building_block=1,material_stone=1,blast_furnace_smeltable=1},
_mcl_blast_resistance = oreBlastResistance,
_mcl_hardness = oreHardness,
_mcl_silk_touch_drop = true,
_mcl_fortune_drop = mcl_core.fortune_drop_ore,
})
minetest.register_node("industrialtest:deepslate_with_"..name,{
description=S("Deepslate with "..displayName),
tiles={"mcl_deepslate_top.png^industrialtest_mcl_stone_with_"..name..".png","mcl_deepslate_top.png^industrialtest_mcl_stone_with_"..name..".png","mcl_deepslate.png^industrialtest_mcl_stone_with_"..name..".png"},
sounds=mcl_sounds.node_sound_stone_defaults(),
drop="industrialtest:raw_"..name,
paramtype2="facedir",
is_ground_content=true,
on_place=mcl_util.rotate_axis,
groups={pickaxey=3,building_block=1,material_stone=1,blast_furnace_smeltable=1},
_mcl_blast_resistance = oreBlastResistance,
_mcl_hardness = oreHardness,
@ -561,6 +576,16 @@ if industrialtest.mclAvailable then
y_max=mcl_worlds.layer_to_y(39),
y_min=mcl_vars.mg_overworld_min
})
minetest.register_ore({
ore_type="scatter",
ore="industrialtest:deepslate_with_tin",
wherein={"mcl_deepslate:deepslate","mcl_deepslate:tuff"},
clust_scarcity=10*10*10,
clust_num_ores=5,
clust_size=3,
y_max=mcl_worlds.layer_to_y(16),
y_min=mcl_vars.mg_overworld_min
})
elseif industrialtest.mtgAvailable then
industrialtest.registerMetal=function(name,displayName,hardness)
minetest.register_craftitem("industrialtest:"..name.."_lump",{

View File

@ -39,4 +39,14 @@ elseif industrialtest.mclAvailable then
y_max=mcl_worlds.layer_to_y(20),
y_min=mcl_vars.mg_overworld_min
})
minetest.register_ore({
ore_type="scatter",
ore="industrialtest:deepslate_with_uranium",
wherein={"mcl_deepslate:deepslate","mcl_deepslate:tuff"},
clust_scarcity=7*7*7,
clust_num_ores=3,
clust_size=3,
y_max=mcl_worlds.layer_to_y(15),
y_min=mcl_vars.mg_overworld_min
})
end