Skip to content
Snippets Groups Projects
Commit abdd5272 authored by Vanessa Ezekowitz's avatar Vanessa Ezekowitz
Browse files

if moreblocks is installed, use different recipe

for sticks -> bundle of sticks

also add recipe to craft bundle --> 4 sticks
parent 7ac5e9e8
No related branches found
No related tags found
No related merge requests found
......@@ -93,12 +93,29 @@ minetest.register_craft({
{"default:wood", "default:junglewood"},
}
})
if minetest.get_modpath("moreblocks") then
minetest.register_craft({
output = 'building_blocks:sticks 2',
recipe = {
{'group:stick', '' , 'group:stick'},
{'group:stick', 'group:stick', 'group:stick'},
{'group:stick', 'group:stick', 'group:stick'},
}
})
else
minetest.register_craft({
output = 'building_blocks:sticks',
recipe = {
{'group:stick', 'group:stick'},
{'group:stick', 'group:stick'},
}
})
end
minetest.register_craft({
output = 'building_blocks:sticks',
output = 'default:stick 4',
recipe = {
{'group:stick', 'group:stick'},
{'group:stick', 'group:stick'},
{'building_blocks:sticks'},
}
})
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment