mirror of
https://notabug.org/TenPlus1/lucky_block.git
synced 2024-07-07 15:55:26 +02:00
add mcl recipe
This commit is contained in:
parent
c3adb5d606
commit
73e815491f
15
init.lua
15
init.lua
@ -704,12 +704,21 @@ minetest.register_node("lucky_block:lucky_block", {
|
|||||||
_mcl_blast_resistance = 1200
|
_mcl_blast_resistance = 1200
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
||||||
|
local gitem = "default:gold_ingot"
|
||||||
|
local citem = "default:chest"
|
||||||
|
|
||||||
|
if mcl then
|
||||||
|
gitem = "mcl_core:gold_ingot"
|
||||||
|
citem = "mcl_chests:chest"
|
||||||
|
end
|
||||||
|
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
output = "lucky_block:lucky_block",
|
output = "lucky_block:lucky_block",
|
||||||
recipe = {
|
recipe = {
|
||||||
{"default:gold_ingot", "default:gold_ingot", "default:gold_ingot"},
|
{gitem, gitem, gitem},
|
||||||
{"default:gold_ingot", "default:chest", "default:gold_ingot"},
|
{gitem, citem, gitem},
|
||||||
{"default:gold_ingot", "default:gold_ingot", "default:gold_ingot"}
|
{gitem, gitem, gitem}
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user