// creator  : weidu.exe (version 23600)
// argument : RASAAD.DLG
// game     : .
// source   : ./DATA/DIALOG.BIF
// dialog   : lang\en_us/dialog.tlk
// dialogF  : (none)

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

IF ~~ THEN BEGIN 0 // from:
  SAY #29019 /* ~As the full moon wanes and disappears, so too does our association come to an end. I pray that it will one day wax again, and we shall travel the realms side by side. I shall return to Nashkel; if you ever wish to learn more about the Sun Soul, please do not hesitate to come speak with me.~ [RSADD1] */
  IF ~~ THEN EXIT
END

IF WEIGHT #1 /* Triggers after states #: 30 even though they appear after this state */
~  NumberOfTimesTalkedTo(0)
AreaCheck("AR4800")
~ THEN BEGIN 1 // from:
  SAY #28625 /* ~See? Such feats are easy when you learn to focus their energies through the light of Selûne.~ [RSA101] */
  IF ~~ THEN REPLY #28626 /* ~What exactly are you doing there?~ */ DO ~SetGlobal("RASAAD_PLOT","GLOBAL",1)
SetGlobal("RASAAD_FIRST_MEETING","LOCALS",1)
~ GOTO 2
  IF ~~ THEN REPLY #28627 /* ~Are you some sort of circus performer?~ */ DO ~SetGlobal("RASAAD_PLOT","GLOBAL",1)
SetGlobal("RASAAD_FIRST_MEETING","LOCALS",1)
~ GOTO 3
  IF ~~ THEN REPLY #28628 /* ~I bet you can't do that while juggling an axe, a soup bowl, and a hedgehog.~ */ DO ~SetGlobal("RASAAD_PLOT","GLOBAL",1)
SetGlobal("RASAAD_FIRST_MEETING","LOCALS",1)
~ GOTO 4
END

IF ~~ THEN BEGIN 2 // from: 30.0 1.0
  SAY #28629 /* ~Thank you for asking. My name is Rasaad. I am merely demonstrating some of the ways in which we Sun Soul monks reflect our spiritual light through physical activity.~ [RSA102] */
  IF ~~ THEN GOTO 5
END

IF ~~ THEN BEGIN 3 // from: 1.1
  SAY #28630 /* ~No, but I understand why you might think so. My name is Rasaad. I am merely demonstrating some of the ways in which we Sun Soul monks reflect our spiritual light through physical activity.~ [RSA103] */
  IF ~~ THEN GOTO 5
END

IF ~~ THEN BEGIN 4 // from: 1.2
  SAY #28631 /* ~Perhaps not yet, but as I continue to improve my physical and mental skills by turning my inner light outward, I may yet perform such feats. My name is Rasaad, and I am a humble monk of the Sun Soul.~ [RSA104] */
  IF ~~ THEN GOTO 5
END

IF WEIGHT #2 /* Triggers after states #: 30 even though they appear after this state */
~  Global("RASAAD_FIRST_MEETING","LOCALS",1)
~ THEN BEGIN 5 // from: 4.0 3.0 2.0
  SAY #28632 /* ~May I tell you more about the Order of the Sun Soul?~ [RSA105] */
  IF ~~ THEN REPLY #21151 /* ~Please do.~ */ DO ~SetGlobal("RASAAD_FIRST_MEETING","LOCALS",2)
~ GOTO 6
  IF ~  PartyGoldGT(1)
~ THEN REPLY #28633 /* ~Look, if you're just asking for money, here's a gold. Don't spend it all in one place.~ */ DO ~SetGlobal("RASAAD_FIRST_MEETING","LOCALS",2)
~ GOTO 7
  IF ~~ THEN REPLY #28634 /* ~No, I don't have time for this.~ */ GOTO 8
END

IF ~~ THEN BEGIN 6 // from: 5.0
  SAY #28635 /* ~The Order of the Sun Soul was founded during the time of—~ [RSA106] */
  IF ~~ THEN EXTERN ~RSCOMN01~ 0
END

IF ~~ THEN BEGIN 7 // from: 5.1
  SAY #28636 /* ~While I am grateful for your coin, I would be pleased to offer you something in—~ [RSA107] */
  IF ~~ THEN EXTERN ~RSCOMN01~ 0
END

IF ~~ THEN BEGIN 8 // from: 5.2
  SAY #28637 /* ~I see. May Selûne bless you on your trav—~ [RSA108] */
  IF ~~ THEN EXTERN ~RSCOMN01~ 0
END

IF ~~ THEN BEGIN 9 // from:
  SAY #28638 /* ~I have come not to fight but to demonstrate a few—~ [RSA110] */
  IF ~~ THEN EXTERN ~RSCOMN01~ 1
END

IF ~~ THEN BEGIN 10 // from:
  SAY #28639 /* ~I am not afraid to defend myself, but I do not seek out conflict without purpose. Instead I wish to share the light of the Moonmaiden.~ [RSA112] */
  IF ~~ THEN EXTERN ~RSCOMN01~ 2
END

IF ~~ THEN BEGIN 11 // from:
  SAY #28640 /* ~A Sun Soul monk uses mind, body, and spirit in equal portions, but not to prove his martial superiority. Rather, he seeks to better the lives of those around him.~ [RSA114] */
  IF ~~ THEN EXTERN ~RSCOMN01~ 3
END

IF ~~ THEN BEGIN 12 // from: 14.0
  SAY #28641 /* ~I thank you. It is not always easy. In truth, I enjoy a good fight if it is to improve my skills or to defend a just cause. Fighting that man would have enlightened no one.~ [RSA116] */
  IF ~~ THEN GOTO 19
END

IF ~~ THEN BEGIN 13 // from: 14.1
  SAY #28642 /* ~No, you are correct. Many people find excitement only in physical action. To find true enlightenment, one must combine the physical with the mental and the spiritual.~ [RSA117] */
  IF ~~ THEN GOTO 19
END

IF ~~ THEN BEGIN 14 // from:
  SAY #28643 /* ~It may seem that way, but the truth is that I reserve my fighting skills for when they are needed, not for the amusement of others.~ [RSA118] */
  IF ~~ THEN REPLY #28644 /* ~All right. I'll take your word for that.~ */ GOTO 12
  IF ~~ THEN REPLY #28645 /* ~Aw, I think I speak for everyone here when I say a good fight would have been more exciting.~ */ GOTO 13
  IF ~~ THEN REPLY #28646 /* ~I'm not buying that. Here's ten gold. It's for you if you can beat the big boy here. Otherwise, it's for him.~ */ EXTERN ~RSCOMN01~ 4
END

IF ~~ THEN BEGIN 15 // from:
  SAY #28647 /* ~This conflict is unnecessary.~ [RSA220] */
  IF ~~ THEN DO ~StartCutSceneMode()
StartCutScene("CUTRS1A")
~ EXIT
END

IF ~~ THEN BEGIN 16 // from:
  SAY #28648 /* ~Here, allow me to help you stand.~ [RSA222] */
  IF ~~ THEN EXTERN ~RSCOMN01~ 6
END

IF ~~ THEN BEGIN 17 // from:
  SAY #28649 /* ~You will be all right. Just go home and lie down for a while.~ [RSA224] */
  IF ~~ THEN EXTERN ~RSCOMN01~ 7
END

IF ~~ THEN BEGIN 18 // from:
  SAY #28650 /* ~That was unfortunate, but perhaps he has learned a lesson about engaging in unnecessary violence. And I will put the gold to good use.~ [RSA226] */
  IF ~~ THEN REPLY #28651 /* ~I learned a lesson, too. You're more capable than you look.~ */ GOTO 19
  IF ~~ THEN REPLY #28652 /* ~You could probably teach me a few things, too—not that I'm looking for a fight.~ */ GOTO 19
  IF ~~ THEN REPLY #28653 /* ~And here I thought monks just illuminated manuscripts and brewed beer.~ */ GOTO 19
END

IF WEIGHT #3 /* Triggers after states #: 30 even though they appear after this state */
~  NumTimesTalkedToGT(0)
~ THEN BEGIN 19 // from: 18.2 18.1 18.0 13.0 12.0
  SAY #28654 /* ~You seem like someone who would appreciate the tenets of my order. May I tell you more about Selûne and the Sun Soul monks?~ [RSB101] */
  IF ~~ THEN REPLY #28655 /* ~Tell me why you worship Selûne.~ */ GOTO 21
  IF ~~ THEN REPLY #28656 /* ~Tell me more about the Order of the Sun Soul.~ */ GOTO 23
  IF ~~ THEN REPLY #28657 /* ~Actually, I want you to join me.~ */ GOTO 28
  IF ~~ THEN REPLY #28658 /* ~Not now. Farewell.~ */ DO ~AddJournalEntry(30772,USER)
~ GOTO 29
END

IF ~~ THEN BEGIN 20 // from: 27.0 25.1 22.2 22.1 22.0
  SAY #28659 /* ~What more would you like to know?~ [RSB102] */
  IF ~~ THEN REPLY #28655 /* ~Tell me why you worship Selûne.~ */ GOTO 21
  IF ~~ THEN REPLY #28656 /* ~Tell me more about the Order of the Sun Soul.~ */ GOTO 23
  IF ~~ THEN REPLY #28660 /* ~Actually, I want to ask you to join me.~ */ GOTO 28
  IF ~~ THEN REPLY #28661 /* ~That's enough for now. Farewell.~ */ GOTO 29
END

IF ~~ THEN BEGIN 21 // from: 20.0 19.0
  SAY #28662 /* ~Of the inheritors of Amaunator's power, Selûne is the most ardent foe of spiritual darkness. After all, she is the bright opposite of Shar, the Mistress of the Night.~ [RSB103] */
  IF ~~ THEN GOTO 22
END

IF ~~ THEN BEGIN 22 // from: 21.0
  SAY #28663 /* ~The Moonmaiden's reflected radiance inspires us to shine our inner light upon those in need. In the face of lies, we offer truth. In the face of hatred, we offer compassion.~ [RSB104] */
  IF ~~ THEN REPLY #28664 /* ~That sounds like a good philosophy.~ */ GOTO 20
  IF ~~ THEN REPLY #28665 /* ~You don't go door to door with this stuff, I hope.~ */ GOTO 20
  IF ~~ THEN REPLY #28666 /* ~As long as your beliefs don't interfere with my quest, you can believe what you like.~ */ GOTO 20
END

IF ~~ THEN BEGIN 23 // from: 20.1 19.1
  SAY #28667 /* ~The Order of the Sun Soul was founded in the days of ancient Netheril. Then it was called the Brotherhood of the Sun, and its members dedicated themselves to the sun-god Amaunator.~ [RSB105] */
  IF ~~ THEN GOTO 24
END

IF ~~ THEN BEGIN 24 // from: 23.0
  SAY #28668 /* ~With the fall of Netheril, Amaunator vanished. Some believe his power now resides in other gods. Different factions of my Order turned to them: most to Lathander, some to Selûne, and a very few to Sune.~ [RSB106] */
  IF ~~ THEN GOTO 25
END

IF ~~ THEN BEGIN 25 // from: 24.0
  SAY #28669 /* ~My sect of the Order reveres Selûne, the Moonmaiden.~ [RSB107] */
  IF ~  InParty("VICONIA")
~ THEN EXTERN ~VICONJ~ 6
  IF ~  !InParty("VICONIA")
~ THEN GOTO 20
END

IF ~~ THEN BEGIN 26 // from:
  SAY #28670 /* ~I beg to differ, lady. Since you are drow, I can understand why you cling to the shadows. Yet perhaps you can still find your way into the light.~ [RSB108] */
  IF ~~ THEN EXTERN ~VICONJ~ 7
END

IF ~~ THEN BEGIN 27 // from:
  SAY #28671 /* ~I do not think we shall soon agree on this point, but I welcome your efforts to test my faith. You will find it strong.~ [RSB111] */
  IF ~~ THEN GOTO 20
END

IF ~~ THEN BEGIN 28 // from: 20.2 19.2
  SAY #28672 /* ~I have had trouble making ends meet since coming to Nashkel. If doing so gives me the chance to help others find their inner light, I would be glad to join you.~ [RSB112] */
  IF ~~ THEN DO ~SetGlobal("RASAAD_IN_PARTY","GLOBAL",1)
SetGlobalTimer("RASAAD_CDEV1_TIMER","GLOBAL",ONE_DAY)
AddJournalEntry(30771,INFO)
CreateCreatureObjectOffset("RASAAD6",Myself,[0.0])
DestroySelf()
ActionOverride("RASAAD",MakeGlobal())
ActionOverride("RASAAD",JoinParty())
~ EXIT
  IF ~  XPLT(Player1,27550)
~ THEN DO ~SetGlobal("RASAAD_IN_PARTY","GLOBAL",1)
SetGlobalTimer("RASAAD_CDEV1_TIMER","GLOBAL",ONE_DAY)
AddJournalEntry(30771,INFO)
CreateCreatureObjectOffset("RASAAD4",Myself,[0.0])
DestroySelf()
ActionOverride("RASAAD",MakeGlobal())
ActionOverride("RASAAD",JoinParty())
~ EXIT
  IF ~  XPLT(Player1,6050)
~ THEN DO ~SetGlobal("RASAAD_IN_PARTY","GLOBAL",1)
SetGlobalTimer("RASAAD_CDEV1_TIMER","GLOBAL",ONE_DAY)
AddJournalEntry(30771,INFO)
CreateCreatureObjectOffset("RASAAD2",Myself,[0.0])
DestroySelf()
ActionOverride("RASAAD",MakeGlobal())
ActionOverride("RASAAD",JoinParty())
~ EXIT
  IF ~  XPLT(Player1,1500)
~ THEN DO ~SetGlobal("RASAAD_IN_PARTY","GLOBAL",1)
SetGlobalTimer("RASAAD_CDEV1_TIMER","GLOBAL",ONE_DAY)
AddJournalEntry(30771,INFO)
JoinParty()
~ EXIT
  IF ~  InParty("MINSC")
~ THEN DO ~SetGlobal("RASAAD_IN_PARTY","GLOBAL",1)
SetGlobalTimer("RASAAD_CDEV1_TIMER","GLOBAL",ONE_DAY)
AddJournalEntry(30771,INFO)
CreateCreatureObjectOffset("RASAAD6",Myself,[0.0])
DestroySelf()
ActionOverride("RASAAD",MakeGlobal())
ActionOverride("RASAAD",JoinParty())
~ EXTERN ~MINSCJ~ 10
  IF ~  InParty("MINSC")
XPLT(Player1,27550)
~ THEN DO ~SetGlobal("RASAAD_IN_PARTY","GLOBAL",1)
SetGlobalTimer("RASAAD_CDEV1_TIMER","GLOBAL",ONE_DAY)
AddJournalEntry(30771,INFO)
CreateCreatureObjectOffset("RASAAD4",Myself,[0.0])
DestroySelf()
ActionOverride("RASAAD",MakeGlobal())
ActionOverride("RASAAD",JoinParty())
~ EXTERN ~MINSCJ~ 10
  IF ~  InParty("MINSC")
XPLT(Player1,6050)
~ THEN DO ~SetGlobal("RASAAD_IN_PARTY","GLOBAL",1)
SetGlobalTimer("RASAAD_CDEV1_TIMER","GLOBAL",ONE_DAY)
AddJournalEntry(30771,INFO)
CreateCreatureObjectOffset("RASAAD2",Myself,[0.0])
DestroySelf()
ActionOverride("RASAAD",MakeGlobal())
ActionOverride("RASAAD",JoinParty())
~ EXTERN ~MINSCJ~ 10
  IF ~  InParty("MINSC")
XPLT(Player1,1500)
~ THEN DO ~SetGlobal("RASAAD_IN_PARTY","GLOBAL",1)
SetGlobalTimer("RASAAD_CDEV1_TIMER","GLOBAL",ONE_DAY)
SetDialogue("RASAADJ")
AddJournalEntry(30771,INFO)
JoinParty()
~ EXTERN ~MINSCJ~ 10
  IF ~  InParty("VICONIA")
~ THEN DO ~SetGlobal("RASAAD_IN_PARTY","GLOBAL",1)
SetGlobalTimer("RASAAD_CDEV1_TIMER","GLOBAL",ONE_DAY)
AddJournalEntry(30771,INFO)
CreateCreatureObjectOffset("RASAAD6",Myself,[0.0])
DestroySelf()
ActionOverride("RASAAD",MakeGlobal())
ActionOverride("RASAAD",JoinParty())
~ EXTERN ~VICONJ~ 8
  IF ~  InParty("VICONIA")
XPLT(Player1,27550)
~ THEN DO ~SetGlobal("RASAAD_IN_PARTY","GLOBAL",1)
SetGlobalTimer("RASAAD_CDEV1_TIMER","GLOBAL",ONE_DAY)
AddJournalEntry(30771,INFO)
CreateCreatureObjectOffset("RASAAD4",Myself,[0.0])
DestroySelf()
ActionOverride("RASAAD",MakeGlobal())
ActionOverride("RASAAD",JoinParty())
~ EXTERN ~VICONJ~ 8
  IF ~  InParty("VICONIA")
XPLT(Player1,6050)
~ THEN DO ~SetGlobal("RASAAD_IN_PARTY","GLOBAL",1)
SetGlobalTimer("RASAAD_CDEV1_TIMER","GLOBAL",ONE_DAY)
AddJournalEntry(30771,INFO)
CreateCreatureObjectOffset("RASAAD2",Myself,[0.0])
DestroySelf()
ActionOverride("RASAAD",MakeGlobal())
ActionOverride("RASAAD",JoinParty())
~ EXTERN ~VICONJ~ 8
  IF ~  InParty("VICONIA")
XPLT(Player1,1500)
~ THEN DO ~SetGlobal("RASAAD_IN_PARTY","GLOBAL",1)
SetGlobalTimer("RASAAD_CDEV1_TIMER","GLOBAL",ONE_DAY)
SetDialogue("RASAADJ")
AddJournalEntry(30771,INFO)
JoinParty()
~ EXTERN ~VICONJ~ 8
  IF ~  InParty("KHALID")
~ THEN DO ~SetGlobal("RASAAD_IN_PARTY","GLOBAL",1)
SetGlobalTimer("RASAAD_CDEV1_TIMER","GLOBAL",ONE_DAY)
AddJournalEntry(30771,INFO)
CreateCreatureObjectOffset("RASAAD6",Myself,[0.0])
DestroySelf()
ActionOverride("RASAAD",MakeGlobal())
ActionOverride("RASAAD",JoinParty())
~ EXTERN ~KHALIJ~ 7
  IF ~  InParty("KHALID")
XPLT(Player1,27550)
~ THEN DO ~SetGlobal("RASAAD_IN_PARTY","GLOBAL",1)
SetGlobalTimer("RASAAD_CDEV1_TIMER","GLOBAL",ONE_DAY)
AddJournalEntry(30771,INFO)
CreateCreatureObjectOffset("RASAAD4",Myself,[0.0])
DestroySelf()
ActionOverride("RASAAD",MakeGlobal())
ActionOverride("RASAAD",JoinParty())
~ EXTERN ~KHALIJ~ 7
  IF ~  InParty("KHALID")
XPLT(Player1,6050)
~ THEN DO ~SetGlobal("RASAAD_IN_PARTY","GLOBAL",1)
SetGlobalTimer("RASAAD_CDEV1_TIMER","GLOBAL",ONE_DAY)
AddJournalEntry(30771,INFO)
CreateCreatureObjectOffset("RASAAD2",Myself,[0.0])
DestroySelf()
ActionOverride("RASAAD",MakeGlobal())
ActionOverride("RASAAD",JoinParty())
~ EXTERN ~KHALIJ~ 7
  IF ~  InParty("KHALID")
XPLT(Player1,1500)
~ THEN DO ~SetGlobal("RASAAD_IN_PARTY","GLOBAL",1)
SetGlobalTimer("RASAAD_CDEV1_TIMER","GLOBAL",ONE_DAY)
SetDialogue("RASAADJ")
AddJournalEntry(30771,INFO)
JoinParty()
~ EXTERN ~KHALIJ~ 7
END

IF ~~ THEN BEGIN 29 // from: 20.3 19.3
  SAY #28673 /* ~Farewell. Until we meet again, may you walk in moonlight.~ [RSB116] */
  IF ~~ THEN EXIT
END

IF WEIGHT #0 ~  NumberOfTimesTalkedTo(0)
Dead("NIMBUL")
Global("NIMBULFIGHT","LOCALS",2)
AreaCheck("AR4800")
~ THEN BEGIN 30 // from:
  SAY #32135 /* ~You should not make a habit of picking fights in the street, my friend. Be careful when inviting danger into your life, for it comes all too willingly.~ */
  IF ~~ THEN REPLY #32137 /* ~Who're you?~ */ GOTO 2
  IF ~~ THEN REPLY #32136 /* ~Sorry, I don't have time for proverbs right now.~ */ EXIT
END
