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

BEGIN ~YESLIC~
//////////////////////////////////////////////////
// WARNING: this file contains non-trivial WEIGHTs
//////////////////////////////////////////////////

IF ~~ THEN BEGIN 0 // from:
  SAY #926 /* ~You, however, look as though you have been treated most unfavorably, and I should not like to think of Khalid receiving the same.~ */
  IF ~~ THEN EXIT
END

IF WEIGHT #2 /* Triggers after states #: 6 even though they appear after this state */
~ReactionGT(LastTalkedToBy(),HOSTILE_UPPER)
~ THEN BEGIN 1 // from:
  SAY #928 /* ~A humanoid skull.~ */
  IF ~~ THEN REPLY #932 /* ~This is one of the medallions worn by the employees of Galvena's Festhall. It is used for identification.~ */ GOTO 3
  IF ~~ THEN REPLY #933 /* ~Perhaps we'll find Khalid hiding under a bed along the way.~ */ GOTO 4
END

IF WEIGHT #3 /* Triggers after states #: 6 even though they appear after this state */
~ReactionLT(LastTalkedToBy(),NEUTRAL_LOWER)
~ THEN BEGIN 2 // from:
  SAY #929 /* ~This is the Lady Galvena's personal skeleton key to the festhall. It will allow access to the prison area.~ */
  IF ~~ THEN DO ~EscapeArea()
~ JOURNAL #7264 /* ~The Dueling Families of Trademeet

I have agreed to enter a tomb here in Trademeet that apparently contains a gold circlet named the Mantle of Waukeen, which will prove Lord Skarmaen's claim of his family being the only true nobility in the town.  He has given me a key to the tomb and warns me that it is haunted... I am to return with the circlet once I get it.~ */ EXIT
END

IF ~~ THEN BEGIN 3 // from: 1.0
  SAY #930 /* ~Conjur Ota Servanta~ */
  IF ~~ THEN DO ~SetGlobalTimer("Yeslick","GLOBAL",FIVE_DAYS)
JoinParty()
~ JOURNAL #7264 /* ~The Dueling Families of Trademeet

I have agreed to enter a tomb here in Trademeet that apparently contains a gold circlet named the Mantle of Waukeen, which will prove Lord Skarmaen's claim of his family being the only true nobility in the town.  He has given me a key to the tomb and warns me that it is haunted... I am to return with the circlet once I get it.~ */ EXIT
END

IF ~~ THEN BEGIN 4 // from: 1.1
  SAY #931 /* ~Roll 4 more times!~ */
  IF ~~ THEN DO ~EscapeArea()
~ JOURNAL #7264 /* ~The Dueling Families of Trademeet

I have agreed to enter a tomb here in Trademeet that apparently contains a gold circlet named the Mantle of Waukeen, which will prove Lord Skarmaen's claim of his family being the only true nobility in the town.  He has given me a key to the tomb and warns me that it is haunted... I am to return with the circlet once I get it.~ */ EXIT
END

IF ~~ THEN BEGIN 5 // from:
  SAY #6445 /* ~Perhaps your are correct. We shall go with Garren.~ */
  IF ~~ THEN EXIT
END

IF WEIGHT #1 ~StateCheck(Myself,STATE_CHARMED)
~ THEN BEGIN 6 // from:
  SAY #6446 /* ~I'll take my chances.~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 7 // from:
  SAY #14649 /* ~Apparently the show began well enough... and then something occurred.  Nobody has come out of the tent who went in for the show... and everyone we have sent in to investigate has not come out, either.~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 8 // from:
  SAY #14651 /* ~Foul magic is, no doubt, involved here.  We are waiting for the Cowled Wizards to arrive.  They will be able to solve this, I am sure.~ */
  IF ~~ THEN DO ~~ EXIT
END
