// creator  : weidu.exe (version 23100)
// argument : AVARICE.DLG
// game		 : .
// source	 : ./DATA/DIALOG.BIF
// dialog	 : ./DIALOG.TLK
// dialogF  : (none)

BEGIN ~AVARICE~

IF ~NumTimesTalkedTo(0)~ THEN BEGIN 0 // from: 3.0
  SAY #22356 /* ~Stormherald Nallabir~ */
  IF ~~ THEN JOURNAL #23781 /* ~~ */ GOTO 1
END

IF ~~ THEN BEGIN 1 // from: 0.0
  SAY #22357 /* ~Stormherald Nallabir~ */
  IF ~~ THEN DO ~SetGlobal("Avarice","GLOBAL",1)~ EXIT
END

IF ~PartyHasItem("misc1j")~ THEN BEGIN 2 // from:
  SAY #22358 /* ~Heckler~ */
  IF ~~ THEN DO ~TakePartyItem("misc1j")
SetGlobal("Avarice","GLOBAL",2)
AddexperienceParty(2000)
DestroySelf()
~ EXIT
END

IF ~Global("Avarice","GLOBAL",1)
!PartyHasItem("misc1j")~ THEN BEGIN 3 // from:
  SAY #22359 /* ~Heckler~ */
  IF ~~ THEN GOTO 0
END
