mirror of
https://github.com/mt-mods/homedecor_modpack.git
synced 2024-12-23 00:20:17 +01:00
if moreblocks is installed, use different recipe
for sticks -> bundle of sticks also add recipe to craft bundle --> 4 sticks
This commit is contained in:
parent
7ac5e9e815
commit
abdd52721c
@ -93,7 +93,16 @@ minetest.register_craft({
|
|||||||
{"default:wood", "default:junglewood"},
|
{"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({
|
minetest.register_craft({
|
||||||
output = 'building_blocks:sticks',
|
output = 'building_blocks:sticks',
|
||||||
recipe = {
|
recipe = {
|
||||||
@ -101,6 +110,14 @@ minetest.register_craft({
|
|||||||
{'group:stick', 'group:stick'},
|
{'group:stick', 'group:stick'},
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
end
|
||||||
|
|
||||||
|
minetest.register_craft({
|
||||||
|
output = 'default:stick 4',
|
||||||
|
recipe = {
|
||||||
|
{'building_blocks:sticks'},
|
||||||
|
}
|
||||||
|
})
|
||||||
|
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
output = 'building_blocks:fakegrass 2',
|
output = 'building_blocks:fakegrass 2',
|
||||||
|
Loading…
Reference in New Issue
Block a user