Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Add the decowood node
- minetest.register_node("tutorial:decowood", {
- tiles = {"tutorial_decowood.png"},
- groups = {snappy=1,choppy=2,oddly_breakable_by_hand=2,flammable=3},
- })
- -- Add the decostick craftitem
- minetest.register_craftitem("tutorial:decostick", {
- inventory_image = "tutorial_decostick.png",
- groups = {stick=1},
- })
- -- Add the crafting recipe for decowood
- minetest.register_craft({
- output = 'tutorial:decowood 2',
- recipe = {
- {'default:wood', 'default:wood', ''},
- {'default:wood', 'default:wood', ''},
- {'', '', ''},
- }
- })
- -- Add the furnace recipe for decosticks
- minetest.register_craft({
- type = "cooking",
- recipe = "tutorial:decowood",
- output = "tutorial:decostick",
- })
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement