1
0
mirror of https://gitlab.com/echoes91/throwing.git synced 2025-06-30 07:10:22 +02:00
This commit is contained in:
Andrea Plati
2015-09-14 19:44:47 +02:00
parent 28c2d02278
commit 150f862b41
47 changed files with 52 additions and 20 deletions

View File

@ -141,5 +141,6 @@ function throwing_shoot_spear (itemstack, player)
obj:setacceleration({x=-dir.x*1, y=-9.8, z=-dir.z*1})
obj:setyaw(player:get_look_yaw()+math.pi)
minetest.sound_play("throwing_bow_sound", {pos=playerpos})
obj:get_luaentity().wear = itemstack:get_wear()
return true
end