diff --git a/compatibility.lua b/compatibility.lua index a5e792b..2f63c85 100644 --- a/compatibility.lua +++ b/compatibility.lua @@ -31,17 +31,10 @@ if mclAvailable then inventory_image="industrialtest_mcl_tin_ingot.png" }) - -- register crafts that are not available in MCL - minetest.register_craft({ - type="cooking", - output="industrialtest:tin_ingot", - recipe="industrialtest:raw_tin" - }) - -- register required blocks that are not available in MCL minetest.register_node("industrialtest:stone_with_tin",{ description=S("Tin Ore"), - tiles={"default_stone.png^industrialtest_mcl_tin_ore.png"}, + tiles={"default_stone.png^industrialtest_mcl_stone_with_tin.png"}, sounds=mcl_sounds.node_sound_stone_defaults(), drop="industrialtest:raw_tin", groups={pickaxey=3,building_block=1,material_stone=1,blast_furnace_smeltable=1}, @@ -50,7 +43,21 @@ if mclAvailable then _mcl_silk_touch_drop = true, _mcl_fortune_drop = mcl_core.fortune_drop_ore, }) + minetest.register_node("industrialtest:raw_tin_block",{ + description=S("Raw Tin Block"), + tiles={"industrialtest_mcl_raw_tin_block.png"}, + groups={pickaxey=2,building_block=1,blast_furnace_smeltable=1}, + sounds=mcl_sounds.node_sound_metal_defaults(), + _mcl_blast_resistance=6, + _mcl_hardness=5, + }) + -- register crafts that are not available in MCL + minetest.register_craft({ + type="cooking", + output="industrialtest:tin_ingot", + recipe="industrialtest:raw_tin" + }) -- register required ores that are not available in MCL local stonelike={"mcl_core:stone","mcl_core:diorite","mcl_core:andesite","mcl_core:granite"} minetest.register_ore({ diff --git a/textures/industrialtest_mcl_stone_with_tin.png b/textures/industrialtest_mcl_stone_with_tin.png new file mode 100644 index 0000000..39da0d1 Binary files /dev/null and b/textures/industrialtest_mcl_stone_with_tin.png differ