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

BEGIN ~SILKE~

IF ~Global("SilkeFightOver","GLOBAL",0)
ReactionGT(LastTalkedToBy,NEUTRAL_UPPER)
Global("TalkedToGarrick","GLOBAL",1)
Global("SilkeJob","GLOBAL",0)
~ THEN BEGIN 0 // from:
  SAY #569 /* ~I would like to have you join my party. Allow me to pay the fine.~ */
  IF ~~ THEN DO ~SetGlobal("TalkedToGarrick","GLOBAL",2)
~ EXTERN ~GARRIC~ 8
END

IF ~Global("SilkeFightOver","GLOBAL",0)
ReactionLT(LastTalkedToBy,FRIENDLY_LOWER)
ReactionGT(LastTalkedToBy,HOSTILE_UPPER)
Global("TalkedToGarrick","GLOBAL",1)
Global("SilkeJob","GLOBAL",0)
~ THEN BEGIN 1 // from:
  SAY #570 /* ~Maybe another time, Jan.~ */
  IF ~~ THEN DO ~SetGlobal("TalkedToGarrick","GLOBAL",2)
~ EXTERN ~GARRIC~ 9
END

IF ~Global("SilkeFightOver","GLOBAL",0)
ReactionLT(LastTalkedToBy,NEUTRAL_LOWER)
Global("TalkedToGarrick","GLOBAL",1)
Global("SilkeJob","GLOBAL",0)
~ THEN BEGIN 2 // from:
  SAY #571 /* ~Why do you have this man lie for you? What have you to hide?~ */
  IF ~~ THEN REPLY #583 /* ~A fair question.  I use the door to leave unseen.  Aunty prefers no contact with the people we govern, but lack of breeding is no cause for bad treatment.~ */ DO ~SetGlobal("TalkedToGarrick","GLOBAL",2)
~ EXIT
  IF ~~ THEN REPLY #584 /* ~It's not a matter of what he has to offer, but what I should offer his kind.  I use the door to leave unseen, to dispense charity without Aunty's knowledge.~ */ DO ~SetGlobal("TalkedToGarrick","GLOBAL",2)
SetGlobal("SilkePayment","GLOBAL",200)
~ GOTO 4
END

IF ~~ THEN BEGIN 3 // from:
  SAY #572 /* ~You associate with this... stable boy? What can he offer a woman of your standing?~ */
  IF ~~ THEN DO ~SetGlobal("SilkePayment","GLOBAL",400)
~ GOTO 4
END

IF ~~ THEN BEGIN 4 // from: 3.0 2.1
  SAY #573 /* ~Go to the stables often, do you? I take it you prefer the company of... common men?~ */
  IF ~~ THEN DO ~SetGlobal("SilkeJob","GLOBAL",1)
CreateCreature("MERSIL",[3834.1755])
CreateCreature("MERSIL2",[3793.1723])
CreateCreature("MERSIL3",[3876.1774])
ClearAllActions()
StartCutSceneMode()
StartCutScene("Silkecut")
~ JOURNAL #7164 /* ~~ */ EXIT
END

IF ~~ THEN BEGIN 5 // from:
  SAY #576 /* ~Have you decided to pay the fine and free me now?~ [JANJAN65] */
  IF ~~ THEN EXTERN ~MERSIL~ 1
END

IF ~~ THEN BEGIN 6 // from:
  SAY #577 /* ~I am unable to afford it yet.~ */
  IF ~~ THEN REPLY #585 /* ~Mind your tongue, lout! That's a lady you are talking to!~ */ GOTO 7
  IF ~~ THEN REPLY #586 /* ~Well it seems that I'm once again out of the black market. At least until I scrounge up a fortune to set up my business and have Trax's superiors well bribed. Do you be needing a hand in your party?~ */ GOTO 8
END

IF ~~ THEN BEGIN 7 // from: 6.0
  SAY #578 /* ~Yes, I have. I will pay the guard and have you freed.~ */
  IF ~~ THEN EXTERN ~GARRIC~ 5
END

IF ~~ THEN BEGIN 8 // from: 6.1
  SAY #579 /* ~Most excellent, my friend. Thank you for paying that tragically unfair fine for me.~ [JANJAN66] */
  IF ~~ THEN EXTERN ~GARRIC~ 5
END

IF ~~ THEN BEGIN 9 // from:
  SAY #580 /* ~You did try to sell illegal machinery you know.~ */
  IF ~~ THEN EXTERN ~GARRIC~ 11
END

IF ~Global("AttackedMerchant","GLOBAL",1)
Global("TalkedToGarrick","GLOBAL",2)
Global("SilkeFightOver","GLOBAL",1)
Global("SilkePay","GLOBAL",0)
~ THEN BEGIN 10 // from:
  SAY #582 /* ~It was always an unfair law. I was simply filling in one of the niche markets for a desperate consumer population. Regardless, I am now free and would like to know your intentions. Will you have me join your party?~ */
  IF ~~ THEN DO ~ReputationInc(-2)
GivePartyGoldGlobal("SilkePayment","GLOBAL")
SetGlobal("SilkePay","GLOBAL",1)
~ EXIT
END

IF ~~ THEN BEGIN 11 // from:
  SAY #784 /* ~It's not uncommon for a fighting <PRO_MANWOMAN> to take possession when the lord of the manor is... dead.  With you as head this place will continue to honor my father.~ */
  IF ~~ THEN EXIT
END

IF ~Global("Chapter","GLOBAL",7)
Global("SilkeFightOver","GLOBAL",1)
Global("AttackedSilke","GLOBAL",1)
~ THEN BEGIN 12 // from:
  SAY #6394 /* ~Mae'Var is fully aware of the penalty if the Shadow Thieves learn of his plan.  It would be disastrous, both for his ambitions and his continued breathing.~ */
  IF ~~ THEN REPLY #7560 /* ~You pick at old wounds, wizard! Continue to press and I shall make you some fresh ones!~ */ GOTO 13
  IF ~~ THEN REPLY #7561 /* ~You are one step away from wearing your lips as a collar, wizard!  Withdraw your foolish words!~ */ GOTO 14
  IF ~~ THEN REPLY #7562 /* ~Then you shall pay the price for your 'observations!'  Those that speak ill of the dead shall join them!  May you spend eternity with Dynaheir's foot in your loins!~ */ GOTO 15
END

IF ~~ THEN BEGIN 13 // from: 12.0
  SAY #7551 /* ~I am quite used to people mocking Boo. It no longer bothers either one of us. Laugh if you will, but Minsc hears what you cannot.~ [MINSC72] */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 14 // from: 12.1
  SAY #7552 /* ~And you wield a formidable blade indeed, warrior.  Tell me, Minsc, what is the opposite of a lesson?~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 15 // from: 12.2
  SAY #7553 /* ~'Tis your self-fulfilling prophecy, Minsc.  I don't talk to hamsters, although my mouse does have a disposition of fair renown in certain select locales.~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 16 // from:
  SAY #7554 /* ~Opposite of... lesson... less on... more on! The opposite of less on is more on!  More on?  Do you dare to insult me once again!~ */
  IF ~~ THEN EXIT
END

IF ~Global("Chapter","GLOBAL",7)
Global("SilkeFightOver","GLOBAL",1)
Global("AttackedSilke","GLOBAL",0)
~ THEN BEGIN 17 // from:
  SAY #7555 /* ~Minsc, what breed of rat is Boo, hm?  A seafaring wharf rat?  The fruit-eating country vole?  Perhaps, the sewer-dwelling city weasel?~ [EDWIN69] */
  IF ~~ THEN REPLY #7563 /* ~Protection From Acid~ */ GOTO 18
  IF ~~ THEN REPLY #7564 /* ~Protection From Acid (Abjuration) 
Level: 5
Range: Touch 
Duration: 1 turn/level
Casting Time: 6
Area of Effect: Creature touched 
Saving Throw: None 

When the spell is cast it confers complete invulnerability to all acid based attacks whether magical or non-magical such as acid arrow or creature special attacks.  This effect lasts for the duration of the spell or until dispelled.~ */ GOTO 19
  IF ~~ THEN REPLY #7565 /* ~Protection from Cold~ */ GOTO 20
END

IF ~~ THEN BEGIN 18 // from: 17.0
  SAY #7556 /* ~You threaten with your vaunted combat prowess?  The same esteemed skill that failed miserably to protect Dynaheir from harm's clutches?~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 19 // from: 17.1
  SAY #7557 /* ~She was a timeworn and weatherbeaten barwhore, Minsc.  The lowest class of spent working girl rubbish.~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 20 // from: 17.2
  SAY #7558 /* ~Not likely, cretin.  I only observe, not change, the nature of people or their beasts.~ */
  IF ~~ THEN REPLY #7567 /* ~Protection from Electricity~ */ GOTO 23
  IF ~~ THEN REPLY #7568 /* ~Protection from Magic Energy~ */ EXIT
END

IF ~Global("Chapter","GLOBAL",7)
Global("SilkeFightOver","GLOBAL",0)
~ THEN BEGIN 21 // from:
  SAY #7559 /* ~The Red Wizard risks great harm.  Boo is sensitive, and may not just go for the eyes!~ [MINSC73] */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 22 // from:
  SAY #7566 /* ~Protection from Acid~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 23 // from: 20.0
  SAY #7569 /* ~Protection from the Elements~ */
  IF ~~ THEN EXIT
END

IF ~Global("AttackedMerchant","GLOBAL",0)
Global("TalkedToGarrick","GLOBAL",2)
Global("SilkeFightOver","GLOBAL",1)
~ THEN BEGIN 24 // from:
  SAY #563 /* ~What do you have to offer my party?~ */
  IF ~~ THEN EXIT
END

IF ~Global("TalkedToGarrick","GLOBAL",0)
Global("SilkeFightOver","GLOBAL",0)
~ THEN BEGIN 25 // from:
  SAY #13898 /* ~Fie!  Th' weather has been a mite foxey lately, aye?~ */
  IF ~~ THEN DO ~~ EXIT
END
