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

BEGIN ~UDSVIR08~

IF ~NumTimesTalkedTo(0)~ THEN BEGIN 0 // from:
  SAY #51548 /* ~Drow, od golver d'tanyon! Da sugden os tera!~ */
  IF ~OR(2)
Dead("Solaufein")
Global("SolaufeinJob","GLOBAL",7)~ THEN REPLY #51555 /* ~I'm sorry, but I don't understand your tongue.~ */ GOTO 2
  IF ~OR(2)
Dead("Solaufein")
Global("SolaufeinJob","GLOBAL",7)~ THEN REPLY #51556 /* ~Prepare to die, svirfneblin scum!!~ */ GOTO 1
  IF ~!Dead("Solaufein")
Global("SolaufeinJob","GLOBAL",6)~ THEN EXTERN ~UDSOLA01~ 116
END

IF ~~ THEN BEGIN 1 // from: 14.3 11.4 10.0 5.2 4.0 3.0 0.1 UDSOLA01:116.0
  SAY #51550 /* ~Alarm!!  De ston fall duth nada!!~ */
  IF ~Global("SolaufeinJob","GLOBAL",7)
!IsValidForPartyDialog("Jan")
!IsValidForPartyDialog("Mazzy")
!IsValidForPartyDialog("Keldorn")~ THEN DO ~Shout(151)
Enemy()~ EXIT
  IF ~!Global("SolaufeinJob","GLOBAL",7)~ THEN DO ~Shout(151)
Enemy()~ EXIT
  IF ~IsValidForPartyDialog("Jan")
Global("SolaufeinJob","GLOBAL",7)~ THEN DO ~Shout(151)
Enemy()~ EXTERN ~JANJ~ 164
  IF ~!IsValidForPartyDialog("Jan")
IsValidForPartyDialog("Mazzy")
Global("SolaufeinJob","GLOBAL",7)~ THEN DO ~Shout(151)
Enemy()~ EXTERN ~MAZZYJ~ 176
  IF ~!IsValidForPartyDialog("Jan")
!IsValidForPartyDialog("Mazzy")
IsValidForPartyDialog("Keldorn")
Global("SolaufeinJob","GLOBAL",7)~ THEN DO ~Shout(151)
Enemy()~ EXTERN ~KELDORJ~ 203
END

IF ~~ THEN BEGIN 2 // from: 0.0
  SAY #51557 /* ~Ah... I had be thinking most drow knowing simple tongue of the stone.  Let me be talking the tongue of dark ones, yes?~ */
  IF ~!Dead("UDSvir03")~ THEN GOTO 3
  IF ~Dead("UDSvir03")~ THEN GOTO 4
END

IF ~~ THEN BEGIN 3 // from: 2.0
  SAY #51558 /* ~We be greeting you, dark ones.  And we be asking for your purpose this place for being.  Respecting you the peace as we?~ */
  IF ~~ THEN REPLY #51564 /* ~No.  I am here to slaughter you, fools.  Prepare to die!!~ */ GOTO 1
  IF ~~ THEN REPLY #51565 /* ~I was sent here by the drow to kill you and your patrol... but I do not wish to do that.~ */ GOTO 5
  IF ~~ THEN REPLY #51587 /* ~Yes.  I, ah... need you to give me your helmet, actually.~ */ GOTO 11
  IF ~~ THEN REPLY #51566 /* ~Yes.  I am simply scouting the area and will be on my way.~ */ GOTO 6
END

IF ~~ THEN BEGIN 4 // from: 2.1
  SAY #51560 /* ~We be greeting you, dark ones.  We be coming here from larger village of deeper gnomes, hearing of much death here happening.  Very bad, is.  What is being your purpose, here?~ */
  IF ~~ THEN REPLY #51570 /* ~I am here to slaughter you, fools.  Prepare to die!!~ */ GOTO 1
  IF ~~ THEN REPLY #51571 /* ~I was sent here by the drow to kill you and your patrol... but I do not wish to do that.~ */ GOTO 5
  IF ~~ THEN REPLY #51588 /* ~I, ah... need you to give me your helmet, actually.~ */ GOTO 11
  IF ~~ THEN REPLY #51572 /* ~I am simply scouting the area and will be on my way.~ */ GOTO 6
END

IF ~~ THEN BEGIN 5 // from: 14.0 11.0 10.1 4.1 3.1
  SAY #51573 /* ~Most alarming, this is!  Why would the dark ones be killing us?  We be at peace, we is!~ */
  IF ~~ THEN REPLY #51574 /* ~They feel you don't fear them enough, and want to send a message to you and their enemies.~ */ GOTO 7
  IF ~~ THEN REPLY #51575 /* ~I don't know, really.~ */ GOTO 7
  IF ~~ THEN REPLY #51576 /* ~Actually, I've changed my mind.  I've been sent here to kill you, and I probably should, to be safe.~ */ GOTO 1
END

IF ~~ THEN BEGIN 6 // from: 10.3 4.3 3.3
  SAY #51577 /* ~This is good.  Peace be having with you, dark ones.~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 7 // from: 5.1 5.0
  SAY #51578 /* ~We be fearing dark ones plenty!  Always could they be all killing us, if they be wishing to!  Grateful, we are, for your mercy!!~ */
  IF ~~ THEN REPLY #51579 /* ~I just need some proof for them that I have done as they bid.  Can I have your helmet?~ */ GOTO 8
END

IF ~~ THEN BEGIN 8 // from: 7.0
  SAY #51580 /* ~My helmet?  If it be saving my life, yes... here it be.  We will be going, now, and telling deep lords that much bowing and scraping to dark ones is to be done, if war to be avoided is.~ */
  IF ~~ THEN DO ~GiveItemCreate("MISCA6",LastTalkedToBy,0,0,0)~ UNSOLVED_JOURNAL #6933 /* ~Inside the Drow City

I have acquired the svirfneblin patrol leader's helmet peacefully... and the drow need never know the difference.  All I need to do now is return to Phaere in the Ust Natha tavern before she grows impatient.~ */ GOTO 9
END

IF ~~ THEN BEGIN 9 // from: 8.0
  SAY #51581 /* ~Thanking you for your mercy, we are.  May the Deep Brother be smiling on you kindly, always.~ */
  IF ~~ THEN DO ~SetGlobal("udleaveGnome","AR2100",1)
EscapeArea()~ EXIT
END

IF ~NumTimesTalkedToGT(0)~ THEN BEGIN 10 // from:
  SAY #51582 /* ~You be returning, dark ones?  What can deep gnomes for you be doing?~ */
  IF ~~ THEN REPLY #51583 /* ~You can die, svirfneblin!~ */ GOTO 1
  IF ~~ THEN REPLY #51584 /* ~I was sent here by the drow to kill you and your patrol... but I do not wish to do that.~ */ GOTO 5
  IF ~~ THEN REPLY #51585 /* ~Actually, I need your helmet.~ */ GOTO 11
  IF ~~ THEN REPLY #51586 /* ~Nothing.  I'll be on my way.~ */ GOTO 6
END

IF ~~ THEN BEGIN 11 // from: 10.2 4.2 3.2
  SAY #51589 /* ~My helmet part of uniform, is.  Giving it up, I simply cannot be.  Why be needing you helmet, dark one?~ */
  IF ~~ THEN REPLY #51590 /* ~I need it to prove to the Drow that I have killed your patrol... which I have no intention of actually doing.~ */ GOTO 5
  IF ~CheckStatGT(LastTalkedToBy,15,CHR)~ THEN REPLY #51591 /* ~I can't tell you... but it is very important that I have it.  For your sake and mine.~ */ GOTO 12
  IF ~CheckStatLT(LastTalkedToBy,16,CHR)~ THEN REPLY #51592 /* ~I can't tell you... but it is very important that I have it.  For your sake and mine.~ */ GOTO 14
  IF ~PartyGoldGT(99)~ THEN REPLY #51593 /* ~How about a hundred gold pieces?  Could I buy it from you?~ */ DO ~TakePartyGold(100)~ GOTO 15
  IF ~~ THEN REPLY #51594 /* ~Oh, bother it anyway.  Time for you to die, I suppose.~ */ GOTO 1
END

IF ~~ THEN BEGIN 12 // from: 11.1
  SAY #51595 /* ~You be seeming trustworthy sort, for dark one.  Very well... is only helmet, and policy personal is when dark one ask nicely, give helmet and run, yes?~ */
  IF ~~ THEN DO ~GiveItemCreate("MISCA6",LastTalkedToBy,0,0,0)~ UNSOLVED_JOURNAL #6933 /* ~Inside the Drow City

I have acquired the svirfneblin patrol leader's helmet peacefully... and the drow need never know the difference.  All I need to do now is return to Phaere in the Ust Natha tavern before she grows impatient.~ */ GOTO 13
END

IF ~~ THEN BEGIN 13 // from: 16.0 15.0 12.0
  SAY #51596 /* ~We be leaving on patrol, now, maybe, before you be asking for svirfneblin shoes and stockings, too.  Faring you well, dark one.~ */
  IF ~~ THEN DO ~SetGlobal("udleaveGnome","AR2100",1)
EscapeArea();~ EXIT
END

IF ~~ THEN BEGIN 14 // from: 11.2
  SAY #51598 /* ~Is not important helmet, really, but is mine.  Cannot be giving it away simply, I.  Confusing request you are making, dark one.~ */
  IF ~~ THEN REPLY #51601 /* ~I need it to prove to the Drow that I have killed your patrol... which I have no intention of actually doing.~ */ GOTO 5
  IF ~~ THEN REPLY #51602 /* ~Give me the helmet or die, you stupid gnome!~ */ GOTO 16
  IF ~PartyGoldGT(99)~ THEN REPLY #51603 /* ~Fine.  How about I give you a hundred gold pieces for it?~ */ DO ~TakePartyGold(100)~ GOTO 15
  IF ~~ THEN REPLY #51604 /* ~You had your chance, gnome.  Time to die!~ */ GOTO 1
END

IF ~~ THEN BEGIN 15 // from: 14.2 11.3
  SAY #51606 /* ~Hmm.  Helmet come and helmet go, amongst gnomes is said.  Well, maybe not said, but should be, for so much gold.  Here be it, then, strange dark one.~ */
  IF ~~ THEN DO ~GiveItemCreate("MISCA6",LastTalkedToBy,0,0,0)~ UNSOLVED_JOURNAL #6933 /* ~Inside the Drow City

I have acquired the svirfneblin patrol leader's helmet peacefully... and the drow need never know the difference.  All I need to do now is return to Phaere in the Ust Natha tavern before she grows impatient.~ */ GOTO 13
END

IF ~~ THEN BEGIN 16 // from: 14.1
  SAY #51614 /* ~Errr... no need to angry be getting, dark one.  If you be wanting helmet so much, supposing am I that better than death it is.  Helmet come and helmet go, gnomish saying be going.~ */
  IF ~~ THEN DO ~GiveItemCreate("MISCA6",LastTalkedToBy,0,0,0)~ UNSOLVED_JOURNAL #6933 /* ~Inside the Drow City

I have acquired the svirfneblin patrol leader's helmet peacefully... and the drow need never know the difference.  All I need to do now is return to Phaere in the Ust Natha tavern before she grows impatient.~ */ GOTO 13
END
