forked from mtcontrib/spears
Change craft recipes that conflict with throwing mod
This commit is contained in:
parent
66c69c5265
commit
8770387fbc
@ -38,14 +38,18 @@ function spears_register_spear(spear_type, desc, base_damage, toughness, materia
|
|||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
output = 'spears:spear_' .. spear_type,
|
output = 'spears:spear_' .. spear_type,
|
||||||
recipe = {
|
recipe = {
|
||||||
{'group:stick', 'group:stick', material},
|
{'', '', material},
|
||||||
|
{'', 'group:stick', ''},
|
||||||
|
{'group:stick', '', ''},
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
output = 'spears:spear_' .. spear_type,
|
output = 'spears:spear_' .. spear_type,
|
||||||
recipe = {
|
recipe = {
|
||||||
{material, 'group:stick', 'group:stick'},
|
{material, '', ''},
|
||||||
|
{'', 'group:stick', ''},
|
||||||
|
{'', '', 'group:stick'},
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user