Change craft recipes that conflict with throwing mod

This commit is contained in:
Sys Quatre 2020-08-08 23:46:38 +02:00
parent 66c69c5265
commit 8770387fbc

View File

@ -38,14 +38,18 @@ function spears_register_spear(spear_type, desc, base_damage, toughness, materia
minetest.register_craft({
output = 'spears:spear_' .. spear_type,
recipe = {
{'group:stick', 'group:stick', material},
{'', '', material},
{'', 'group:stick', ''},
{'group:stick', '', ''},
}
})
minetest.register_craft({
output = 'spears:spear_' .. spear_type,
recipe = {
{material, 'group:stick', 'group:stick'},
{material, '', ''},
{'', 'group:stick', ''},
{'', '', 'group:stick'},
}
})
end