9
3

Agarighus.lua 9.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170
  1. --[[
  2. Script Name : SpawnScripts/GreaterFaydark/Agarighus.lua
  3. Script Purpose : Agarighus <Grove Tender>
  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/agarighus/_exp03/exp03_rgn_greater_faydark/shroomba/agarighus/agarighus000_complete.mp3", "", "", 730615560, 3996925984, Spawn)
  22. AddConversationOption(conversation, "I am XXXXXXXX. Morganellus said I should visit you.", "dlg_23_1")
  23. StartConversation(conversation, NPC, Spawn, "You speak to Agarighus.")
  24. if convo==25 then
  25. PlayFlavor(NPC, "voiceover/english/exp03_questvo2/agarighus/_exp03/exp03_rgn_greater_faydark/shroomba/agarighus/agarighus009.mp3", "", "", 2714952017, 1027396530, Spawn)
  26. AddConversationOption(conversation, "Yes, they have been moved.", "dlg_25_1")
  27. StartConversation(conversation, NPC, Spawn, "Have you moved the shrumblers?")
  28. end
  29. if convo==28 then
  30. PlayFlavor(NPC, "voiceover/english/exp03_questvo2/agarighus/_exp03/exp03_rgn_greater_faydark/shroomba/agarighus/agarighus016.mp3", "", "", 1905129429, 4204811677, Spawn)
  31. AddConversationOption(conversation, "Yes, I have.", "dlg_28_1")
  32. StartConversation(conversation, NPC, Spawn, "Have you saved our proto-caplings?")
  33. end
  34. end
  35. function dlg_23_1(NPC, Spawn)
  36. FaceTarget(NPC, Spawn)
  37. conversation = CreateConversation()
  38. PlayFlavor(NPC, "voiceover/english/exp03_questvo2/agarighus/_exp03/exp03_rgn_greater_faydark/shroomba/agarighus/agarighus001.mp3", "", "", 66949189, 2899163364, Spawn)
  39. AddConversationOption(conversation, "Actually he didn't.", "dlg_23_2")
  40. StartConversation(conversation, NPC, Spawn, "Ah, Morganellus, did he tell you to say hello to me?")
  41. end
  42. function dlg_23_2(NPC, Spawn)
  43. FaceTarget(NPC, Spawn)
  44. conversation = CreateConversation()
  45. PlayFlavor(NPC, "voiceover/english/exp03_questvo2/agarighus/_exp03/exp03_rgn_greater_faydark/shroomba/agarighus/agarighus002_complete.mp3", "", "", 3839294235, 2098773049, Spawn)
  46. AddConversationOption(conversation, "I suppose.", "dlg_23_3")
  47. AddConversationOption(conversation, "I have to be going.")
  48. StartConversation(conversation, NPC, Spawn, "Oh... always into practicality, that one.")
  49. end
  50. function dlg_23_3(NPC, Spawn)
  51. FaceTarget(NPC, Spawn)
  52. conversation = CreateConversation()
  53. PlayFlavor(NPC, "voiceover/english/exp03_questvo2/agarighus/_exp03/exp03_rgn_greater_faydark/shroomba/agarighus/agarighus002.mp3", "", "", 2532533232, 2094215276, Spawn)
  54. AddConversationOption(conversation, "What is it?", "dlg_23_4")
  55. StartConversation(conversation, NPC, Spawn, "I am sad to say to you, .. GetName(Spawn) .. . that you have come to Dyer Mycoria at a bad time. The grobins--dark children of the heavens--have come to this place and tried to take it as their own. This chaos confuses us, and Dyer Mycoria may fall. I- oh, oh no!")
  56. end
  57. function dlg_23_4(NPC, Spawn)
  58. FaceTarget(NPC, Spawn)
  59. conversation = CreateConversation()
  60. PlayFlavor(NPC, "voiceover/english/exp03_questvo2/agarighus/_exp03/exp03_rgn_greater_faydark/shroomba/agarighus/agarighus003.mp3", "", "", 3779153550, 4100680879, Spawn)
  61. AddConversationOption(conversation, "What do you need?", "dlg_23_5")
  62. StartConversation(conversation, NPC, Spawn, "I have forgotten my duties as a grove tender, but I must stay here. Child of the heavens, I need your help.")
  63. end
  64. function dlg_23_5(NPC, Spawn)
  65. FaceTarget(NPC, Spawn)
  66. conversation = CreateConversation()
  67. PlayFlavor(NPC, "voiceover/english/exp03_questvo2/agarighus/_exp03/exp03_rgn_greater_faydark/shroomba/agarighus/agarighus004.mp3", "", "", 461489714, 806281340, Spawn)
  68. AddConversationOption(conversation, "I can transport the shrumblers for you.", "dlg_23_6")
  69. StartConversation(conversation, NPC, Spawn, "East of here are two cave paths to some of our germinariums. Though not malicious, the shrumblers in these caves, especially the younger ones, find their way into our germinariums and upset our mineral balance. This affects the growth process of our proto-caplings. Normally I spend some time taking these shrumblers from the germinariums and bringing them back to their natural area in the north eastern caves, but with the grobin presence I have forgotten my duties.")
  70. end
  71. function dlg_23_6(NPC, Spawn)
  72. FaceTarget(NPC, Spawn)
  73. conversation = CreateConversation()
  74. PlayFlavor(NPC, "voiceover/english/exp03_questvo2/agarighus/_exp03/exp03_rgn_greater_faydark/shroomba/agarighus/agarighus005.mp3", "", "", 1864583073, 2525799582, Spawn)
  75. AddConversationOption(conversation, "Okay.", "dlg_23_7")
  76. StartConversation(conversation, NPC, Spawn, "Will you? I will give you my shrumbler net. Once you catch the Shrumblers, release them in the north-eastern area of these caves, they should recognize where they are and stay out of our germinariums, at least for a little while.")
  77. end
  78. function dlg_23_7(NPC, Spawn)
  79. FaceTarget(NPC, Spawn)
  80. conversation = CreateConversation()
  81. PlayFlavor(NPC, "voiceover/english/exp03_questvo2/agarighus/_exp03/exp03_rgn_greater_faydark/shroomba/agarighus/agarighus006.mp3", "", "", 3926042365, 1419770262, Spawn)
  82. AddConversationOption(conversation, "You are welcome.", "dlg_23_8")
  83. StartConversation(conversation, NPC, Spawn, "Thank you, XXXXXXXX.")
  84. end
  85. function dlg_25_1(NPC, Spawn)
  86. FaceTarget(NPC, Spawn)
  87. conversation = CreateConversation()
  88. PlayFlavor(NPC, "voiceover/english/exp03_questvo2/agarighus/_exp03/exp03_rgn_greater_faydark/shroomba/agarighus/agarighus010.mp3", "", "", 3194574992, 1484124224, Spawn)
  89. AddConversationOption(conversation, "You are welcome.", "dlg_25_2")
  90. StartConversation(conversation, NPC, Spawn, "The volatile spirit of the children of the heavens is most helpful at times. Thank you, XXXXXXXX.")
  91. end
  92. function dlg_25_2(NPC, Spawn)
  93. FaceTarget(NPC, Spawn)
  94. conversation = CreateConversation()
  95. PlayFlavor(NPC, "voiceover/english/exp03_questvo2/agarighus/_exp03/exp03_rgn_greater_faydark/shroomba/agarighus/agarighus011.mp3", "", "", 2129516882, 4139121979, Spawn)
  96. AddConversationOption(conversation, "Why can't you reach it?", "dlg_25_3")
  97. StartConversation(conversation, NPC, Spawn, "It is a shame we can not reach our western germinarium.")
  98. end
  99. function dlg_25_3(NPC, Spawn)
  100. FaceTarget(NPC, Spawn)
  101. conversation = CreateConversation()
  102. PlayFlavor(NPC, "voiceover/english/exp03_questvo2/agarighus/_exp03/exp03_rgn_greater_faydark/shroomba/agarighus/agarighus012.mp3", "", "", 2764843418, 2643187457, Spawn)
  103. AddConversationOption(conversation, "Why don't you go in and rescue them?", "dlg_25_4")
  104. StartConversation(conversation, NPC, Spawn, "There are grobins there. We do not know how to remove them. Our proto-caplings in that germinarium may be lost, sadly.")
  105. end
  106. function dlg_25_4(NPC, Spawn)
  107. FaceTarget(NPC, Spawn)
  108. conversation = CreateConversation()
  109. PlayFlavor(NPC, "voiceover/english/exp03_questvo2/agarighus/_exp03/exp03_rgn_greater_faydark/shroomba/agarighus/agarighus013.mp3", "", "", 3170133892, 1263246865, Spawn)
  110. AddConversationOption(conversation, "Why don't I go in and rescue them?", "dlg_25_5")
  111. StartConversation(conversation, NPC, Spawn, "There are grobins in there!")
  112. end
  113. function dlg_25_5(NPC, Spawn)
  114. FaceTarget(NPC, Spawn)
  115. conversation = CreateConversation()
  116. PlayFlavor(NPC, "voiceover/english/exp03_questvo2/agarighus/_exp03/exp03_rgn_greater_faydark/shroomba/agarighus/agarighus014.mp3", "", "", 2525042118, 2230039901, Spawn)
  117. AddConversationOption(conversation, "I will go get them.", "dlg_25_6")
  118. StartConversation(conversation, NPC, Spawn, "Is that possible? Perhaps... There is a small cave path to the west that leads to the germinarium. If you could bring our proto-caplings to safety there would be reason for much joy. They will be hard to spot to the eyes of a child of the heavens. They are merely the first signs of life from our spore seeders and will be very, very small.")
  119. end
  120. function dlg_25_6(NPC, Spawn)
  121. FaceTarget(NPC, Spawn)
  122. conversation = CreateConversation()
  123. PlayFlavor(NPC, "voiceover/english/exp03_questvo2/agarighus/_exp03/exp03_rgn_greater_faydark/shroomba/agarighus/agarighus015.mp3", "", "", 2574699524, 1590689915, Spawn)
  124. AddConversationOption(conversation, "I will return.", "dlg_25_7")
  125. StartConversation(conversation, NPC, Spawn, "Again, .. GetName(Spawn) .. . you earn our thanks.")
  126. end
  127. function dlg_28_1(NPC, Spawn)
  128. FaceTarget(NPC, Spawn)
  129. conversation = CreateConversation()
  130. PlayFlavor(NPC, "voiceover/english/exp03_questvo2/agarighus/_exp03/exp03_rgn_greater_faydark/shroomba/agarighus/agarighus017.mp3", "", "", 1366414831, 600906115, Spawn)
  131. AddConversationOption(conversation, "Thank you. I am glad to help.", "dlg_28_2")
  132. StartConversation(conversation, NPC, Spawn, "Oh, .. GetName(Spawn) .. . you do much for the Shroomba! We are ever-grateful. I have these. They are of little use to anyone in Dyer Mycoria, but other children like you insist on giving them to me from time to time.")
  133. end