// creator  : weidu.exe (version 23600)
// argument : VITIAR.DLG
// game     : .
// source   : ./override/VITIAR.DLG
// dialog   : lang\en_us/dialog.tlk
// dialogF  : (none)

BEGIN ~VITIAR~

IF ~  True()
~ THEN BEGIN 0 // from:
  SAY #18493 /* ~Good day! Consider yourself victimized by Vitiare, master thief and pickpocket extraordinaire! No time to chat!~ */
  IF ~~ THEN DO ~TakePartyGold(100)
EscapeArea()
~ EXIT
  IF ~  InParty("minsc")
InMyArea("minsc")
!StateCheck("minsc",CD_STATE_NOTVALID)
~ THEN DO ~TakePartyGold(100)
SetGlobal("X#MinscVitiare","GLOBAL",1)
~ EXIT
  IF ~Global("X#ImoenVitiar1","GLOBAL",0)
InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
Class(Player1,THIEF_ALL)
OR(3)
!InParty("minsc")
!InMyArea("minsc")
StateCheck("minsc",CD_STATE_NOTVALID)
~ THEN DO ~SetGlobal("X#ImoenVitiar1","GLOBAL",1)~ EXTERN ~IMOEN2~ 226
  IF ~Global("X#ImoenVitiar2","GLOBAL",0)
InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
!Class(Player1,THIEF_ALL)
OR(3)
!InParty("minsc")
!InMyArea("minsc")
StateCheck("minsc",CD_STATE_NOTVALID)
~ THEN DO ~SetGlobal("X#ImoenVitiar2","GLOBAL",1)~ EXTERN ~IMOEN2~ 227
END

IF ~~ THEN BEGIN 1 // from:
  SAY #46546 /* ~Oh... well... you see, I *am* a "pickpocket extraordinaire" and... oh dear... would you please let go of my arm?~ */
  IF ~~ THEN EXIT
  IF ~  InParty("minsc")
InMyArea("minsc")
!StateCheck("minsc",CD_STATE_NOTVALID)
~ THEN GOTO 4
  IF ~  InParty("minsc")
InMyArea("minsc")
!StateCheck("minsc",CD_STATE_NOTVALID)
~ THEN GOTO 3
  IF ~  InParty("minsc")
InMyArea("minsc")
!StateCheck("minsc",CD_STATE_NOTVALID)
~ THEN EXTERN ~MINSCJ~ 41
  IF ~  InParty("minsc")
InMyArea("minsc")
!StateCheck("minsc",CD_STATE_NOTVALID)
InParty("ajantis")
~ THEN EXTERN ~AJANTJ~ 193
  IF ~  InParty("minsc")
InMyArea("minsc")
!StateCheck("minsc",CD_STATE_NOTVALID)
~ THEN GOTO 2
  IF ~  InParty("minsc")
InMyArea("minsc")
!StateCheck("minsc",CD_STATE_NOTVALID)
~ THEN EXTERN ~MINSCJ~ 40
END

IF ~~ THEN BEGIN 2 // from: 1.5
  SAY #46548 /* ~But how am I supposed to make a living? (By Mask, my arm really hurts!) *whimper*~ */
  IF ~~ THEN EXIT
  IF ~  InParty("minsc")
InMyArea("minsc")
!StateCheck("minsc",CD_STATE_NOTVALID)
~ THEN GOTO 4
  IF ~  InParty("minsc")
InMyArea("minsc")
!StateCheck("minsc",CD_STATE_NOTVALID)
~ THEN GOTO 3
  IF ~  InParty("minsc")
InMyArea("minsc")
!StateCheck("minsc",CD_STATE_NOTVALID)
~ THEN EXTERN ~MINSCJ~ 41
  IF ~  InParty("minsc")
InMyArea("minsc")
!StateCheck("minsc",CD_STATE_NOTVALID)
InParty("ajantis")
~ THEN EXTERN ~AJANTJ~ 193
END

IF ~~ THEN BEGIN 3 // from: 2.2 1.2
  SAY #46551 /* ~*gulp* Mask, have mercy on me! I... I... I see the light! I do, I swear! I'll never steal again in my life! Here take it back! Take it *all* back!~ */
  IF ~~ THEN EXIT
  IF ~  InParty("minsc")
InMyArea("minsc")
!StateCheck("minsc",CD_STATE_NOTVALID)
~ THEN GOTO 4
END

IF ~~ THEN BEGIN 4 // from: 3.1 2.1 1.1
  SAY #46552 /* ~Now please let me go! Pleeaaaseee!~ */
  IF ~~ THEN DO ~GiveGoldForce(120)
SetGlobal("X#MinscVitiare","GLOBAL",4)
~ EXIT
END

IF ~~ THEN BEGIN 5 // from:
  SAY #46554 /* ~Yes, sir! I swear, sir!... Goodbye, sir!~ */
  IF ~~ THEN DO ~ActionOverride("vitiare",EscapeArea())
SetGlobal("X#MinscVitiare","GLOBAL",6)
~ EXIT
  IF ~  InParty("minsc")
InMyArea("minsc")
!StateCheck("minsc",CD_STATE_NOTVALID)
InParty("ajantis")
InMyArea("ajantis")
!StateCheck("ajantis",CD_STATE_NOTVALID)
~ THEN DO ~ActionOverride("vitiare",EscapeArea())
SetGlobal("X#MinscVitiare","GLOBAL",6)
~ EXTERN ~MINSCJ~ 46
  IF ~  InParty("minsc")
InMyArea("minsc")
!StateCheck("minsc",CD_STATE_NOTVALID)
InParty("ajantis")
InMyArea("ajantis")
!StateCheck("ajantis",CD_STATE_NOTVALID)
~ THEN DO ~ActionOverride("vitiare",EscapeArea())
SetGlobal("X#MinscVitiare","GLOBAL",6)
~ EXTERN ~AJANTJ~ 197
  IF ~  InParty("minsc")
InMyArea("minsc")
!StateCheck("minsc",CD_STATE_NOTVALID)
InParty("ajantis")
InMyArea("ajantis")
!StateCheck("ajantis",CD_STATE_NOTVALID)
~ THEN DO ~ActionOverride("vitiare",EscapeArea())
SetGlobal("X#MinscVitiare","GLOBAL",6)
~ EXTERN ~MINSCJ~ 45
  IF ~  InParty("minsc")
InMyArea("minsc")
!StateCheck("minsc",CD_STATE_NOTVALID)
InParty("ajantis")
InMyArea("ajantis")
!StateCheck("ajantis",CD_STATE_NOTVALID)
~ THEN DO ~ActionOverride("vitiare",EscapeArea())
SetGlobal("X#MinscVitiare","GLOBAL",6)
~ EXTERN ~AJANTJ~ 196
  IF ~  InParty("minsc")
InMyArea("minsc")
!StateCheck("minsc",CD_STATE_NOTVALID)
InParty("ajantis")
InMyArea("ajantis")
!StateCheck("ajantis",CD_STATE_NOTVALID)
~ THEN DO ~ActionOverride("vitiare",EscapeArea())
SetGlobal("X#MinscVitiare","GLOBAL",6)
~ EXTERN ~MINSCJ~ 44
  IF ~  InParty("minsc")
InMyArea("minsc")
!StateCheck("minsc",CD_STATE_NOTVALID)
InParty("ajantis")
InMyArea("ajantis")
!StateCheck("ajantis",CD_STATE_NOTVALID)
~ THEN DO ~ActionOverride("vitiare",EscapeArea())
SetGlobal("X#MinscVitiare","GLOBAL",6)
~ EXTERN ~AJANTJ~ 195
  IF ~  InParty("minsc")
InMyArea("minsc")
!StateCheck("minsc",CD_STATE_NOTVALID)
InParty("ajantis")
InMyArea("ajantis")
!StateCheck("ajantis",CD_STATE_NOTVALID)
~ THEN DO ~ActionOverride("vitiare",EscapeArea())
SetGlobal("X#MinscVitiare","GLOBAL",6)
~ EXTERN ~MINSCJ~ 43
  IF ~  InParty("minsc")
InMyArea("minsc")
!StateCheck("minsc",CD_STATE_NOTVALID)
InParty("ajantis")
InMyArea("ajantis")
!StateCheck("ajantis",CD_STATE_NOTVALID)
~ THEN DO ~ActionOverride("vitiare",EscapeArea())
SetGlobal("X#MinscVitiare","GLOBAL",6)
~ EXTERN ~AJANTJ~ 194
END

IF ~~ THEN BEGIN 6 // from:
  SAY #46978 /* ~Gotta go!~ */
  IF ~~ THEN DO ~TakePartyGold(100)
EscapeArea()
~ EXIT
  IF ~  InParty("minsc")
InMyArea("minsc")
!StateCheck("minsc",CD_STATE_NOTVALID)
~ THEN DO ~TakePartyGold(100)
SetGlobal("X#MinscVitiare","GLOBAL",1)
~ EXIT
END

IF ~~ THEN BEGIN 7 // from:
  SAY #46978 /* ~Gotta go!~ */
  IF ~~ THEN DO ~TakePartyGold(100)
EscapeArea()
~ EXIT
  IF ~  InParty("minsc")
InMyArea("minsc")
!StateCheck("minsc",CD_STATE_NOTVALID)
~ THEN DO ~TakePartyGold(100)
SetGlobal("X#MinscVitiare","GLOBAL",1)
~ EXIT
END
