// creator  : weidu.exe (version 23100)
// argument : _GLANMA.DLG
// game		 : .
// source	 : ./override/_GLANMA.DLG
// dialog	 : ./DIALOG.TLK
// dialogF  : (none)

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

IF WEIGHT #1 /* Triggers after states #: 14 even though they appear after this state */
~NumberOfTimesTalkedTo(0)
ReactionGT(LastTalkedToBy,NEUTRAL_UPPER)
~ THEN BEGIN 0 // from:
  SAY #81961 /* ~Yes?  Is there something I could be of assistance with?~ */
  IF ~HasWeaponEquiped(LastTalkedToBy)
~ THEN REPLY #81962 /* ~I beg your pardon, but I've come regarding the servile position.~ */ GOTO 3
  IF ~~ THEN REPLY #81963 /* ~Terribly sorry to have troubled you.  I must have the wrong address.~ */ GOTO 16
  IF ~!HasWeaponEquiped(LastTalkedToBy)
~ THEN REPLY #81962 /* ~I beg your pardon, but I've come regarding the servile position.~ */ GOTO 5
END

IF WEIGHT #2 /* Triggers after states #: 14 even though they appear after this state */
~NumberOfTimesTalkedTo(0)
ReactionLT(LastTalkedToBy,FRIENDLY_LOWER)
ReactionGT(LastTalkedToBy,HOSTILE_UPPER)
~ THEN BEGIN 1 // from:
  SAY #81964 /* ~I'm a touch busy at the moment.  Was there something you needed?~ */
  IF ~ReactionGT(LastTalkedToBy,HOSTILE_UPPER)
~ THEN REPLY #81962 /* ~I beg your pardon, but I've come regarding the servile position.~ */ GOTO 5
  IF ~~ THEN REPLY #81963 /* ~Terribly sorry to have troubled you.  I must have the wrong address.~ */ GOTO 16
  IF ~ReactionLT(LastTalkedToBy,NEUTRAL_LOWER)
~ THEN REPLY #81962 /* ~I beg your pardon, but I've come regarding the servile position.~ */ GOTO 3
END

IF WEIGHT #3 /* Triggers after states #: 14 even though they appear after this state */
~NumberOfTimesTalkedTo(0)
ReactionLT(LastTalkedToBy,NEUTRAL_LOWER)
~ THEN BEGIN 2 // from:
  SAY #81965 /* ~This had better be important indeed.  I've no time for hand-outs today, today of all days.~ */
  IF ~!HasWeaponEquiped(LastTalkedToBy)
~ THEN REPLY #81962 /* ~I beg your pardon, but I've come regarding the servile position.~ */ GOTO 5
  IF ~HasWeaponEquiped(LastTalkedToBy)
~ THEN REPLY #81962 /* ~I beg your pardon, but I've come regarding the servile position.~ */ GOTO 3
  IF ~~ THEN REPLY #81963 /* ~Terribly sorry to have troubled you.  I must have the wrong address.~ */ GOTO 16
END

IF ~~ THEN BEGIN 3 // from: 2.1 1.2 0.0
  SAY #81966 /* ~I am ever so sorry, but we are not accustomed to our servants being... so well armed.  You'll just not do.~ */
  IF ~~ THEN EXIT
END

IF WEIGHT #4 /* Triggers after states #: 14 even though they appear after this state */
~ReactionLT(LastTalkedToBy,FRIENDLY_LOWER)
~ THEN BEGIN 4 // from:
  SAY #81967 /* ~Nothing has change since your last visit.  Kindly stop distracting me from my work.~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 5 // from: 2.0 1.0 0.2
  SAY #81968 /* ~The position?  Ahhh yes, we are indeed looking for a servant to help clean.  It is ever so large an estate, and she does tend to get away on you if you're not careful.  Have you any experience in such an expansive building?~ */
  IF ~ReactionLT(LastTalkedToBy,NEUTRAL_LOWER)
~ THEN REPLY #81969 /* ~Not as such, but I ask only that I be given the chance to prove myself.~ */ GOTO 12
  IF ~~ THEN REPLY #81970 /* ~Well, me gramma's house be worth a copper or two, but it not as expansive as dis here place.~ */ GOTO 6
  IF ~~ THEN REPLY #81971 /* ~Indeed I do!  Served for the past year at... uh... the palace.  Yeah, the palace.~ */ GOTO 7
  IF ~ReactionGT(LastTalkedToBy,HOSTILE_UPPER)
~ THEN REPLY #81969 /* ~Not as such, but I ask only that I be given the chance to prove myself.~ */ GOTO 13
END

IF ~~ THEN BEGIN 6 // from: 5.1
  SAY #81972 /* ~... I've not the time for this.  Pardon my rudeness, but goodbye.~ */
  IF ~~ THEN DO ~Wait(10)
CreateCreature("_FLAMEN",[0.0],0)
CreateCreature("_FLAMEN",[0.0],0)
CreateCreature("_FLAMEN",[0.0],0)
CreateCreature("_FLAMEN",[0.0],0)
CreateCreature("_FLAMEN",[0.0],0)
~ EXIT
END

IF ~~ THEN BEGIN 7 // from: 5.2
  SAY #81973 /* ~Oh?  Which palace would that be then?~ */
  IF ~~ THEN REPLY #81974 /* ~I served at Oberon's palace, and a finer Lord I'll never have the pleasure of working for again.~ */ GOTO 8
  IF ~~ THEN REPLY #81975 /* ~The High Hall Ducal palace it was!  Oh, his lordship was a fine man to serve under.~ */ GOTO 9
  IF ~ReactionLT(LastTalkedToBy,NEUTRAL_LOWER)
~ THEN REPLY #81976 /* ~It was Castle Waterdeep, and a finer patron than the Paladinstars I've not had the pleasure of meeting.~ */ GOTO 10
  IF ~ReactionGT(LastTalkedToBy,HOSTILE_UPPER)
~ THEN REPLY #81976 /* ~It was Castle Waterdeep, and a finer patron than the Paladinstars I've not had the pleasure of meeting.~ */ GOTO 11
END

IF ~~ THEN BEGIN 8 // from: 7.0
  SAY #81977 /* ~Well THIS be Oberon's ESTATE, his one and only abode, and you have never been here before.  To be sure, lying will not net you a job here.  Off with you!~ */
  IF ~~ THEN DO ~Wait(10)
CreateCreature("_FLAMEN",[0.0],0)
CreateCreature("_FLAMEN",[0.0],0)
CreateCreature("_FLAMEN",[0.0],0)
CreateCreature("_FLAMEN",[0.0],0)
CreateCreature("_FLAMEN",[0.0],0)
~ EXIT
END

IF ~~ THEN BEGIN 9 // from: 7.1
  SAY #81978 /* ~Is it so?  Well Grand Duchess Liia is within these walls, and has said openly that she never lets a servant go without good reason.  If she'll no have you, we'll not either.~ */
  IF ~~ THEN DO ~Wait(10)
CreateCreature("_FLAMEN",[0.0],0)
CreateCreature("_FLAMEN",[0.0],0)
CreateCreature("_FLAMEN",[0.0],0)
CreateCreature("_FLAMEN",[0.0],0)
CreateCreature("_FLAMEN",[0.0],0)
~ EXIT
END

IF ~~ THEN BEGIN 10 // from: 7.2
  SAY #81979 /* ~Oh, it's a sorry shame.  Oberon has never liked Piergeiron Paladinstar, and certainly won't suffer a servant not good enough for him to keep.  I must turn you away.~ */
  IF ~~ THEN DO ~Wait(10)
CreateCreature("_FLAMEN",[0.0],0)
CreateCreature("_FLAMEN",[0.0],0)
CreateCreature("_FLAMEN",[0.0],0)
CreateCreature("_FLAMEN",[0.0],0)
CreateCreature("_FLAMEN",[0.0],0)
~ EXIT
END

IF ~~ THEN BEGIN 11 // from: 7.3
  SAY #81980 /* ~Oh dear me!  Never mention that to master Oberon.  He has never liked Piergeiron Paladinstar, and won't have a servant not good enough for him.  I should not do this, but I need the extra help, so consider yourself hired.  We've important guests at the moment, so you had best stay in the background.  Clean the rooms in the east wing, and leave the west for me.~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 12 // from: 5.0
  SAY #81981 /* ~Oh no no no.  I should need someone with more credentials.  Important guests this week, and I can't risk their comfort.  My apologies, but I cannot take you on.~ */
  IF ~~ THEN DO ~Wait(10)
CreateCreature("_FLAMEN",[0.0],0)
CreateCreature("_FLAMEN",[0.0],0)
CreateCreature("_FLAMEN",[0.0],0)
CreateCreature("_FLAMEN",[0.0],0)
CreateCreature("_FLAMEN",[0.0],0)
~ EXIT
END

IF ~~ THEN BEGIN 13 // from: 5.3
  SAY #81982 /* ~Well, I would have wished for someone with a touch more credentials, but I am run right ragged without help.  You're hired, but watch your step.  We've important guests at the moment, so you had best stay in the background.  Clean the rooms in the east wing, and leave the west for me.~ */
  IF ~~ THEN EXIT
END

IF WEIGHT #0 ~StateCheck(Myself,STATE_CHARMED)
~ THEN BEGIN 14 // from:
  SAY #81983 /* ~You'll do just fine for what we have in mind.  Make yourself at home in the estate.  Keep your meanderings to a minimum however, as we have important guests.~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 15 // from:
  SAY #81984 /* ~I've no clue why we hired such as you!  Get out of my sight!~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 16 // from: 2.2 1.1 0.1
  SAY #81985 /* ~I see.  Good day then.~ */
  IF ~~ THEN DO ~Wait(10)
CreateCreature("_FLAMEN",[0.0],0)
CreateCreature("_FLAMEN",[0.0],0)
CreateCreature("_FLAMEN",[0.0],0)
CreateCreature("_FLAMEN",[0.0],0)
CreateCreature("_FLAMEN",[0.0],0)
~ EXIT
END
