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

BEGIN ~DASLAVE1~

IF ~Global("DrowSlavesFree","GLOBAL",0)~ THEN BEGIN 0 // from:
  SAY #56819 /* ~Do you even understand our language?  Leave us be, filthy drow!  One day your people will pay for your evil!~ */
  IF ~~ THEN EXIT
END

IF ~GlobalGT("DrowSlavesFree","GLOBAL",0)~ THEN BEGIN 1 // from:
  SAY #56820 /* ~So, you... you are our new... owner.  I see.  And what is it you would have us do, drow?~ */
  IF ~~ THEN REPLY #56822 /* ~I intend for you to be free.~ */ GOTO 2
  IF ~~ THEN REPLY #56823 /* ~I don't care what you do.  Go.  Stay and be killed.  It doesn't matter to me.~ */ GOTO 3
  IF ~Alignment(LastTalkedToBy,MASK_EVIL)~ THEN REPLY #56824 /* ~Go to the temple of Lolth and tell them Veldrin is offering them sacrifices.  They can feed you to the spiders or... whatever.~ */ GOTO 4
  IF ~!Alignment(LastTalkedToBy,MASK_GOOD)~ THEN REPLY #56827 /* ~I freed you for target practice, fool.  Start running!~ */ GOTO 6
END

IF ~~ THEN BEGIN 2 // from: 1.0
  SAY #56830 /* ~F-free?  Wh-what... what do you mean, free?  Why would you do this?  How would we even get free of this place?~ */
  IF ~Global("DrowSlavesFree","GLOBAL",1)~ THEN REPLY #56839 /* ~I can't explain, but you will be equipped, shortly.  Go to the gates and tell them you are doing a service for me... get to the surface.  Can you do that?~ */ GOTO 7
  IF ~Global("DrowSlavesFree","GLOBAL",2)~ THEN REPLY #56841 /* ~I can't tell you why.  Just go to the gates and tell them you are performing a service for me.  Then go, as best you can.~ */ GOTO 8
  IF ~Global("DrowSlavesFree","GLOBAL",1)~ THEN REPLY #56846 /* ~I have no patience for this!  Just go!  You have your freedom... what you do with it is up to you!~ */ GOTO 9
  IF ~Global("DrowSlavesFree","GLOBAL",2)~ THEN REPLY #56847 /* ~I have no patience for this!  Just go!  You have your freedom... what you do with it is up to you!~ */ GOTO 10
END

IF ~~ THEN BEGIN 3 // from: 1.1
  SAY #56849 /* ~Go?  You mean... you shall just let us leave?~ */
  IF ~Global("DrowSlavesFree","GLOBAL",1)~ THEN REPLY #56850 /* ~You're getting arms and equipment.  After that, you're on your own.  Now beat it.~ */ GOTO 9
  IF ~Global("DrowSlavesFree","GLOBAL",1)~ THEN REPLY #56852 /* ~You're getting arms and equipment.  Maybe go to the gates and tell them you're doing a task for me... perhaps they'll let you out.  But you're on your own.~ */ GOTO 7
  IF ~Global("DrowSlavesFree","GLOBAL",2)~ THEN REPLY #56854 /* ~Yes, you can leave.  Go where you like, or stay here.  But I can nothing else for you.~ */ GOTO 10
  IF ~Global("DrowSlavesFree","GLOBAL",2)~ THEN REPLY #56855 /* ~Yes.  Go to the gate and tell them you are performing a task for me... perhaps they will let you leave, I don't know.  But I can do nothing else for you.~ */ GOTO 8
END

IF ~~ THEN BEGIN 4 // from: 1.2
  SAY #56858 /* ~No!  No, please!  If... if you have any compassion at all, you will not send us there!~ */
  IF ~!IsValidForPartyDialog("Keldorn")
!IsValidForPartyDialog("Mazzy")
!IsValidForPartyDialog("Viconia")
!IsValidForPartyDialog("Aerie")
!IsValidForPartyDialog("Anomen")~ THEN GOTO 5
  IF ~IsValidForPartyDialog("Keldorn")~ THEN EXTERN ~KELDORJ~ 238
  IF ~!IsValidForPartyDialog("Keldorn")
IsValidForPartyDialog("Mazzy")~ THEN EXTERN ~MAZZYJ~ 189
  IF ~!IsValidForPartyDialog("Keldorn")
!IsValidForPartyDialog("Mazzy")
IsValidForPartyDialog("Viconia")~ THEN EXTERN ~VICONIJ~ 175
  IF ~!IsValidForPartyDialog("Keldorn")
!IsValidForPartyDialog("Mazzy")
!IsValidForPartyDialog("Viconia")
IsValidForPartyDialog("Aerie")~ THEN EXTERN ~AERIEJ~ 181
  IF ~!IsValidForPartyDialog("Keldorn")
!IsValidForPartyDialog("Mazzy")
!IsValidForPartyDialog("Viconia")
!IsValidForPartyDialog("Aerie")
IsValidForPartyDialog("Anomen")~ THEN EXTERN ~ANOMENJ~ 293
END

IF ~~ THEN BEGIN 5 // from: 4.0
  SAY #56860 /* ~I beg you!  I have seen the drow priestesses take others... we have heard the screams!  We... we will do whatever you wish, just do not sentence us to this!~ */
  IF ~~ THEN REPLY #56864 /* ~I shall do as I like, and I wish you to go to the temple.  Do it... now.~ */ GOTO 11
  IF ~~ THEN REPLY #56865 /* ~Perhaps a quick death would be better... start running, I suppose.~ */ GOTO 6
  IF ~Global("DrowSlavesFree","GLOBAL",1)~ THEN REPLY #56866 /* ~Fine, fine.  You are free to go, then.  Find your own way, for I can do nothing for you.~ */ GOTO 9
  IF ~Global("DrowSlavesFree","GLOBAL",2)~ THEN REPLY #56867 /* ~Fine, fine.  You are free to go, then.  Find your own way, for I can do nothing for you.~ */ GOTO 10
  IF ~Global("DrowSlavesFree","GLOBAL",1)~ THEN REPLY #56868 /* ~Fine, fine.  Find your way through the Underdark, then, if you can.  Go to the gates and tell them I have sent you... after that, you are on your own.~ */ GOTO 7
  IF ~Global("DrowSlavesFree","GLOBAL",2)~ THEN REPLY #56869 /* ~Fine, fine.  Find your way through the Underdark, then, if you can.  Go to the gates and tell them I have sent you... after that, you are on your own.~ */ GOTO 8
END

IF ~~ THEN BEGIN 6 // from: 5.1 1.3
  SAY #56870 /* ~No!  Curse your vile heart, drow!  Run, my friends, RUN!!~ */
  IF ~~ THEN DO ~SetGlobal("SlaveResult","GLOBAL",1)~ EXIT
END

IF ~~ THEN BEGIN 7 // from: 5.4 3.1 2.0
  SAY #56871 /* ~I... I can try to lead my friends to the surface.   With weapons and equipment it... it is possible.  Th-thank you... whoever you are...~ */
  IF ~~ THEN DO ~ReputationInc(1)
AddExperienceParty(7500)
SetGlobal("SlaveResult","GLOBAL",2)~ EXIT
END

IF ~~ THEN BEGIN 8 // from: 5.5 3.3 2.1
  SAY #56872 /* ~Without weapons or equipment... there is little hope for us.  But... it is a better fate than staying here.  We shall... make the attempt.  Thank you.~ */
  IF ~!IsValidForPartyDialog("Edwin")
!IsValidForPartyDialog("Valygar")~ THEN DO ~AddExperienceParty(5000)
SetGlobal("SlaveResult","GLOBAL",3)~ EXIT
  IF ~IsValidForPartyDialog("Edwin")~ THEN DO ~AddExperienceParty(5000)
SetGlobal("SlaveResult","GLOBAL",3)~ EXTERN ~EDWINJ~ 144
  IF ~!IsValidForPartyDialog("Edwin")
IsValidForPartyDialog("Valygar")~ THEN DO ~AddExperienceParty(5000)
SetGlobal("SlaveResult","GLOBAL",3)~ EXTERN ~VALYGARJ~ 98
END

IF ~~ THEN BEGIN 9 // from: 5.2 3.0 2.2
  SAY #56874 /* ~Even with the weapons and equipment... there is little hope for us.  We can try to find a way out... perhaps... if you truly will not hunt us down.  So be it.~ */
  IF ~~ THEN DO ~AddExperienceParty(2000)
SetGlobal("SlaveResult","GLOBAL",4)~ EXIT
END

IF ~~ THEN BEGIN 10 // from: 5.3 3.2 2.3
  SAY #56875 /* ~You would... set us free in this city, unarmed, with nothing?  We will be dead soon enough.  But... but better, perhaps, than the alternatives.  So be it.~ */
  IF ~!IsValidForPartyDialog("Jaheira")
IsValidForPartyDialog("Nalia")~ THEN DO ~SetGlobal("SlaveResult","GLOBAL",4)~ EXIT
  IF ~IsValidForPartyDialog("Jaheira")~ THEN DO ~SetGlobal("SlaveResult","GLOBAL",4)~ EXTERN ~JAHEIRAJ~ 510
  IF ~!IsValidForPartyDialog("Jaheira")
IsValidForPartyDialog("Nalia")~ THEN DO ~SetGlobal("SlaveResult","GLOBAL",4)~ EXTERN ~NALIAJ~ 303
END

IF ~~ THEN BEGIN 11 // from: 5.0
  SAY #56878 /* ~As... as you command, drow.  May the gods curse you forever for this.~ */
  IF ~~ THEN DO ~ReputationInc(-2)
SetGlobal("SlaveResult","GLOBAL",4)~ EXIT
END
