[TYPEDEF t_mazestart] ON=@Step IF (==0) IF (==0) SRC.EVENTS=+e_maze SRC.SYSMESSAGE Good luck ELSE SRC.MOVE s ENDIF ENDIF [TYPEDEF t_mazeexit] ON=@Step IF (==0) SRC.EVENTS=-e_maze SRC.GO Britain SRC.SYSMESSAGE Congratulations! You've finished the maze ENDIF [EVENTS e_maze] ON=@Death HITS=(/2) IF ( < 500) SRC.FAME=0 ELSE SRC.FAME=+({-500 -100}) ENDIF GO 5516,322,0 SYSMESSAGE You have lost some fame RETURN 1 ON=@SpellCast IF (==32) SYSMESSAGE You may not cast this spell while in the maze RETURN 1 ENDIF IF (==33) SYSMESSAGE You may not cast this spell while in the maze RETURN 1 ENDIF IF (==52) SYSMESSAGE You may not cast this spell while in the maze RETURN 1 ENDIF [EVENTS e_arena] ON=@Death IF !() IF !(STRCMPI(,Jhelom Fighting Pits)) HITS=(/2) SRC.SYSMESSAGE You have lost. GO 1376,3728,20 RETURN 1 ELSE HITS=(/2) SRC.SYSMESSAGE You have lost. GO 2079,1249 RETURN 1 ENDIF ELSE SRC.HITS= SRC.MEMORYFINDTYPE.MEMORY_WAR_TARG.REMOVE SRC.FLAGS = &~ statf_war SRC.GO RETURN 1 ENDIF ON=@SpellCast IF (==0) IF (==45) SYSMESSAGE You cannot mark here RETURN 1 ENDIF IF (==33) SYSMESSAGE You cannot summon blade spirits here RETURN 1 ENDIF IF (==40) SYSMESSAGE You cannot summon inside of here RETURN 1 ENDIF IF (==58) SYSMESSAGE You cannot summon an energy vortex here RETURN 1 ENDIF IF (==61) SYSMESSAGE You cannot summon a daemon here RETURN 1 ENDIF IF (==63) SYSMESSAGE You cannot summon a fire elemental here RETURN 1 ENDIF IF (==64) SYSMESSAGE You cannot summon a water elemental here RETURN 1 ENDIF IF (==60) SYSMESSAGE You cannot summon an air elemental here RETURN 1 ENDIF IF (==62) SYSMESSAGE You cannot summon an earth elemental here RETURN 1 ENDIF ENDIF [SPEECH spk_festivus] ON=I wish to challenge thee IF !(&statf_war) SAY Very well, . I accept thine challenge and shall fight thee in the arena. GO 2083, 1275 EVENTS=+e_arena SRC.NEWITEM i_challengetracker SRC.ACT.LINK= SRC.ACT.NAME= SRC.ACT.EQUIP ATTACK ELSE SAY I am busy fighting at the moment ENDIF ON=I yield to thee SRC.FINDID.i_challengetracker.REMOVE IF !(&statf_war) SAY I would accept thine submission, if we were fighting. But we are not. ELSE SAY Very well, I accept thine submission MEMORYFINDTYPE.MEMORY_WAR_TARG.REMOVE FLAGS = &~ statf_war GO ENDIF [ITEMDEF i_challengetracker] ID=i_memory TYPE=t_eq_script LAYER=30 ON=@Create ATTR=attr_invis|attr_move_never