mirror of
https://github.com/enchant97/minetest_element_exchange.git
synced 2024-11-19 22:03:43 +01:00
add crafting recipes
This commit is contained in:
parent
196c66bea0
commit
75ccbdf5aa
@ -136,3 +136,13 @@ minetest.register_node("element_exchange:element_constructor", {
|
||||
allow_metadata_inventory_move = allow_metadata_inventory_move,
|
||||
allow_metadata_inventory_take = allow_metadata_inventory_take,
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
type = "shaped",
|
||||
output = "element_exchange:element_constructor",
|
||||
recipe = {
|
||||
{"", "element_exchange:exchange_orb",""},
|
||||
{"element_exchange:exchange_orb", "default:pick_diamond", "element_exchange:exchange_orb"},
|
||||
{"", "element_exchange:exchange_orb", ""}
|
||||
}
|
||||
})
|
||||
|
@ -114,3 +114,13 @@ minetest.register_node("element_exchange:element_deconstructor", {
|
||||
allow_metadata_inventory_move = allow_metadata_inventory_move,
|
||||
allow_metadata_inventory_take = allow_metadata_inventory_take,
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
type = "shaped",
|
||||
output = "element_exchange:element_deconstructor",
|
||||
recipe = {
|
||||
{"", "element_exchange:exchange_orb",""},
|
||||
{"element_exchange:exchange_orb", "default:furnace", "element_exchange:exchange_orb"},
|
||||
{"", "element_exchange:exchange_orb", ""}
|
||||
}
|
||||
})
|
||||
|
6
orb.lua
6
orb.lua
@ -14,8 +14,8 @@ minetest.register_craft({
|
||||
type = "shaped",
|
||||
output = "element_exchange:exchange_orb",
|
||||
recipe = {
|
||||
{"", "default:diamond",""},
|
||||
{"default:diamond", "default:gold", "default:diamond"},
|
||||
{"", "default:diamond", ""}
|
||||
{"default:glass", "default:diamond","default:glass"},
|
||||
{"default:diamond", "default:steel_ingot", "default:diamond"},
|
||||
{"default:glass", "default:diamond", "default:glass"}
|
||||
}
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user