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

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

IF WEIGHT #1 /* Triggers after states #: 8 even though they appear after this state */
~NumberOfTimesTalkedTo(0)
~ THEN BEGIN 0 // from:
  SAY #75970 /* ~I am Death come for thee.  Surrender, and thy passage shall be... quicker.~ */
  IF ~~ THEN REPLY #75971 /* ~I surrender!  I don't wish a fight, just don't hurt me.~ */ GOTO 2
  IF ~~ THEN REPLY #75972 /* ~What?  I'm not surrendering to anything!~ */ GOTO 1
  IF ~Global("X#NIMBUL0","GLOBAL",0)
InParty("sharteel")
InMyArea("sharteel")
!StateCheck("sharteel",CD_STATE_NOTVALID)
~ THEN DO ~SetGlobal("X#NIMBUL0","GLOBAL",1)~ EXTERN ~_SHARTJ~ 306
  IF ~Global("X#NIMBUL0","GLOBAL",0)
InParty("xan")
InMyArea("xan")
!StateCheck("xan",CD_STATE_NOTVALID)
~ THEN DO ~SetGlobal("X#NIMBUL0","GLOBAL",1)~ EXTERN ~_XANJ~ 296
  IF ~Global("X#NIMBUL0","GLOBAL",0)
InParty("ajantis")
InMyArea("ajantis")
!StateCheck("ajantis",CD_STATE_NOTVALID)
~ THEN DO ~SetGlobal("X#NIMBUL0","GLOBAL",1)~ EXTERN ~_AJANTJ~ 296
END

IF ~~ THEN BEGIN 1 // from: 0.1
  SAY #75973 /* ~Struggle if you must, dead-one, I do not mind working for my money.~ */
  IF ~~ THEN JOURNAL #75974 /* ~Someone was hired to kill me and my companions, but I simply don't know why anyone would wish me dead!~ */ GOTO 3
END

IF ~~ THEN BEGIN 2 // from: 0.0
  SAY #75975 /* ~You are weak of spirit and not worth the money I was paid.  I shall enjoy thee for a long, LONG time.~ */
  IF ~~ THEN JOURNAL #75974 /* ~Someone was hired to kill me and my companions, but I simply don't know why anyone would wish me dead!~ */ GOTO 3
END

IF ~~ THEN BEGIN 3 // from: 2.0 1.0
  SAY #75976 /* ~Why NIMBUL has been hired to deal with the likes of you, I'll never know.~ */
  IF ~~ THEN DO ~Enemy()
~ EXIT
END

IF ~~ THEN BEGIN 4 // from:
  SAY #75977 /* ~By all means, fight on.  'Tis amusing, for thou art already dead.~ */
  IF ~~ THEN GOTO 5
END

IF ~~ THEN BEGIN 5 // from: 4.0
  SAY #75978 /* ~You cannot move, you cannot fight, you cannot even scream.  NOW we will have SUCH fun!~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 6 // from:
  SAY #75979 /* ~Hush little baby, don't say a word.  Nimbul's gonna show you the big... black... bird.~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 7 // from:
  SAY #75980 /* ~Taking reward for this easy a kill is almost a crime.  Hee hee.~ */
  IF ~~ THEN EXIT
END

IF WEIGHT #0 ~StateCheck(Myself,STATE_CHARMED)
~ THEN BEGIN 8 // from:
  SAY #75981 /* ~Now isn't this strange, you are now my friend! This is quite the predicament; I've been hired to kill you, yet now I love you.  What am I to do?  I know... I know!  I will tell you want you want to hear, and then I shall kill you.  Does this satisfy you?  No matter, let me begin:  Once their were three pigs who had built a house of iron.  This house had brought them fortune and comfort, but it was now threatened by the big bad wolf!  So the three pigs hired out a small man named Nimbul.  'Nimbul' they said 'You must kill this wolf for us.  If you do this, you will be given much gold to line your pockets.'  So Nimbul set out to kill the wolf, but then something happened that he never expected:  Nimbul fell in love with the wolf!  So now, to Nimbul's sorrow, he must carry out this order and end the wolf's life.  Good bye!~ */
  IF ~~ THEN DO ~Enemy()
~ JOURNAL #75982 /* ~When we charmed Nimbul he told us stories about being hired out by a 'house of iron.'  He was sent to kill us because this 'house of iron' feared us for some reason.~ */ EXIT
END
