mirror of
https://notabug.org/TenPlus1/lucky_block.git
synced 2024-12-05 03:33:47 +01: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
|
||||
})
|
||||
|
||||
|
||||
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({
|
||||
output = "lucky_block:lucky_block",
|
||||
recipe = {
|
||||
{"default:gold_ingot", "default:gold_ingot", "default:gold_ingot"},
|
||||
{"default:gold_ingot", "default:chest", "default:gold_ingot"},
|
||||
{"default:gold_ingot", "default:gold_ingot", "default:gold_ingot"}
|
||||
{gitem, gitem, gitem},
|
||||
{gitem, citem, gitem},
|
||||
{gitem, gitem, gitem}
|
||||
}
|
||||
})
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user