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

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

IF ~~ THEN BEGIN 0 // from:
  SAY #74933 /* ~[no text]~ */
  IF ~~ THEN EXIT
END

IF WEIGHT #1 /* Triggers after states #: 6 even though they appear after this state */
~ReactionGT(LastTalkedToBy(Myself),HOSTILE_UPPER)
~ THEN BEGIN 1 // from:
  SAY #87898 /* ~Oh a fine sight are you, who ever you are!  Sick to death of bandits I am!  I have been cooped up the longest time, but if you've a spare mace I'd gladly swing it for yer cause.  I can do things cleric-wise as well, so I'm mind as well as muscle.  By Clangeddin, a chance to right past wrongs!  Can I join you?~ */
  IF ~~ THEN REPLY #87899 /* ~All help is welcome.  We've much to overcome.~ */ GOTO 3
  IF ~~ THEN REPLY #87900 /* ~I've no need of you.  Take your freedom and go.~ */ GOTO 4
END

IF WEIGHT #2 /* Triggers after states #: 6 even though they appear after this state */
~ReactionLT(LastTalkedToBy(Myself),NEUTRAL_LOWER)
~ THEN BEGIN 2 // from:
  SAY #87901 /* ~I don't know who you are, but I'm glad to see you nonetheless.  I canna be done with this place soon enough!  I don't fancy the look of you, but if you be against the Throne you've my best blessings.  If fact, I'll do you better than blessings.  This mine was once my clan-home, and after that my clan-tomb.  We breached a riverbank over a hundred years ago and most of us died.  A few survived, but we left the mine flooded as a monument to the dead.  I got trade-work at the Iron Throne smithing, but I then told my "friend" Rieltar about my old home.  They chained me up and tortured the location out of me, and now my home feeds the Iron Throne and their evil plans.  I'd sooner destroy it again than have the Throne use it so!  Here are directions to the lower levels.  They plugged the hole to the river, but knowing hands can loose it again!  Flood the blaggards out!  I must leave, I can bear the sight of this place no longer.  I'll black a few eyes on the way out though!  Clangeddin's might be with you!~ */
  IF ~~ THEN DO ~EscapeArea()
~ UNSOLVED_JOURNAL #87902 /* ~Flooding the Cloakwood mine

The dwarf Yeslick has told us a great deal about the Cloakwood mine.  He and his clan used to work in the mine, but they dug into an underground river.  In the ensuing flood, most of Yeslick's clan died.  Yeslick later met the man known as Rieltar, an important figure in the Iron Throne.  With Yeslick's help Rieltar reopened the mine for the Iron Throne.  Yeslick tells us that a mage called Davaeorn runs the mine from the fourth level.  If we were to get a key from him we could flood the entire mine site.~ */ EXIT
END

IF ~~ THEN BEGIN 3 // from: 1.0
  SAY #87903 /* ~That you have, and none would know better than I.  These are my mines that the blasted Iron Throne has stolen.  Well, they were my clan's home 125 years ago.  Curse me for a fool, I trusted them!  Years ago that blasted Rieltar gave me a good trade smithing for the Throne, and then I go and tell him about my old home!  About how my clan had the richest iron mine on any coast, and how almost all were killed when we breached a riverbank.  Lost most my kin in that flood.  Those of us that survived couldn't bear to go back down.  It was a giant watery tomb, and we left it the way she stood.  So I go and tell this to my "friend" Rieltar, and he has me chained up!  He tortures the location outta me, and now this graveyard feeds the Iron Throne as they bleed the coast dry.  If you want to cripple their plans, help me flood these accursed mines once more!  They plugged the breach, but knowing hands can loose the flow!  We can drown these black-hearted rats in the very mine they've stolen!  Here be the way!~ */
  IF ~~ THEN DO ~SetGlobalTimer("Yeslick","GLOBAL",FIVE_DAYS)
JoinParty()
~ UNSOLVED_JOURNAL #87902 /* ~Flooding the Cloakwood mine

The dwarf Yeslick has told us a great deal about the Cloakwood mine.  He and his clan used to work in the mine, but they dug into an underground river.  In the ensuing flood, most of Yeslick's clan died.  Yeslick later met the man known as Rieltar, an important figure in the Iron Throne.  With Yeslick's help Rieltar reopened the mine for the Iron Throne.  Yeslick tells us that a mage called Davaeorn runs the mine from the fourth level.  If we were to get a key from him we could flood the entire mine site.~ */ EXIT
  IF ~Global("X#SharYeslickJoin","GLOBAL",0)
InParty("sharteel")
InMyArea("sharteel")
!StateCheck("sharteel",CD_STATE_NOTVALID)
~ THEN DO ~SetGlobal("X#SharYeslickJoin","GLOBAL",1)~ EXTERN ~_SHARTJ~ 81
END

IF ~~ THEN BEGIN 4 // from: 1.1
  SAY #87904 /* ~You're a bit of a fool to refuse any help, though perhaps foolhardy risks are called for.  So be it, I'll go my own way.  I will tell you how to hurt these blaggards though.  These mines here, they were my clan's long ago.  We were just tapping the richest ore deposits when we breached a riverbank.  Most of us died, and those that lived left the mine a flooded tomb.  So here's the fool me, who gets a trade with the Iron Throne.  My "friend" Rieltar learns of my past and tortures the mine location outta me!  Now my clan graveyard feeds the Throne while they starve the coast of ore.  Here be directions to the river breach.  Knowing hands can loosen the magical plug and flood the mines again.  Do this for me, and for yourselves if you be against the Throne.  I'll make my way out without you, but I'll black a few eyes on the way.~ */
  IF ~~ THEN DO ~EscapeArea()
~ UNSOLVED_JOURNAL #87902 /* ~Flooding the Cloakwood mine

The dwarf Yeslick has told us a great deal about the Cloakwood mine.  He and his clan used to work in the mine, but they dug into an underground river.  In the ensuing flood, most of Yeslick's clan died.  Yeslick later met the man known as Rieltar, an important figure in the Iron Throne.  With Yeslick's help Rieltar reopened the mine for the Iron Throne.  Yeslick tells us that a mage called Davaeorn runs the mine from the fourth level.  If we were to get a key from him we could flood the entire mine site.~ */ EXIT
END

IF ~~ THEN BEGIN 5 // from:
  SAY #87905 /* ~Fancy meeting the bunch of you again.  Well, I better git going, I have heads to bust up.~ */
  IF ~~ THEN EXIT
END

IF WEIGHT #0 ~StateCheck(Myself,STATE_CHARMED)
~ THEN BEGIN 6 // from:
  SAY #86964 /* ~I've been in prison for a considerable time.  I really don't know what's been happening on the surface.  All I can tell you is this:  whatever those Iron Throne crooks are up to, it's not good, not good at all.~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 7 // from:
  SAY #86963 /* ~Fine, I'll be leaving the likes of you, then. This party's been just another prison for me.~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 8 // from:
  SAY #86962 /* ~You've been good to me, friends.  Bust some heads, will you?~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 9 // from: _SHARTJ:81.1
  SAY #99794 /* ~Then stop yer gawkin' and start adventurin'! We've got a mine to flood!~ */
  IF ~~ THEN DO ~SetGlobalTimer("Yeslick","GLOBAL",FIVE_DAYS)
JoinParty()
~ UNSOLVED_JOURNAL #87902 /* ~Flooding the Cloakwood mine

The dwarf Yeslick has told us a great deal about the Cloakwood mine.  He and his clan used to work in the mine, but they dug into an underground river.  In the ensuing flood, most of Yeslick's clan died.  Yeslick later met the man known as Rieltar, an important figure in the Iron Throne.  With Yeslick's help Rieltar reopened the mine for the Iron Throne.  Yeslick tells us that a mage called Davaeorn runs the mine from the fourth level.  If we were to get a key from him we could flood the entire mine site.~ */ EXIT
END
