// creator  : weidu.exe (version 23600)
// argument : X#RASHEL.DLG
// game     : .
// source   : ./override/X#RASHEL.DLG
// dialog   : lang\en_us/dialog.tlk
// dialogF  : (none)

BEGIN ~X#RASHEL~

IF ~  True()
~ THEN BEGIN 0 // from:
  SAY #48625 /* ~Greetings to you from a humble servant of Lathander, Rashel the Sunray.~ */
  IF ~  !Global("X#CoranSuccubus","GLOBAL",5)
!Global("X#CoranSuccubus","GLOBAL",6)
~ THEN GOTO 1
  IF ~  InParty("coran")
Global("X#CoranSuccubus","GLOBAL",5)
Global("X#CoranBlessed","GLOBAL",0)
~ THEN GOTO 25
  IF ~  InParty("coran")
Global("X#CoranSuccubus","GLOBAL",6)
~ THEN GOTO 21
  IF ~  InParty("coran")
Global("X#CoranSuccubus","GLOBAL",5)
Global("X#CoranBlessed","GLOBAL",1)
~ THEN GOTO 21
  IF ~  InParty("coran")
Global("X#CoranSuccubus","GLOBAL",5)
Global("X#CoranBlessed","GLOBAL",2)
~ THEN GOTO 1
END

IF ~~ THEN BEGIN 1 // from: 0.4 0.0
  SAY #48626 /* ~What kind of aid can I give you?~ */
  IF ~~ THEN REPLY #48627 /* ~Do you sell magical healing, or scrolls?~ */ GOTO 2
  IF ~~ THEN REPLY #48628 /* ~Can you tell us about the lands nearby?~ */ GOTO 4
  IF ~  Gender(Player1,MALE)
~ THEN REPLY #48629 /* ~When are you getting off? I have seen a cozy inn nearby, and was wondering if you'd join me for dinner?~ */ GOTO 22
  IF ~~ THEN REPLY #48630 /* ~Please, tell me about this temple.~ */ GOTO 9
  IF ~  NumTimesTalkedToGT(0)
~ THEN REPLY #48631 /* ~No, thank you, Rashel. Have a good <DAYNIGHT>.~ */ EXIT
END

IF ~~ THEN BEGIN 2 // from: 12.0 8.0 1.0
  SAY #48632 /* ~The Most Radiant of Lathander Kelddath Ormlyr should be able to help you with this, my good <PRO_MANWOMAN>. He can be found in the Song of the Morning Temple. ~ */
  IF ~~ THEN GOTO 3
END

IF ~~ THEN BEGIN 3 // from: 2.0
  SAY #48633 /* ~Is there anything else you wish to know?~ */
  IF ~~ THEN REPLY #48628 /* ~Can you tell us about the lands nearby?~ */ GOTO 4
  IF ~  Gender(Player1,MALE)
~ THEN REPLY #48629 /* ~When are you getting off? I have seen a cozy inn nearby, and was wondering if you'd join me for dinner?~ */ GOTO 22
  IF ~~ THEN REPLY #48630 /* ~Please, tell me about this temple.~ */ GOTO 9
  IF ~~ THEN REPLY #48631 /* ~No, thank you, Rashel. Have a good <DAYNIGHT>.~ */ GOTO 13
END

IF ~~ THEN BEGIN 4 // from: 3.0 1.1
  SAY #48634 /* ~You are now in Beregost, my good <PRO_MANWOMAN>. It was a village once, under the protection of the School of Wizardry. The Ulcaster School it was called, for it was founded by Ulcaster, a conjurer of some renown, but it was ruined by Calishate mages out of fear.~ */
  IF ~~ THEN GOTO 5
END

IF ~~ THEN BEGIN 5 // from: 4.0
  SAY #48635 /* ~But the Most Radiant of Lathander, Kelddath Ormlyr, frowns upon us talking of this haunted place, let alone approaching it.~ */
  IF ~~ THEN GOTO 6
END

IF ~~ THEN BEGIN 6 // from: 5.0
  SAY #48636 /* ~Craumerdaun family of Amn has estates nearby and they breed fine horses, highly prized in Amn and Tethyr.~ */
  IF ~~ THEN GOTO 7
END

IF ~~ THEN BEGIN 7 // from: 6.0
  SAY #48637 /* ~To northwest stands High Hedge, the estate of Thalantyr the Conjurer. He is a loner, I think, and doesn't welcome visitors. However, he's said to be interested in far-off places and things, so if you have anything peculiar for sale, you might try your luck.~ */
  IF ~~ THEN GOTO 8
END

IF ~~ THEN BEGIN 8 // from: 7.0
  SAY #48633 /* ~Is there anything else you wish to know?~ */
  IF ~~ THEN REPLY #48627 /* ~Do you sell magical healing, or scrolls?~ */ GOTO 2
  IF ~  Gender(Player1,MALE)
~ THEN REPLY #48638 /* ~When are you getting off? I have seen a cozy inn nearby and was wondering if you'd join me for dinner?~ */ GOTO 22
  IF ~~ THEN REPLY #48630 /* ~Please, tell me about this temple.~ */ GOTO 9
  IF ~~ THEN REPLY #48631 /* ~No, thank you, Rashel. Have a good <DAYNIGHT>.~ */ GOTO 13
END

IF ~~ THEN BEGIN 9 // from: 8.2 3.2 1.3
  SAY #48639 /* ~*Rashel's face lights up with pride.* The Song of the Morning is the name of our Temple, consecrated in the name of the Morning Lord, Lathander. We protect the good people of Beregost. The servants of the Morning Lord also tend temple fields of potatoes and herb flowers east of the road, and keep sheep on the slopes of the hill topped by the ruined school of Ulcaster.~ */
  IF ~~ THEN GOTO 10
END

IF ~~ THEN BEGIN 10 // from: 9.0
  SAY #48640 /* ~The sheep are more easily watched there, preventing theft and raiding beasts from ravaging them. It allows us some control over expeditions into the ruins and to prevent expansion of Beregost.~ */
  IF ~~ THEN GOTO 11
END

IF ~~ THEN BEGIN 11 // from: 10.0
  SAY #48641 /* ~Over the years, various Amnian merchants have shown a distressing tendency to lay claim to all land within easy reach of the Coast Way that's not strongly defended.~ */
  IF ~~ THEN GOTO 12
END

IF ~~ THEN BEGIN 12 // from: 11.0
  SAY #48633 /* ~Is there anything else you wish to know?~ */
  IF ~~ THEN REPLY #48642 /* ~Do you sell magical healing or scrolls?~ */ GOTO 2
  IF ~  Gender(Player1,MALE)
~ THEN REPLY #48629 /* ~When are you getting off? I have seen a cozy inn nearby, and was wondering if you'd join me for dinner?~ */ GOTO 22
  IF ~~ THEN REPLY #48631 /* ~No, thank you, Rashel. Have a good <DAYNIGHT>.~ */ GOTO 13
END

IF ~~ THEN BEGIN 13 // from: 22.4 12.2 8.3 3.3
  SAY #48643 /* ~Walk in the blessed light of the Sun, my good <PRO_MANWOMAN>.~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 14 // from:
  SAY #48644 /* ~I am not sure I know what you are up to, but I guess there is no harm in restoring a few flowers to life. I will ask 200 gold for the spell.~ */
  IF ~~ THEN REPLY #48645 /* ~200 gold? We can buy a cart full of roses for that price! Blue roses, too! Huh, let us see if we can just kill Natan or do something else... cheaper.~ */ GOTO 15
  IF ~  PartyGoldGT(200)
~ THEN REPLY #48646 /* ~Please do it, my good woman. Here is the money.~ */ DO ~SetGlobal("X#CoranSuccubus","GLOBAL",7)
~ GOTO 17
  IF ~~ THEN REPLY #48647 /* ~Have you ever heard of charity, my good woman? This is as goodly a deed as they come! We met a lady by the Firewine Bridge ruins, Amelia by name, and she is the most beautiful woman I have ever seen. Amelia's betrothed asked her to give him the final answer on her sixteenth birthday. If she agreed to their wedding she was to give him the white roses, and if she disagreed - the reds. Now, Amelia did not like the guy all that much, so she chose the red roses. Her louse of a fiancé, however, found a way to avenge his pride - he hid himself in the ruins, and Amelia, bound by her vow, cannot leave without giving him the flowers. She cannot enter the ruins, either - sounds like that wretch warded the entrance against her. So, we decided to help Amelia, restore the red roses to life, and deliver them to Natan.~ */ GOTO 16
END

IF ~~ THEN BEGIN 15 // from: 14.0
  SAY #48648 /* ~As you wish. Walk in the blessed light of the Sun, my good <PRO_MANWOMAN>.~ */
  IF ~~ THEN DO ~SetGlobal("X#CoranSuccubus","GLOBAL",6)
~ EXIT
END

IF ~~ THEN BEGIN 16 // from: 14.2
  SAY #48649 /* ~You need to restore the flowers to life to commit a goodly deed, then? I... I think I can help you. The spell will be unusual, but I will not ask for money - I am glad to help in a charitable cause.~ */
  IF ~~ THEN DO ~SetGlobal("X#CoranSuccubus","GLOBAL",7)
TakePartyItem("X#COWIRO")
DestroyItem("X#COWIRO")
~ EXTERN ~CORANJ~ 196
END

IF ~~ THEN BEGIN 17 // from: 22.0 21.0 14.1
  SAY #48650 /* ~As you wish, my good <PRO_LADYLORD>.~ */
  IF ~~ THEN DO ~SetGlobal("X#CoranSuccubus","GLOBAL",7)
GiveGoldForce(-200)
TakePartyItem("X#COWIRO")
DestroyItem("X#COWIRO")
~ EXTERN ~CORANJ~ 196
END

IF ~~ THEN BEGIN 18 // from: 26.0 22.2 19.1
  SAY #48651 /* ~May the light of the Morning Lord guide you.~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 19 // from: 26.1
  SAY #48652 /* ~It is too faint and unusual, and I doubt that I can even sense it. But I can bless your companion, just in case. Unfortunately, I will have to do it for a price, as I am afraid my superiors would not agree that the spell is even necessary, let alone life-saving... I will need 100 gold pieces.~ */
  IF ~~ THEN REPLY #48653 /* ~Bless Coran, acolyte, and use the money well to instill the love of light and goodness in the common folk and lords alike.~ */ GOTO 20
  IF ~~ THEN REPLY #48654 /* ~Now, that's a rip-off! We are out of here.~ */ GOTO 18
  IF ~~ THEN REPLY #48655 /* ~The bureaucracy and corruption of priests are well known. Maybe *that's* the evil you are smelling? But one cannot be too careful. Cast the spell, acolyte Rashel.~ */ GOTO 20
END

IF ~~ THEN BEGIN 20 // from: 22.1 21.1 19.2 19.0
  SAY #48656 /* ~Doubt not, your money will be spent wisely.~ */
  IF ~~ THEN DO ~GiveGoldForce(-100)
ReallyForceSpellRES("SPPR101","coran")
SetGlobal("X#CoranBlessed","GLOBAL",2)
~ EXIT
END

IF ~~ THEN BEGIN 21 // from: 0.3 0.2
  SAY #48657 /* ~May the light of the Morning Lord always shine in your heart. You have returned - do you seek help again? ~ */
  IF ~  Global("X#CoranSuccubus","GLOBAL",6)
~ THEN REPLY #48658 /* ~Yes, we decided to restore the roses for the cursed girl.~ */ DO ~SetGlobal("X#CoranSuccubus","GLOBAL",7)
~ GOTO 17
  IF ~  Global("X#CoranSuccubus","GLOBAL",7)
Global("X#CoranBlessed","GLOBAL",0)
~ THEN REPLY #48659 /* ~I changed my mind, Rashel. One cannot be too careful these days. Here are your coins; please, bless Coran.~ */ GOTO 20
  IF ~  Gender(Player1,MALE)
~ THEN REPLY #48629 /* ~When are you getting off? I have seen a cozy inn nearby, and was wondering if you'd join me for dinner?~ */ GOTO 22
  IF ~~ THEN REPLY #48660 /* ~I was just passing by and decided to say hello.~ */ GOTO 23
  IF ~~ THEN REPLY #48661 /* ~Who are you, and how do you know me?~ */ GOTO 24
END

IF ~~ THEN BEGIN 22 // from: 21.2 12.1 8.1 3.1 1.2
  SAY #48662 /* ~I am flattered by your interest in my humble persona, but my heart belongs to the Morning Lord, to whom I serve and to whom all my time belongs.~ */
  IF ~  Global("X#CoranSuccubus","GLOBAL",6)
~ THEN REPLY #48658 /* ~Yes, we decided to restore the roses for the cursed girl.~ */ DO ~SetGlobal("X#CoranSuccubus","GLOBAL",7)
~ GOTO 17
  IF ~  Global("X#CoranSuccubus","GLOBAL",7)
Global("X#CoranBlessed","GLOBAL",0)
~ THEN REPLY #48659 /* ~I changed my mind, Rashel. One cannot be too careful these days. Here are your coins; please, bless Coran.~ */ GOTO 20
  IF ~  Gender(Player1,MALE)
~ THEN REPLY #48663 /* ~So be it, but you do not know what you are missing!~ */ GOTO 18
  IF ~~ THEN REPLY #48660 /* ~I was just passing by and decided to say hello.~ */ GOTO 23
  IF ~~ THEN REPLY #48664 /* ~I'll go, then.~ */ GOTO 13
END

IF ~~ THEN BEGIN 23 // from: 22.3 21.3
  SAY #48665 /* ~Well, hello, then. And welcome to the Song of the Morning.~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 24 // from: 21.4
  SAY #48666 /* ~I must be taking you for someone else. Strange, I was sure that you were that <PRO_MANWOMAN> with roses... I need to study less.~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 25 // from: 0.1
  SAY #48667 /* ~Why do you carry withered flowers into the House of the Morning Lord?~ */
  IF ~~ THEN EXTERN ~CORANJ~ 195
END

IF ~~ THEN BEGIN 26 // from:
  SAY #48672 /* ~I feel a faint sense of evil on these roses... and on your companion. You, however, sound sincere and kind. Maybe I am mistaken.~ */
  IF ~~ THEN REPLY #48673 /* ~You must be mistaken. Thank you for your help.~ */ DO ~SetGlobal("X#CoranBlessed","GLOBAL",1)
GiveItemCreate("X#COFRRO","coran",1,0,0)
~ GOTO 18
  IF ~~ THEN REPLY #48674 /* ~Well, we'll get soon enough to the bottom of this story. However, just in case... can you do anything to take away that evil presence from Coran and the roses? ~ */ DO ~SetGlobal("X#CoranBlessed","GLOBAL",1)
GiveItemCreate("X#COFRRO","coran",1,0,0)
~ GOTO 19
END
