Add MCL stone with tin texture by LuanHawk

This commit is contained in:
mrkubax10 2023-02-23 14:08:00 +01:00
parent af391f7741
commit 5721d605d9
2 changed files with 15 additions and 8 deletions

View File

@ -31,17 +31,10 @@ if mclAvailable then
inventory_image="industrialtest_mcl_tin_ingot.png" 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 -- register required blocks that are not available in MCL
minetest.register_node("industrialtest:stone_with_tin",{ minetest.register_node("industrialtest:stone_with_tin",{
description=S("Tin Ore"), 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(), sounds=mcl_sounds.node_sound_stone_defaults(),
drop="industrialtest:raw_tin", drop="industrialtest:raw_tin",
groups={pickaxey=3,building_block=1,material_stone=1,blast_furnace_smeltable=1}, 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_silk_touch_drop = true,
_mcl_fortune_drop = mcl_core.fortune_drop_ore, _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 -- register required ores that are not available in MCL
local stonelike={"mcl_core:stone","mcl_core:diorite","mcl_core:andesite","mcl_core:granite"} local stonelike={"mcl_core:stone","mcl_core:diorite","mcl_core:andesite","mcl_core:granite"}
minetest.register_ore({ minetest.register_ore({

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB