Need help on mod
when I attempt to craft one recipe is correct game crashes
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
- Code: Select all
--fancy wood
minetest.register_node("xtrablocks:fancywood", {
tile_images = {"xtrablocks_fancywood.png"},
groups={snappy=2,choppy=3,oddly_breakable_by_hand=2,flammable=3},
})
minetest.register_craft({
output = '"xtrablocks:fancywood" 2',
recipe = {
{'default:wood', 'default:wood', ''},
{'default:wood', 'default:wood', ''},
{'', '', ''},
}
})
})
--fancy tile
minetest.register_node("xtrablocks:fancytile", {
tile_images = {"xtrablocks_fancytile.png"},
groups={cracky=3},
})
minetest.register_craft({
output = '"xtrablocks:fancytile=2',
recipe = {
{'default:cobble', 'default:stone', ''},
{'default:stone', 'default:cobble', ''},
{'', '', ''},
}
})