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

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

IF WEIGHT #0 ~NumTimesTalkedTo(0)
~ THEN BEGIN 0 // from:
  SAY #15329 /* ~Energy Cells~ */
  IF ~~ THEN GOTO 1
END

IF ~~ THEN BEGIN 1 // from: 0.0
  SAY #15332 /* ~Equipment and Weapons~ */
  IF ~~ THEN JOURNAL #15787 /* ~Inside the Drow City

I have been assigned the task of rescuing a Matron Mother's daughter from the illithids that have captured her.  I am to meet Solaufein near the entrance to the illithid city, in the southeast portion of the main cavern area, where he will draw the illithids from their astral travel.  I should delay as little as possible.~ */ EXIT
END

IF WEIGHT #3 /* Triggers after states #: 3 4 even though they appear after this state */
~Global("HelpVoltine","GLOBAL",0)
~ THEN BEGIN 2 // from:
  SAY #15334 /* ~Portal Key~ */
  IF ~~ THEN EXIT
END

IF WEIGHT #1 ~Dead("Gervisse")
Global("HelpVoltine","GLOBAL",0)
~ THEN BEGIN 3 // from:
  SAY #15335 /* ~Wand of Fire Key~ */
  IF ~~ THEN DO ~GiveItem("WAND09",LastTalkedToBy)
SetGlobal("HelpVoltine","GLOBAL",1)
~ EXIT
END

IF WEIGHT #2 ~false()~ THEN BEGIN 4 // from:
  SAY #15336 /* ~Wand of Frost Key~ */
  IF ~~ THEN EXIT
END

IF WEIGHT #4 ~True()
~ THEN BEGIN 5 // from:
  SAY #15337 /* ~Wand of Summoning Key~ */
  IF ~~ THEN EXIT
END
