From 5721d605d90bddb4fce58dc649b0d39cfa455af3 Mon Sep 17 00:00:00 2001 From: mrkubax10 Date: Thu, 23 Feb 2023 14:08:00 +0100 Subject: [PATCH] Add MCL stone with tin texture by LuanHawk --- compatibility.lua | 23 ++++++++++++------ .../industrialtest_mcl_stone_with_tin.png | Bin 0 -> 1222 bytes 2 files changed, 15 insertions(+), 8 deletions(-) create mode 100644 textures/industrialtest_mcl_stone_with_tin.png 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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