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

BEGIN ~RASHAD~

IF ~NumTimesTalkedTo(0)
~ THEN BEGIN 0 // from:
  SAY #2180 /* ~The golem must now be activated. This machine seems to have no function that accomplishes that. You must look elsewhere.~ */
  IF ~~ THEN REPLY #2186 /* ~Llarsh~ */ GOTO 1
  IF ~Global("EltanPoison","GLOBAL",1)
~ THEN REPLY #2187 /* ~Llarsh~ */ GOTO 1
  IF ~~ THEN REPLY #2188 /* ~Hervo~ */ GOTO 2
  IF ~~ THEN REPLY #2189 /* ~Hervo~ */ GOTO 2
END

IF ~~ THEN BEGIN 1 // from: 0.1 0.0
  SAY #2181 /* ~Now that the golem has been activated, there is no further use for this machine.~ */
  IF ~~ THEN DO ~ApplySpell(Myself,DOPPLEGANGER_CHANGE_DEFAULT)
~ EXIT
END

IF ~~ THEN BEGIN 2 // from: 0.3 0.2
  SAY #2182 /* ~The golem awakes and is transported out of the machine.~ */
  IF ~~ THEN DO ~ApplySpell(Myself,DOPPLEGANGER_CHANGE_DEFAULT)
~ EXIT
END

IF ~~ THEN BEGIN 3 // from:
  SAY #2183 /* ~Elder Orb~ */
  IF ~Global("TalkedToScar","GLOBAL",1)
~ THEN DO ~ApplySpell(Myself,DOPPLEGANGER_CHANGE_DEFAULT)
~ GOTO 4
END

IF ~~ THEN BEGIN 4 // from: 3.0
  SAY #2184 /* ~Ranger~ */
  IF ~~ THEN DO ~Enemy()
~ EXIT
END

IF ~~ THEN BEGIN 5 // from:
  SAY #2185 /* ~Ranger~ */
  IF ~~ THEN DO ~Die()
~ EXIT
END
