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

BEGIN ~SCQAR~ 2 // non-zero flags may indicate non-pausing dialogue
//////////////////////////////////////////////////
// WARNING: this file contains non-trivial WEIGHTs
//////////////////////////////////////////////////

IF WEIGHT #0 ~NumTimesTalkedTo(0)
Global("SarlesSpawn","GLOBAL",0)
~ THEN BEGIN 0 // from:
  SAY #28534 /* ~Hooligans? Hooligans in my home, and when I have important guests as well. Get out, you rude little bandersnats. I'll have the guard on you if you so much as touch a doily.~ */
  IF ~~ THEN DO ~SetNumTimesTalkedTo(0)
~ EXIT
END

IF WEIGHT #1 ~NumTimesTalkedTo(0)
GlobalGT("SarlesSpawn","GLOBAL",0)
Global("SarlesPissed","GLOBAL",0)
~ THEN BEGIN 1 // from:
  SAY #28635 /* ~And who might you be? Ahh, no doubt you have come to make your case before Sir Sarles that he might sculpt for you. From one of the temples are you?~ */
  IF ~Global("SculptorPlot","GLOBAL",1)
~ THEN REPLY #28636 /* ~I am here for the glory of Lathander.~ */ GOTO 2
  IF ~Global("SculptorPlot","GLOBAL",2)
~ THEN REPLY #28637 /* ~I have come for the glory of Helm.~ */ GOTO 2
  IF ~Global("SculptorPlot","GLOBAL",3)
~ THEN REPLY #28638 /* ~I seek his service for the glory of Talos!~ */ GOTO 2
  IF ~~ THEN REPLY #28639 /* ~I will discuss that with the artist alone.~ */ GOTO 2
END

IF ~~ THEN BEGIN 2 // from: 1.3 1.2 1.1 1.0
  SAY #28640 /* ~I see. It makes no nevermind to me, and I think it matters little to Sir Sarles as well. He's concerned with the creation, not with who might own his work.~ */
  IF ~~ THEN GOTO 3
END

IF ~~ THEN BEGIN 3 // from: 2.0
  SAY #28641 /* ~It's a great honor to have him here. We are simply the height of the social circuit right now. The envy of all the nobles, we are.~ */
  IF ~~ THEN GOTO 4
END

IF ~~ THEN BEGIN 4 // from: 3.0
  SAY #28642 /* ~Do try and keep to the sides while here, will you? I've very wealthy people coming to see the artist, and I don't want people dawdling with the messengers.~ */
  IF ~~ THEN EXIT
END

IF WEIGHT #3 /* Triggers after states #: 6 even though they appear after this state */
~GlobalGT("SarlesSpawn","GLOBAL",0)
~ THEN BEGIN 5 // from:
  SAY #28643 /* ~On with your business. Don't bother me.~ */
  IF ~~ THEN EXIT
END

IF WEIGHT #2 ~Global("SarlesPissed","GLOBAL",1)
~ THEN BEGIN 6 // from:
  SAY #37833 /* ~You worthless toads. You have ruined the reputation of my hospitality. Sir Sarles will most likely carry word of his treatment here for months, and my name will bear the social stigma of it.~ */
  IF ~~ THEN REPLY #37834 /* ~You have my apologies. I tried to please him, but to no avail.~ */ GOTO 9
  IF ~~ THEN REPLY #37835 /* ~I take no responsibility for his unreasonable nature.~ */ GOTO 8
  IF ~~ THEN REPLY #37836 /* ~Social smegma might be more appropriate in the case of Sir Sarles. What a grouch.~ */ GOTO 7
END

IF ~~ THEN BEGIN 7 // from: 6.2
  SAY #37837 /* ~Get out, you filth-mouthed peasant! I'll not have you here!~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 8 // from: 6.1
  SAY #37838 /* ~His artistic and gifted nature, fool! Bah, what could a malcontent like you understand about his genius? Get out of my sight.~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 9 // from: 6.0
  SAY #37839 /* ~And I curse you for trying! How could guttertrash such as yourself hope to please a man of his caliber? Get out, and leave me be!~ */
  IF ~~ THEN EXIT
END
