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

BEGIN ~DRUIDAD~

IF ~Global("DruidADSpawn","GLOBAL",1)
~ THEN BEGIN 0 // from:
  SAY #58619 /* ~Hello, <CHARNAME>. I come to report of a matter that is of import to the druidic cause and custom.~ */
  IF ~Class(Player1,DRUID_ALL)
LevelGT(Player1,13)
Global("GreatDruid","GLOBAL",0)
~ THEN GOTO 1
  IF ~False()
Class(Player2,DRUID_ALL)
LevelGT(Player2,13)
Global("GreatDruid","GLOBAL",0)
~ THEN GOTO 2
  IF ~False()
Class(Player3,DRUID_ALL)
LevelGT(Player3,13)
Global("GreatDruid","GLOBAL",0)
~ THEN GOTO 3
  IF ~False()
Class(Player4,DRUID_ALL)
LevelGT(Player4,13)
Global("GreatDruid","GLOBAL",0)
~ THEN GOTO 4
  IF ~False()
Class(Player5,DRUID_ALL)
LevelGT(Player5,13)
Global("GreatDruid","GLOBAL",0)
~ THEN GOTO 5
  IF ~False()
Class(Player6,DRUID_ALL)
LevelGT(Player6,13)
Global("GreatDruid","GLOBAL",0)
~ THEN GOTO 6
END

IF ~~ THEN BEGIN 1 // from: 0.0
  SAY #58621 /* ~<CHARNAME>, you are at a very important period in your development as a druid. You have a greater duty that you must assume.~ */
  IF ~~ THEN GOTO 7
END

IF ~~ THEN BEGIN 2 // from: 0.1
  SAY #58622 /* ~As you may have noticed, <PLAYER2> is at an impasse with regard to their druidic abilities. They have ceased to progress.~ */
  IF ~~ THEN GOTO 7
END

IF ~~ THEN BEGIN 3 // from: 0.2
  SAY #58626 /* ~As you may have noticed, <PLAYER3> is at an impasse with regard to their druidic abilities. They have ceased to progress.~ */
  IF ~~ THEN GOTO 7
END

IF ~~ THEN BEGIN 4 // from: 0.3
  SAY #58627 /* ~As you may have noticed, <PLAYER4> is at an impasse with regard to their druidic abilities. They have ceased to progress.~ */
  IF ~~ THEN GOTO 7
END

IF ~~ THEN BEGIN 5 // from: 0.4
  SAY #58628 /* ~As you may have noticed, <PLAYER5> is at an impasse with regard to their druidic abilities. They have ceased to progress.~ */
  IF ~~ THEN GOTO 7
END

IF ~~ THEN BEGIN 6 // from: 0.5
  SAY #58629 /* ~As you may have noticed, <PLAYER6> is at an impasse with regard to their druidic abilities. They have ceased to progress.~ */
  IF ~~ THEN GOTO 7
END

IF ~~ THEN BEGIN 7 // from: 6.0 5.0 4.0 3.0 2.0 1.0
  SAY #58630 /* ~Once a druid has reached this level of experience, it is their duty to return to a druid grove and make a challenge.~ */
  IF ~~ THEN GOTO 8
END

IF ~~ THEN BEGIN 8 // from: 7.0
  SAY #58631 /* ~Only a select number of druids can exist in each level of ability. You must assume this service, and become a Great Druid in the eyes of nature and your fellows.~ */
  IF ~~ THEN GOTO 9
END

IF ~~ THEN BEGIN 9 // from: 8.0
  SAY #58632 /* ~I will inform those of the grove south of Trademeet that you will be returning. Come as soon as you can. It is a great honor to have such a title bestowed.~ */
  IF ~~ THEN DO ~SetGlobalTimer("DruidADReturn","GLOBAL",THREE_DAYS)
EscapeArea()
~ EXIT
END

IF ~Global("DruidADSpawn","GLOBAL",2)
~ THEN BEGIN 10 // from:
  SAY #58633 /* ~I have returned to remind you of how the rituals of the druidic hierarchy must affect your group.~ */
  IF ~Class(Player1,DRUID_ALL)
LevelGT(Player1,13)
Global("GreatDruid","GLOBAL",0)
~ THEN GOTO 11
  IF ~False()
Class(Player2,DRUID_ALL)
LevelGT(Player2,13)
Global("GreatDruid","GLOBAL",0)
~ THEN GOTO 12
  IF ~False()
Class(Player3,DRUID_ALL)
LevelGT(Player3,13)
Global("GreatDruid","GLOBAL",0)
~ THEN GOTO 13
  IF ~False()
Class(Player4,DRUID_ALL)
LevelGT(Player4,13)
Global("GreatDruid","GLOBAL",0)
~ THEN GOTO 14
  IF ~False()
Class(Player5,DRUID_ALL)
LevelGT(Player5,13)
Global("GreatDruid","GLOBAL",0)
~ THEN GOTO 15
  IF ~False()
Class(Player6,DRUID_ALL)
LevelGT(Player6,13)
Global("GreatDruid","GLOBAL",0)
~ THEN GOTO 16
END

IF ~~ THEN BEGIN 11 // from: 10.0
  SAY #58634 /* ~<CHARNAME>, you are at the peak of your ability, and must assume the responsibility that a druid must at your level of experience.~ */
  IF ~~ THEN GOTO 17
END

IF ~~ THEN BEGIN 12 // from: 10.1
  SAY #58635 /* ~<PLAYER2> is at the peak of their abilities, and must assume the responsibilities of a druid of their level. They must challenge at the druid grove.~ */
  IF ~~ THEN GOTO 17
END

IF ~~ THEN BEGIN 13 // from: 10.2
  SAY #58636 /* ~<PLAYER3> is at the peak of their abilities, and must assume the responsibilities of a druid of their level. They must challenge at the druid grove.~ */
  IF ~~ THEN GOTO 17
END

IF ~~ THEN BEGIN 14 // from: 10.3
  SAY #58637 /* ~<PLAYER4> is at the peak of their abilities, and must assume the responsibilities of a druid of their level. They must challenge at the druid grove.~ */
  IF ~~ THEN GOTO 17
END

IF ~~ THEN BEGIN 15 // from: 10.4
  SAY #58638 /* ~<PLAYER5> is at the peak of their abilities, and must assume the responsibilities of a druid of their level. They must challenge at the druid grove.~ */
  IF ~~ THEN GOTO 17
END

IF ~~ THEN BEGIN 16 // from: 10.5
  SAY #58639 /* ~<PLAYER6> is at the peak of their abilities, and must assume the responsibilities of a druid of their level. They must challenge at the druid grove.~ */
  IF ~~ THEN GOTO 17
END

IF ~~ THEN BEGIN 17 // from: 16.0 15.0 14.0 13.0 12.0 11.0
  SAY #58640 /* ~The druids of the grove south of Trademeet the arrival of a challenger. I will inform them that you will be returning there as soon as possible.~ */
  IF ~~ THEN GOTO 18
END

IF ~~ THEN BEGIN 18 // from: 17.0
  SAY #58641 /* ~There is no greater an honor that to challenge for the title of Great Druid. We will expect you soon.~ */
  IF ~~ THEN DO ~EscapeArea()
~ EXIT
END
