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

BEGIN ~_STONEDL~

IF ~Global("DurStatue","GLOBAL",1)
Global("DurStatx","GLOBAL",0)
~ THEN BEGIN 0 // from:
  SAY #83775 /* ~With me it ended. Speak now of my troubles, to show you have learnt. From where did my pain come? Where did my pain stab home? Where did my pain take root? Where dost my pain reside? Speak and show that you understand.~ */
  IF ~~ THEN REPLY #83776 /* ~From the east it came, and then the south. The west held it next, and now it rests in the north.~ */ GOTO 2
  IF ~~ THEN REPLY #83777 /* ~From the south it came, and then the west. The east held it next, and now it rests in the north.~ */ GOTO 2
  IF ~~ THEN REPLY #83778 /* ~From the west it came, and then the south. The east held it next, and now it rests in the north.~ */ GOTO 1
  IF ~~ THEN REPLY #83779 /* ~From the east it came, and then the west. The south held it next, and now it rests in the north.~ */ GOTO 2
  IF ~~ THEN REPLY #83780 /* ~From the north it came, and then the south. The west held it next, and now it rests back in the north.~ */ GOTO 2
  IF ~~ THEN REPLY #83781 /* ~From the west it came, and then the south. The west held it again, and now it rests in the north.~ */ GOTO 2
  IF ~~ THEN REPLY #83782 /* ~I will not choose yet.~ */ GOTO 3
END

IF ~~ THEN BEGIN 1 // from: 0.2
  SAY #83783 /* ~You have learned a little. You may yet survive.~ */
  IF ~~ THEN DO ~Wait(3)
SetGlobal("DurStatx","GLOBAL",1)
ActionOverride(Player1,LeaveAreaLUAPanic("FW0514","",[2404.1512],12))
ActionOverride(Player1,LeaveAreaLUA("FW0514","",[2404.1512],12))
ActionOverride(Player1,SetMasterArea("FW0500"))
ActionOverride(Player2,LeaveAreaLUA("FW0514","",[2457.1552],12))
ActionOverride(Player3,LeaveAreaLUA("FW0514","",[2502.1591],12))
ActionOverride(Player4,LeaveAreaLUA("FW0514","",[2558.1636],12))
ActionOverride(Player5,LeaveAreaLUA("FW0514","",[2607.1668],12))
ActionOverride(Player6,LeaveAreaLUA("FW0514","",[2665.1703],12))
~ EXIT
END

IF ~~ THEN BEGIN 2 // from: 0.5 0.4 0.3 0.1 0.0
  SAY #83784 /* ~This answer is wrong! You will pay attention! You will begin again!~ */
  IF ~~ THEN DO ~ReallyForceSpell([PC],WIZARD_FIREBALL)
~ EXIT
END

IF ~~ THEN BEGIN 3 // from: 7.6 4.6 0.6
  SAY #83785 /* ~You will choose and choose quickly! Hesitance marks you an outsider.~ */
  IF ~~ THEN EXIT
END

IF ~Global("viking","GLOBAL",1)
Global("vikingx","GLOBAL",0)
~ THEN BEGIN 4 // from:
  SAY #83786 /* ~My father roamed as I, and saw much of the world in his time. Well respected he was, but he had no home. At his end, he died in some far away land, with no dwarven kin by his side. I would not allow such to happen to me. I would not follow his steps that far. I would not be Durlag the clanless. This was my fear. Trace the path of this fear, and show me you have learned.~ */
  IF ~~ THEN REPLY #83787 /* ~It began with you and your need for a home. It grew with your clan, as you feared losing them. It manifested in the invaders that came, but you feared their coming already. It became your home, where it keeps you safe.~ */ GOTO 6
  IF ~~ THEN REPLY #83788 /* ~It began with your clan, and your fear of losing them. The craftsmen fortified this place with it, and then it manifested in the invaders. Now it haunts you always.~ */ GOTO 5
  IF ~~ THEN REPLY #83789 /* ~It began with the invaders and their threats against you. It grew in your people, and the thought that more might perish. It festered within you for a while, before the craftsmen entrenched this place against it.~ */ GOTO 5
  IF ~~ THEN REPLY #83790 /* ~It was in the craftsmen, and the worry that their work would protect you. It was in your people, and then in you as you feared that you could not protect them. It was then in the invaders, that feared your retribution.~ */ GOTO 5
  IF ~~ THEN REPLY #83791 /* ~It began with your people, and their fear of losing their home. The craftsmen built it as best they could, but they were unsure of the quality they delivered. You were afraid of the invaders, but in the end they feared you.~ */ GOTO 5
  IF ~~ THEN REPLY #83792 /* ~It began with you, but it rested mainly in your fear of the invaders. It followed to your people, and then to the very walls of this place, which were entrenched by the craftsmen.~ */ GOTO 5
  IF ~~ THEN REPLY #83782 /* ~I will not choose yet.~ */ GOTO 3
END

IF ~~ THEN BEGIN 5 // from: 4.5 4.4 4.3 4.2 4.1
  SAY #83793 /* ~You have not listened! You will answer again!~ */
  IF ~~ THEN DO ~ReallyForceSpell([PC],WIZARD_LIGHTNING_BOLT)
~ EXIT
END

IF ~~ THEN BEGIN 6 // from: 4.0
  SAY #83794 /* ~You know a little more of me. You may yet live.~ */
  IF ~~ THEN DO ~Wait(3)
SetGlobal("vikingx","GLOBAL",2)
ActionOverride(Player1,LeaveAreaLUAPanic("FW0514","",[2404.1512],12))
ActionOverride(Player1,LeaveAreaLUA("FW0514","",[2404.1512],12))
ActionOverride(Player1,SetMasterArea("FW0500"))
ActionOverride(Player2,LeaveAreaLUA("FW0514","",[2457.1552],12))
ActionOverride(Player3,LeaveAreaLUA("FW0514","",[2502.1591],12))
ActionOverride(Player4,LeaveAreaLUA("FW0514","",[2558.1636],12))
ActionOverride(Player5,LeaveAreaLUA("FW0514","",[2607.1668],12))
ActionOverride(Player6,LeaveAreaLUA("FW0514","",[2665.1703],12))
~ EXIT
END

IF ~Global("Durtomb","GLOBAL",1)
Global("Durtombx","GLOBAL",0)
~ THEN BEGIN 7 // from:
  SAY #83795 /* ~This is the end of things. Here I stood and struck them down as they came. My family and my clan, with their false faces; they dropped all pretense and drew their weapons against me. I fought them to the last, killing the shapechangers that had taken their forms. I cursed them for destroying the dream, but they were not the real evil. The real evil could not save my people before this deception. The real evil hid from life in the face of this tragedy. The real evil deserves the blame. This is the end of things. Answer where blame has fallen.~ */
  IF ~~ THEN REPLY #83796 /* ~The blame falls upon the invaders who attacked mercilessly, and on your people who could not defend themselves. It falls upon the craftsmen that built this evil place and on you for telling them to. The blame is shared by all, in your eyes~ */ GOTO 8
  IF ~~ THEN REPLY #83797 /* ~The craftsmen encouraged you, and egged you on, so you are without blame. Your people demanded too much from you, so you are without blame. The invaders were unstoppable, so you think you are without blame. All others contributed to your downfall.~ */ GOTO 8
  IF ~~ THEN REPLY #83798 /* ~The blame begins with the invaders, but they attacked with supposed good reason. It could be on your people, but they were in the shelter of your confidence. The craftsmen only did their jobs as directed. In your eyes, you are the one to blame for all that has happened.~ */ GOTO 9
  IF ~~ THEN REPLY #83799 /* ~Your people are without blame because the invaders were unstoppable. The invaders are not to blame because they were fighting for survival. The craftsmen just did their jobs, and you could not foresee the attack so you are free also. None are to blame in your eyes.~ */ GOTO 8
  IF ~~ THEN REPLY #83800 /* ~Your people must share blame for their inability to fight, and the crafters must share blame for their willingness to encourage you. You must share blame because you began it all. The Invaders are not to blame, for they only did what is in their natures to do.~ */ GOTO 8
  IF ~~ THEN REPLY #83801 /* ~The invaders are to blame for the slaughter of your people, and should be blamed for the helplessness they felt. They also contributed to your hiring of the craftsmen, so they are indirectly to blame for the tower as it stands. They are the true evil in your eyes.~ */ GOTO 8
  IF ~~ THEN REPLY #83802 /* ~I will not choose now.~ */ GOTO 3
END

IF ~~ THEN BEGIN 8 // from: 7.5 7.4 7.3 7.1 7.0
  SAY #83803 /* ~You have failed to understand! You will answer again!~ */
  IF ~~ THEN DO ~ReallyForceSpell([PC],WIZARD_CLOUDKILL)
~ EXIT
END

IF ~~ THEN BEGIN 9 // from: 7.2
  SAY #83804 /* ~You have understood. You may yet survive what I could not.~ */
  IF ~~ THEN DO ~Wait(3)
SetGlobal("Durtombx","GLOBAL",1)
ActionOverride(Player1,LeaveAreaLUAPanic("FW0514","",[2404.1512],12))
ActionOverride(Player1,LeaveAreaLUA("FW0514","",[2404.1512],12))
ActionOverride(Player1,SetMasterArea("FW0500"))
ActionOverride(Player2,LeaveAreaLUA("FW0514","",[2457.1552],12))
ActionOverride(Player3,LeaveAreaLUA("FW0514","",[2502.1591],12))
ActionOverride(Player4,LeaveAreaLUA("FW0514","",[2558.1636],12))
ActionOverride(Player5,LeaveAreaLUA("FW0514","",[2607.1668],12))
ActionOverride(Player6,LeaveAreaLUA("FW0514","",[2665.1703],12))
~ EXIT
END
