;Artificial Intelligence Script

;Header

desc          = Pick up item by pressing use

;Triggers

:state=0:hudreset,hudx=50,hudy=90,hudimagefine=gamecore\text\hand.png,hudname=pressentertouse,hudhide=1,hudmake=display,state=10
:state=10,plrdistwithin=60:hudshow=pressentertouse
:state=10,plrdistfurther=61:hudunshow=pressentertouse

:state=10,plrdistwithin=60,plrusingaction=1:activate=2,activateifused=1,globalvar=1,setvar=1,hudunshow=pressentertouse
:state=10,activated=2:playertake,sound=$0

;End of Script

