Mooshga.lua 25 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504
  1. --[[
  2. Script Name : SpawnScripts/Commonlands/Mooshga.lua
  3. Script Author : Premierio015
  4. Script Date : 2020.09.06 02:09:46
  5. Script Purpose : Offer quests "Hyena Jerky", "Seafood Surprise", "Crack Pot", "Wisp-er Sweet Nothings", "Rhino-rific", "O' Mugwump Where Art Thou", "Overlord's Omelet", "Pachyderm Punch", "Mushroom Madness"
  6. :
  7. --]]
  8. local HyenaJerky = 429
  9. local SeafoodSurprise = 430
  10. local CrackPot = 431
  11. local WisperSweetNothings = 432
  12. local Rhinorific = 433
  13. local OMugwumpWhereArtThou = 434
  14. local OverlordsOmelet = 435
  15. local PachydermPunch = 436
  16. local MushroomMadness = 437
  17. function spawn(NPC)
  18. SetPlayerProximityFunction(NPC, 10, "InRange")
  19. end
  20. function InRange(NPC, Spawn)
  21. if not HasCompletedQuest(Spawn, HyenaJerky) then
  22. ProvidesQuest(NPC, HyenaJerky)
  23. SetInfoFlag(NPC)
  24. SetVisualFlag(NPC)
  25. elseif HasCompletedQuest(Spawn, HyenaJerky) then
  26. ProvidesQuest(NPC, SeafoodSurprise)
  27. SetInfoFlag(NPC)
  28. SetVisualFlag(NPC)
  29. elseif HasCompletedQuest(Spawn, SeafoodSurprise) then
  30. ProvidesQuest(NPC, CrackPot)
  31. SetInfoFlag(NPC)
  32. SetVisualFlag(NPC)
  33. elseif HasCompletedQuest(Spawn, CrackPot) then
  34. ProvidesQuest(NPC, WisperSweetNothings)
  35. SetInfoFlag(NPC)
  36. SetVisualFlag(NPC)
  37. elseif HasCompletedQuest(Spawn, WisperSweetNothings) then
  38. ProvidesQuest(NPC, Rhinorific)
  39. SetInfoFlag(NPC)
  40. SetVisualFlag(NPC)
  41. elseif HasCompletedQuest(Spawn, Rhinorific) then
  42. ProvidesQuest(NPC, OMugwumpWhereArtThou)
  43. SetInfoFlag(NPC)
  44. SetVisualFlag(NPC)
  45. elseif HasCompletedQuest(Spawn, OMugwumpWhereArtThou) then
  46. ProvidesQuest(NPC, OverlordsOmelet)
  47. SetInfoFlag(NPC)
  48. SetVisualFlag(NPC)
  49. elseif HasCompletedQuest(Spawn, OverlordsOmelet) then
  50. ProvidesQuest(NPC, PachydermPunch)
  51. SetInfoFlag(NPC)
  52. SetVisualFlag(NPC)
  53. elseif HasCompletedQuest(Spawn, PachydermPunch) then
  54. ProvidesQuest(NPC, MushroomMadness)
  55. SetInfoFlag(NPC)
  56. SetVisualFlag(NPC)
  57. end
  58. end
  59. --[[
  60. function hailed(NPC, Spawn)
  61. FaceTarget(NPC, Spawn)
  62. conversation = CreateConversation()
  63. if not HasQuest(Spawn, HyenaJerky) and not HasCompletedQuest(Spawn, HyenaJerky) then
  64. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_1_1055.mp3", "", "", 0, 0, Spawn)
  65. AddConversationOption(conversation, "Captain Arellius said you could use a hand. You are a cook?", "dlg1")
  66. AddConversationOption(conversation, "I don't think I'm hungry right now.")
  67. StartConversation(conversation, NPC, Spawn, "So, you be adventurer sent by Militia to help Mooshga? You look like you hungry! Mooshga feed you good!")
  68. elseif GetQuestStep(Spawn, HyenaJerky) == 1 then
  69. quest1progress(NPC, Spawn)
  70. elseif GetQuestStep(Spawn, HyenaJerky) == 2 then
  71. dlg3(NPC, Spawn)
  72. end
  73. end
  74. --]]
  75. function hailed(NPC, Spawn)
  76. FaceTarget(NPC, Spawn)
  77. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_1_1055.mp3", "", "", 0, 0, Spawn)
  78. if not HasQuest(Spawn, HyenaJerky) and not HasCompletedQuest(Spawn, HyenaJerky) and not HasCompletedQuest(Spawn, SeafoodSurprise) and not HasCompletedQuest(Spawn, WisperSweetNothings) and not HasCompletedQuest(Spawn, Rhinorific) and not HasCompletedQuest(Spawn, OMugwumpWhereArtThou) and not HasCompletedQuest(Spawn, OverlordsOmelet) and not HasCompletedQuest(Spawn, PachydermPunch) and not HasCompletedQuest(Spawn, MushroomMadness) then
  79. local conversation = CreateConversation()
  80. AddConversationOption(conversation, "No, I'm not hungry.")
  81. AddConversationOption(conversation, "I guess that depends on the menu.", "dlg1")
  82. StartConversation(conversation, NPC, Spawn, "Mooshga meet new friend! You look hungry. Mooshga hungry. You hungry?")
  83. elseif GetQuestStep(Spawn, HyenaJerky) == 1 or GetQuestStep(Spawn, SeafoodSurprise) == 1 or GetQuestStep(Spawn, CrackPot) == 1 or GetQuestStep(Spawn, WisperSweetNothings) == 1 or GetQuestStep(Spawn, Rhinorific) == 1 or GetQuestStep(Spawn, OMugwumpWhereArtThou) == 1 or GetQuestStep(Spawn, OverlordsOmelet) == 1 or GetQuestStep(Spawn, PachydermPunch) == 1 or GetQuestStep(Spawn, MushroomMadness) == 1 then
  84. questprogress(NPC, Spawn)
  85. elseif GetQuestStep(Spawn, HyenaJerky) == 2 or GetQuestStep(Spawn, SeafoodSurprise) == 2 or GetQuestStep(Spawn, CrackPot) == 2 or GetQuestStep(Spawn, WisperSweetNothings) == 2 or GetQuestStep(Spawn, Rhinorific) == 2 or GetQuestStep(Spawn, OMugwumpWhereArtThou) == 2 or GetQuestStep(Spawn, OverlordsOmelet) == 2 or GetQuestStep(Spawn, PachydermPunch) == 2 or GetQuestStep(Spawn, MushroomMadness) == 2 then
  86. QuestComplete(NPC, Spawn)
  87. elseif HasCompletedQuest(Spawn, HyenaJerky) and not HasCompletedQuest(Spawn, SeafoodSurprise) then
  88. dlg3(NPC, Spawn)
  89. elseif HasCompletedQuest(Spawn, HyenaJerky) and HasCompletedQuest(Spawn, SeafoodSurprise) and not HasCompletedQuest(Spawn, CrackPot) then
  90. dlg7(NPC, Spawn)
  91. elseif HasCompletedQuest(Spawn, HyenaJerky) and HasCompletedQuest(Spawn, SeafoodSurprise) and HasCompletedQuest(Spawn, CrackPot) and not HasCompletedQuest(Spawn, WisperSweetNothings) then
  92. dlg11(NPC, Spawn)
  93. elseif HasCompletedQuest(Spawn, HyenaJerky) and HasCompletedQuest(Spawn, SeafoodSurprise) and HasCompletedQuest(Spawn, CrackPot) and HasCompletedQuest(Spawn, WisperSweetNothings) and not HasCompletedQuest(Spawn, Rhinorific) then
  94. dlg15(NPC, Spawn)
  95. elseif HasCompletedQuest(Spawn, HyenaJerky) and HasCompletedQuest(Spawn, SeafoodSurprise) and HasCompletedQuest(Spawn, CrackPot) and HasCompletedQuest(Spawn, WisperSweetNothings) and HasCompletedQuest(Spawn, Rhinorific) and not HasCompletedQuest(Spawn, OMugwumpWhereArtThou) then
  96. dlg19(NPC, Spawn)
  97. elseif HasCompletedQuest(Spawn, HyenaJerky) and HasCompletedQuest(Spawn, SeafoodSurprise) and HasCompletedQuest(Spawn, CrackPot) and HasCompletedQuest(Spawn, WisperSweetNothings) and HasCompletedQuest(Spawn, Rhinorific) and HasCompletedQuest(Spawn, OMugwumpWhereArtThou) and not HasCompletedQuest(Spawn, OverlordsOmelet) then
  98. dlg23(NPC, Spawn)
  99. elseif HasCompletedQuest(Spawn, HyenaJerky) and HasCompletedQuest(Spawn, SeafoodSurprise) and HasCompletedQuest(Spawn, CrackPot) and HasCompletedQuest(Spawn, WisperSweetNothings) and HasCompletedQuest(Spawn, Rhinorific) and HasCompletedQuest(Spawn, OMugwumpWhereArtThou) and HasCompletedQuest(Spawn, OverlordsOmelet) and not HasCompletedQuest(Spawn, PachydermPunch) then
  100. dlg27(NPC, Spawn)
  101. elseif HasCompletedQuest(Spawn, HyenaJerky) and HasCompletedQuest(Spawn, SeafoodSurprise) and HasCompletedQuest(Spawn, CrackPot) and HasCompletedQuest(Spawn, WisperSweetNothings) and HasCompletedQuest(Spawn, Rhinorific) and HasCompletedQuest(Spawn, OMugwumpWhereArtThou) and HasCompletedQuest(Spawn, OverlordsOmelet) and HasCompletedQuest(Spawn, PachydermPunch) and not HasCompletedQuest(Spawn, MushroomMadness) then
  102. dlg31(NPC, Spawn)
  103. elseif HasCompletedQuest(Spawn, HyenaJerky) and HasCompletedQuest(Spawn, SeafoodSurprise) and HasCompletedQuest(Spawn, CrackPot) and HasCompletedQuest(Spawn, WisperSweetNothings) and HasCompletedQuest(Spawn, Rhinorific) and HasCompletedQuest(Spawn, OMugwumpWhereArtThou) and HasCompletedQuest(Spawn, OverlordsOmelet) and HasCompletedQuest(Spawn, PachydermPunch) and HasCompletedQuest(Spawn, MushroomMadness) then
  104. PlayFlavor(NPC, "", "Hello, friend... Mooshga fed you well, no?", "", 0, 0, Spawn)
  105. end
  106. end
  107. function dlg1(NPC, Spawn)
  108. FaceTarget(NPC, Spawn)
  109. conversation = CreateConversation()
  110. AddConversationOption(conversation, "Come to think of it, I am hungry. What are you going to make?", "dlg2")
  111. AddConversationOption(conversation, "An ogre baker? I'll be on my way.")
  112. StartConversation(conversation, NPC, Spawn, "Mooshga is greatest baker in all Commonlands! You want Mooshga make somethin' for you?")
  113. end
  114. function dlg2(NPC, Spawn)
  115. FaceTarget(NPC, Spawn)
  116. conversation = CreateConversation()
  117. AddConversationOption(conversation, "Jerky sounds good. I'll do it.", "offer")
  118. AddConversationOption(conversation, "Ogre cooking sounds scary to me. Bye!")
  119. StartConversation(conversation, NPC, Spawn, "Mooshga hungry for jerky. Plus Mooshga try to make old secret recipe of famous ancestor chef. You go collect pieces for jerky so Mooshga can figure out recipe! It made from hyena meat. Get carrion hound ears for Mooshga.")
  120. end
  121. function dlg3(NPC, Spawn)
  122. FaceTarget(NPC, Spawn)
  123. conversation = CreateConversation()
  124. AddConversationOption(conversation, "Yes, I am. I would love more of your cooking, Mooshga.", "dlg4")
  125. AddConversationOption(conversation, "What? No thanks... I just ate!")
  126. StartConversation(conversation, NPC, Spawn, "You still look hungry! You hungry? Mooshga knows when people hungry. Mooshga will feed you but you do something for Mooshga first.")
  127. end
  128. function dlg4(NPC, Spawn)
  129. FaceTarget(NPC, Spawn)
  130. local conversation = CreateConversation()
  131. AddConversationOption(conversation, "What type of claws?", "dlg5")
  132. AddConversationOption(conversation, "I think i just lost my apetite")
  133. StartConversation(conversation, NPC, Spawn, "Mooshga make special surprise today. Mooshga needs claws for surprise recipe she figure out.")
  134. end
  135. function dlg5(NPC, Spawn)
  136. FaceTarget(NPC, Spawn)
  137. local conversation = CreateConversation()
  138. AddConversationOption(conversation, "I'm getting hungrier by the minute.", "offer2")
  139. AddConversationOption(conversation, "Oh... I think i just lost my apetite.")
  140. StartConversation(conversation, NPC, Spawn, "Mooshga need special claws from crabs. The HUGE ones. You find crabs in southeast. They live in freshwater. Near old tower there is good spot. You go find crabs and snap tasty claws off, then bring back to Mooshga.")
  141. end
  142. function QuestComplete(NPC, Spawn)
  143. FaceTarget(NPC, Spawn)
  144. local conversation = CreateConversation()
  145. if GetQuestStep(Spawn, HyenaJerky) == 2 then
  146. AddConversationOption(conversation, "I have brought you the ears that you asked for.", "quest1complete")
  147. elseif GetQuestStep(Spawn, SeafoodSurprise) == 2 then
  148. AddConversationOption(conversation, "I have the huge crab claws for your soup, Mooshga.", "dlg6")
  149. elseif GetQuestStep(Spawn, CrackPot) == 2 then
  150. AddConversationOption(conversation, "Good news Mooshga. I was able to gather the iron clusters you need to get your pot fixed.", "dlg10")
  151. elseif GetQuestStep(Spawn, WisperSweetNothings) == 2 then
  152. AddConversationOption(conversation, "I have your wisp essences that you asked for, Mooshga.", "dlg14")
  153. elseif GetQuestStep(Spawn, Rhinorific) == 2 then
  154. AddConversationOption(conversation, "Those rhinos were tough, but I was able to get the hooves you need for the muffins.", "dlg18")
  155. elseif GetQuestStep(Spawn, OMugwumpWhereArtThou) == 2 then
  156. AddConversationOption(conversation, "Mugwump sends his regards. He had the herbs that you asked for.", "dlg22")
  157. elseif GetQuestStep(Spawn, OverlordsOmelet) == 2 then
  158. AddConversationOption(conversation, "Here are the speckled eggs you asked for, Mooshga.", "dlg26")
  159. elseif GetQuestStep(Spawn, PachydermPunch) == 2 then
  160. AddConversationOption(conversation, "I am not sure how you get punch from tusks, and I don't think that I want to know, but here they are.", "dlg30")
  161. elseif GetQuestStep(Spawn, MushroomMadness) == 2 then
  162. AddConversationOption(conversation, "I have the mushroom caps that you asked for. Here ya go, Mooshga.", "dlg35")
  163. end
  164. AddConversationOption(conversation, "Nothing right now.")
  165. StartConversation(conversation, NPC, Spawn, "You back so quick! What you have for Mooshga?")
  166. end
  167. function dlg6(NPC, Spawn)
  168. SetStepComplete(Spawn, SeafoodSurprise, 2)
  169. FaceTarget(NPC, Spawn)
  170. local conversation = CreateConversation()
  171. AddConversationOption(conversation, "Thanks, Mooshga.")
  172. StartConversation(conversation, NPC, Spawn, "Mooshga makes you some too. Here you go.")
  173. end
  174. function dlg7(NPC, Spawn)
  175. FaceTarget(NPC, Spawn)
  176. local conversation = CreateConversation()
  177. AddConversationOption(conversation, "What happened, Mooshga?", "dlg10")
  178. AddConversationOption(conversation, "You seem busy. I'll come back another time.")
  179. StartConversation(conversation, NPC, Spawn, "The pot! Mooshga not believe what happened.")
  180. end
  181. function dlg8(NPC, Spawn)
  182. FaceTarget(NPC, Spawn)
  183. local conversation = CreateConversation()
  184. AddConversationOption(conversation, "Did you catch it?", "dlg11")
  185. AddConversationOption(conversation, "Poor little squirrel. That's just mean, Mooshga. Goodbye.")
  186. StartConversation(conversation, NPC, Spawn, "Well... Mooshga was cooking. After put water in Moosgha's cooking pot when fire was really hot, tasty squirrel run by. Mooshga thought would make tasty appetizer for dinner. Mooshga chased tasty and forgot about boiling pot.")
  187. end
  188. function dlg9(NPC, Spawn)
  189. FaceTarget(NPC, Spawn)
  190. local conversation = CreateConversation()
  191. AddConversationOption(conversation, "Sure.", "offer3")
  192. AddConversationOption(conversation, "I don't have time right now, Mooshga.")
  193. StartConversation(conversation, NPC, Spawn, "No, squirrel got away. When Mooshga return, all water was boiled away and pot got too hot. Mooshga tried put more water in pot, but pot cracked. Now Mooshga can't cook. Maybe you can help Mooshga fix pot?")
  194. end
  195. function dlg10(NPC, Spawn)
  196. SetStepComplete(Spawn, CrackPot, 2)
  197. FaceTarget(NPC, Spawn)
  198. local conversation = CreateConversation()
  199. AddConversationOption(conversation, "Thanks, Mooshga.")
  200. StartConversation(conversation, NPC, Spawn, "Oooo... good! Mooshga gets back to making her goodies again. Mooshga don't need all iron to fix pot. You keep rest of iron.")
  201. end
  202. function dlg11(NPC, Spawn)
  203. FaceTarget(NPC, Spawn)
  204. local conversation = CreateConversation()
  205. AddConversationOption(conversation, "Oh really, what are you making?", "dlg12")
  206. AddConversationOption(conversation, "Oh no, I can't. I'm watching my diet.")
  207. StartConversation(conversation, NPC, Spawn, "You hungry now? Mooshga has idea for next meal. Come close so Mooshga not let others know secret of ancestor's recipe.")
  208. end
  209. function dlg12(NPC, Spawn)
  210. FaceTarget(NPC, Spawn)
  211. local conversation = CreateConversation()
  212. AddConversationOption(conversation, "Yes, I think I know the one.", "dlg13")
  213. AddConversationOption(conversation, "No, I don't have time for this. Bye")
  214. StartConversation(conversation, NPC, Spawn, "Mooshga knows what you like. Do you know of old statue on way to docks at sea?")
  215. end
  216. function dlg13(NPC, Spawn)
  217. FaceTarget(NPC, Spawn)
  218. local conversation = CreateConversation()
  219. AddConversationOption(conversation, "I will get some essences.", "offer4")
  220. AddConversationOption(conversation, "Umm... No thanks, Mooshga.")
  221. StartConversation(conversation, NPC, Spawn, "Good. Go to statue and find wisps. You bash them and bring back some for Mooshga. Mooshga make something good for you. You go get wisp essences for Mooshga! Mooshga will make yummy wisp tofu for you.")
  222. end
  223. function dlg14(NPC, Spawn)
  224. SetStepComplete(Spawn, WisperSweetNothings, 2)
  225. FaceTarget(NPC, Spawn)
  226. local conversation = CreateConversation()
  227. AddConversationOption(conversation, "Thanks, Mooshga.")
  228. StartConversation(conversation, NPC, Spawn, "Mooshga very happy. Try some tasty Mooshga made.")
  229. end
  230. function dlg15(NPC, Spawn)
  231. FaceTarget(NPC, Spawn)
  232. local conversation = CreateConversation()
  233. AddConversationOption(conversation, "What type are you making?", "dlg16")
  234. AddConversationOption(conversation, "I'm full. No thanks.")
  235. StartConversation(conversation, NPC, Spawn, "Mmmmm... You smell that? Mooshga gets ready to bake muffins. You want some?")
  236. end
  237. function dlg16(NPC, Spawn)
  238. FaceTarget(NPC, Spawn)
  239. local conversation = CreateConversation()
  240. AddConversationOption(conversation, "Ok. What do you need, Mooshga?", "dlg17")
  241. AddConversationOption(conversation, "I don't have time right now, but thanks!")
  242. StartConversation(conversation, NPC, Spawn, "Mooshga's favorite! Rhino muffins! Mooshga have no parts to next batch. If you want try muffins, you need get Mooshga ingredients.")
  243. end
  244. function dlg17(NPC, Spawn)
  245. FaceTarget(NPC, Spawn)
  246. local conversation = CreateConversation()
  247. AddConversationOption(conversation, "That sounds crunchy. I guess I can do it, though.", "offer5")
  248. AddConversationOption(conversation, "Rhino hoof muffins? Yuck! No thanks!")
  249. StartConversation(conversation, NPC, Spawn, "Mooshga need three-toed rhino feets. You go get three-toed rhino feets for Mooshga, then will make best muffins for you!")
  250. end
  251. function dlg18(NPC, Spawn)
  252. SetStepComplete(Spawn, Rhinorific, 2)
  253. FaceTarget(NPC, Spawn)
  254. local conversation = CreateConversation()
  255. AddConversationOption(conversation, "Excellent.")
  256. StartConversation(conversation, NPC, Spawn, "Just what Mooshga need. This good for big batch.")
  257. end
  258. function dlg19(NPC, Spawn)
  259. FaceTarget(NPC, Spawn)
  260. local conversation = CreateConversation()
  261. AddConversationOption(conversation, "Yes, I have.", "dlg20")
  262. AddConversationOption(conversation, "No, I don't have time.")
  263. StartConversation(conversation, NPC, Spawn, "You come to help Mooshga again?")
  264. end
  265. function dlg20(NPC, Spawn)
  266. FaceTarget(NPC, Spawn)
  267. local conversation = CreateConversation()
  268. AddConversationOption(conversation, "Your brother?", "dlg21")
  269. AddConversationOption(conversation, "Sorry, Mooshga I don't have time to listen right now.")
  270. StartConversation(conversation, NPC, Spawn, "Mooshga run out of herbs. With so much cooking, Mooshga go through spices fast. Brother usually bring Mooshga fresh herbs, but brother didn't this week.")
  271. end
  272. function dlg21(NPC, Spawn)
  273. FaceTarget(NPC, Spawn)
  274. local conversation = CreateConversation()
  275. AddConversationOption(conversation, "Good to know. What do you need me to do?", "offer6")
  276. AddConversationOption(conversation, "Sorry, I don't have time for this.")
  277. StartConversation(conversation, NPC, Spawn, "Yes! Mooshga's brother knows best herbs in forest. Nektulos Forest is where he find herbs. He spend lot of time there near bridge. Nektulos spices old family secret. They keep people coming for Mooshga's food.")
  278. end
  279. function dlg22(NPC, Spawn)
  280. SetStepComplete(Spawn, OMugwumpWhereArtThou, 2)
  281. FaceTarget(NPC, Spawn)
  282. local conversation = CreateConversation()
  283. AddConversationOption(conversation, "You're welcome.")
  284. StartConversation(conversation, NPC, Spawn, "Mooshga not had these for long time. You good friend.")
  285. end
  286. function dlg23(NPC, Spawn)
  287. FaceTarget(NPC, Spawn)
  288. local conversation = CreateConversation()
  289. AddConversationOption(conversation, "Yes, I am. What is on the menu today?", "dlg24")
  290. AddConversationOption(conversation, "I am, but I don't have time.")
  291. StartConversation(conversation, NPC, Spawn, "Mooshga's friend! You hungry now?")
  292. end
  293. function dlg24(NPC, Spawn)
  294. FaceTarget(NPC, Spawn)
  295. local conversation = CreateConversation()
  296. AddConversationOption(conversation, "Omelets sound great.", "dlg25")
  297. AddConversationOption(conversation, "I am not in the mood for breakfast.")
  298. StartConversation(conversation, NPC, Spawn, "Mooshga in mood for breakfast. You like omelet?")
  299. end
  300. function dlg25(NPC, Spawn)
  301. FaceTarget(NPC, Spawn)
  302. local conversation = CreateConversation()
  303. AddConversationOption(conversation, "Where do I find these eggs?", "offer7")
  304. AddConversationOption(conversation, "I'm sorry, I don't have time.")
  305. StartConversation(conversation, NPC, Spawn, "Good. Omelets good breakfast tasty. Mooshga make you some omelet now... Where Mooshga's eggs?! Mooshga think Feterman dwarf been in supplies again. He always \''borrow\'' food from Mooshga. If you want omelet, go get Mooshga eggs. Special eggs for family recipe. Mooshga need vulrich eggs with green spots. Those best eggs for breakfast omelet.")
  306. end
  307. function dlg26(NPC, Spawn)
  308. SetStepComplete(Spawn, OverlordsOmelet, 2)
  309. FaceTarget(NPC, Spawn)
  310. local conversation = CreateConversation()
  311. AddConversationOption(conversation, "Sure.")
  312. StartConversation(conversation, NPC, Spawn, "These eggs good for breakfast. You want omelet?")
  313. end
  314. function dlg27(NPC, Spawn)
  315. FaceTarget(NPC, Spawn)
  316. local conversation = CreateConversation()
  317. AddConversationOption(conversation, "Was it something you ate?", "dlg28")
  318. AddConversationOption(conversation, "Sorry to hear that Mooshga, but I have to go.")
  319. StartConversation(conversation, NPC, Spawn, "Ooof... Mooshga not feel good today.")
  320. end
  321. function dlg28(NPC, Spawn)
  322. FaceTarget(NPC, Spawn)
  323. local conversation = CreateConversation()
  324. AddConversationOption(conversation, "That sounds painful.", "dlg29")
  325. AddConversationOption(conversation, "Sounds like you need a doctor, not an adventurer.")
  326. StartConversation(conversation, NPC, Spawn, "No. Not something Mooshga eat, something try to eat Mooshga. Mooshga was collecting ingredients for special pachyderm punch. Pachyderms wasn't too happy for that. Mooshga almost been trampled!")
  327. end
  328. function dlg29(NPC, Spawn)
  329. FaceTarget(NPC, Spawn)
  330. local conversation = CreateConversation()
  331. AddConversationOption(conversation, "Yes, I can do that.", "offer8")
  332. AddConversationOption(conversation, "I'll pass today, Mooshga.")
  333. StartConversation(conversation, NPC, Spawn, "You go collect the pristine tusks for Mooshga? Only found on plains elephants. Mooshga needs for punch but wants to sit down now.")
  334. end
  335. function dlg30(NPC, Spawn)
  336. SetStepComplete(Spawn, PachydermPunch, 2)
  337. FaceTarget(NPC, Spawn)
  338. local conversation = CreateConversation()
  339. AddConversationOption(conversation, "Umm... I'll pass.")
  340. StartConversation(conversation, NPC, Spawn, "You try some punch!")
  341. end
  342. function dlg31(NPC, Spawn)
  343. FaceTarget(NPC, Spawn)
  344. local conversation = CreateConversation()
  345. AddConversationOption(conversation, "May I try some?", "dlg32")
  346. AddConversationOption(conversation, "That smells terrible. Good day, Mooshga.")
  347. StartConversation(conversation, NPC, Spawn, "You back? Mooshga do some more cooking.")
  348. end
  349. function dlg32(NPC, Spawn)
  350. FaceTarget(NPC, Spawn)
  351. local conversation = CreateConversation()
  352. AddConversationOption(conversation, "Mushrooms?", "dlg33")
  353. AddConversationOption(conversation, "I don't have time for this now Mooshga.")
  354. StartConversation(conversation, NPC, Spawn, "Food not ready yet. Mooshga need mushrooms for recipe to be right.")
  355. end
  356. function dlg33(NPC, Spawn)
  357. FaceTarget(NPC, Spawn)
  358. local conversation = CreateConversation()
  359. AddConversationOption(conversation, "I can get some.", "dlg34")
  360. AddConversationOption(conversation, "No thanks! Goodbye.")
  361. StartConversation(conversation, NPC, Spawn, "Special dark caps. Dark cap mushroom only grows in the Nektulos Forest.")
  362. end
  363. function dlg34(NPC, Spawn)
  364. FaceTarget(NPC, Spawn)
  365. local conversation = CreateConversation()
  366. AddConversationOption(conversation, "I will be careful, I can do it.", "offer9")
  367. AddConversationOption(conversation, "Maybe I'd better not.")
  368. StartConversation(conversation, NPC, Spawn, "They grow near dark river on both sides, barely inside forest there. Friend be careful though; mean beasts in there. Dark cap mushroom have bright purple tops so they easy to see.")
  369. end
  370. function dlg35(NPC, Spawn)
  371. SetStepComplete(Spawn, MushroomMadness, 2)
  372. FaceTarget(NPC, Spawn)
  373. local conversation = CreateConversation()
  374. AddConversationOption(conversation, "It was nothing, Mooshga.")
  375. StartConversation(conversation, NPC, Spawn, "Mooshga not seen these for ages. These perfect for special stew!")
  376. end
  377. function quest1complete(NPC, Spawn)
  378. FaceTarget(NPC, Spawn)
  379. SetStepComplete(Spawn, HyenaJerky, 2)
  380. conversation = CreateConversation()
  381. AddConversationOption(conversation, "You're welcome.")
  382. StartConversation(conversation, NPC, Spawn, "Oh, thanks you! You make Mooshga happy Ogre.")
  383. end
  384. function offer(NPC, Spawn)
  385. FaceTarget(NPC, Spawn)
  386. OfferQuest(NPC, Spawn, HyenaJerky)
  387. end
  388. function offer2(NPC, Spawn)
  389. FaceTarget(NPC, Spawn)
  390. OfferQuest(NPC, Spawn, SeafoodSurprise)
  391. end
  392. function offer3(NPC, Spawn)
  393. FaceTarget(NPC, Spawn)
  394. OfferQuest(NPC, Spawn, CrackPot)
  395. end
  396. function offer4(NPC, Spawn)
  397. FaceTarget(NPC, Spawn)
  398. OfferQuest(NPC, Spawn, WisperSweetNothings)
  399. end
  400. function offer5(NPC, Spawn)
  401. FaceTarget(NPC, Spawn)
  402. OfferQuest(NPC, Spawn, Rhinorific)
  403. end
  404. function offer6(NPC, Spawn)
  405. FaceTarget(NPC, Spawn)
  406. OfferQuest(NPC, Spawn, OMugwumpWhereArtThou)
  407. end
  408. function offer7(NPC, Spawn)
  409. FaceTarget(NPC, Spawn)
  410. OfferQuest(NPC, Spawn, OverlordsOmelet)
  411. end
  412. function offer8(NPC, Spawn)
  413. FaceTarget(NPC, Spawn)
  414. OfferQuest(NPC, Spawn, PachydermPunch)
  415. end
  416. function offer9(NPC, Spawn)
  417. FaceTarget(NPC, Spawn)
  418. OfferQuest(NPC, Spawn, MushroomMadness)
  419. end
  420. function questprogress(NPC, Spawn)
  421. FaceTarget(NPC, Spawn)
  422. conversation = CreateConversation()
  423. AddConversationOption(conversation, "Okay, okay. Mooshga, I'm going.")
  424. StartConversation(conversation, NPC, Spawn, "You don't look hungry enough. You go away! NO FOOD FOR YOU!")
  425. end
  426. function respawn(NPC)
  427. end