remove spears

This commit is contained in:
Andrea Plati
2015-10-25 15:27:46 +01:00
parent 150f862b41
commit 61567b3985
10 changed files with 5 additions and 156 deletions

View File

@ -57,11 +57,11 @@ function throwing_register_arrow_standard (kind, desc, eq, toughness, craft)
damage_groups={fleshy=damage},
}, nil)
self.object:remove()
if math.random() < toughness then
minetest.add_item(self.lastpos, 'throwing:arrow_' .. kind)
else
minetest.add_item(self.lastpos, 'default:stick')
end
--if math.random() < toughness then
--minetest.add_item(self.lastpos, 'throwing:arrow_' .. kind)
--else
--minetest.add_item(self.lastpos, 'default:stick')
--end
end
end
end