minetest_modding_book/3_nodes_items_crafting/crafting/init.lua
2015-02-19 15:20:16 +00:00

14 lines
377 B
Lua

minetest.register_craftitem("mymod:diamond_chair", {
description = "Diamond Chair",
inventory_image = "mymod_diamond_chair.png"
})
minetest.register_craft({
output = "mymod:diamond_chair 99",
recipe = {
{"mymod:diamond_fragments", "", ""},
{"mymod:diamond_fragments", "mymod:diamond_fragments", ""},
{"mymod:diamond_fragments", "mymod:diamond_fragments", ""}
}
})