Advertisement
Guest User

Untitled

a guest
Sep 3rd, 2015
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 11.16 KB | None | 0 0
  1. // creator : weidu (version 23800)
  2. // argument : BGVICONI.DLG
  3. // game : .
  4. // source : ./DATA/TB#GEN95.BIF
  5. // dialog : ./dialog.tlk
  6. // dialogF : (none)
  7.  
  8. BEGIN ~BGVICONI~
  9.  
  10. IF ~ NumberOfTimesTalkedTo(0)
  11. ~ THEN BEGIN 0 // from:
  12. SAY #96246 /* ~Help me! If you don't help me, they'll kill me.~ */
  13. IF ~~ THEN REPLY #96247 /* ~Sorry lady, it's not our business.~ */ GOTO 2
  14. IF ~~ THEN REPLY #96248 /* ~Calm down, we'll help you. Just tell us who you are.~ */ GOTO 1
  15. IF ~ Global("X#SHARTEELVICONI1","GLOBAL",0)
  16. IfValidForPartyDialogue("sharteel")
  17. InMyArea("sharteel")
  18. !StateCheck("sharteel",CD_STATE_NOTVALID)
  19. ~ THEN DO ~SetGlobal("X#SHARTEELVICONI1","GLOBAL",1)
  20. ~ EXTERN ~SHARTJ~ 115
  21. IF ~ Global("SanVicInve","GLOBAL",0)
  22. IfValidForPartyDialogue("CVSandr")
  23. ~ THEN DO ~SetGlobal("SanVicInve","GLOBAL",1)
  24. ~ EXTERN ~CVSANDRJ~ 1062
  25. END
  26.  
  27. IF ~~ THEN BEGIN 1 // from: 17.1 0.1
  28. SAY #96249 /* ~My name is Viconia, I... I'm not from around here, thank you so much for helping.~ */
  29. IF ~~ THEN DO ~CreateCreature("FLAM2",[1400.310],14)
  30. ActionOverride("FlamingFist2",SetInterrupt(FALSE))
  31. ActionOverride("FlamingFist2",ChangeAIScript("INITDLG",OVERRIDE))
  32. ActionOverride("FlamingFist2",MoveToPoint([1440.270]))
  33. ActionOverride("FlamingFist2",SetInterrupt(TRUE))
  34. ~ EXIT
  35. END
  36.  
  37. IF ~~ THEN BEGIN 2 // from: 17.0 0.0
  38. SAY #96250 /* ~I should have expected that from craven surface dwellers. May you rot in all the hells.~ */
  39. IF ~~ THEN DO ~EscapeAreaDestroy(90)
  40. ~ EXIT
  41. END
  42.  
  43. IF ~~ THEN BEGIN 3 // from:
  44. SAY #96251 /* ~They lie, I've done nothing wrong.~ */
  45. IF ~~ THEN REPLY #96252 /* ~If you want her, have her. We won't get in your way.~ */ EXTERN ~FLAM2~ 3
  46. IF ~~ THEN REPLY #96253 /* ~You'll have to get through us if you want her.~ */ EXTERN ~FLAM2~ 2
  47. IF ~~ THEN REPLY #96254 /* ~What do you intend to do once you have her?~ */ EXTERN ~FLAM2~ 1
  48. IF ~ Global("BGavinViconia1","GLOBAL",0)
  49. IfValidForPartyDialogue("B!GAVIN")
  50. InMyArea("B!GAVIN")
  51. !StateCheck("B!GAVIN",CD_STATE_NOTVALID)
  52. !Global("endofbg1","GLOBAL",2)
  53. ~ THEN DO ~SetGlobal("BGavinViconia1","GLOBAL",1)
  54. ~ EXTERN ~B!GAVINJ~ 107
  55. END
  56.  
  57. IF ~~ THEN BEGIN 4 // from:
  58. SAY #96255 /* ~Just like surface dwellers, traitorous scum!~ */
  59. IF ~~ THEN DO ~Enemy()
  60. ~ EXIT
  61. END
  62.  
  63. IF ~ Dead("FlamingFist2")
  64. ReactionGT(LastTalkedToBy,NEUTRAL_UPPER)
  65. ~ THEN BEGIN 5 // from:
  66. SAY #96256 /* ~I thank you for risking yourselves on my behalf. I know what you are thinking, you see my dark skin and won't trust me for it. I am a dark elf, but I'm an outcast, I need your help. I no longer receive my powers from the spider goddess you surface dwellers fear so; the Goddess Shar grants me wisdom, and she is a surface divinity. If you'd let me join your group, I would be most grateful. I have nowhere else to go.~ */
  67. IF ~~ THEN REPLY #96257 /* ~Sorry, we can't harbor a drow.~ */ GOTO 8
  68. IF ~~ THEN REPLY #96258 /* ~We don't judge someone by their race, we'll take you in.~ */ GOTO 9
  69. IF ~~ THEN REPLY #96259 /* ~It has nothing to do with race, we just don't need another person along to worry about. Sorry.~ */ GOTO 8
  70. IF ~ Global("X#JaheiraViconia2","GLOBAL",0)
  71. IfValidForPartyDialogue("jaheira")
  72. InMyArea("jaheira")
  73. !StateCheck("jaheira",CD_STATE_NOTVALID)
  74. ~ THEN DO ~SetGlobal("X#JaheiraViconia2","GLOBAL",1)
  75. ~ EXTERN ~JAHEIRAJ~ 684
  76. IF ~ Global("SanVicObli1","GLOBAL",0)
  77. IfValidForPartyDialogue("CVSandr")
  78. ~ THEN DO ~SetGlobal("SanVicObli1","GLOBAL",1)
  79. ~ EXTERN ~CVSANDRJ~ 1063
  80. END
  81.  
  82. IF ~ Dead("FlamingFist2")
  83. ReactionLT(LastTalkedToBy,FRIENDLY_LOWER)
  84. ReactionGT(LastTalkedToBy,HOSTILE_UPPER)
  85. ~ THEN BEGIN 6 // from:
  86. SAY #96260 /* ~I thank you. I know you may not be willing to give me a chance because of my dark skin. I am a drow, but if you give me a chance you won't regret it. Can I join with you? I need friends, now more than ever.~ */
  87. IF ~~ THEN REPLY #96261 /* ~We'll never trust a dark elf, get out of our sight!~ */ GOTO 8
  88. IF ~~ THEN REPLY #96262 /* ~We need the extra help, so of course we'll take you in.~ */ GOTO 9
  89. IF ~~ THEN REPLY #96263 /* ~We can't afford any dead weight, sorry.~ */ GOTO 8
  90. IF ~ Global("X#JaheiraViconia3","GLOBAL",0)
  91. IfValidForPartyDialogue("jaheira")
  92. InMyArea("jaheira")
  93. !StateCheck("jaheira",CD_STATE_NOTVALID)
  94. ~ THEN DO ~SetGlobal("X#JaheiraViconia3","GLOBAL",1)
  95. ~ EXTERN ~JAHEIRAJ~ 683
  96. IF ~ Global("SanVicObli2","GLOBAL",0)
  97. IfValidForPartyDialogue("CVSandr")
  98. ~ THEN DO ~SetGlobal("SanVicObli2","GLOBAL",1)
  99. ~ EXTERN ~CVSANDRJ~ 1064
  100. END
  101.  
  102. IF ~ Dead("FlamingFist2")
  103. ReactionLT(LastTalkedToBy,NEUTRAL_LOWER)
  104. ~ THEN BEGIN 7 // from:
  105. SAY #96264 /* ~I thank you for your help, but more will be on their way, perhaps our paths will cross again.~ */
  106. IF ~~ THEN DO ~EscapeAreaDestroy(90)
  107. ~ EXIT
  108. IF ~ Global("X#JaheiraViconia4","GLOBAL",0)
  109. IfValidForPartyDialogue("jaheira")
  110. InMyArea("jaheira")
  111. !StateCheck("jaheira",CD_STATE_NOTVALID)
  112. ~ THEN DO ~SetGlobal("X#JaheiraViconia4","GLOBAL",1)
  113. ~ EXTERN ~JAHEIRAJ~ 682
  114. IF ~ Global("SanVicObli3","GLOBAL",0)
  115. IfValidForPartyDialogue("CVSandr")
  116. ~ THEN DO ~SetGlobal("SanVicObli3","GLOBAL",1)
  117. ~ EXTERN ~CVSANDRJ~ 1065
  118. END
  119.  
  120. IF ~~ THEN BEGIN 8 // from: 16.2 16.0 15.2 15.0 6.2 6.0 5.2 5.0
  121. SAY #96265 /* ~You surface dwellers are so weak, I should be glad that you turned me down.~ */
  122. IF ~~ THEN DO ~EscapeAreaDestroy(90)
  123. ~ EXIT
  124. IF ~ Global("SanVicObli4","GLOBAL",0)
  125. IfValidForPartyDialogue("CVSandr")
  126. ~ THEN DO ~SetGlobal("SanVicObli4","GLOBAL",1)
  127. ~ EXTERN ~CVSANDRJ~ 1066
  128. END
  129.  
  130. IF ~~ THEN BEGIN 9 // from: 16.1 15.1 6.1 5.1
  131. SAY #96266 /* ~I won't disappoint you, I promise.~ */
  132. IF ~~ THEN DO ~ReallyForceSpellRES("fjxpmooc",Myself)
  133. DestroyItem("minhp1")
  134. JoinParty()
  135. ~ EXIT
  136. IF ~ Global("X#VICONI9","GLOBAL",0)
  137. IfValidForPartyDialogue("jaheira")
  138. InMyArea("jaheira")
  139. !StateCheck("jaheira",CD_STATE_NOTVALID)
  140. ~ THEN DO ~SetGlobal("X#VICONI9","GLOBAL",1)
  141. ~ GOTO 18
  142. IF ~ Global("X#VICONI9","GLOBAL",0)
  143. IfValidForPartyDialogue("jaheira")
  144. InMyArea("jaheira")
  145. !StateCheck("jaheira",CD_STATE_NOTVALID)
  146. ~ THEN DO ~SetGlobal("X#VICONI9","GLOBAL",1)
  147. ~ EXTERN ~JAHEIRAJ~ 1054
  148. IF ~ Global("X#VICONI9","GLOBAL",0)
  149. IfValidForPartyDialogue("ajantis")
  150. InMyArea("ajantis")
  151. !StateCheck("ajantis",CD_STATE_NOTVALID)
  152. ~ THEN DO ~SetGlobal("X#VICONI9","GLOBAL",1)
  153. ~ GOTO 20
  154. IF ~ Global("X#VICONI9","GLOBAL",0)
  155. IfValidForPartyDialogue("ajantis")
  156. InMyArea("ajantis")
  157. !StateCheck("ajantis",CD_STATE_NOTVALID)
  158. ~ THEN DO ~SetGlobal("X#VICONI9","GLOBAL",1)
  159. ~ EXTERN ~AJANTJ~ 340
  160. END
  161.  
  162. IF ~ StateCheck(Myself,STATE_CHARMED)
  163. ~ THEN BEGIN 10 // from:
  164. SAY #95592 /* ~I come from the city of Menzoberranzan. My family was slaughtered, and I was forced to flee to the surface. When I reached the realms of light, the traitor Lolth abandoned me. I would have been lost had it not been for the divine Shar! She took me in and gave me the will and strength to survive! It makes me so happy that I have found friends such as you to make my acclimatization to the surface a little easier.~ */
  165. IF ~~ THEN EXIT
  166. END
  167.  
  168. IF ~ True()
  169. ~ THEN BEGIN 11 // from:
  170. SAY #96267 /* ~I am sorry to be so nervous, but the surface is so large, unending when compared to my homeland.~ */
  171. IF ~~ THEN EXIT
  172. END
  173.  
  174. IF ~ False()
  175. ~ THEN BEGIN 12 // from:
  176. SAY #95585 /* ~A welcome release. Your weakling surface ways have left a bitter taste in my mouth. Perhaps I should seek shelter back under the cover of the earth. I understood my fellows there.~ */
  177. IF ~~ THEN DO ~LeaveParty()
  178. EscapeAreaDestroy(90)
  179. ~ EXIT
  180. END
  181.  
  182. IF ~ False()
  183. ~ THEN BEGIN 13 // from:
  184. SAY #95586 /* ~You have been very kind to me in this strange and lighted world. Perhaps you are right, though. The drow were meant to be a race apart... Take care of yourselves, alright?~ */
  185. IF ~~ THEN DO ~LeaveParty()
  186. SetDialogue("viconip")
  187. ~ EXIT
  188. END
  189.  
  190. IF ~~ THEN BEGIN 14 // from:
  191. SAY #133652 /* ~Your underlings lack... respect for you, rivvin, to speak out of turn... pfft...~ */
  192. IF ~~ THEN DO ~EscapeAreaDestroy(90)
  193. ~ EXIT
  194. END
  195.  
  196. IF ~~ THEN BEGIN 15 // from:
  197. SAY #133652 /* ~Your underlings lack... respect for you, rivvin, to speak out of turn... pfft...~ */
  198. IF ~~ THEN REPLY #96261 /* ~We'll never trust a dark elf, get out of our sight!~ */ GOTO 8
  199. IF ~~ THEN REPLY #96262 /* ~We need the extra help, so of course we'll take you in.~ */ GOTO 9
  200. IF ~~ THEN REPLY #96263 /* ~We can't afford any dead weight, sorry.~ */ GOTO 8
  201. END
  202.  
  203. IF ~~ THEN BEGIN 16 // from:
  204. SAY #133652 /* ~Your underlings lack... respect for you, rivvin, to speak out of turn... pfft...~ */
  205. IF ~~ THEN REPLY #96257 /* ~Sorry, we can't harbor a drow.~ */ GOTO 8
  206. IF ~~ THEN REPLY #96258 /* ~We don't judge someone by their race, we'll take you in.~ */ GOTO 9
  207. IF ~~ THEN REPLY #96259 /* ~It has nothing to do with race, we just don't need another person along to worry about. Sorry.~ */ GOTO 8
  208. END
  209.  
  210. IF ~~ THEN BEGIN 17 // from:
  211. SAY #134925 /* ~Rivvin, in the Underdark a weak-spirited drow dies. The strong one lives, and I am not yet a rotting corpse.~ */
  212. IF ~~ THEN REPLY #96247 /* ~Sorry lady, it's not our business.~ */ GOTO 2
  213. IF ~~ THEN REPLY #96248 /* ~Calm down, we'll help you. Just tell us who you are.~ */ GOTO 1
  214. END
  215.  
  216. IF ~~ THEN BEGIN 18 // from: 9.1
  217. SAY #138961 /* ~Save your pity for our foes!~ */
  218. IF ~~ THEN DO ~ReallyForceSpellRES("fjxpmooc",Myself)
  219. DestroyItem("minhp1")
  220. JoinParty()
  221. ~ EXIT
  222. END
  223.  
  224. IF ~~ THEN BEGIN 19 // from:
  225. SAY #138961 /* ~Save your pity for our foes!~ */
  226. IF ~~ THEN DO ~ReallyForceSpellRES("fjxpmooc",Myself)
  227. DestroyItem("minhp1")
  228. JoinParty()
  229. ~ EXIT
  230. END
  231.  
  232. IF ~~ THEN BEGIN 20 // from: 9.3
  233. SAY #138959 /* ~I bet you will, jaluk!~ */
  234. IF ~~ THEN DO ~ReallyForceSpellRES("fjxpmooc",Myself)
  235. DestroyItem("minhp1")
  236. JoinParty()
  237. ~ EXIT
  238. IF ~ IfValidForPartyDialogue("jaheira")
  239. InMyArea("jaheira")
  240. !StateCheck("jaheira",CD_STATE_NOTVALID)
  241. ~ THEN GOTO 21
  242. IF ~ IfValidForPartyDialogue("jaheira")
  243. InMyArea("jaheira")
  244. !StateCheck("jaheira",CD_STATE_NOTVALID)
  245. ~ THEN EXTERN ~JAHEIRAJ~ 1055
  246. END
  247.  
  248. IF ~~ THEN BEGIN 21 // from: 20.1
  249. SAY #138961 /* ~Save your pity for our foes!~ */
  250. IF ~~ THEN DO ~ReallyForceSpellRES("fjxpmooc",Myself)
  251. DestroyItem("minhp1")
  252. JoinParty()
  253. ~ EXIT
  254. END
  255.  
  256. IF ~~ THEN BEGIN 22 // from:
  257. SAY #138959 /* ~I bet you will, jaluk!~ */
  258. IF ~~ THEN DO ~ReallyForceSpellRES("fjxpmooc",Myself)
  259. DestroyItem("minhp1")
  260. JoinParty()
  261. ~ EXIT
  262. IF ~ IfValidForPartyDialogue("jaheira")
  263. InMyArea("jaheira")
  264. !StateCheck("jaheira",CD_STATE_NOTVALID)
  265. ~ THEN GOTO 23
  266. IF ~ IfValidForPartyDialogue("jaheira")
  267. InMyArea("jaheira")
  268. !StateCheck("jaheira",CD_STATE_NOTVALID)
  269. ~ THEN EXTERN ~JAHEIRAJ~ 1056
  270. END
  271.  
  272. IF ~~ THEN BEGIN 23 // from: 22.1
  273. SAY #138961 /* ~Save your pity for our foes!~ */
  274. IF ~~ THEN DO ~ReallyForceSpellRES("fjxpmooc",Myself)
  275. DestroyItem("minhp1")
  276. JoinParty()
  277. ~ EXIT
  278. END
  279.  
  280. IF ~~ THEN BEGIN 24 // from:
  281. SAY #249180 /* ~ Priestess, I recognise how you tried to bring this jaluk to <PRO_HISHER> senses. Maybe you will kill <PRO_HIMHER> soon to lead this group on. Take this from me - we two will meet again.~ */
  282. IF ~~ THEN DO ~GiveItemCreate("Sanwi1","CVSandr",0,0,0)
  283. AddJournalEntry(240058,QUEST)
  284. SetGlobal("IWasKickedOut","LOCALS",1)
  285. EscapeAreaMove("AR6704",800,1085,0)
  286. ~ EXIT
  287. END
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement