-- LUA Script - precede every function and global member with lowercase name of script + '_main'
-- Player Collects Dart Gun Darts

function drillammo_init(e)
end

function drillammo_main(e)
 PlayerDist = GetPlayerDistance(e)
 if PlayerDist < 60 and g_PlayerHealth > 0 and g_PlayerThirdPerson==0 then
   PromptDuration("Collected Power Drill Bit",3000)
   PlaySound(e,0)
   AddPlayerAmmo(e)
   Destroy(e)
   ActivateIfUsed(e)
 end
end
