9
3

BrazGutpounder.lua 24 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492
  1. --[[
  2. Script Name : SpawnScripts/BigBend/BrazGutpounder.lua
  3. Script Purpose : Braz Gutpounder
  4. Script Author : torsten
  5. Script Date : 2022.07.12
  6. Script Notes :
  7. --]]
  8. require "SpawnScripts/Generic/DialogModule"
  9. local ASubtleReminder = 5637
  10. local TrollishDelights = 5639
  11. local TrollPatrol = 5641
  12. local GnomoreGnomesteaks = 5642
  13. local TrollAdventures = 5643
  14. function spawn(NPC)
  15. ProvidesQuest(NPC, ASubtleReminder)
  16. ProvidesQuest(NPC, TrollishDelights)
  17. ProvidesQuest(NPC, TrollPatrol)
  18. ProvidesQuest(NPC, GnomoreGnomesteaks)
  19. ProvidesQuest(NPC, TrollAdventures)
  20. end
  21. function respawn(NPC)
  22. spawn(NPC)
  23. end
  24. function hailed(NPC, Spawn)
  25. local race = GetRace(Spawn)
  26. FaceTarget(NPC, Spawn)
  27. if race == 14 then
  28. if not HasQuest(Spawn, ASubtleReminder) and not HasCompletedQuest(Spawn, ASubtleReminder) then
  29. Dialog10(NPC, Spawn)
  30. end
  31. if HasCompletedQuest(Spawn, ASubtleReminder) then
  32. if not HasQuest(Spawn, TrollishDelights) and not HasCompletedQuest(Spawn, TrollishDelights) then
  33. Dialog6(NPC, Spawn)
  34. end
  35. end
  36. if HasCompletedQuest(Spawn, TrollishDelights) then
  37. if not HasQuest(Spawn, TrollPatrol) and not HasCompletedQuest(Spawn, TrollPatrol) then
  38. Dialog17(NPC, Spawn)
  39. end
  40. end
  41. if HasCompletedQuest(Spawn, TrollPatrol) then
  42. if not HasQuest(Spawn, GnomoreGnomesteaks) and not HasCompletedQuest(Spawn, GnomoreGnomesteaks) then
  43. Dialog21(NPC, Spawn)
  44. end
  45. end
  46. if HasCompletedQuest(Spawn, GnomoreGnomesteaks) then
  47. if not HasQuest(Spawn, TrollAdventures) and not HasCompletedQuest(Spawn, TrollAdventures) then
  48. Dialog25(NPC, Spawn)
  49. end
  50. end
  51. if GetQuestStep(Spawn, ASubtleReminder) == 4 then
  52. SetStepComplete(Spawn, ASubtleReminder, 4)
  53. Dialog6(NPC, Spawn)
  54. end
  55. if GetQuestStep(Spawn, TrollishDelights) == 3 then
  56. SetStepComplete(Spawn, TrollishDelights, 3)
  57. Dialog17(NPC, Spawn)
  58. end
  59. if GetQuestStep(Spawn, TrollPatrol) == 6 then
  60. SetStepComplete(Spawn, TrollPatrol, 6)
  61. Dialog21(NPC, Spawn)
  62. end
  63. if GetQuestStep(Spawn, GnomoreGnomesteaks) == 3 then
  64. SetStepComplete(Spawn, GnomoreGnomesteaks, 3)
  65. Dialog25(NPC, Spawn)
  66. end
  67. end
  68. RandomGreeting(NPC, Spawn)
  69. end
  70. function RandomGreeting(NPC, Spawn)
  71. local choice = MakeRandomInt(1,10)
  72. if choice == 1 then
  73. PlayFlavor(NPC, "", "Uwic jla dxio hcjwphc bs rc nbo nnmrhfjhbgrp", "", 0, 0, Spawn, 15)
  74. elseif choice == 2 then
  75. PlayFlavor(NPC, "", "Njmg awq ooky gccwwwr mw nw urs yeoqazuqgkey", "", 0, 0, Spawn, 15)
  76. elseif choice == 3 then
  77. PlayFlavor(NPC, "", "Ol' Braz fink gunna go far in dis city!", "", 0, 0, Spawn, 15)
  78. elseif choice == 4 then
  79. PlayFlavor(NPC, "", "Ol' Braz fink dat ain't done wif dat fing.", "", 0, 0, Spawn, 15)
  80. elseif choice == 5 then
  81. PlayFlavor(NPC, "", "Braz not want nuttin' ta do wit not-a-troll!", "", 0, 0, Spawn, 15)
  82. elseif choice == 6 then
  83. PlayFlavor(NPC, "", "Uqzp fiu bbji bxsqilv ob ff lnx vwpbyzfgxdgl", "", 0, 0, Spawn, 15)
  84. elseif choice == 7 then
  85. PlayFlavor(NPC, "", "Nznz zyx guan yartcyj fk ud ybq zuexuqdphowk", "", 0, 0, Spawn, 15)
  86. elseif choice == 8 then
  87. PlayVoice(NPC, "voiceover/english/voice_emotes/greetings/greetings_3_1032.mp3", 0, 0, Spawn)
  88. elseif choice == 9 then
  89. PlayVoice(NPC, "voiceover/english/voice_emotes/greetings/greetings_1_1032.mp3", 0, 0, Spawn)
  90. elseif choice == 10 then
  91. PlayVoice(NPC, "voiceover/english/voice_emotes/greetings/greetings_2_1032.mp3", 0, 0, Spawn)
  92. end
  93. end
  94. --====================== Quest 1
  95. function Dialog10(NPC, Spawn)
  96. FaceTarget(NPC, Spawn)
  97. Dialog.New(NPC, Spawn)
  98. Dialog.AddDialog("Huzzah! I knowed Nujam would be comin' soon! Dey sayz so much 'bout ya, ol' Braz couldn't hardly wait for yaz!")
  99. Dialog.AddVoiceover("mentor_braz_gutpounder/fprt_hood1/braz_gutpounder001.mp3", 2367644174, 3212958772)
  100. Dialog.AddLanguage(15)
  101. Dialog.AddOption("Whut ol' Braz want?", "Dialog22")
  102. Dialog.AddOption("Get on with it, you oaf. It's a travesty that gutter-spoken trolls like you exist.", "Dialog28")
  103. Dialog.AddOption("A'wright! It's good to be wanted.", "Dialog22")
  104. Dialog.Start()
  105. end
  106. function Dialog28(NPC, Spawn)
  107. FaceTarget(NPC, Spawn)
  108. Dialog.New(NPC, Spawn)
  109. Dialog.AddDialog("Nujam finks he so smart. Har har har! Not tell you history of why we here den. Dat teach you! Ol' Braz not stupid, been here in da Bend for long time, seen many young trolls get heads bashed in by not listenin'!")
  110. Dialog.AddVoiceover("mentor_braz_gutpounder/fprt_hood1/braz_gutpounder003.mp3", 2634593249, 1624619122)
  111. Dialog.AddLanguage(15)
  112. Dialog.AddOption("Alright, Braz, continue. I didn't truly mean to offend.", "Dialog1")
  113. Dialog.AddOption("I don't need your history lesson. I'll find my own way!")
  114. Dialog.Start()
  115. end
  116. function Dialog22(NPC, Spawn)
  117. FaceTarget(NPC, Spawn)
  118. Dialog.New(NPC, Spawn)
  119. Dialog.AddDialog("Braz lern da fick new trolls da way of da Bend. Yessir, da Overlord's city don't take so gud to us goin' 'round eatin' everyfing we see no more.")
  120. Dialog.AddVoiceover("mentor_braz_gutpounder/fprt_hood1/braz_gutpounder002.mp3", 1648756246, 1571329846)
  121. Dialog.AddLanguage(15)
  122. Dialog.AddOption("What next? Soon dey have us trolls be eatin' wif forks n' sticks.", "Dialog1")
  123. Dialog.AddOption("Nujam not need a history lesson! I show Freeport whut it needs, not udder way 'round!")
  124. Dialog.Start()
  125. end
  126. function Dialog1(NPC, Spawn)
  127. FaceTarget(NPC, Spawn)
  128. Dialog.New(NPC, Spawn)
  129. Dialog.AddDialog("So den, listen gud! We'z here in da Big Bend. Why Nujam asks? Cuz dey can't keep us well. Dey finks dat t'rowin us in wit da ogres keeps us quiet.")
  130. Dialog.AddVoiceover("mentor_braz_gutpounder/fprt_hood1/braz_gutpounder004.mp3", 2053971510, 2987636532)
  131. Dialog.AddLanguage(15)
  132. Dialog.AddOption("No ogre gunna keep dis troll quiet!", "Dialog19")
  133. Dialog.AddOption("Do go on.", "Dialog19")
  134. Dialog.Start()
  135. end
  136. function Dialog19(NPC, Spawn)
  137. FaceTarget(NPC, Spawn)
  138. Dialog.New(NPC, Spawn)
  139. Dialog.AddDialog("It work ok, ol' Braz finks. No one botha us in da Bend. Da guards is all ogres n' trolls, picked special for us by da Freeport Militia. Dey knows dere beat, n' dey stick to it.")
  140. Dialog.AddVoiceover("mentor_braz_gutpounder/fprt_hood1/braz_gutpounder005.mp3", 1186376668, 3038803836)
  141. Dialog.AddLanguage(15)
  142. Dialog.AddOption("Daz right! We keeps our own! Say us more!", "Dialog4")
  143. Dialog.AddOption("Seems appropriate. What else is there?", "Dialog4")
  144. Dialog.Start()
  145. end
  146. function Dialog4(NPC, Spawn)
  147. FaceTarget(NPC, Spawn)
  148. Dialog.New(NPC, Spawn)
  149. Dialog.AddDialog("Now ol' Braz gotcha! Wants ta hear more ya do! I tells ya, but it's cuttin' inta da time Braz be needin' for some special work. But I bet a new troll wif lots of da energy could be doin' dis stuff fast. Whutcha say? Help ol' Braz out?")
  150. Dialog.AddVoiceover("mentor_braz_gutpounder/fprt_hood1/braz_gutpounder006.mp3", 1724164202, 843755403)
  151. Dialog.AddLanguage(15)
  152. Dialog.AddOption("Yeh! Nujam help demz dat help Nujam.", "Dialog23")
  153. Dialog.AddOption("Charming. I suppose I can assist.", "Dialog23")
  154. Dialog.AddOption("Noz, I dun fink so.")
  155. Dialog.AddOption("No thanks, I don't think I need more of this.")
  156. Dialog.Start()
  157. end
  158. function Dialog23(NPC, Spawn)
  159. FaceTarget(NPC, Spawn)
  160. Dialog.New(NPC, Spawn)
  161. Dialog.AddDialog("So, howz it go? Fick-headed Ruzb give Nujam any problems? Ol' Braz get real mean, mean like Ruzb not want!")
  162. Dialog.AddVoiceover("mentor_braz_gutpounder/fprt_hood1/braz_gutpounder007.mp3", 1102536605, 2439059510)
  163. Dialog.AddLanguage(15)
  164. Dialog.AddOption("Him not give me noooo problems. We all gud. I 'splained it to him reel gud.", "Dialog9")
  165. Dialog.AddOption("Don't worry, I've explained to him the proper... diet.", "Dialog9")
  166. Dialog.Start()
  167. end
  168. function Dialog9(NPC, Spawn)
  169. FaceTarget(NPC, Spawn)
  170. Dialog.New(NPC, Spawn)
  171. Dialog.AddDialog("Gud den! Braz tell yaz more when yaz get back. Dere's dis troll we call Fick-headed Ruzb. He keep eatin' da lil' gnomies from o'er in Temple Street. Youz go n' tell him to knock it off if he be doin' it 'gain.")
  172. Dialog.AddVoiceover("mentor_braz_gutpounder/fprt_hood1/braz_gutpounder008.mp3", 3013529972, 3485417502)
  173. Dialog.AddLanguage(15)
  174. Dialog.AddOption("Yessir, mista Braz. I be right back! Tell him not to eat da gnomes. I gots it!", "Dialog20")
  175. Dialog.AddOption("I suppose so. It wouldn't do to have him be eating the gnomes, I suppose.", "Dialog20")
  176. Dialog.Start()
  177. end
  178. function Dialog20(NPC, Spawn)
  179. FaceTarget(NPC, Spawn)
  180. Dialog.New(NPC, Spawn)
  181. Dialog.AddDialog("See?! Braz knew he could count on yaz. Nujam is a stand-up troll Braz always sayz! Youz be comin' back in a bit, and ol' Braz be helpin' ya some more. Nujam see, we trolls take da gud care of each other, yessir we do.")
  182. Dialog.AddVoiceover("mentor_braz_gutpounder/fprt_hood1/braz_gutpounder009.mp3", 4277467869, 198458243)
  183. Dialog.AddLanguage(15)
  184. Dialog.AddOption("Yessir we do, yessir we do!")
  185. Dialog.AddOption("We'll have to wait and see.")
  186. Dialog.Start()
  187. if not HasQuest(Spawn, ASubtleReminder) and not HasCompletedQuest(Spawn, ASubtleReminder) then
  188. OfferQuest(NPC, Spawn, ASubtleReminder)
  189. end
  190. end
  191. --===============================Quest 2
  192. function Dialog6(NPC, Spawn)
  193. FaceTarget(NPC, Spawn)
  194. Dialog.New(NPC, Spawn)
  195. Dialog.AddDialog("Gud, gud! Youz back, n' ol' Braz is ready ta 'splain all da more 'bout whut goes on in da Bend. Youz ready? I knowz ya gots lots ta do in da Big Bend...")
  196. Dialog.AddVoiceover("mentor_braz_gutpounder/fprt_hood1/braz_gutpounder010.mp3", 2288132986, 2296597755)
  197. Dialog.AddLanguage(15)
  198. Dialog.AddOption("Ohs yessir, mista Braz! Goodiee!", "Dialog13")
  199. Dialog.AddOption("Why Braz Gutpounder, is that a hint of guile I hear?", "Dialog13")
  200. Dialog.Start()
  201. end
  202. function Dialog13(NPC, Spawn)
  203. FaceTarget(NPC, Spawn)
  204. Dialog.New(NPC, Spawn)
  205. Dialog.AddDialog("Us trolls is da favoritest people of Cazic-Thule. We knowz he not 'round so much, but sometimes Braz be feelin' like da lil' ones has just a bit more fear in dem o' Braz. Den again, maybe dat's just da blood on Braz' teef.")
  206. Dialog.AddVoiceover("mentor_braz_gutpounder/fprt_hood1/braz_gutpounder011.mp3", 2333998515, 4037225321)
  207. Dialog.AddLanguage(15)
  208. Dialog.AddOption("Har har har, Braz so funny!", "Dialog8")
  209. Dialog.AddOption("Yes. Very humorous. I almost detected that wit again.", "Dialog8")
  210. Dialog.Start()
  211. end
  212. function Dialog8(NPC, Spawn)
  213. FaceTarget(NPC, Spawn)
  214. Dialog.New(NPC, Spawn)
  215. Dialog.AddDialog("Braz not know whut youz talkin' bout. Hush up before da other trolls hear ya, or Braz'll hav' ta get reeeel angry. Youz no like angry Braz.")
  216. Dialog.AddVoiceover("mentor_braz_gutpounder/fprt_hood1/braz_gutpounder012.mp3", 2019993026, 3107133657)
  217. Dialog.AddLanguage(15)
  218. Dialog.AddOption("Alright Braz, I'll bite. What's next?", "Dialog14")
  219. Dialog.AddOption("I'll just be going now. I don't think I need another history lesson.")
  220. Dialog.Start()
  221. end
  222. function Dialog14(NPC, Spawn)
  223. FaceTarget(NPC, Spawn)
  224. Dialog.New(NPC, Spawn)
  225. Dialog.AddDialog("Some o' da other trolls sayz we shudda been bowin' to da Inkie god, Innoruuk. Not so sayz Braz. Der no fear in dat one's nearness, only da hatred.")
  226. Dialog.AddVoiceover("mentor_braz_gutpounder/fprt_hood1/braz_gutpounder013.mp3", 3902515970, 2686844030)
  227. Dialog.AddLanguage(15)
  228. Dialog.AddOption("Yessir! None of dat weak hate god! All da trollz be worshippin' da Thule!", "Dialog16")
  229. Dialog.AddOption("You know, there might just be wisdom in that...", "Dialog16")
  230. Dialog.Start()
  231. end
  232. function Dialog16(NPC, Spawn)
  233. FaceTarget(NPC, Spawn)
  234. Dialog.New(NPC, Spawn)
  235. Dialog.AddDialog("No matter tho'. Braz finks da gods all gone, and we can do whut we wants. An' right now, Braz wants some o' dem big n' juicy rats by da Sprawl gate! Nujam be gettin' dem if he wants some more history. An' ol' Braz may juz hav'a some'tin-some'tin for yaz too!")
  236. Dialog.AddVoiceover("mentor_braz_gutpounder/fprt_hood1/braz_gutpounder014.mp3", 2937462756, 4237727989)
  237. Dialog.AddLanguage(15)
  238. Dialog.AddOption("Datz a nice fing you do, Braz. I help yaz, yes I do!")
  239. Dialog.AddOption("Oh goodiee! You mean I'll get a treat?!")
  240. Dialog.Start()
  241. if not HasQuest(Spawn, TrollishDelights) and not HasCompletedQuest(Spawn, TrollishDelights) then
  242. OfferQuest(NPC, Spawn, TrollishDelights)
  243. end
  244. end
  245. --================Quest 3
  246. function Dialog17(NPC, Spawn)
  247. FaceTarget(NPC, Spawn)
  248. Dialog.New(NPC, Spawn)
  249. Dialog.AddDialog("Whutz dis? Burned rat? Arrrgh! Braz not ask for BURNED RAT! Der'z no taste wifout da blud! Ptuh! Ol' Braz be spittin' on dem fings.")
  250. Dialog.AddVoiceover("mentor_braz_gutpounder/fprt_hood1/braz_gutpounder015.mp3", 3734190728, 1696795061)
  251. Dialog.AddLanguage(15)
  252. Dialog.AddOption("I so sorry Braz. Fought Braz'd be happy wif da extra touch.", "Dialog26")
  253. Dialog.AddOption("Well excuse me for appreciating my rat cooked. Where were you raised, honestly?", "Dialog26")
  254. Dialog.Start()
  255. end
  256. function Dialog26(NPC, Spawn)
  257. FaceTarget(NPC, Spawn)
  258. Dialog.New(NPC, Spawn)
  259. Dialog.AddDialog("Iz fine, Braz be finkin'. Maybe da mizzus can skin dem fings a bit n' let out da juice. Braz said he be helpin' yaz, so here. Braz guesses dat be gud 'nuff for da rats. Come back, n' Braz tellz yaz more.")
  260. Dialog.AddVoiceover("mentor_braz_gutpounder/fprt_hood1/braz_gutpounder016.mp3", 1632804970, 3876705173)
  261. Dialog.AddLanguage(15)
  262. Dialog.AddOption("Fanks Braz! You'ze da bestest!", "Dialog33")
  263. Dialog.AddOption("You know, I guess that's not a half bad trade for a couple of rats.", "Dialog33")
  264. Dialog.Start()
  265. end
  266. function Dialog33(NPC, Spawn)
  267. FaceTarget(NPC, Spawn)
  268. Dialog.New(NPC, Spawn)
  269. Dialog.AddDialog("Ok, iz yaz ready for da bestest story ever? Dis one was tol' by Braz' ol' troll fahver.")
  270. Dialog.AddVoiceover("mentor_braz_gutpounder/fprt_hood1/braz_gutpounder017.mp3", 2251732773, 2788874651)
  271. Dialog.AddLanguage(15)
  272. Dialog.AddOption("Uhh, I no know whut a fahver is.", "Dialog15")
  273. Dialog.AddOption("Your common gets worse by the minute. What on Cazic's fearful Norrath is a 'fahver'?", "Dialog15")
  274. Dialog.Start()
  275. end
  276. function Dialog15(NPC, Spawn)
  277. FaceTarget(NPC, Spawn)
  278. Dialog.New(NPC, Spawn)
  279. Dialog.AddDialog("Fahver! You'ze no! 'Zactly same as a... whuts udder word? Oh, yahz, iz like 'Dad'? Anywayz, I be givin' ya da story now. No more 'rruptions, kay?")
  280. Dialog.AddVoiceover("mentor_braz_gutpounder/fprt_hood1/braz_gutpounder018.mp3", 3468265702, 1290513814)
  281. Dialog.AddLanguage(15)
  282. Dialog.AddOption("Okay, you'ze da boss, Braz! Tho, I fink even I can say da wurd 'father'...", "Dialog32")
  283. Dialog.AddOption("Fine, tell your trite little story, and let's get this over with. I'm not sure how good it can be if you can't manage 'father'.", "Dialog32")
  284. Dialog.Start()
  285. end
  286. function Dialog32(NPC, Spawn)
  287. FaceTarget(NPC, Spawn)
  288. Dialog.New(NPC, Spawn)
  289. Dialog.AddDialog("Ol' Braz'll not pay no 'ttention ta dat lip. So da story is of da routin' of da stupid frogs from da Grobb. Wuz a great victory for da trollz. Even dat stinky Marr not able to save da froggies.")
  290. Dialog.AddVoiceover("mentor_braz_gutpounder/fprt_hood1/braz_gutpounder019.mp3", 1604113201, 2181463850)
  291. Dialog.AddLanguage(15)
  292. Dialog.AddOption("Ohhh! Dis soundz gud!", "Dialog7")
  293. Dialog.AddOption("So, we actually managed to defeat someone? Must have been one of my ancestors, not yours.", "Dialog7")
  294. Dialog.Start()
  295. end
  296. function Dialog7(NPC, Spawn)
  297. FaceTarget(NPC, Spawn)
  298. Dialog.New(NPC, Spawn)
  299. Dialog.AddDialog("So, dere was da big army of da troll basherz. And den, der was dis even bigger army of da durned froggies whut were led by dat inter... interlo... meddler Miffaniel Marr. We wuz doin' well, barshin' da froggies, n' stompin' da little tadpoles.")
  300. Dialog.AddVoiceover("mentor_braz_gutpounder/fprt_hood1/braz_gutpounder020.mp3", 727428733, 2284756867)
  301. Dialog.AddLanguage(15)
  302. Dialog.AddOption("Say more! Say more!", "Dialog5")
  303. Dialog.AddOption("This is obviously the troll-notes version of the history.", "Dialog5")
  304. Dialog.Start()
  305. end
  306. function Dialog5(NPC, Spawn)
  307. FaceTarget(NPC, Spawn)
  308. Dialog.New(NPC, Spawn)
  309. Dialog.AddDialog("Wuz great war! Ate many froggies. Fahver tol' me dey gud like chickenz. Ahny way, we wuz bein' barshed gud by dat filthy froggie god. Was shamin' us, but da trollz juz not able ta take Grobb back. Den sometin' super happen.")
  310. Dialog.AddVoiceover("mentor_braz_gutpounder/fprt_hood1/braz_gutpounder021.mp3", 2477883719, 1452757212)
  311. Dialog.AddLanguage(15)
  312. Dialog.AddOption("Ohhh! I know, I know! We barsh dem instead?", "Dialog30")
  313. Dialog.AddOption("Go on. I can't wait to hear this tale butchered in new and interesting ways.", "Dialog30")
  314. Dialog.Start()
  315. end
  316. function Dialog30(NPC, Spawn)
  317. FaceTarget(NPC, Spawn)
  318. Dialog.New(NPC, Spawn)
  319. Dialog.AddDialog("Der was dis big green cloud. Whut was smelly to da froggies' dele... delecat... sens'tive nozez. Den Cazic-Thule came outta da big green cloud n' started lay'n into dat nasty Marr. Den all da barshin' trollz jumped in n' pounded him!")
  320. Dialog.AddVoiceover("mentor_braz_gutpounder/fprt_hood1/braz_gutpounder022.mp3", 3262529597, 1665835871)
  321. Dialog.AddLanguage(15)
  322. Dialog.AddOption("Guddie, guddie frogslegs! Barsh, barsh, BARSH! Den whut?", "Dialog12")
  323. Dialog.AddOption("Oh yes, this is likely the worst re-telling I've ever heard. So, what's next?", "Dialog12")
  324. Dialog.Start()
  325. end
  326. function Dialog12(NPC, Spawn)
  327. FaceTarget(NPC, Spawn)
  328. Dialog.New(NPC, Spawn)
  329. Dialog.AddDialog("Den you go do sometin' for ol' Braz, dat's whut. Nuff' story, ol' Braz gots ta rest. Nujam do his patrol. Den all be well. Yessir, dis iz da life!")
  330. Dialog.AddVoiceover("mentor_braz_gutpounder/fprt_hood1/braz_gutpounder023.mp3", 122106217, 2176574440)
  331. Dialog.AddLanguage(15)
  332. Dialog.AddOption("Awww, Nujam wanna hear more!")
  333. Dialog.AddOption("Fine. I suppose I shall demand recompense when I return from this duty you have.")
  334. Dialog.Start()
  335. if not HasQuest(Spawn, TrollPatrol) and not HasCompletedQuest(Spawn, TrollPatrol) then
  336. OfferQuest(NPC, Spawn, TrollPatrol)
  337. end
  338. end
  339. --====================Quest 4
  340. function Dialog21(NPC, Spawn)
  341. FaceTarget(NPC, Spawn)
  342. Dialog.New(NPC, Spawn)
  343. Dialog.AddDialog("Yawwwwwn! Iz dat you, Nujam? How da patrol go? You'ze look a bit barshed. Sometin' happen?")
  344. Dialog.AddVoiceover("mentor_braz_gutpounder/fprt_hood1/braz_gutpounder024.mp3", 2338642678, 3809861516)
  345. Dialog.AddLanguage(15)
  346. Dialog.AddOption("Yessir. Dis.. erm... GIANT... fing... barshed mah knees... n' toez... yah... dat's it.", "Dialog11")
  347. Dialog.AddOption("Look, I don't want to talk about it. Your patrol route is clear. That is enough.")
  348. Dialog.Start()
  349. end
  350. function Dialog11(NPC, Spawn)
  351. FaceTarget(NPC, Spawn)
  352. Dialog.New(NPC, Spawn)
  353. Dialog.AddDialog("Har har har! Youz got dat crazy hafflin'! He's a funny lil' one! Looks like I wun da bet wit da banker. Har har har!")
  354. Dialog.AddVoiceover("mentor_braz_gutpounder/fprt_hood1/braz_gutpounder025.mp3", 3753767177, 48215964)
  355. Dialog.AddLanguage(15)
  356. Dialog.AddOption("Dat's mean. I not shur I like dis game.", "Dialog31")
  357. Dialog.AddOption("Well then, I guess I don't feel so badly if it was some sort of set-up.", "Dialog31")
  358. Dialog.Start()
  359. end
  360. function Dialog31(NPC, Spawn)
  361. FaceTarget(NPC, Spawn)
  362. Dialog.New(NPC, Spawn)
  363. Dialog.AddDialog("Youz ready for da last fing I knowz 'bout livin' as a troll here in Freeport? Dis is it. Ol' Braz don't know no more after dis.")
  364. Dialog.AddVoiceover("mentor_braz_gutpounder/fprt_hood1/braz_gutpounder026.mp3", 2443819280, 3084140963)
  365. Dialog.AddLanguage(15)
  366. Dialog.AddOption("Yessir, Braz sir! I ready. Tell dis fing to me!", "Dialog29")
  367. Dialog.AddOption("I'm surprised you've had any useful information at all, to be honest.", "Dialog29")
  368. Dialog.Start()
  369. end
  370. function Dialog29(NPC, Spawn)
  371. FaceTarget(NPC, Spawn)
  372. Dialog.New(NPC, Spawn)
  373. Dialog.AddDialog("Iz very short, and dis is it; no way, neva let dat stupid tummy rule whut you do. It make for a bad time in da world if a troll just go wanderin' 'round tryin' ta eat everytin'.")
  374. Dialog.AddVoiceover("mentor_braz_gutpounder/fprt_hood1/braz_gutpounder027.mp3", 1541269146, 1641332265)
  375. Dialog.AddLanguage(15)
  376. Dialog.AddOption("Whut? No eatin'? Dat's no fun...", "Dialog3")
  377. Dialog.AddOption("Quite obviously. There are things which could clearly cause indigestion.", "Dialog3")
  378. Dialog.Start()
  379. end
  380. function Dialog3(NPC, Spawn)
  381. FaceTarget(NPC, Spawn)
  382. Dialog.New(NPC, Spawn)
  383. Dialog.AddDialog("Now, ol' Braz not say dat ya not eat whut ya want, but Nujam gotta be careful. Der be fings whut can even eat a fierce war-troll what barsh stuff gud. Dat's right. Stuff dat could even eat ol' Braz.")
  384. Dialog.AddVoiceover("mentor_braz_gutpounder/fprt_hood1/braz_gutpounder028.mp3", 246584716, 2626653219)
  385. Dialog.AddLanguage(15)
  386. Dialog.AddOption("No! Not ol' Braz!", "Dialog27")
  387. Dialog.AddOption("Oh, now there's a shock. Something that could eat good ol' Braz... actually, that sounds rather appealing.", "Dialog27")
  388. Dialog.Start()
  389. end
  390. function Dialog27(NPC, Spawn)
  391. FaceTarget(NPC, Spawn)
  392. Dialog.New(NPC, Spawn)
  393. Dialog.AddDialog("Now, youze do ol' Braz one last fing for a favor. Nujam gonna go check in on dat troll from before. If he still eatin' da lil' gnomelin's, den you barsh him gud.")
  394. Dialog.AddVoiceover("mentor_braz_gutpounder/fprt_hood1/braz_gutpounder029.mp3", 3787495393, 626589338)
  395. Dialog.AddLanguage(15)
  396. Dialog.AddOption("Whut? Why? But he jus' bein' a gud troll!", "Dialog2")
  397. Dialog.AddOption("Yes, I'm sure you're going to explain how this upsets the delicate economic balance between Temple Street and Big Bend. Oh wait, that would be me saying something like that.", "Dialog2")
  398. Dialog.Start()
  399. end
  400. function Dialog2(NPC, Spawn)
  401. FaceTarget(NPC, Spawn)
  402. Dialog.New(NPC, Spawn)
  403. Dialog.AddDialog("We gots ta take care of our own. If'n a troll is behavin' too bad, den da Freeport Militia come crackin' down hard and barshin' all troll heads in. Dat ain't no way to live.")
  404. Dialog.AddVoiceover("mentor_braz_gutpounder/fprt_hood1/braz_gutpounder030.mp3", 2167927839, 496576877)
  405. Dialog.AddLanguage(15)
  406. Dialog.AddOption("Den dis fing, I will do it for you.")
  407. Dialog.AddOption("Now that's my kind of swift justice. I'll see to the 'problem'.")
  408. Dialog.Start()
  409. if not HasQuest(Spawn, GnomoreGnomesteaks) and not HasCompletedQuest(Spawn, GnomoreGnomesteaks) then
  410. OfferQuest(NPC, Spawn, GnomoreGnomesteaks)
  411. end
  412. end
  413. --=======================Quest 5
  414. function Dialog25(NPC, Spawn)
  415. FaceTarget(NPC, Spawn)
  416. Dialog.New(NPC, Spawn)
  417. Dialog.AddDialog("Dat's a shame. I'da hoped he'da learned da lesson Nujam learned him before. Not all trollz gots da smartz though.")
  418. Dialog.AddVoiceover("mentor_braz_gutpounder/fprt_hood1/braz_gutpounder031.mp3", 1815556331, 2505933111)
  419. Dialog.AddLanguage(15)
  420. Dialog.AddOption("It'za gud fing you n' me gots da smartz though!", "Dialog24")
  421. Dialog.AddOption("Yes... it really is a good thing that some of us got all the brains.", "Dialog24")
  422. Dialog.Start()
  423. end
  424. function Dialog24(NPC, Spawn)
  425. FaceTarget(NPC, Spawn)
  426. Dialog.New(NPC, Spawn)
  427. Dialog.AddDialog("Dis be a sad time for me, cuz ol' Braz is shur dat Nujam be forgettin' him as he goes off to fortune and glory. But I give ya dis fing ta remember ol' Braz by. Maybe you keep. Oh, and silly ol' Braz almos' forgot! Youz should be seein' dem guys outside!")
  428. Dialog.AddVoiceover("mentor_braz_gutpounder/fprt_hood1/braz_gutpounder032.mp3", 835625892, 929273519)
  429. Dialog.AddLanguage(15)
  430. Dialog.AddOption("Aww, Nujam will keep da fing forever n' ever! But wut guys you talkin' 'bout?", "Dialog18")
  431. Dialog.AddOption("Maybe I'll keep it somewhere where no one can see how hideous it is. In the meantime, to whom do you think I should speak?", "Dialog18")
  432. Dialog.Start()
  433. end
  434. function Dialog18(NPC, Spawn)
  435. FaceTarget(NPC, Spawn)
  436. Dialog.New(NPC, Spawn)
  437. Dialog.AddDialog("Lessee! Der's dat troll Kurdek in da Sprawl! Youz gunna speak wit him!")
  438. Dialog.AddVoiceover("mentor_braz_gutpounder/fprt_hood1/braz_gutpounder033.mp3", 3580752169, 3690055660)
  439. Dialog.AddLanguage(15)
  440. Dialog.AddOption("Nujam gunna keep dat in mind!")
  441. Dialog.AddOption("Perhaps I shall pay them a visit.")
  442. Dialog.Start()
  443. if not HasQuest(Spawn, TrollAdventures) and not HasCompletedQuest(Spawn, TrollAdventures) then
  444. OfferQuest(NPC, Spawn, TrollAdventures)
  445. end
  446. end