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

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

IF WEIGHT #4 /* Triggers after states #: 7 8 9 even though they appear after this state */
~NumTimesTalkedTo(0)
~ THEN BEGIN 0 // from:
  SAY #7827 /* ~Anything you can do to help that druid will also help us. See to it that he succeeds. I thank you for your efforts.~ */
  IF ~ReactionGT(LastTalkedToBy(),HOSTILE_UPPER)
~ THEN REPLY #7836 /* ~You seem honest enough, though I have no way of proving it. I extend the thanks of the town if it is true, though I am still left with this Cernd fellow inside.~ */ GOTO 1
  IF ~ReactionLT(LastTalkedToBy(),NEUTRAL_LOWER)
~ THEN REPLY #7837 /* ~Perhaps he might. You shall have to ask him. I leave you to it. Other concerns of the town must still be dealt with.~ */ GOTO 4
  IF ~ReactionLT(LastTalkedToBy(),FRIENDLY_LOWER)
~ THEN REPLY #7838 /* ~Then I shall free him. A pity you will not meet him; he's interesting, and keen on traveling.  Farewell. Other concerns of the town must still be dealt with.~ */ GOTO 2
  IF ~ReactionGT(LastTalkedToBy(),NEUTRAL_UPPER)
~ THEN REPLY #7839 /* ~I will speak with him. No doubt he would like to be elsewhere.~ */ GOTO 5
  IF ~ReactionGT(LastTalkedToBy(),HOSTILE_UPPER)
~ THEN REPLY #7840 /* ~I have no interest in him.~ */ GOTO 3
  IF ~ReactionLT(LastTalkedToBy(),NEUTRAL_LOWER)
~ THEN REPLY #7841 /* ~Very well, I shall follow you.~ */ GOTO 6
END

IF ~~ THEN BEGIN 1 // from: 0.0
  SAY #7828 /* ~We are in your debt for whatever you did. I thank you, and Trademeet thanks you.  Not only have the attacks stopped but we have received reparations from the remaining druids.~ [CeLoga08] */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 2 // from: 0.2
  SAY #7829 /* ~Hail and hello! Excuse my jovial manner but we have been celebrating. Trademeet was under siege not long ago, and now the attacks have simply stopped.~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 3 // from: 0.4
  SAY #7830 /* ~I kept him for his own safety, but now I'm not sure what to do with him. Perhaps you could escort him out of town? Either that or just see that he knows he can go.~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 4 // from: 0.1
  SAY #7831 /* ~Mordenkainen's Sword~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 5 // from: 0.3
  SAY #7832 /* ~Mordenkainen's Sword (Evocation) 
Level: 7
Range: 0
Duration: 1 round/level 
Casting Time: 7
Area of Effect: Special
Saving Throw: None 

Upon casting this spell, the wizard brings into being a shimmering, swordlike plane of force that leaps into the wizards hands.  The sword acts as a +4 weapon in all respects, as well it inflicts 5-20 damage when a successful attack is made in combat.  Once the spell is cast the sword will float in the air completely under the control of the caster.  Note that this does not prevent the caster from doing any other actions during the spell duration.~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 6 // from: 0.5
  SAY #7833 /* ~I took care of your problem. A shadow druid took over the local grove.~ */
  IF ~~ THEN EXIT
END

IF WEIGHT #0 ~ReactionGT(LastTalkedToBy(),NEUTRAL_UPPER)
~ THEN BEGIN 7 // from:
  SAY #7834 /* ~Perhaps he would travel with me. I have developed an appreciation of druids.~ */
  IF ~~ THEN EXIT
END

IF WEIGHT #1 ~ReactionLT(LastTalkedToBy(),FRIENDLY_LOWER)
~ THEN BEGIN 8 // from:
  SAY #7835 /* ~I have no interest in helping this prisoner of yours.~ */
  IF ~~ THEN EXIT
END

IF WEIGHT #2 ~StateCheck(Myself,STATE_CHARMED)
~ THEN BEGIN 9 // from:
  SAY #7842 /* ~I will not come with you.~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 10 // from:
  SAY #9295 /* ~Duergar~ */
  IF ~~ THEN EXIT
END
