SuaAugren.lua 8.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141
  1. --[[
  2. Script Name : SpawnScripts/GreaterFaydark/SuaAugren.lua
  3. Script Purpose : Sua Augren
  4. Script Author : John Adams
  5. Script Date : 2009.03.01
  6. Script Notes : Auto-Generated Conversation from PacketParser Data
  7. --]]
  8. function spawn(NPC)
  9. SetPlayerProximityFunction(NPC, 10, "InRange", "LeaveRange")
  10. end
  11. function respawn(NPC)
  12. spawn(NPC)
  13. end
  14. function InRange(NPC, Spawn)
  15. end
  16. function LeaveRange(NPC, Spawn)
  17. end
  18. function hailed(NPC, Spawn)
  19. FaceTarget(NPC, Spawn)
  20. conversation = CreateConversation()
  21. PlayFlavor(NPC, "voiceover/english/exp03_questvo2/sua_augren/_exp03/exp03_rgn_greater_faydark/sua_augren/sua_augren001.mp3", "", "", 3127279058, 3080550258, Spawn)
  22. AddConversationOption(conversation, "I understand, goodbye.", "dlg_6_1")
  23. StartConversation(conversation, NPC, Spawn, "I'd love to chat but I've so much work to do.")
  24. if convo==9 then
  25. PlayFlavor(NPC, "voiceover/english/exp03_questvo2/sua_augren/_exp03/exp03_rgn_greater_faydark/sua_augren/sua_augren001.mp3", "", "", 3127279058, 3080550258, Spawn)
  26. AddConversationOption(conversation, "Ami wants you to fix her coat. She broke the buttons... but wants you to know she didn't mean it.", "dlg_9_1")
  27. AddConversationOption(conversation, "I understand, goodbye.")
  28. StartConversation(conversation, NPC, Spawn, "I'd love to chat but I've so much work to do.")
  29. end
  30. if convo==11 then
  31. PlayFlavor(NPC, "voiceover/english/exp03_questvo2/sua_augren/_exp03/exp03_rgn_greater_faydark/sua_augren/sua_augren001.mp3", "", "", 3127279058, 3080550258, Spawn)
  32. AddConversationOption(conversation, "Ami wants you to fix her coat. She broke the buttons... but wants you to know she didn't mean it.", "dlg_11_1")
  33. AddConversationOption(conversation, "I understand, goodbye.")
  34. StartConversation(conversation, NPC, Spawn, "I'd love to chat but I've so much work to do.")
  35. end
  36. end
  37. function dlg_9_1(NPC, Spawn)
  38. FaceTarget(NPC, Spawn)
  39. conversation = CreateConversation()
  40. PlayFlavor(NPC, "voiceover/english/exp03_questvo2/sua_augren/_exp03/exp03_rgn_greater_faydark/sua_augren/sua_augren002.mp3", "", "", 1571651111, 2153698072, Spawn)
  41. AddConversationOption(conversation, "What happened?", "dlg_9_2")
  42. StartConversation(conversation, NPC, Spawn, "Oh, Ami... what am I going to do with you? Everything is such a crisis with her right now. This journey has been rough on her.")
  43. end
  44. function dlg_9_2(NPC, Spawn)
  45. FaceTarget(NPC, Spawn)
  46. conversation = CreateConversation()
  47. PlayFlavor(NPC, "voiceover/english/exp03_questvo2/sua_augren/_exp03/exp03_rgn_greater_faydark/sua_augren/sua_augren003.mp3", "", "", 611419261, 1072752840, Spawn)
  48. AddConversationOption(conversation, "Oh no.", "dlg_9_3")
  49. StartConversation(conversation, NPC, Spawn, "My husband, daughter, and I used to live on the island of Mara. My husband wanted to leave the isle once all the outsiders began visiting our village, and he realized the world was a much bigger place. He paid for passage on a ship for all three of us, but the sailors on the ship were evil.")
  50. end
  51. function dlg_9_3(NPC, Spawn)
  52. FaceTarget(NPC, Spawn)
  53. conversation = CreateConversation()
  54. PlayFlavor(NPC, "voiceover/english/exp03_questvo2/sua_augren/_exp03/exp03_rgn_greater_faydark/sua_augren/sua_augren004.mp3", "", "", 1417138229, 4170289581, Spawn)
  55. AddConversationOption(conversation, "That's good. So why is Ami upset?", "dlg_9_4")
  56. StartConversation(conversation, NPC, Spawn, "They took our money and dumped us on a nearby shore a few weeks ago. The captain even took my jewelry... that seawitch! But good fortune was on our side. The lovely fairy people here took us in. Now, my husband and I work to pull our own weight; I sew clothes for the new fae and he guards the city of Kelethin.")
  57. end
  58. function dlg_9_4(NPC, Spawn)
  59. FaceTarget(NPC, Spawn)
  60. conversation = CreateConversation()
  61. PlayFlavor(NPC, "voiceover/english/exp03_questvo2/sua_augren/_exp03/exp03_rgn_greater_faydark/sua_augren/sua_augren005.mp3", "", "", 3498594905, 1976708, Spawn)
  62. AddConversationOption(conversation, "I'll get the doll back for her.", "dlg_9_5")
  63. AddConversationOption(conversation, "That's too bad. Goodbye.")
  64. StartConversation(conversation, NPC, Spawn, "The ride across the ocean scared her, but worst of all she lost her favorite doll. When our things were unceremoniously thrown ashore, a large bee lady named Yellowjacket swooped in and snatched up Ami's doll.")
  65. end
  66. function dlg_9_5(NPC, Spawn)
  67. FaceTarget(NPC, Spawn)
  68. conversation = CreateConversation()
  69. PlayFlavor(NPC, "voiceover/english/exp03_questvo2/sua_augren/_exp03/exp03_rgn_greater_faydark/sua_augren/sua_augren006.mp3", "", "", 2584537319, 806721000, Spawn)
  70. AddConversationOption(conversation, "No problem. I'll get the doll for Ami.", "dlg_9_6")
  71. StartConversation(conversation, NPC, Spawn, "I couldn't ask you to do that. It would be wonderful if Ami got her doll back, but it's too dangerous. ")
  72. end
  73. function dlg_11_1(NPC, Spawn)
  74. FaceTarget(NPC, Spawn)
  75. conversation = CreateConversation()
  76. PlayFlavor(NPC, "voiceover/english/exp03_questvo2/sua_augren/_exp03/exp03_rgn_greater_faydark/sua_augren/sua_augren002.mp3", "", "", 1571651111, 2153698072, Spawn)
  77. AddConversationOption(conversation, "What happened?", "dlg_11_2")
  78. StartConversation(conversation, NPC, Spawn, "Oh, Ami... what am I going to do with you? Everything is such a crisis with her right now. This journey has been rough on her.")
  79. end
  80. function dlg_11_2(NPC, Spawn)
  81. FaceTarget(NPC, Spawn)
  82. conversation = CreateConversation()
  83. PlayFlavor(NPC, "voiceover/english/exp03_questvo2/sua_augren/_exp03/exp03_rgn_greater_faydark/sua_augren/sua_augren003.mp3", "", "", 611419261, 1072752840, Spawn)
  84. AddConversationOption(conversation, "Oh no.", "dlg_11_3")
  85. StartConversation(conversation, NPC, Spawn, "My husband, daughter, and I used to live on the island of Mara. My husband wanted to leave the isle once all the outsiders began visiting our village, and he realized the world was a much bigger place. He paid for passage on a ship for all three of us, but the sailors on the ship were evil.")
  86. end
  87. function dlg_11_3(NPC, Spawn)
  88. FaceTarget(NPC, Spawn)
  89. conversation = CreateConversation()
  90. PlayFlavor(NPC, "voiceover/english/exp03_questvo2/sua_augren/_exp03/exp03_rgn_greater_faydark/sua_augren/sua_augren004.mp3", "", "", 1417138229, 4170289581, Spawn)
  91. AddConversationOption(conversation, "That's good. So why is Ami upset?", "dlg_11_4")
  92. StartConversation(conversation, NPC, Spawn, "They took our money and dumped us on a nearby shore a few weeks ago. The captain even took my jewelry... that seawitch! But good fortune was on our side. The lovely fairy people here took us in. Now, my husband and I work to pull our own weight; I sew clothes for the new fae and he guards the city of Kelethin.")
  93. end
  94. function dlg_11_4(NPC, Spawn)
  95. FaceTarget(NPC, Spawn)
  96. conversation = CreateConversation()
  97. PlayFlavor(NPC, "voiceover/english/exp03_questvo2/sua_augren/_exp03/exp03_rgn_greater_faydark/sua_augren/sua_augren005.mp3", "", "", 3498594905, 1976708, Spawn)
  98. AddConversationOption(conversation, "I'll get the doll back for her.", "dlg_11_5")
  99. AddConversationOption(conversation, "That's too bad. Goodbye.")
  100. StartConversation(conversation, NPC, Spawn, "The ride across the ocean scared her, but worst of all she lost her favorite doll. When our things were unceremoniously thrown ashore, a large bee lady named Yellowjacket swooped in and snatched up Ami's doll.")
  101. end
  102. function dlg_11_5(NPC, Spawn)
  103. FaceTarget(NPC, Spawn)
  104. conversation = CreateConversation()
  105. PlayFlavor(NPC, "voiceover/english/exp03_questvo2/sua_augren/_exp03/exp03_rgn_greater_faydark/sua_augren/sua_augren006.mp3", "", "", 2584537319, 806721000, Spawn)
  106. AddConversationOption(conversation, "No problem. I'll get the doll for Ami.", "dlg_11_6")
  107. StartConversation(conversation, NPC, Spawn, "I couldn't ask you to do that. It would be wonderful if Ami got her doll back, but it's too dangerous. ")
  108. end
  109. --[[ raw_conversations
  110. PlayFlavor(NPC, "voiceover/english/exp03_questvo2/sua_augren/_exp03/exp03_rgn_greater_faydark/quest/sua_augren_parent_completed_2c6d84eb.mp3", "Thank you for helping my daughter. You don't know how happy she is to have her doll back.", "thanks", 4098571631, 889694424, Spawn)
  111. --]]