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

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

IF WEIGHT #1 /* Triggers after states #: 9 even though they appear after this state */
~NumberOfTimesTalkedTo(0)
~ THEN BEGIN 0 // from:
  SAY #85157 /* ~'Ere, stop a moment.  I've got a word or two ye need to hear.~ */
  IF ~~ THEN GOTO 1
  IF ~Global("X#AloraNiklos1","GLOBAL",0)
InParty("alora")
InMyArea("alora")
!StateCheck("alora",CD_STATE_NOTVALID)
~ THEN DO ~SetGlobal("X#AloraNiklos1","GLOBAL",1)~ EXTERN ~_ALORAJ~ 36
END

IF ~~ THEN BEGIN 1 // from: 0.0
  SAY #85158 /* ~Aye, you're a fine group o' mercenaries are you?  Leastwise that's the word on the street, that you do the odd job here n' there?  I've a boss who'd like to have a word wit you if you can spare the time.  He don't ask fer free though, and here be 50 gold just to hear him out.~ */
  IF ~~ THEN REPLY #85159 /* ~Move along, stranger.  I've no time to dawdle with you.~ */ GOTO 3
  IF ~~ THEN REPLY #85160 /* ~50 gold just to listen?  A fair deal, lead on.~ */ DO ~GivePartyGold(50)
~ GOTO 8
  IF ~~ THEN REPLY #85161 /* ~50 gold may get one ear, but I've another to support as well.~ */ GOTO 2
END

IF ~~ THEN BEGIN 2 // from: 1.2
  SAY #85162 /* ~The gold be a gift o' my employer.  Do you not think it right rude to ask fer more without even speaking to him?  No more from me, so follow or don't.~ */
  IF ~~ THEN REPLY #85160 /* ~50 gold just to listen?  A fair deal, lead on.~ */ DO ~GivePartyGold(50)
~ GOTO 8
  IF ~~ THEN REPLY #85159 /* ~Move along, stranger.  I've no time to dawdle with you.~ */ GOTO 3
  IF ~~ THEN REPLY #85163 /* ~I'll follow, I'll follow.  No need to get snippy.~ */ DO ~GivePartyGold(50)
~ GOTO 8
END

IF ~~ THEN BEGIN 3 // from: 2.1 1.0
  SAY #85164 /* ~Disappointing.  I'll leave you to your quiet little stroll then.~ */
  IF ~~ THEN DO ~EscapeArea()
~ SOLVED_JOURNAL #85165 /* ~Niklos's master

A youngster named Niklos approached me on the street and offered me 50 gold just to speak with his master.  I declined.~ */ EXIT
  IF ~Global("X#AloraNiklos2","GLOBAL",0)
InParty("alora")
InMyArea("alora")
!StateCheck("alora",CD_STATE_NOTVALID)
~ THEN DO ~SetGlobal("X#AloraNiklos2","GLOBAL",1)~ GOTO 15
END

IF ~~ THEN BEGIN 4 // from:
  SAY #85166 /* ~Best be keeping a low profile about yourself, you tardy fool.  Weren't no small insult to my boss, you taking that 50 gold and then missin' the meeting.  Not a good career move to earn the ire o' the master of the thieves' guild.  I'd be advising you to stay clear any dark corners.~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 5 // from:
  SAY #85167 /* ~'Ere be my intrepid lay-abouts again.  Have ye time enough fer a visit now, or did I pay you 50 gold to be ignored?~ */
  IF ~~ THEN REPLY #85168 /* ~My apologies for keeping you waiting.  Lead on.~ */ DO ~GivePartyGold(50)
~ GOTO 8
  IF ~~ THEN REPLY #85169 /* ~I've no more interest in you now than before.  Take your 50 gold back and leave me be.~ */ GOTO 7
  IF ~~ THEN REPLY #85170 /* ~Your 50 gold did indeed hire my ear, but only for a moment.  Begone, lest I throw in a fist free of charge.~ */ GOTO 6
END

IF ~~ THEN BEGIN 6 // from: 5.2
  SAY #85171 /* ~Your a right confusing individual, the way you invite trouble.  Rest assured, you'll be hearing about this again.  A friendly warning; Stay out o' dark alleys.~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 7 // from: 5.1
  SAY #85172 /* ~I'll take the gold back, but it don't mean much.  Not having the courtesy to even meet with my employer is an insult he'll not soon forget.  He didn't become master o' the thieves' guild by suffering ignorance from the likes of you.~ */
  IF ~~ THEN DO ~TakePartyGold(50)
~ EXIT
END

IF ~~ THEN BEGIN 8 // from: 5.0 2.2 2.0 1.1
  SAY #85173 /* ~A wise choice o' action.  Now just follow me, an' I'll show ya the way ta the Guild.  If yer asked the password, it's 'Fafhrd'.  When yer in the guild just look fer the man named Alatos 'Ravenscar' Thuibuld.~ */
  IF ~~ THEN DO ~MoveToPoint([1439.1313])
OpenDoor("door0151")
MoveToPoint([1456.1262])
DestroySelf()
~ UNSOLVED_JOURNAL #85174 /* ~Niklos's master

A youngster named Niklos gave me 50 gold to meet with his master.  I am to follow him to a nondescript building, and if I am asked for a password there, 'Fafhrd' should be my response.~ */ EXIT
  IF ~Global("X#NIKLOS8","GLOBAL",0)
InParty("branwen")
InMyArea("branwen")
!StateCheck("branwen",CD_STATE_NOTVALID)
~ THEN DO ~SetGlobal("X#NIKLOS8","GLOBAL",1)~ GOTO 17
  IF ~Global("X#NIKLOS8","GLOBAL",0)
InParty("branwen")
InMyArea("branwen")
!StateCheck("branwen",CD_STATE_NOTVALID)
~ THEN DO ~SetGlobal("X#NIKLOS8","GLOBAL",1)~ EXTERN ~_BRANWJ~ 64
  IF ~Global("X#NIKLOS8","GLOBAL",0)
InParty("alora")
InMyArea("alora")
!StateCheck("alora",CD_STATE_NOTVALID)
~ THEN DO ~SetGlobal("X#NIKLOS8","GLOBAL",1)~ GOTO 19
  IF ~Global("X#NIKLOS8","GLOBAL",0)
InParty("alora")
InMyArea("alora")
!StateCheck("alora",CD_STATE_NOTVALID)
~ THEN DO ~SetGlobal("X#NIKLOS8","GLOBAL",1)~ EXTERN ~_ALORAJ~ 110
END

IF WEIGHT #0 ~StateCheck(Myself,STATE_CHARMED)
~ THEN BEGIN 9 // from:
  SAY #85175 /* ~Niklos be my label, and I am but the simple messenger for Alatos.  A friendly word for you, do not cross him.~ */
  IF ~~ THEN EXIT
  IF ~Global("X#AloraNiklos4","GLOBAL",0)
InParty("alora")
InMyArea("alora")
!StateCheck("alora",CD_STATE_NOTVALID)
~ THEN DO ~SetGlobal("X#AloraNiklos4","GLOBAL",1)~ GOTO 12
END

IF WEIGHT #2 ~Global("Chapter","GLOBAL",7)
~ THEN BEGIN 10 // from:
  SAY #85176 /* ~'Ere there!  Secure the door behind you, lest some passing spy put the eyes on us!  What are you doing back in the "Gate?"  Every night-walker in town be keeping a low-end profile, what with the guards putting force behind their swords.  Not safe to wander; not safe at all.  Alatos has gone deep under, so as not to be warmin' a bunk in the jailhouse... or worse!  Lost most our number, we have.  Stay if you wish, but here be no more safe than the street outside.~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 11 // from:
  SAY #75411 /* ~You've made no friends here!  Move along!~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 12 // from: 9.1
  SAY #100175 /* ~But then, I'm sure our mutual friend Alora here's already told you that, ain't that right missy?~ */
  IF ~~ THEN EXIT
  IF ~  InParty("alora")
InMyArea("alora")
!StateCheck("alora",CD_STATE_NOTVALID)
~ THEN GOTO 14
  IF ~  InParty("alora")
InMyArea("alora")
!StateCheck("alora",CD_STATE_NOTVALID)
~ THEN EXTERN ~_ALORAJ~ 34
  IF ~  InParty("alora")
InMyArea("alora")
!StateCheck("alora",CD_STATE_NOTVALID)
~ THEN GOTO 13
  IF ~  InParty("alora")
InMyArea("alora")
!StateCheck("alora",CD_STATE_NOTVALID)
~ THEN EXTERN ~_ALORAJ~ 33
END

IF ~~ THEN BEGIN 13 // from: 12.3
  SAY #100177 /* ~You're jabbering, miss.~ */
  IF ~~ THEN EXIT
  IF ~  InParty("alora")
InMyArea("alora")
!StateCheck("alora",CD_STATE_NOTVALID)
~ THEN GOTO 14
  IF ~  InParty("alora")
InMyArea("alora")
!StateCheck("alora",CD_STATE_NOTVALID)
~ THEN EXTERN ~_ALORAJ~ 34
END

IF ~~ THEN BEGIN 14 // from: 13.1 12.1
  SAY #100179 /* ~Off with ye, now! And heed my words well.~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 15 // from: 3.1
  SAY #100180 /* ~Though the boss still be wanting to see YE, Alora...~ */
  IF ~~ THEN DO ~EscapeArea()
~ SOLVED_JOURNAL #85165 /* ~Niklos's master

A youngster named Niklos approached me on the street and offered me 50 gold just to speak with his master.  I declined.~ */ EXIT
  IF ~  InParty("alora")
InMyArea("alora")
!StateCheck("alora",CD_STATE_NOTVALID)
~ THEN GOTO 16
  IF ~  InParty("alora")
InMyArea("alora")
!StateCheck("alora",CD_STATE_NOTVALID)
~ THEN EXTERN ~_ALORAJ~ 35
END

IF ~~ THEN BEGIN 16 // from: 15.1
  SAY #100182 /* ~Come on, girl, don't keep the boss waitin'.~ */
  IF ~~ THEN DO ~EscapeArea()
~ SOLVED_JOURNAL #85165 /* ~Niklos's master

A youngster named Niklos approached me on the street and offered me 50 gold just to speak with his master.  I declined.~ */ EXIT
END

IF ~~ THEN BEGIN 17 // from: 8.1
  SAY #103076 /* ~ Don't ya be standin' there all day! Come on!~ */
  IF ~~ THEN DO ~MoveToPoint([1439.1313])
OpenDoor("door0151")
MoveToPoint([1456.1262])
DestroySelf()
~ UNSOLVED_JOURNAL #85174 /* ~Niklos's master

A youngster named Niklos gave me 50 gold to meet with his master.  I am to follow him to a nondescript building, and if I am asked for a password there, 'Fafhrd' should be my response.~ */ EXIT
END

IF ~~ THEN BEGIN 18 // from:
  SAY #103076 /* ~ Don't ya be standin' there all day! Come on!~ */
  IF ~~ THEN DO ~MoveToPoint([1439.1313])
OpenDoor("door0151")
MoveToPoint([1456.1262])
DestroySelf()
~ UNSOLVED_JOURNAL #85174 /* ~Niklos's master

A youngster named Niklos gave me 50 gold to meet with his master.  I am to follow him to a nondescript building, and if I am asked for a password there, 'Fafhrd' should be my response.~ */ EXIT
END

IF ~~ THEN BEGIN 19 // from: 8.3
  SAY #103074 /* ~Oh, hush.~ */
  IF ~~ THEN DO ~MoveToPoint([1439.1313])
OpenDoor("door0151")
MoveToPoint([1456.1262])
DestroySelf()
~ UNSOLVED_JOURNAL #85174 /* ~Niklos's master

A youngster named Niklos gave me 50 gold to meet with his master.  I am to follow him to a nondescript building, and if I am asked for a password there, 'Fafhrd' should be my response.~ */ EXIT
  IF ~  InParty("branwen")
InMyArea("branwen")
!StateCheck("branwen",CD_STATE_NOTVALID)
~ THEN GOTO 20
  IF ~  InParty("branwen")
InMyArea("branwen")
!StateCheck("branwen",CD_STATE_NOTVALID)
~ THEN EXTERN ~_BRANWJ~ 65
END

IF ~~ THEN BEGIN 20 // from: 19.1
  SAY #103076 /* ~ Don't ya be standin' there all day! Come on!~ */
  IF ~~ THEN DO ~MoveToPoint([1439.1313])
OpenDoor("door0151")
MoveToPoint([1456.1262])
DestroySelf()
~ UNSOLVED_JOURNAL #85174 /* ~Niklos's master

A youngster named Niklos gave me 50 gold to meet with his master.  I am to follow him to a nondescript building, and if I am asked for a password there, 'Fafhrd' should be my response.~ */ EXIT
END

IF ~~ THEN BEGIN 21 // from:
  SAY #103074 /* ~Oh, hush.~ */
  IF ~~ THEN DO ~MoveToPoint([1439.1313])
OpenDoor("door0151")
MoveToPoint([1456.1262])
DestroySelf()
~ UNSOLVED_JOURNAL #85174 /* ~Niklos's master

A youngster named Niklos gave me 50 gold to meet with his master.  I am to follow him to a nondescript building, and if I am asked for a password there, 'Fafhrd' should be my response.~ */ EXIT
  IF ~  InParty("branwen")
InMyArea("branwen")
!StateCheck("branwen",CD_STATE_NOTVALID)
~ THEN GOTO 22
  IF ~  InParty("branwen")
InMyArea("branwen")
!StateCheck("branwen",CD_STATE_NOTVALID)
~ THEN EXTERN ~_BRANWJ~ 66
END

IF ~~ THEN BEGIN 22 // from: 21.1
  SAY #103076 /* ~ Don't ya be standin' there all day! Come on!~ */
  IF ~~ THEN DO ~MoveToPoint([1439.1313])
OpenDoor("door0151")
MoveToPoint([1456.1262])
DestroySelf()
~ UNSOLVED_JOURNAL #85174 /* ~Niklos's master

A youngster named Niklos gave me 50 gold to meet with his master.  I am to follow him to a nondescript building, and if I am asked for a password there, 'Fafhrd' should be my response.~ */ EXIT
END
