9
3

Mooshga.lua 25 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508
  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. local Eleventh_AJourneyOutsideTheCity = 5658
  18. function spawn(NPC)
  19. SetPlayerProximityFunction(NPC, 10, "InRange")
  20. end
  21. function InRange(NPC, Spawn)
  22. if not HasCompletedQuest(Spawn, HyenaJerky) then
  23. ProvidesQuest(NPC, HyenaJerky)
  24. SetInfoFlag(NPC)
  25. SetVisualFlag(NPC)
  26. elseif HasCompletedQuest(Spawn, HyenaJerky) then
  27. ProvidesQuest(NPC, SeafoodSurprise)
  28. SetInfoFlag(NPC)
  29. SetVisualFlag(NPC)
  30. elseif HasCompletedQuest(Spawn, SeafoodSurprise) then
  31. ProvidesQuest(NPC, CrackPot)
  32. SetInfoFlag(NPC)
  33. SetVisualFlag(NPC)
  34. elseif HasCompletedQuest(Spawn, CrackPot) then
  35. ProvidesQuest(NPC, WisperSweetNothings)
  36. SetInfoFlag(NPC)
  37. SetVisualFlag(NPC)
  38. elseif HasCompletedQuest(Spawn, WisperSweetNothings) then
  39. ProvidesQuest(NPC, Rhinorific)
  40. SetInfoFlag(NPC)
  41. SetVisualFlag(NPC)
  42. elseif HasCompletedQuest(Spawn, Rhinorific) then
  43. ProvidesQuest(NPC, OMugwumpWhereArtThou)
  44. SetInfoFlag(NPC)
  45. SetVisualFlag(NPC)
  46. elseif HasCompletedQuest(Spawn, OMugwumpWhereArtThou) then
  47. ProvidesQuest(NPC, OverlordsOmelet)
  48. SetInfoFlag(NPC)
  49. SetVisualFlag(NPC)
  50. elseif HasCompletedQuest(Spawn, OverlordsOmelet) then
  51. ProvidesQuest(NPC, PachydermPunch)
  52. SetInfoFlag(NPC)
  53. SetVisualFlag(NPC)
  54. elseif HasCompletedQuest(Spawn, PachydermPunch) then
  55. ProvidesQuest(NPC, MushroomMadness)
  56. SetInfoFlag(NPC)
  57. SetVisualFlag(NPC)
  58. end
  59. end
  60. --[[
  61. function hailed(NPC, Spawn)
  62. FaceTarget(NPC, Spawn)
  63. conversation = CreateConversation()
  64. if not HasQuest(Spawn, HyenaJerky) and not HasCompletedQuest(Spawn, HyenaJerky) then
  65. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_1_1055.mp3", "", "", 0, 0, Spawn)
  66. AddConversationOption(conversation, "Captain Arellius said you could use a hand. You are a cook?", "dlg1")
  67. AddConversationOption(conversation, "I don't think I'm hungry right now.")
  68. StartConversation(conversation, NPC, Spawn, "So, you be adventurer sent by Militia to help Mooshga? You look like you hungry! Mooshga feed you good!")
  69. elseif GetQuestStep(Spawn, HyenaJerky) == 1 then
  70. quest1progress(NPC, Spawn)
  71. elseif GetQuestStep(Spawn, HyenaJerky) == 2 then
  72. dlg3(NPC, Spawn)
  73. end
  74. end
  75. --]]
  76. function hailed(NPC, Spawn)
  77. FaceTarget(NPC, Spawn)
  78. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_1_1055.mp3", "", "", 0, 0, Spawn)
  79. 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
  80. local conversation = CreateConversation()
  81. AddConversationOption(conversation, "No, I'm not hungry.")
  82. AddConversationOption(conversation, "I guess that depends on the menu.", "dlg1")
  83. StartConversation(conversation, NPC, Spawn, "Mooshga meet new friend! You look hungry. Mooshga hungry. You hungry?")
  84. 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
  85. questprogress(NPC, Spawn)
  86. 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
  87. QuestComplete(NPC, Spawn)
  88. elseif HasCompletedQuest(Spawn, HyenaJerky) and not HasCompletedQuest(Spawn, SeafoodSurprise) then
  89. dlg3(NPC, Spawn)
  90. elseif HasCompletedQuest(Spawn, HyenaJerky) and HasCompletedQuest(Spawn, SeafoodSurprise) and not HasCompletedQuest(Spawn, CrackPot) then
  91. dlg7(NPC, Spawn)
  92. elseif HasCompletedQuest(Spawn, HyenaJerky) and HasCompletedQuest(Spawn, SeafoodSurprise) and HasCompletedQuest(Spawn, CrackPot) and not HasCompletedQuest(Spawn, WisperSweetNothings) then
  93. dlg11(NPC, Spawn)
  94. elseif HasCompletedQuest(Spawn, HyenaJerky) and HasCompletedQuest(Spawn, SeafoodSurprise) and HasCompletedQuest(Spawn, CrackPot) and HasCompletedQuest(Spawn, WisperSweetNothings) and not HasCompletedQuest(Spawn, Rhinorific) then
  95. dlg15(NPC, Spawn)
  96. 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
  97. dlg19(NPC, Spawn)
  98. 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
  99. dlg23(NPC, Spawn)
  100. 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
  101. dlg27(NPC, Spawn)
  102. 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
  103. dlg31(NPC, Spawn)
  104. 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
  105. PlayFlavor(NPC, "", "Hello, friend... Mooshga fed you well, no?", "", 0, 0, Spawn)
  106. end
  107. if GetQuestStep(Spawn, Eleventh_AJourneyOutsideTheCity) == 1 then
  108. SetStepComplete(Spawn, Eleventh_AJourneyOutsideTheCity, 1)
  109. end
  110. end
  111. function dlg1(NPC, Spawn)
  112. FaceTarget(NPC, Spawn)
  113. conversation = CreateConversation()
  114. AddConversationOption(conversation, "Come to think of it, I am hungry. What are you going to make?", "dlg2")
  115. AddConversationOption(conversation, "An ogre baker? I'll be on my way.")
  116. StartConversation(conversation, NPC, Spawn, "Mooshga is greatest baker in all Commonlands! You want Mooshga make somethin' for you?")
  117. end
  118. function dlg2(NPC, Spawn)
  119. FaceTarget(NPC, Spawn)
  120. conversation = CreateConversation()
  121. AddConversationOption(conversation, "Jerky sounds good. I'll do it.", "offer")
  122. AddConversationOption(conversation, "Ogre cooking sounds scary to me. Bye!")
  123. 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.")
  124. end
  125. function dlg3(NPC, Spawn)
  126. FaceTarget(NPC, Spawn)
  127. conversation = CreateConversation()
  128. AddConversationOption(conversation, "Yes, I am. I would love more of your cooking, Mooshga.", "dlg4")
  129. AddConversationOption(conversation, "What? No thanks... I just ate!")
  130. 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.")
  131. end
  132. function dlg4(NPC, Spawn)
  133. FaceTarget(NPC, Spawn)
  134. local conversation = CreateConversation()
  135. AddConversationOption(conversation, "What type of claws?", "dlg5")
  136. AddConversationOption(conversation, "I think i just lost my apetite")
  137. StartConversation(conversation, NPC, Spawn, "Mooshga make special surprise today. Mooshga needs claws for surprise recipe she figure out.")
  138. end
  139. function dlg5(NPC, Spawn)
  140. FaceTarget(NPC, Spawn)
  141. local conversation = CreateConversation()
  142. AddConversationOption(conversation, "I'm getting hungrier by the minute.", "offer2")
  143. AddConversationOption(conversation, "Oh... I think i just lost my apetite.")
  144. 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.")
  145. end
  146. function QuestComplete(NPC, Spawn)
  147. FaceTarget(NPC, Spawn)
  148. local conversation = CreateConversation()
  149. if GetQuestStep(Spawn, HyenaJerky) == 2 then
  150. AddConversationOption(conversation, "I have brought you the ears that you asked for.", "quest1complete")
  151. elseif GetQuestStep(Spawn, SeafoodSurprise) == 2 then
  152. AddConversationOption(conversation, "I have the huge crab claws for your soup, Mooshga.", "dlg6")
  153. elseif GetQuestStep(Spawn, CrackPot) == 2 then
  154. AddConversationOption(conversation, "Good news Mooshga. I was able to gather the iron clusters you need to get your pot fixed.", "dlg10")
  155. elseif GetQuestStep(Spawn, WisperSweetNothings) == 2 then
  156. AddConversationOption(conversation, "I have your wisp essences that you asked for, Mooshga.", "dlg14")
  157. elseif GetQuestStep(Spawn, Rhinorific) == 2 then
  158. AddConversationOption(conversation, "Those rhinos were tough, but I was able to get the hooves you need for the muffins.", "dlg18")
  159. elseif GetQuestStep(Spawn, OMugwumpWhereArtThou) == 2 then
  160. AddConversationOption(conversation, "Mugwump sends his regards. He had the herbs that you asked for.", "dlg22")
  161. elseif GetQuestStep(Spawn, OverlordsOmelet) == 2 then
  162. AddConversationOption(conversation, "Here are the speckled eggs you asked for, Mooshga.", "dlg26")
  163. elseif GetQuestStep(Spawn, PachydermPunch) == 2 then
  164. 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")
  165. elseif GetQuestStep(Spawn, MushroomMadness) == 2 then
  166. AddConversationOption(conversation, "I have the mushroom caps that you asked for. Here ya go, Mooshga.", "dlg35")
  167. end
  168. AddConversationOption(conversation, "Nothing right now.")
  169. StartConversation(conversation, NPC, Spawn, "You back so quick! What you have for Mooshga?")
  170. end
  171. function dlg6(NPC, Spawn)
  172. SetStepComplete(Spawn, SeafoodSurprise, 2)
  173. FaceTarget(NPC, Spawn)
  174. local conversation = CreateConversation()
  175. AddConversationOption(conversation, "Thanks, Mooshga.")
  176. StartConversation(conversation, NPC, Spawn, "Mooshga makes you some too. Here you go.")
  177. end
  178. function dlg7(NPC, Spawn)
  179. FaceTarget(NPC, Spawn)
  180. local conversation = CreateConversation()
  181. AddConversationOption(conversation, "What happened, Mooshga?", "dlg10")
  182. AddConversationOption(conversation, "You seem busy. I'll come back another time.")
  183. StartConversation(conversation, NPC, Spawn, "The pot! Mooshga not believe what happened.")
  184. end
  185. function dlg8(NPC, Spawn)
  186. FaceTarget(NPC, Spawn)
  187. local conversation = CreateConversation()
  188. AddConversationOption(conversation, "Did you catch it?", "dlg11")
  189. AddConversationOption(conversation, "Poor little squirrel. That's just mean, Mooshga. Goodbye.")
  190. 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.")
  191. end
  192. function dlg9(NPC, Spawn)
  193. FaceTarget(NPC, Spawn)
  194. local conversation = CreateConversation()
  195. AddConversationOption(conversation, "Sure.", "offer3")
  196. AddConversationOption(conversation, "I don't have time right now, Mooshga.")
  197. 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?")
  198. end
  199. function dlg10(NPC, Spawn)
  200. SetStepComplete(Spawn, CrackPot, 2)
  201. FaceTarget(NPC, Spawn)
  202. local conversation = CreateConversation()
  203. AddConversationOption(conversation, "Thanks, Mooshga.")
  204. 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.")
  205. end
  206. function dlg11(NPC, Spawn)
  207. FaceTarget(NPC, Spawn)
  208. local conversation = CreateConversation()
  209. AddConversationOption(conversation, "Oh really, what are you making?", "dlg12")
  210. AddConversationOption(conversation, "Oh no, I can't. I'm watching my diet.")
  211. 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.")
  212. end
  213. function dlg12(NPC, Spawn)
  214. FaceTarget(NPC, Spawn)
  215. local conversation = CreateConversation()
  216. AddConversationOption(conversation, "Yes, I think I know the one.", "dlg13")
  217. AddConversationOption(conversation, "No, I don't have time for this. Bye")
  218. StartConversation(conversation, NPC, Spawn, "Mooshga knows what you like. Do you know of old statue on way to docks at sea?")
  219. end
  220. function dlg13(NPC, Spawn)
  221. FaceTarget(NPC, Spawn)
  222. local conversation = CreateConversation()
  223. AddConversationOption(conversation, "I will get some essences.", "offer4")
  224. AddConversationOption(conversation, "Umm... No thanks, Mooshga.")
  225. 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.")
  226. end
  227. function dlg14(NPC, Spawn)
  228. SetStepComplete(Spawn, WisperSweetNothings, 2)
  229. FaceTarget(NPC, Spawn)
  230. local conversation = CreateConversation()
  231. AddConversationOption(conversation, "Thanks, Mooshga.")
  232. StartConversation(conversation, NPC, Spawn, "Mooshga very happy. Try some tasty Mooshga made.")
  233. end
  234. function dlg15(NPC, Spawn)
  235. FaceTarget(NPC, Spawn)
  236. local conversation = CreateConversation()
  237. AddConversationOption(conversation, "What type are you making?", "dlg16")
  238. AddConversationOption(conversation, "I'm full. No thanks.")
  239. StartConversation(conversation, NPC, Spawn, "Mmmmm... You smell that? Mooshga gets ready to bake muffins. You want some?")
  240. end
  241. function dlg16(NPC, Spawn)
  242. FaceTarget(NPC, Spawn)
  243. local conversation = CreateConversation()
  244. AddConversationOption(conversation, "Ok. What do you need, Mooshga?", "dlg17")
  245. AddConversationOption(conversation, "I don't have time right now, but thanks!")
  246. 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.")
  247. end
  248. function dlg17(NPC, Spawn)
  249. FaceTarget(NPC, Spawn)
  250. local conversation = CreateConversation()
  251. AddConversationOption(conversation, "That sounds crunchy. I guess I can do it, though.", "offer5")
  252. AddConversationOption(conversation, "Rhino hoof muffins? Yuck! No thanks!")
  253. 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!")
  254. end
  255. function dlg18(NPC, Spawn)
  256. SetStepComplete(Spawn, Rhinorific, 2)
  257. FaceTarget(NPC, Spawn)
  258. local conversation = CreateConversation()
  259. AddConversationOption(conversation, "Excellent.")
  260. StartConversation(conversation, NPC, Spawn, "Just what Mooshga need. This good for big batch.")
  261. end
  262. function dlg19(NPC, Spawn)
  263. FaceTarget(NPC, Spawn)
  264. local conversation = CreateConversation()
  265. AddConversationOption(conversation, "Yes, I have.", "dlg20")
  266. AddConversationOption(conversation, "No, I don't have time.")
  267. StartConversation(conversation, NPC, Spawn, "You come to help Mooshga again?")
  268. end
  269. function dlg20(NPC, Spawn)
  270. FaceTarget(NPC, Spawn)
  271. local conversation = CreateConversation()
  272. AddConversationOption(conversation, "Your brother?", "dlg21")
  273. AddConversationOption(conversation, "Sorry, Mooshga I don't have time to listen right now.")
  274. 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.")
  275. end
  276. function dlg21(NPC, Spawn)
  277. FaceTarget(NPC, Spawn)
  278. local conversation = CreateConversation()
  279. AddConversationOption(conversation, "Good to know. What do you need me to do?", "offer6")
  280. AddConversationOption(conversation, "Sorry, I don't have time for this.")
  281. 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.")
  282. end
  283. function dlg22(NPC, Spawn)
  284. SetStepComplete(Spawn, OMugwumpWhereArtThou, 2)
  285. FaceTarget(NPC, Spawn)
  286. local conversation = CreateConversation()
  287. AddConversationOption(conversation, "You're welcome.")
  288. StartConversation(conversation, NPC, Spawn, "Mooshga not had these for long time. You good friend.")
  289. end
  290. function dlg23(NPC, Spawn)
  291. FaceTarget(NPC, Spawn)
  292. local conversation = CreateConversation()
  293. AddConversationOption(conversation, "Yes, I am. What is on the menu today?", "dlg24")
  294. AddConversationOption(conversation, "I am, but I don't have time.")
  295. StartConversation(conversation, NPC, Spawn, "Mooshga's friend! You hungry now?")
  296. end
  297. function dlg24(NPC, Spawn)
  298. FaceTarget(NPC, Spawn)
  299. local conversation = CreateConversation()
  300. AddConversationOption(conversation, "Omelets sound great.", "dlg25")
  301. AddConversationOption(conversation, "I am not in the mood for breakfast.")
  302. StartConversation(conversation, NPC, Spawn, "Mooshga in mood for breakfast. You like omelet?")
  303. end
  304. function dlg25(NPC, Spawn)
  305. FaceTarget(NPC, Spawn)
  306. local conversation = CreateConversation()
  307. AddConversationOption(conversation, "Where do I find these eggs?", "offer7")
  308. AddConversationOption(conversation, "I'm sorry, I don't have time.")
  309. 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.")
  310. end
  311. function dlg26(NPC, Spawn)
  312. SetStepComplete(Spawn, OverlordsOmelet, 2)
  313. FaceTarget(NPC, Spawn)
  314. local conversation = CreateConversation()
  315. AddConversationOption(conversation, "Sure.")
  316. StartConversation(conversation, NPC, Spawn, "These eggs good for breakfast. You want omelet?")
  317. end
  318. function dlg27(NPC, Spawn)
  319. FaceTarget(NPC, Spawn)
  320. local conversation = CreateConversation()
  321. AddConversationOption(conversation, "Was it something you ate?", "dlg28")
  322. AddConversationOption(conversation, "Sorry to hear that Mooshga, but I have to go.")
  323. StartConversation(conversation, NPC, Spawn, "Ooof... Mooshga not feel good today.")
  324. end
  325. function dlg28(NPC, Spawn)
  326. FaceTarget(NPC, Spawn)
  327. local conversation = CreateConversation()
  328. AddConversationOption(conversation, "That sounds painful.", "dlg29")
  329. AddConversationOption(conversation, "Sounds like you need a doctor, not an adventurer.")
  330. 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!")
  331. end
  332. function dlg29(NPC, Spawn)
  333. FaceTarget(NPC, Spawn)
  334. local conversation = CreateConversation()
  335. AddConversationOption(conversation, "Yes, I can do that.", "offer8")
  336. AddConversationOption(conversation, "I'll pass today, Mooshga.")
  337. 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.")
  338. end
  339. function dlg30(NPC, Spawn)
  340. SetStepComplete(Spawn, PachydermPunch, 2)
  341. FaceTarget(NPC, Spawn)
  342. local conversation = CreateConversation()
  343. AddConversationOption(conversation, "Umm... I'll pass.")
  344. StartConversation(conversation, NPC, Spawn, "You try some punch!")
  345. end
  346. function dlg31(NPC, Spawn)
  347. FaceTarget(NPC, Spawn)
  348. local conversation = CreateConversation()
  349. AddConversationOption(conversation, "May I try some?", "dlg32")
  350. AddConversationOption(conversation, "That smells terrible. Good day, Mooshga.")
  351. StartConversation(conversation, NPC, Spawn, "You back? Mooshga do some more cooking.")
  352. end
  353. function dlg32(NPC, Spawn)
  354. FaceTarget(NPC, Spawn)
  355. local conversation = CreateConversation()
  356. AddConversationOption(conversation, "Mushrooms?", "dlg33")
  357. AddConversationOption(conversation, "I don't have time for this now Mooshga.")
  358. StartConversation(conversation, NPC, Spawn, "Food not ready yet. Mooshga need mushrooms for recipe to be right.")
  359. end
  360. function dlg33(NPC, Spawn)
  361. FaceTarget(NPC, Spawn)
  362. local conversation = CreateConversation()
  363. AddConversationOption(conversation, "I can get some.", "dlg34")
  364. AddConversationOption(conversation, "No thanks! Goodbye.")
  365. StartConversation(conversation, NPC, Spawn, "Special dark caps. Dark cap mushroom only grows in the Nektulos Forest.")
  366. end
  367. function dlg34(NPC, Spawn)
  368. FaceTarget(NPC, Spawn)
  369. local conversation = CreateConversation()
  370. AddConversationOption(conversation, "I will be careful, I can do it.", "offer9")
  371. AddConversationOption(conversation, "Maybe I'd better not.")
  372. 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.")
  373. end
  374. function dlg35(NPC, Spawn)
  375. SetStepComplete(Spawn, MushroomMadness, 2)
  376. FaceTarget(NPC, Spawn)
  377. local conversation = CreateConversation()
  378. AddConversationOption(conversation, "It was nothing, Mooshga.")
  379. StartConversation(conversation, NPC, Spawn, "Mooshga not seen these for ages. These perfect for special stew!")
  380. end
  381. function quest1complete(NPC, Spawn)
  382. FaceTarget(NPC, Spawn)
  383. SetStepComplete(Spawn, HyenaJerky, 2)
  384. conversation = CreateConversation()
  385. AddConversationOption(conversation, "You're welcome.")
  386. StartConversation(conversation, NPC, Spawn, "Oh, thanks you! You make Mooshga happy Ogre.")
  387. end
  388. function offer(NPC, Spawn)
  389. FaceTarget(NPC, Spawn)
  390. OfferQuest(NPC, Spawn, HyenaJerky)
  391. end
  392. function offer2(NPC, Spawn)
  393. FaceTarget(NPC, Spawn)
  394. OfferQuest(NPC, Spawn, SeafoodSurprise)
  395. end
  396. function offer3(NPC, Spawn)
  397. FaceTarget(NPC, Spawn)
  398. OfferQuest(NPC, Spawn, CrackPot)
  399. end
  400. function offer4(NPC, Spawn)
  401. FaceTarget(NPC, Spawn)
  402. OfferQuest(NPC, Spawn, WisperSweetNothings)
  403. end
  404. function offer5(NPC, Spawn)
  405. FaceTarget(NPC, Spawn)
  406. OfferQuest(NPC, Spawn, Rhinorific)
  407. end
  408. function offer6(NPC, Spawn)
  409. FaceTarget(NPC, Spawn)
  410. OfferQuest(NPC, Spawn, OMugwumpWhereArtThou)
  411. end
  412. function offer7(NPC, Spawn)
  413. FaceTarget(NPC, Spawn)
  414. OfferQuest(NPC, Spawn, OverlordsOmelet)
  415. end
  416. function offer8(NPC, Spawn)
  417. FaceTarget(NPC, Spawn)
  418. OfferQuest(NPC, Spawn, PachydermPunch)
  419. end
  420. function offer9(NPC, Spawn)
  421. FaceTarget(NPC, Spawn)
  422. OfferQuest(NPC, Spawn, MushroomMadness)
  423. end
  424. function questprogress(NPC, Spawn)
  425. FaceTarget(NPC, Spawn)
  426. conversation = CreateConversation()
  427. AddConversationOption(conversation, "Okay, okay. Mooshga, I'm going.")
  428. StartConversation(conversation, NPC, Spawn, "You don't look hungry enough. You go away! NO FOOD FOR YOU!")
  429. end
  430. function respawn(NPC)
  431. end