BrandusLevine.lua 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367
  1. --[[
  2. Script Name : SpawnScripts/Commonlands/BrandusLevine.lua
  3. Script Author : Premierio015
  4. Script Date : 2020.11.13 07:11:27
  5. Script Purpose :
  6. :
  7. --]]
  8. local TheMysteriousMissingShipment = 421
  9. local StartingtheNegotiations = 424
  10. local FinishingtheNegotiations = 425
  11. local CollectingOnWhatIsEarned = 423
  12. function spawn(NPC)
  13. SetPlayerProximityFunction(NPC, 10, "InRange")
  14. end
  15. function InRange(NPC, Spawn)
  16. if not HasCompletedQuest(Spawn, TheMysteriousMissingShipment) then
  17. ProvidesQuest(NPC, TheMysteriousMissingShipment)
  18. SetInfoFlag(NPC)
  19. SetVisualFlag(NPC)
  20. elseif HasCompletedQuest(Spawn, TheMysteriousMissingShipment) then
  21. ProvidesQuest(NPC, StartingtheNegotiations)
  22. SetInfoFlag(NPC)
  23. SetVisualFlag(NPC)
  24. elseif HasCompletedQuest(Spawn, StartingtheNegotiations) then
  25. ProvidesQuest(NPC, FinishingtheNegotiations)
  26. SetInfoFlag(NPC)
  27. SetVisualFlag(NPC)
  28. end
  29. end
  30. function hailed(NPC, Spawn)
  31. FaceTarget(NPC, Spawn)
  32. conversation = CreateConversation()
  33. if not HasQuest(Spawn, TheMysteriousMissingShipment) and not HasCompletedQuest(Spawn, TheMysteriousMissingShipment) then
  34. if GetDeity(Spawn) ~= 1 then
  35. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_2_1034.mp3", "", "ponder", 0, 0, Spawn)
  36. AddConversationOption(conversation, "Another person who needs help? Fine, what do you need?", "dlg1")
  37. AddConversationOption(conversation, "I'll help you only if it pays well.", "dlg3")
  38. AddConversationOption(conversation, "I would be happy to help you.", "dlg2")
  39. AddConversationOption(conversation, "You have to be kidding me. No thanks, find another lackey, I'm busy with my own important things.")
  40. StartConversation(conversation, NPC, Spawn, "Hrmmm... You do have the look of a citizen about you. You're not just random rabble from the streets. I could use your help.")
  41. elseif GetDeity(Spawn) == 1 then
  42. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_2_1034.mp3", "", "peer", 0, 0, Spawn)
  43. AddConversationOption(conversation, "No, you have it wrong I'm a loyal Freeport citizen.", "qey_citizen")
  44. AddConversationOption(conversation, "I'm touring the countryside looking for evil to smite. You wouldn't happen to be evil would you?", "qey_citizen2")
  45. AddConversationOption(conversation, "Yes, I'm from Qeynos, may I ask why you want to know?", "dlg5")
  46. AddConversationOption(conversation, "I think this conversation is over.")
  47. StartConversation(conversation, NPC, Spawn, "You don't look like you're from around here. You have the stink of flower gardens about you. What are you doing on this side of the world outlander?")
  48. end
  49. elseif HasQuest(Spawn, TheMysteriousMissingShipment) and GetQuestStep(Spawn, TheMysteriousMissingShipment) == 1 or GetQuestStep(Spawn, StartingtheNegotiations) <= 8 and HasQuest(Spawn, StartingtheNegotiations) or HasQuest(Spawn, FinishingtheNegotiations) and GetQuestStep(Spawn, FinishingtheNegotiations) == 1 or GetQuestStep(Spawn, FinishingtheNegotiations) == 3 or GetQuestStep(Spawn, FinishingtheNegotiations) == 4 then
  50. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_3_1034.mp3", "", "no", 0, 0, Spawn)
  51. AddConversationOption(conversation, "I'll be back when I'm done.")
  52. StartConversation(conversation, NPC, Spawn, "Look, I don't have time to sit around and talk about the weather. We have an agreement and I expect you to live up to it. Now don't come back unless you're done with what I asked.")
  53. elseif HasQuest(Spawn, TheMysteriousMissingShipment) and GetQuestStep(Spawn, TheMysteriousMissingShipment) == 3 then
  54. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_2_1034.mp3", "", "", 0, 0, Spawn)
  55. AddConversationOption(conversation, "Nethet had me running all over the place helping friends of his.", "dlg8")
  56. AddConversationOption(conversation, "Nethet had some information. The dervish cutthroats stole your shipment and apparently have your sorcerer.", "dlg9")
  57. AddConversationOption(conversation, "I don't have any new information yet.")
  58. StartConversation(conversation, NPC, Spawn, "What did Nethet tell you? That rat had better have known something or I'm back where I started. That will not make me a happy man.")
  59. elseif HasCompletedQuest(Spawn, TheMysteriousMissingShipment) and not HasQuest(Spawn, StartingtheNegotiations) and not HasCompletedQuest(Spawn, StartingtheNegotiations) then
  60. dlg9(NPC, Spawn)
  61. elseif GetQuestStep(Spawn, StartingtheNegotiations) == 9 then
  62. PlayFlavor(NPC, "brandus_levine/commonlands/quests/brandus_levine/brandus_levine020.mp3", "", "", 2488060767, 2522972725, Spawn)
  63. AddConversationOption(conversation, "You asked for a few dozen. That is what I delivered.", "dlg14")
  64. AddConversationOption(conversation, "Not enough, there were still some left.", "dlg14")
  65. AddConversationOption(conversation, "I just want to get this over with and get what is due to me.", "dlg14")
  66. StartConversation(conversation, NPC, Spawn, "That was faster than I expected, you're quite the dangerous one aren't you? Well done, I applaud you and your efforts in our partnership here. Keep it up and we might get very rich together. Tell me, how many did you get rid of before coming back?")
  67. elseif HasCompletedQuest(Spawn, TheMysteriousMissingShipment) and HasCompletedQuest(Spawn, StartingtheNegotiations) and not HasQuest(Spawn, FinishingtheNegotiations) and NotHasCompletedQuest(Spawn, FinishingtheNegotiations) then
  68. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_2_1034.mp3", "", "", 0, 0, Spawn)
  69. AddConversationOption(conversation, "Yes, I'm ready to continue.", "dlg15")
  70. AddConversationOption(conversation, "Not right now, I'll return later.")
  71. StartConversation(conversation, NPC, Spawn, "Shall we continue our business venture, partner?")
  72. elseif GetQuestStep(Spawn, FinishingtheNegotiations) == 2 then
  73. dlg18(NPC, Spawn)
  74. elseif GetQuestStep(Spawn, FinishingtheNegotiations) == 6 then
  75. dlg22(NPC, Spawn)
  76. elseif HasCompletedQuest(Spawn, CollectingOnWhatIsEarned) and not HasCompletedQuest(Spawn, StartingtheNegotiations) and not HasQuest(Spawn, StartingtheNegotiations) then
  77. dlg25(NPC, Spawn)
  78. end
  79. end
  80. function qey_citizen(NPC, Spawn)
  81. FaceTarget(NPC, Spawn)
  82. local conversation = CreateConversation()
  83. AddConversationOption(conversation, "A Freeport guard asking me for help, this is interesting, what do you need?", "dlg5")
  84. AddConversationOption(conversation, "I don't think so.")
  85. StartConversation(conversation, NPC, Spawn, "Sure you are, and I'm Antonia Bayle, pleasure to meet you friend citizen. How about we both drop the act and I ask you for a little help?")
  86. end
  87. function qey_citizen2(NPC, Spawn)
  88. FaceTarget(NPC, Spawn)
  89. local conversation = CreateConversation()
  90. AddConversationOption(conversation, "Alright, I'm interested, what is it you need help with?", "dlg5")
  91. AddConversationOption(conversation, "I'll never help a guard from Freeport!")
  92. StartConversation(conversation, NPC, Spawn, "I wish you luck with that, but no, I'm not evil and smiting me wouldn't get you any richer now would it? Look, I'm just wanting a little help here or is that too much to ask of someone from that city of dancing fay and sugar cookies?")
  93. end
  94. function dlg1(NPC, Spawn)
  95. FaceTarget(NPC, Spawn)
  96. conversation = CreateConversation()
  97. PlayFlavor(NPC, "brandus_levine/commonlands/quests/brandus_levine/brandus_levine002.mp3", "", "ponder", 262730364, 1884373532, Spawn)
  98. AddConversationOption(conversation, "Get to the point already.", "dlg5")
  99. AddConversationOption(conversation, "I'm assuming that's a threat, I'll pretend I didn't hear it. What did you have in mind?", "dlg5")
  100. AddConversationOption(conversation, "Obscurity is my middle name. How about I just obscure myself out of this conversation.")
  101. StartConversation(conversation, NPC, Spawn, "You do realize I can find someone else. And maybe you'll just fade into obscurity. But, since you've at least shown some interest then perhaps I can use you.")
  102. end
  103. function dlg2(NPC, Spawn)
  104. FaceTarget(NPC, Spawn)
  105. conversation = CreateConversation()
  106. PlayFlavor(NPC, "brandus_levine/commonlands/quests/brandus_levine/brandus_levine004.mp3", "", "", 305934204, 2024549973, Spawn)
  107. AddConversationOption(conversation, "So, what is it you needed such dire help on?", "dlg5")
  108. AddConversationOption(conversation, "Citizen? Do you even know who I am? I have no time for such arrogance.")
  109. StartConversation(conversation, NPC, Spawn, "Good, good, I like to see such eagerness in a citizen of Freeport.")
  110. end
  111. function dlg4(NPC, Spawn)
  112. FaceTarget(NPC, Spawn)
  113. conversation = CreateConversation()
  114. AddConversationOption(conversation, "And how would you expect me to find it if I have no idea what it is?", "dlg7")
  115. AddConversationOption(conversation, "On second thought, if you're not going to tell me what I need to know I think I'll just leave.")
  116. StartConversation(conversation, NPC, Spawn, "That little bit of information you don't need to know. All I'm asking for is that you find my missing cargo.")
  117. end
  118. function dlg3(NPC, Spawn)
  119. FaceTarget(NPC, Spawn)
  120. conversation = CreateConversation()
  121. PlayFlavor(NPC, "brandus_levine/commonlands/quests/brandus_levine/brandus_levine003.mp3", "", "", 324578518, 1128092434, Spawn)
  122. AddConversationOption(conversation, "Reward. I like the sound of that. What did you have in mind?", "dlg5")
  123. AddConversationOption(conversation, "You don't look like you could afford my standard fee. I think I'll go look for adventure elsewhere.")
  124. StartConversation(conversation, NPC, Spawn, "Oh, it pays well, very well indeed. I don't ask simple things but I reward loyal service.")
  125. end
  126. function dlg5(NPC, Spawn)
  127. FaceTarget(NPC, Spawn)
  128. conversation = CreateConversation()
  129. PlayFlavor(NPC, "brandus_levine/commonlands/quests/brandus_levine/brandus_levine005.mp3", "", "", 3809469840, 3688681939, Spawn)
  130. AddConversationOption(conversation, "What was in this shipment of yours that's so important?", "dlg4")
  131. AddConversationOption(conversation, "I think I can do that, where should I start looking?", "dlg7")
  132. AddConversationOption(conversation, "I thought this would be interesting. Forget it, this sounds like another waste of my precious time.")
  133. StartConversation(conversation, NPC, Spawn, "I've been waiting on a very special shipment to arrive. It was due here three days ago and there has been no sign of the individuals who were supposed to bring it. I've had to send the boat to the Freeport docks and every day it sits there it's costing me money. I need you to find out what happened to my shipment or why they are so late.")
  134. end
  135. function dlg7(NPC, Spawn)
  136. FaceTarget(NPC, Spawn)
  137. conversation = CreateConversation()
  138. PlayFlavor(NPC, "brandus_levine/commonlands/quests/brandus_levine/brandus_levine007.mp3", "", "", 3066832295, 2286961802, Spawn)
  139. AddConversationOption(conversation, "I'll start with him then.", "offer1")
  140. StartConversation(conversation, NPC, Spawn, "Fine, if I have to hold your hand through everything. You might start with Nethet near the main gates of Freeport. He watches most of who enter or leave the city. If anyone knows anything about where my missing cargo went it would likely be him.")
  141. end
  142. function dlg8(NPC, Spawn)
  143. FaceTarget(NPC, Spawn)
  144. conversation = CreateConversation()
  145. AddConversationOption(conversation, "Thanks for the sympathy. Yes, he had information that the dervish cutthroats stole your shipment and your sorcerer.", "dlg9")
  146. AddConversationOption(conversation, "With that tone of voice, find the shipment yourself, I'm through with this.")
  147. StartConversation(conversation, NPC, Spawn, "Don't tell me your whining stories about what other people had you do. He could have made you shovel pig dung for all I care, did you get the information or not?")
  148. end
  149. function dlg9(NPC, Spawn)
  150. FaceTarget(NPC, Spawn)
  151. if HasQuest(Spawn, TheMysteriousMissingShipment) and GetQuestStep(Spawn, TheMysteriousMissingShipment) == 3 then
  152. SetStepComplete(Spawn, TheMysteriousMissingShipment, 3)
  153. end
  154. conversation = CreateConversation()
  155. AddConversationOption(conversation, "My pleasure, you'll hear their screams from here.", "dlg10")
  156. AddConversationOption(conversation, "Now you want me to kill people for you? What's in it for me?", "dlg11")
  157. AddConversationOption(conversation, "I know you're selling refugees back to the Far Seas Trading Company.", "dlg12")
  158. AddConversationOption(conversation, "I'm not killing anyone, do it yourself I'm done with you.")
  159. StartConversation(conversation, NPC, Spawn, "The dervishes stole it!? You can't be serious. Argh!! I'm tired of those lowlifes messing with my business. I need you to do me a favor and kill a few dozen of them.")
  160. end
  161. function dlg10(NPC, Spawn)
  162. FaceTarget(NPC, Spawn)
  163. PlayFlavor(NPC, "brandus_levine/commonlands/quests/brandus_levine/brandus_levine015.mp3", "", "", 1439836789, 4202652757, Spawn)
  164. conversation = CreateConversation()
  165. AddConversationOption(conversation, "Alright. I'll be back when I'm done.", "offer2")
  166. AddConversationOption(conversation, "Not right now.")
  167. StartConversation(conversation, NPC, Spawn, "That's exactly what I wanted to hear. Once you've thinned out the number of the dervishes for me I have a feeling they might be willing to negotiate a deal afterwards. I want them to learn a lesson in fouling my business. You can find one of the larger encampments on the far Western end of the Commonlands.")
  168. end
  169. function dlg11(NPC, Spawn)
  170. FaceTarget(NPC, Spawn)
  171. conversation = CreateConversation()
  172. AddConversationOption(conversation, "When you put it that way how can I refuse?", "dlg10")
  173. AddConversationOption(conversation, "Forget it, I'm not interested.")
  174. StartConversation(conversation, NPC, Spawn, "Oh, you'll be rewarded for this I assure you. I want the dervishes to pay and I'm willing to let you in on some of my profits if you help me out with this.")
  175. end
  176. function dlg12(NPC, Spawn)
  177. FaceTarget(NPC, Spawn)
  178. PlayFlavor(NPC, "brandus_levine/commonlands/quests/brandus_levine/brandus_levine018.mp3", "", "", 4047037445, 2150242862, Spawn)
  179. conversation = CreateConversation()
  180. AddConversationOption(conversation, "How about a few extra coins in my pocket?", "dlg13")
  181. AddConversationOption(conversation, "Nothing, I just found it interesting and fairly clever. I want in on the profits though.")
  182. StartConversation(conversation, NPC, Spawn, "How did.... Nethet ... curse that rat, he finds out way more than he should. Alright, what do you want to keep quiet about it?")
  183. end
  184. function dlg13(NPC, Spawn)
  185. FaceTarget(NPC, Spawn)
  186. PlayFlavor(NPC, "brandus_levine/commonlands/quests/brandus_levine/brandus_levine019.mp3", "", "", 2588958758, 3569990697, Spawn)
  187. conversation = CreateConversation()
  188. AddConversationOption(conversation, "Thank you Brandus, I knew you'd see things my way.", "dlg25")
  189. AddConversationOption(conversation, "That's more like it. I'll be back soon.")
  190. StartConversation(conversation, NPC, Spawn, "I can do that if it'll keep you quiet. I don't have any coin on me here though, bad idea walking around with a lot of money on the docks you understand. Go to the Crossroads, I have a business partner named Anders Blackhammer who can give you the profits from our last venture. Tell him that I sent you.")
  191. end
  192. function dlg14(NPC, Spawn)
  193. FaceTarget(NPC, Spawn)
  194. SetStepComplete(Spawn, StartingtheNegotiations, 9)
  195. PlayFlavor(NPC, "brandus_levine/commonlands/quests/brandus_levine/brandus_levine021.mp3", "", "", 2051967454, 3084787135, Spawn)
  196. conversation = CreateConversation()
  197. AddConversationOption(conversation, "Thanks, I'll be back soon to continue our ''negotiations'' with the dervishes.")
  198. StartConversation(conversation, NPC, Spawn, "I understand what you mean perfectly. Here is the first of your profits, if you keep doing such excellent work there is a lot more where this came from.")
  199. end
  200. -- FINISHING THE NEGOTIATIONS PART
  201. function dlg15(NPC, Spawn)
  202. FaceTarget(NPC, Spawn)
  203. conversation = CreateConversation()
  204. AddConversationOption(conversation, "And you want me to find out which is the truth?", "dlg16")
  205. AddConversationOption(conversation, "I don't really have time for this right now.")
  206. StartConversation(conversation, NPC, Spawn, "Good. The dervishes are still not willing to negotiate. I'm guessing they have either become more foolish than normal or they no longer have my shipment.")
  207. end
  208. function dlg16(NPC, Spawn)
  209. FaceTarget(NPC, Spawn)
  210. conversation = CreateConversation()
  211. AddConversationOption(conversation, "So, I should go speak with this Captain Vertas?", "dlg17")
  212. AddConversationOption(conversation, "I thought this would be something interesting, forget it.")
  213. StartConversation(conversation, NPC, Spawn, "Yes, but I have another source that we might be able to use to our advantage. Another militia guard by the name of Captain Vertas is stationed out in the Crossroads. He has no love for the dervishes and keeps a close eye on them.")
  214. end
  215. function dlg17(NPC, Spawn)
  216. FaceTarget(NPC, Spawn)
  217. conversation = CreateConversation()
  218. AddConversationOption(conversation, "I'll be back when I learn anything.", "offer3")
  219. StartConversation(conversation, NPC, Spawn, "Yes, see what information he has on the dervishes and what we might be able to use.")
  220. end
  221. function dlg18(NPC, Spawn)
  222. FaceTarget(NPC, Spawn)
  223. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_3_1034.mp3", "", "", 0, 0, Spawn)
  224. conversation = CreateConversation()
  225. AddConversationOption(conversation, "Yes I have. I learned the dervishes are working with the Deathfist orcs.", "dlg19")
  226. AddConversationOption(conversation, "No, not yet, I'll be back when I have.")
  227. StartConversation(conversation, NPC, Spawn, "Have you spoken with captain Vertas?")
  228. end
  229. function dlg19(NPC, Spawn)
  230. FaceTarget(NPC, Spawn)
  231. PlayFlavor(NPC, "brandus_levine/commonlands/quests/brandus_levine/brandus_levine030.mp3", "", "", 782844318, 2866426514, Spawn)
  232. conversation = CreateConversation()
  233. AddConversationOption(conversation, "It would be my pleasure.", "dlg20")
  234. AddConversationOption(conversation, "Only if you can continue to pay for my expensive services.", "dlg21")
  235. AddConversationOption(conversation, "I don't think so. I'm not really the enforcer type.")
  236. StartConversation(conversation, NPC, Spawn, "The Deathfist? You cannot be serious. Bah! That's probably where my shipment went, there's no way I'm getting that back by now. The orcs also have to pay for this, they had to know that shipment was mine. Do you mind playing enforcer again?")
  237. end
  238. function dlg20(NPC, Spawn)
  239. FaceTarget(NPC, Spawn)
  240. SetStepComplete(Spawn, FinishingtheNegotiations, 2)
  241. conversation = CreateConversation()
  242. AddConversationOption(conversation, "I'll return as soon as I find anything interesting from these orc runners.")
  243. StartConversation(conversation, NPC, Spawn, "Good, then I need you to find out what the connection is with with dervishes and the orcs. If you watch carefully you can sometimes see orc runners near the encampments in the Southern part of the Commonlands. I want the information they might be carrying. Let me know what you find.")
  244. end
  245. function dlg21(NPC, Spawn)
  246. FaceTarget(NPC, Spawn)
  247. conversation = CreateConversation()
  248. AddConversationOption(conversation, "Then we have a deal.", "dlg20")
  249. AddConversationOption(conversation, "On second thought, I think I'm done with this arrangement.")
  250. StartConversation(conversation, NPC, Spawn, "Of course, of course. We have a business deal and I'm willing to pay what is necessary to have this situation resolved as soon as possible.")
  251. end
  252. function dlg22(NPC, Spawn)
  253. FaceTarget(NPC, Spawn)
  254. PlayFlavor(NPC, "brandus_levine/commonlands/quests/brandus_levine/brandus_levine033.mp3", "", "", 1996105356, 11511501, Spawn)
  255. conversation = CreateConversation()
  256. AddConversationOption(conversation, "Here is the note I intercepted and had to decode.", "dlg23")
  257. AddConversationOption(conversation, "Enough to know I really dislike the Bloodskulls. And I found this note.", "dlg23")
  258. AddConversationOption(conversation, "Nothing yet. I'll be back later.")
  259. StartConversation(conversation, NPC, Spawn, "It's good to see you again. What did you learn from the orcs?")
  260. end
  261. function dlg23(NPC, Spawn)
  262. FaceTarget(NPC, Spawn)
  263. PlayFlavor(NPC, "brandus_levine/commonlands/quests/brandus_levine/brandus_levine034.mp3", "", "", 1083737725, 3622378931, Spawn)
  264. conversation = CreateConversation()
  265. AddConversationOption(conversation, "What about my reward for that information?", "dlg24")
  266. AddConversationOption(conversation, "I'm getting out of this now, goodbye.")
  267. StartConversation(conversation, NPC, Spawn, "Hrmmm. So they are having a meeting are they? Let me look into this and verify it isn't a trap. Come back when you're ready to crash their meeting.")
  268. end
  269. function dlg24(NPC, Spawn)
  270. FaceTarget(NPC, Spawn)
  271. SetStepComplete(Spawn, FinishingtheNegotiations, 6)
  272. PlayFlavor(NPC, "brandus_levine/commonlands/quests/brandus_levine/brandus_levine035.mp3", "", "", 2606991312, 3918213798, Spawn)
  273. conversation = CreateConversation()
  274. AddConversationOption(conversation, "Thank you. It's a pleasure doing business with you.")
  275. StartConversation(conversation, NPC, Spawn, "Ah yes, your reward. Here it is. Remember that I have more work and more rewards when you return.")
  276. end
  277. function dlg25(NPC, Spawn)
  278. FaceTarget(NPC, Spawn)
  279. conversation = CreateConversation()
  280. AddConversationOption(conversation, "Anders attacked me when I approached him! I'm going to make you take a long walk off this short dock!", "dlg26")
  281. AddConversationOption(conversation, "I suppose I deserved that. Can we forget about it and get back to business?", "dlg10")
  282. StartConversation(conversation, NPC, Spawn, "You return? I take it your conversation with Anders went better for you than I thought.")
  283. end
  284. function dlg26(NPC, Spawn)
  285. FaceTarget(NPC, Spawn)
  286. local conversation = CreateConversation()
  287. AddConversationOption(conversation, "Clearly.")
  288. StartConversation(conversation, NPC, Spawn, "I can't say that's wise. You lay a finger on me and you'll never see another sunrise if you sleep in Freeport again, understand?")
  289. end
  290. -- QUEST OFFER FUNCTIONS
  291. function offer2(NPC, Spawn)
  292. OfferQuest(NPC, Spawn, StartingtheNegotiations)
  293. end
  294. function offer3(NPC, Spawn)
  295. OfferQuest(NPC, Spawn, FinishingtheNegotiations)
  296. end
  297. function offer1(NPC, Spawn)
  298. OfferQuest(NPC, Spawn, TheMysteriousMissingShipment)
  299. end
  300. function offer4(NPC, Spawn)
  301. end
  302. function respawn(NPC)
  303. spawn(NPC)
  304. end