DrundoParn.lua 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211
  1. --[[
  2. Script Name : SpawnScripts/Baubbleshire/DrundoParn.lua
  3. Script Purpose : Drundo Parn
  4. Script Author : John Adams
  5. Script Date : 2008.09.23
  6. Script Notes : Auto-Generated Conversation from PacketParser Data
  7. --]]
  8. -- Quest ID's
  9. local HELPING_SOME_FRIENDS = 325 -- was 72
  10. local NEEZERS_SURVEY = 330 -- was 28
  11. function spawn(NPC)
  12. end
  13. function respawn(NPC)
  14. spawn(NPC)
  15. end
  16. function hailed(NPC, Spawn)
  17. FaceTarget(NPC, Spawn)
  18. conversation = CreateConversation()
  19. if HasQuest(Spawn, NEEZERS_SURVEY) and not QuestStepIsComplete(Spawn, NEEZERS_SURVEY, 2) then
  20. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/drundo_parn/qey_village06/quests/drundo_parn/drundo_parn001.mp3", "", "", 1538510210, 1256846225, Spawn)
  21. AddConversationOption(conversation, "I'm not selling! I have a few questions for you though.", "dlg_53_1")
  22. AddConversationOption(conversation, "All right, I'm leaving.")
  23. StartConversation(conversation, NPC, Spawn, "Go away! I'm not buying.")
  24. elseif HasCompletedQuest(Spawn, HELPING_SOME_FRIENDS) then
  25. Say(NPC, "My face is so itchy all of a sudden. Gosh, and my eyes are watering. Ugh, is it me or is my face a little pudgy?", Spawn)
  26. elseif HasQuest(Spawn, HELPING_SOME_FRIENDS) then
  27. if GetQuestStep(Spawn, HELPING_SOME_FRIENDS) >= 2 and not QuestStepIsComplete(Spawn, HELPING_SOME_FRIENDS, 2) then
  28. GoAwayNotSelling(NPC, Spawn)
  29. else
  30. Say(NPC, "My face is so itchy all of a sudden. Gosh, and my eyes are watering. Ugh, is it me or is my face a little pudgy?", Spawn)
  31. end
  32. else
  33. --PlayFlavor(NPC, "voiceover/english/tutorial_revamp/drundo_parn/qey_village06/qst_drundo_parn_notonquest_976bcd41.mp3", "Don't bother me, I'm drinking!", "", 2257928198, 1328794704, Spawn)
  34. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/drundo_parn/qey_village06/qst_drundo_parn_notonquest_976bcd41.mp3", "Don't bother me, I'm drinking!", "", 2257928198, 1328794704, Spawn)
  35. end
  36. end
  37. --------------------------------------------------------------------------------------
  38. -- GNOME QUEST
  39. --------------------------------------------------------------------------------------
  40. function dlg_53_1(NPC, Spawn)
  41. FaceTarget(NPC, Spawn)
  42. conversation = CreateConversation()
  43. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/drundo_parn/qey_village06/quests/drundo_parn/drundo_parn002.mp3", "", "", 566362818, 2943772990, Spawn)
  44. AddConversationOption(conversation, "No of course not! These questions are very simple and will only take a moment of your time.", "dlg_53_2")
  45. StartConversation(conversation, NPC, Spawn, "Bah! You want to ruin my jolly, ya do!")
  46. end
  47. function dlg_53_2(NPC, Spawn)
  48. FaceTarget(NPC, Spawn)
  49. conversation = CreateConversation()
  50. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/drundo_parn/qey_village06/quests/drundo_parn/drundo_parn003.mp3", "", "", 1283631971, 1107457103, Spawn)
  51. AddConversationOption(conversation, "Ok, first question: If you were to calibrate a Fizzo Torque Wrench for work in Lavastorm and then attempt precisely the same work in Everfrost what difference of calibration would be needed?", "dlg_53_3")
  52. AddConversationOption(conversation, "All right, I'm leaving.")
  53. StartConversation(conversation, NPC, Spawn, "Fine, fine. Make it quick. I'm getting behind on my ale consumption.")
  54. end
  55. function dlg_53_3(NPC, Spawn)
  56. FaceTarget(NPC, Spawn)
  57. conversation = CreateConversation()
  58. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/drundo_parn/qey_village06/quests/drundo_parn/drundo_parn004.mp3", "", "", 2966163409, 3279443882, Spawn)
  59. AddConversationOption(conversation, "Well?", "dlg_53_4")
  60. StartConversation(conversation, NPC, Spawn, "...")
  61. end
  62. function dlg_53_4(NPC, Spawn)
  63. FaceTarget(NPC, Spawn)
  64. conversation = CreateConversation()
  65. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/drundo_parn/qey_village06/quests/drundo_parn/drundo_parn005.mp3", "", "", 1855808579, 632330066, Spawn)
  66. AddConversationOption(conversation, "Oh, ok. First question: If you were to calibrate a Fizzo Torque Wrench for work in Lavastorm and then attempt precisely the same work in Everfrost what difference of calibration would be needed?", "dlg_53_5")
  67. StartConversation(conversation, NPC, Spawn, "Okay, I think I'm ready for your questions now.")
  68. end
  69. function dlg_53_5(NPC, Spawn)
  70. FaceTarget(NPC, Spawn)
  71. conversation = CreateConversation()
  72. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/drundo_parn/qey_village06/quests/drundo_parn/drundo_parn006.mp3", "", "", 3959523964, 427971299, Spawn)
  73. AddConversationOption(conversation, "...", "dlg_53_6")
  74. StartConversation(conversation, NPC, Spawn, "...")
  75. end
  76. function dlg_53_6(NPC, Spawn)
  77. FaceTarget(NPC, Spawn)
  78. conversation = CreateConversation()
  79. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/drundo_parn/qey_village06/quests/drundo_parn/drundo_parn007.mp3", "", "", 2289626536, 947893658, Spawn)
  80. AddConversationOption(conversation, "All right, next question: what is the average measurement between Keen and Preen on a Spectromatic Nest-Druther?", "dlg_53_7")
  81. StartConversation(conversation, NPC, Spawn, "... erm ...")
  82. end
  83. function dlg_53_7(NPC, Spawn)
  84. FaceTarget(NPC, Spawn)
  85. conversation = CreateConversation()
  86. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/drundo_parn/qey_village06/quests/drundo_parn/drundo_parn008.mp3", "", "", 3683047633, 2681247972, Spawn)
  87. AddConversationOption(conversation, "Question three: if given the choice in a vote for the new Queen of Qeynos, would you cast your vote for a nut or a bolt?", "dlg_53_8")
  88. StartConversation(conversation, NPC, Spawn, "What did you say about my mother?")
  89. end
  90. function dlg_53_8(NPC, Spawn)
  91. FaceTarget(NPC, Spawn)
  92. conversation = CreateConversation()
  93. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/drundo_parn/qey_village06/quests/drundo_parn/drundo_parn009.mp3", "", "", 3764415585, 1874332902, Spawn)
  94. AddConversationOption(conversation, "Next question! Though not yet officially proven, which theory concerning thermodynamic particle acceleration and its correlation to metaphysical tides is widely accepted?", "dlg_53_9")
  95. StartConversation(conversation, NPC, Spawn, "I don't understand the question.")
  96. end
  97. function dlg_53_9(NPC, Spawn)
  98. FaceTarget(NPC, Spawn)
  99. conversation = CreateConversation()
  100. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/drundo_parn/qey_village06/quests/drundo_parn/drundo_parn010.mp3", "", "", 566977886, 741493356, Spawn)
  101. AddConversationOption(conversation, "Almost done. Isn't Neezer Grund amazing?", "dlg_53_10")
  102. StartConversation(conversation, NPC, Spawn, "Thermo-what?")
  103. end
  104. function dlg_53_10(NPC, Spawn)
  105. FaceTarget(NPC, Spawn)
  106. conversation = CreateConversation()
  107. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/drundo_parn/qey_village06/quests/drundo_parn/drundo_parn011.mp3", "", "", 475313112, 1703279619, Spawn)
  108. AddConversationOption(conversation, "Final question: the Banton particle is supposed to generate high amounts of what?", "dlg_53_11")
  109. StartConversation(conversation, NPC, Spawn, "Who?")
  110. end
  111. function dlg_53_11(NPC, Spawn)
  112. SetStepComplete(Spawn, NEEZERS_SURVEY, 2)
  113. FaceTarget(NPC, Spawn)
  114. conversation = CreateConversation()
  115. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/drundo_parn/qey_village06/quests/drundo_parn/drundo_parn012.mp3", "", "", 3760395397, 1228652719, Spawn)
  116. AddConversationOption(conversation, "That's fine, I'm done! Thank you for your time.")
  117. StartConversation(conversation, NPC, Spawn, "I don't understand a word you're saying.")
  118. end
  119. --------------------------------------------------------------------------------------
  120. -- HALFLING QUEST
  121. --------------------------------------------------------------------------------------
  122. function GoAwayNotSelling(NPC, Spawn)
  123. FaceTarget(NPC, Spawn)
  124. conversation = CreateConversation()
  125. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/drundo_parn/qey_village06/quests/drundo_parn/drundo_parn020.mp3", "", "", 3126100476, 608366249, Spawn)
  126. AddConversationOption(conversation, "Oh, I'm sorry. I was just looking for a place to set this pie.", "dlg_19_1")
  127. AddConversationOption(conversation, "All right, I'm leaving.")
  128. StartConversation(conversation, NPC, Spawn, "Go away, I'm not buying.")
  129. end
  130. function dlg_19_1(NPC, Spawn)
  131. FaceTarget(NPC, Spawn)
  132. conversation = CreateConversation()
  133. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/drundo_parn/qey_village06/quests/drundo_parn/drundo_parn021.mp3", "", "", 2279001986, 4287954077, Spawn)
  134. AddConversationOption(conversation, "Oh, it is, I assure you. I just finished a pie just like it.", "dlg_19_2")
  135. StartConversation(conversation, NPC, Spawn, "Say, that looks mighty tasty.")
  136. end
  137. function dlg_19_2(NPC, Spawn)
  138. FaceTarget(NPC, Spawn)
  139. conversation = CreateConversation()
  140. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/drundo_parn/qey_village06/quests/drundo_parn/drundo_parn022.mp3", "", "", 2543676358, 1458545177, Spawn)
  141. AddConversationOption(conversation, "Not really, I'm so full after the last one that I just don't know what to do with this one.", "dlg_19_3")
  142. StartConversation(conversation, NPC, Spawn, "Twin, tasty pies. That sounds like a wonderful position to be in!")
  143. end
  144. function dlg_19_3(NPC, Spawn)
  145. FaceTarget(NPC, Spawn)
  146. conversation = CreateConversation()
  147. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/drundo_parn/qey_village06/quests/drundo_parn/drundo_parn023.mp3", "", "", 1247528637, 571600340, Spawn)
  148. AddConversationOption(conversation, "Berry-frosted cream pie.", "dlg_19_4")
  149. StartConversation(conversation, NPC, Spawn, "Well, I must admit that I've given many pies a good, good home in my time. I would be willing to do so again, if you saw fit, of course. What kind of pie is it?")
  150. end
  151. function dlg_19_4(NPC, Spawn)
  152. FaceTarget(NPC, Spawn)
  153. conversation = CreateConversation()
  154. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/drundo_parn/qey_village06/quests/drundo_parn/drundo_parn024.mp3", "", "", 2314010653, 3275188878, Spawn)
  155. AddConversationOption(conversation, "Well, I DO have to be leaving very soon anyway. I suppose it wouldn't hurt to let you have it.", "dlg_19_5")
  156. StartConversation(conversation, NPC, Spawn, "Oooooh! That sounds delicious! Whadya say, can I take care of it for you?")
  157. end
  158. function dlg_19_5(NPC, Spawn)
  159. SetStepComplete(Spawn, HELPING_SOME_FRIENDS, 2)
  160. FaceTarget(NPC, Spawn)
  161. conversation = CreateConversation()
  162. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/drundo_parn/qey_village06/quests/drundo_parn/drundo_parn025.mp3", "", "", 3579370961, 357837589, Spawn)
  163. AddConversationOption(conversation, "Don't eat it too fast!")
  164. StartConversation(conversation, NPC, Spawn, "Luck of the Surefoot! Thanks, stranger! I'll put it to good use!")
  165. end