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

BEGIN ~TRCAR02~ 2 // non-zero flags may indicate non-pausing dialogue

IF ~NumTimesTalkedTo(0)
Global("geniesgone","GLOBAL",0)~ THEN BEGIN 0 // from:
  SAY #47040 /* ~Good day to you, stranger.  I am Salahee, wife of Raafee, who runs the caravans here.  I... I wish we could offer you better hospitality, but with those genies here it's all we can do to stay alive.~ */
  IF ~~ THEN EXIT
END

IF ~NumTimesTalkedToGT(0)
Global("geniesgone","GLOBAL",0)
RandomNum(3,1)~ THEN BEGIN 1 // from:
  SAY #47041 /* ~It has been troubling. The genies mesmerized the merchants in the caravans so they sell their goods to them very cheaply, and no one else may buy. No one can do a thing about it.~ */
  IF ~~ THEN EXIT
END

IF ~NumTimesTalkedToGT(0)
Global("geniesgone","GLOBAL",0)
RandomNum(3,2)~ THEN BEGIN 2 // from:
  SAY #47042 /* ~Between the attacks of the animals on our wagons and the genies who hoard our goods, my husband has gone nearly bankrupt.  I... I fear for his health.~ */
  IF ~~ THEN EXIT
END

IF ~NumTimesTalkedToGT(0)
Global("geniesgone","GLOBAL",0)
RandomNum(3,3)~ THEN BEGIN 3 // from:
  SAY #47043 /* ~You are welcome here.  We are not so suspicious as the people of the town, although I think they have every right to be fearful.~ */
  IF ~~ THEN EXIT
END

IF ~Global("geniesgone","GLOBAL",1)
!Dead("cefald01")~ THEN BEGIN 4 // from:
  SAY #47044 /* ~It is wonderful!  The genies are gone!  We still fear attacks by animals on the roads, but at least my husband now has a chance!  Th-thank you!~ */
  IF ~~ THEN EXIT
END

IF ~Global("geniesgone","GLOBAL",1)
Dead("cefald01")~ THEN BEGIN 5 // from:
  SAY #47045 /* ~On behalf of my husband and I, I thank you for everything you have done.  Our caravans have been restored to prosperity.  Wherever we go, we shall tell of your good deed, dear <MANWOMAN>!~ */
  IF ~~ THEN EXIT
END
