AmiAugren.lua 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231
  1. --[[
  2. Script Name : SpawnScripts/GreaterFaydark/AmiAugren.lua
  3. Script Purpose : Ami Augren
  4. Script Author : John Adams
  5. Script Date : 2009.02.05
  6. Script Notes : Auto-Generated Conversation from PacketParser Data
  7. --]]
  8. function spawn(NPC)
  9. SetPlayerProximityFunction(NPC, 10, "InRange", "LeaveRange")
  10. ProvidesQuest(NPC, 1)
  11. end
  12. function respawn(NPC)
  13. spawn(NPC)
  14. end
  15. function InRange(NPC, Spawn)
  16. -- JA: I think there are random things she says when you are in proximity, or on a timer?
  17. PlayFlavor(NPC, "voiceover/english/exp03_questvo2/ami_augren/_exp03/exp03_rgn_greater_faydark/quest/ami_augren_child_ami_callout_d5efb2d7.mp3", "WAAAAAaaaaaa!", "cry", 3923011773, 3719514479, Spawn)
  18. end
  19. function LeaveRange(NPC, Spawn)
  20. end
  21. function hailed(NPC, Spawn)
  22. FaceTarget(NPC, Spawn)
  23. conversation = CreateConversation()
  24. -- She'll say this hail response once you finish her quests
  25. --PlayFlavor(NPC, "voiceover/english/exp03_questvo2/ami_augren/_exp03/exp03_rgn_greater_faydark/quest/ami_augren_child_completed_ca7e0b77.mp3", "Thank you for bringing my Dolly back!", "cheer", 2643704601, 749990179, Spawn)
  26. PlayFlavor(NPC, "voiceover/english/exp03_questvo2/ami_augren/_exp03/exp03_rgn_greater_faydark/ami_augren/ami_augren001.mp3", "", "", 12113457, 274345192, Spawn)
  27. AddConversationOption(conversation, "Buzzies? Do you mean the bees? Do the bees scare you?", "dlg_6_1")
  28. StartConversation(conversation, NPC, Spawn, "WAAAAaaaa! Go away, buzzies! Go away!")
  29. if convo==8 then
  30. PlayFlavor(NPC, "voiceover/english/exp03_questvo2/ami_augren/_exp03/exp03_rgn_greater_faydark/ami_augren/ami_augren006.mp3", "", "", 198532712, 1197028678, Spawn)
  31. AddConversationOption(conversation, "Yes... I can tell.", "dlg_8_1")
  32. StartConversation(conversation, NPC, Spawn, "Thank you. I don't like buzzies.")
  33. end
  34. if convo==9 then
  35. PlayFlavor(NPC, "voiceover/english/exp03_questvo2/ami_augren/_exp03/exp03_rgn_greater_faydark/ami_augren/ami_augren001.mp3", "", "", 12113457, 274345192, Spawn)
  36. AddConversationOption(conversation, "Buzzies? Do you mean the bees? Do the bees scare you?", "dlg_9_1")
  37. StartConversation(conversation, NPC, Spawn, "WAAAAaaaa! Go away, buzzies! Go away!")
  38. end
  39. if convo==10 then
  40. PlayFlavor(NPC, "voiceover/english/exp03_questvo2/ami_augren/_exp03/exp03_rgn_greater_faydark/ami_augren/ami_augren004.mp3", "", "", 3325418190, 161234706, Spawn)
  41. AddConversationOption(conversation, "I made sure the bees won't be bothering anyone anymore.", "dlg_10_1")
  42. AddConversationOption(conversation, "Not yet, but don't worry.")
  43. StartConversation(conversation, NPC, Spawn, "Are the buzzies gone?")
  44. end
  45. if convo==12 then
  46. PlayFlavor(NPC, "voiceover/english/exp03_questvo2/ami_augren/_exp03/exp03_rgn_greater_faydark/ami_augren/ami_augren011.mp3", "", "", 735443449, 1189746741, Spawn)
  47. AddConversationOption(conversation, "I got your doll back for you.", "dlg_12_1")
  48. StartConversation(conversation, NPC, Spawn, "What's that you have?!")
  49. end
  50. if convo==14 then
  51. PlayFlavor(NPC, "voiceover/english/exp03_questvo2/ami_augren/_exp03/exp03_rgn_greater_faydark/ami_augren/ami_augren011.mp3", "", "", 735443449, 1189746741, Spawn)
  52. AddConversationOption(conversation, "I got your doll back for you.", "dlg_14_1")
  53. StartConversation(conversation, NPC, Spawn, "What's that you have?!")
  54. end
  55. end
  56. function dlg_6_1(NPC, Spawn)
  57. FaceTarget(NPC, Spawn)
  58. conversation = CreateConversation()
  59. PlayFlavor(NPC, "voiceover/english/exp03_questvo2/ami_augren/_exp03/exp03_rgn_greater_faydark/ami_augren/ami_augren002.mp3", "", "", 3768392039, 1880249670, Spawn)
  60. AddConversationOption(conversation, "I'll get rid of them for you.... just calm down.", "dlg_6_2")
  61. AddConversationOption(conversation, "They are your problem, good luck.")
  62. StartConversation(conversation, NPC, Spawn, "Yes, they make me cry! Please, make them go away! WAAAAAaaaaa!")
  63. end
  64. function dlg_6_2(NPC, Spawn)
  65. FaceTarget(NPC, Spawn)
  66. conversation = CreateConversation()
  67. PlayFlavor(NPC, "voiceover/english/exp03_questvo2/ami_augren/_exp03/exp03_rgn_greater_faydark/ami_augren/ami_augren003.mp3", "", "", 240117721, 1491988690, Spawn)
  68. AddConversationOption(conversation, "I'll take care of them.", "dlg_6_3")
  69. StartConversation(conversation, NPC, Spawn, "They make owies! Don't let them pinch you!")
  70. end
  71. function dlg_8_1(NPC, Spawn)
  72. FaceTarget(NPC, Spawn)
  73. conversation = CreateConversation()
  74. PlayFlavor(NPC, "voiceover/english/exp03_questvo2/ami_augren/_exp03/exp03_rgn_greater_faydark/ami_augren/ami_augren007.mp3", "", "", 2278432854, 2823393532, Spawn)
  75. AddConversationOption(conversation, "Oh no... what now?", "dlg_8_2")
  76. StartConversation(conversation, NPC, Spawn, "Oh no! I broke it! WAAAAAaaaaa!")
  77. end
  78. function dlg_8_2(NPC, Spawn)
  79. FaceTarget(NPC, Spawn)
  80. conversation = CreateConversation()
  81. PlayFlavor(NPC, "voiceover/english/exp03_questvo2/ami_augren/_exp03/exp03_rgn_greater_faydark/ami_augren/ami_augren008.mp3", "", "", 392334320, 811829906, Spawn)
  82. AddConversationOption(conversation, "Calm down, calm down. It's just a button.", "dlg_8_3")
  83. StartConversation(conversation, NPC, Spawn, "My coat! The button came off! WAAAAaaaa!")
  84. end
  85. function dlg_8_3(NPC, Spawn)
  86. FaceTarget(NPC, Spawn)
  87. conversation = CreateConversation()
  88. PlayFlavor(NPC, "voiceover/english/exp03_questvo2/ami_augren/_exp03/exp03_rgn_greater_faydark/ami_augren/ami_augren009.mp3", "", "", 4091874190, 3432128478, Spawn)
  89. AddConversationOption(conversation, "Okay, just calm down.", "dlg_8_4")
  90. AddConversationOption(conversation, "No way, you take it. Goodbye.")
  91. StartConversation(conversation, NPC, Spawn, "Take the coat to my mommy. She can fix it!")
  92. end
  93. function dlg_8_4(NPC, Spawn)
  94. FaceTarget(NPC, Spawn)
  95. conversation = CreateConversation()
  96. PlayFlavor(NPC, "voiceover/english/exp03_questvo2/ami_augren/_exp03/exp03_rgn_greater_faydark/ami_augren/ami_augren010.mp3", "", "", 3660711041, 3242516728, Spawn)
  97. AddConversationOption(conversation, "I will.", "dlg_8_5")
  98. StartConversation(conversation, NPC, Spawn, "Tell her I didn't mean to break it. ")
  99. end
  100. function dlg_9_1(NPC, Spawn)
  101. FaceTarget(NPC, Spawn)
  102. conversation = CreateConversation()
  103. PlayFlavor(NPC, "voiceover/english/exp03_questvo2/ami_augren/_exp03/exp03_rgn_greater_faydark/ami_augren/ami_augren002.mp3", "", "", 3768392039, 1880249670, Spawn)
  104. AddConversationOption(conversation, "I'll get rid of them for you.... just calm down.", "dlg_9_2")
  105. AddConversationOption(conversation, "They are your problem, good luck.")
  106. StartConversation(conversation, NPC, Spawn, "Yes, they make me cry! Please, make them go away! WAAAAAaaaaa!")
  107. end
  108. function dlg_9_2(NPC, Spawn)
  109. FaceTarget(NPC, Spawn)
  110. conversation = CreateConversation()
  111. PlayFlavor(NPC, "voiceover/english/exp03_questvo2/ami_augren/_exp03/exp03_rgn_greater_faydark/ami_augren/ami_augren003.mp3", "", "", 240117721, 1491988690, Spawn)
  112. AddConversationOption(conversation, "I'll take care of them.", "dlg_9_3")
  113. StartConversation(conversation, NPC, Spawn, "They make owies! Don't let them pinch you!")
  114. end
  115. function dlg_10_1(NPC, Spawn)
  116. FaceTarget(NPC, Spawn)
  117. conversation = CreateConversation()
  118. PlayFlavor(NPC, "voiceover/english/exp03_questvo2/ami_augren/_exp03/exp03_rgn_greater_faydark/ami_augren/ami_augren006.mp3", "", "", 198532712, 1197028678, Spawn)
  119. AddConversationOption(conversation, "Yes... I can tell.", "dlg_10_2")
  120. StartConversation(conversation, NPC, Spawn, "Thank you. I don't like buzzies.")
  121. end
  122. function dlg_10_2(NPC, Spawn)
  123. FaceTarget(NPC, Spawn)
  124. conversation = CreateConversation()
  125. PlayFlavor(NPC, "voiceover/english/exp03_questvo2/ami_augren/_exp03/exp03_rgn_greater_faydark/ami_augren/ami_augren007.mp3", "", "", 2278432854, 2823393532, Spawn)
  126. AddConversationOption(conversation, "Oh no... what now?", "dlg_10_3")
  127. StartConversation(conversation, NPC, Spawn, "Oh no! I broke it! WAAAAAaaaaa!")
  128. end
  129. function dlg_10_3(NPC, Spawn)
  130. FaceTarget(NPC, Spawn)
  131. conversation = CreateConversation()
  132. PlayFlavor(NPC, "voiceover/english/exp03_questvo2/ami_augren/_exp03/exp03_rgn_greater_faydark/ami_augren/ami_augren008.mp3", "", "", 392334320, 811829906, Spawn)
  133. AddConversationOption(conversation, "Calm down, calm down. It's just a button.", "dlg_10_4")
  134. StartConversation(conversation, NPC, Spawn, "My coat! The button came off! WAAAAaaaa!")
  135. end
  136. function dlg_10_4(NPC, Spawn)
  137. FaceTarget(NPC, Spawn)
  138. conversation = CreateConversation()
  139. PlayFlavor(NPC, "voiceover/english/exp03_questvo2/ami_augren/_exp03/exp03_rgn_greater_faydark/ami_augren/ami_augren009.mp3", "", "", 4091874190, 3432128478, Spawn)
  140. AddConversationOption(conversation, "Okay, just calm down.", "dlg_10_5")
  141. AddConversationOption(conversation, "No way, you take it. Goodbye.")
  142. StartConversation(conversation, NPC, Spawn, "Take the coat to my mommy. She can fix it!")
  143. end
  144. function dlg_10_5(NPC, Spawn)
  145. FaceTarget(NPC, Spawn)
  146. conversation = CreateConversation()
  147. PlayFlavor(NPC, "voiceover/english/exp03_questvo2/ami_augren/_exp03/exp03_rgn_greater_faydark/ami_augren/ami_augren010.mp3", "", "", 3660711041, 3242516728, Spawn)
  148. AddConversationOption(conversation, "I will.", "dlg_10_6")
  149. StartConversation(conversation, NPC, Spawn, "Tell her I didn't mean to break it. ")
  150. end
  151. function dlg_12_1(NPC, Spawn)
  152. FaceTarget(NPC, Spawn)
  153. conversation = CreateConversation()
  154. PlayFlavor(NPC, "voiceover/english/exp03_questvo2/ami_augren/_exp03/exp03_rgn_greater_faydark/ami_augren/ami_augren012.mp3", "", "", 645889165, 2057650400, Spawn)
  155. AddConversationOption(conversation, "You are welcome, Ami. Now mind your mother.", "dlg_12_2")
  156. StartConversation(conversation, NPC, Spawn, "Dolly! Dolly! You brought her back! Yay! Thanks!")
  157. end
  158. function dlg_12_2(NPC, Spawn)
  159. FaceTarget(NPC, Spawn)
  160. conversation = CreateConversation()
  161. PlayFlavor(NPC, "voiceover/english/exp03_questvo2/ami_augren/_exp03/exp03_rgn_greater_faydark/ami_augren/ami_augren013.mp3", "", "", 349671317, 2037979122, Spawn)
  162. AddConversationOption(conversation, "Have fun, Ami.", "dlg_12_3")
  163. StartConversation(conversation, NPC, Spawn, "I will! I will! Look! Dolly's back! Hahahaha!")
  164. end
  165. function dlg_14_1(NPC, Spawn)
  166. FaceTarget(NPC, Spawn)
  167. conversation = CreateConversation()
  168. PlayFlavor(NPC, "voiceover/english/exp03_questvo2/ami_augren/_exp03/exp03_rgn_greater_faydark/ami_augren/ami_augren012.mp3", "", "", 645889165, 2057650400, Spawn)
  169. AddConversationOption(conversation, "You are welcome, Ami. Now mind your mother.", "dlg_14_2")
  170. StartConversation(conversation, NPC, Spawn, "Dolly! Dolly! You brought her back! Yay! Thanks!")
  171. end
  172. function dlg_14_2(NPC, Spawn)
  173. FaceTarget(NPC, Spawn)
  174. conversation = CreateConversation()
  175. PlayFlavor(NPC, "voiceover/english/exp03_questvo2/ami_augren/_exp03/exp03_rgn_greater_faydark/ami_augren/ami_augren013.mp3", "", "", 349671317, 2037979122, Spawn)
  176. AddConversationOption(conversation, "Have fun, Ami.", "dlg_14_3")
  177. StartConversation(conversation, NPC, Spawn, "I will! I will! Look! Dolly's back! Hahahaha!")
  178. end
  179. --[[ raw_conversations
  180. PlayFlavor(NPC, "voiceover/english/exp03_questvo2/ami_augren/_exp03/exp03_rgn_greater_faydark/quest/ami_augren_child_ami_callout_d5efb2d7.mp3", "WAAAAAaaaaaa!", "cry", 3923011773, 3719514479, Spawn)
  181. PlayFlavor(NPC, "voiceover/english/exp03_questvo2/ami_augren/_exp03/exp03_rgn_greater_faydark/quest/ami_augren_child_completed_ca7e0b77.mp3", "Thank you for bringing my Dolly back!", "cheer", 2643704601, 749990179, Spawn)
  182. --]]