@name Turret Sounds
@inputs Active Autosearch Deploy Pickuped Retire Search Disabled
@outputs 
@persist 
@trigger 

if(Active){entity():soundPlay(1,0,"npc/turret_floor/turret_active_"+randint(1,8)+".wav")}
if(Autosearch){entity():soundPlay(1,0,"npc/turret_floor/turret_autosearch_"+randint(1,6)+".wav")}
if(Deploy){entity():soundPlay(1,0,"npc/turret_floor/turret_deploy_"+randint(1,6)+".wav")}
if(Pickuped){entity():soundPlay(1,0,"npc/turret_floor/turret_pickup_"+randint(1,10)+".wav")}
if(Retire){entity():soundPlay(1,0,"npc/turret_floor/turret_retire_"+randint(1,7)+".wav")}
if(Search){entity():soundPlay(1,0,"npc/turret_floor/turret_search_"+randint(1,4)+".wav")}
if(Disabled){entity():soundPlay(1,0,"npc/turret_floor/turret_disabled_"+randint(1,8)+".wav")}
