PRAYDSAGHLM PatchppAgent Sprite First Image Agent TypeDependency Category 1Dependency Category 2Dependency Count Script CountAgent Animation Filequestion_mark.c16Agent Animation Gallery question_markAgent Animation String0Agent DescriptionNChanges the Holistic Learning Machine so it can only be used once per creature Dependency 1question_mark.c16 Dependency 22bep.wav Remove script&ject "holistic learning machine.cos" 7Script 1e ** Push Script scrp 3 3 100 1 lock inst targ from doif from = pntr or name "sg_used_hlm" <> 346126 setv name "sg_used_hlm" 346126 targ ownr snde "2bep" doif ov80 = 0 and ov84 = 1 setv ov84 0 doif from = pntr setv va00 1 part 0 frat 1 anim [2 3 4 5 5 3 2 4 6 6 255] inst rnge 400 esee 4 0 0 addv va00 1 doif va00 = 1 urge writ targ 28 1 1 1 endi next slow part 0 wait 3 anim [1] setv ov84 1 stop endi inst bhvr 0 setv ov80 1 seta ov16 from ** Screen Animation part 0 pose 0 ** Check FROM inst doif ov16 <> null targ ov16 * check it is actually a creature (and not the hand for instance) doif fmly = 4 setv va00 1 endi endi targ ownr slow doif va00 = 1 seta va16 ov16 * target the pickup agent rtar 1 1 174 doif targ <> null and targ <> ownr * tell the pickup agent who it is supposed to pick up (the creature that activated the machine) mesg wrt+ targ 1000 va16 0 0 endi endi targ ownr ** start the plasma tube up seta va71 game "hlm_plasma" mesg writ va71 1000 targ ownr * start the lights flashing part 1 anim [0 1 2 3 4 3 2 1 255] setv ov80 0 endi endi endm rscr ject "holistic learning machine.cos" 7