9
3

Gomphum.lua 7.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151
  1. --[[
  2. Script Name : SpawnScripts/GreaterFaydark/Gomphum.lua
  3. Script Purpose : Gomphum <Boletae Herder>
  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/gomphum/_exp03/exp03_rgn_greater_faydark/shroomba/gomphum/gomphum000.mp3", "", "", 3624615111, 858972471, Spawn)
  22. AddConversationOption(conversation, "So long as they allow it?", "dlg_24_1")
  23. StartConversation(conversation, NPC, Spawn, "Gomphum welcomes you to Dyer Mycoria. You are free to stay so long as the grobins allow it.")
  24. if convo==26 then
  25. PlayFlavor(NPC, "voiceover/english/exp03_questvo2/gomphum/_exp03/exp03_rgn_greater_faydark/shroomba/gomphum/gomphum005.mp3", "", "", 3368360641, 1528435648, Spawn)
  26. AddConversationOption(conversation, "I have.", "dlg_26_1")
  27. StartConversation(conversation, NPC, Spawn, "Have you done it?")
  28. end
  29. if convo==27 then
  30. PlayFlavor(NPC, "voiceover/english/exp03_questvo2/gomphum/_exp03/exp03_rgn_greater_faydark/shroomba/gomphum/gomphum010.mp3", "", "", 4241201770, 2705100899, Spawn)
  31. AddConversationOption(conversation, "Yes, but they will be less of a problem with Pengo and Turkrik gone.", "dlg_27_1")
  32. StartConversation(conversation, NPC, Spawn, "Are the grobins still here?")
  33. end
  34. end
  35. function dlg_24_1(NPC, Spawn)
  36. FaceTarget(NPC, Spawn)
  37. conversation = CreateConversation()
  38. PlayFlavor(NPC, "voiceover/english/exp03_questvo2/gomphum/_exp03/exp03_rgn_greater_faydark/shroomba/gomphum/gomphum001.mp3", "", "", 379711117, 2349384250, Spawn)
  39. AddConversationOption(conversation, "Why don't you force them to leave?", "dlg_24_2")
  40. StartConversation(conversation, NPC, Spawn, "Yes, they are very aggressive. They were not always here. They started to appear recently. It has been determined that they are not children of the earth as we are, so we don't think they sprung from the ground. We think perhaps they dug their way in. We do not mind their presence, but they are destructive, and have been stealing our proto-caplings. It is hard work growing these caplings.")
  41. end
  42. function dlg_24_2(NPC, Spawn)
  43. FaceTarget(NPC, Spawn)
  44. conversation = CreateConversation()
  45. PlayFlavor(NPC, "voiceover/english/exp03_questvo2/gomphum/_exp03/exp03_rgn_greater_faydark/shroomba/gomphum/gomphum002.mp3", "", "", 53321845, 3819069977, Spawn)
  46. AddConversationOption(conversation, "What if I killed the grobins?", "dlg_24_3")
  47. StartConversation(conversation, NPC, Spawn, "Gomphum does not understand what you mean. The grobins do not listen to us. Instead they smash things. The grobins have kept us from our west germinarium for some time now, and they are digging up our proto-caplings. It saddens us. They are not Shroomba. Why would they want our proto-caplings?")
  48. end
  49. function dlg_24_3(NPC, Spawn)
  50. FaceTarget(NPC, Spawn)
  51. conversation = CreateConversation()
  52. PlayFlavor(NPC, "voiceover/english/exp03_questvo2/gomphum/_exp03/exp03_rgn_greater_faydark/shroomba/gomphum/gomphum003.mp3", "", "", 3848512332, 3031309052, Spawn)
  53. AddConversationOption(conversation, "All right.", "dlg_24_4")
  54. StartConversation(conversation, NPC, Spawn, "That might work. The grobin diggers are our biggest concern. Please, go to our western germinarium and do as you suggest.")
  55. end
  56. function dlg_24_4(NPC, Spawn)
  57. FaceTarget(NPC, Spawn)
  58. conversation = CreateConversation()
  59. PlayFlavor(NPC, "voiceover/english/exp03_questvo2/gomphum/_exp03/exp03_rgn_greater_faydark/shroomba/gomphum/gomphum004.mp3", "", "", 1140614510, 2295082242, Spawn)
  60. AddConversationOption(conversation, "You're welcome.", "dlg_24_5")
  61. StartConversation(conversation, NPC, Spawn, "Thank you.")
  62. end
  63. function dlg_26_1(NPC, Spawn)
  64. FaceTarget(NPC, Spawn)
  65. conversation = CreateConversation()
  66. PlayFlavor(NPC, "voiceover/english/exp03_questvo2/gomphum/_exp03/exp03_rgn_greater_faydark/shroomba/gomphum/gomphum006.mp3", "", "", 103650992, 2944240477, Spawn)
  67. AddConversationOption(conversation, "Pengo and Turkrik?", "dlg_26_2")
  68. StartConversation(conversation, NPC, Spawn, "Ah, this pleases Gomphum. Perhaps this will stop the constant grobin activity. Perhaps they will go back into their cave paths and not return. They will return to Pengo and Turkrik and leave the Shroomba alone.")
  69. end
  70. function dlg_26_2(NPC, Spawn)
  71. FaceTarget(NPC, Spawn)
  72. conversation = CreateConversation()
  73. PlayFlavor(NPC, "voiceover/english/exp03_questvo2/gomphum/_exp03/exp03_rgn_greater_faydark/shroomba/gomphum/gomphum007.mp3", "", "", 457205884, 1475917544, Spawn)
  74. AddConversationOption(conversation, "I can take them out, that might stop the grobins from attacking.", "dlg_26_3")
  75. StartConversation(conversation, NPC, Spawn, "Meanest of the grobins. They are like Gomphum, other grobins listen to them. They are why grobins come to Dyer Mycoria.")
  76. end
  77. function dlg_26_3(NPC, Spawn)
  78. FaceTarget(NPC, Spawn)
  79. conversation = CreateConversation()
  80. PlayFlavor(NPC, "voiceover/english/exp03_questvo2/gomphum/_exp03/exp03_rgn_greater_faydark/shroomba/gomphum/gomphum008.mp3", "", "", 2731718193, 1770884141, Spawn)
  81. AddConversationOption(conversation, "I will go.", "dlg_26_4")
  82. StartConversation(conversation, NPC, Spawn, "That might happen. Gomphum thinks it is worth trying. Gomphum thanks you for your offer. Go to the cave path to the north west. Down those cave paths you will find them.")
  83. end
  84. function dlg_26_4(NPC, Spawn)
  85. FaceTarget(NPC, Spawn)
  86. conversation = CreateConversation()
  87. PlayFlavor(NPC, "voiceover/english/exp03_questvo2/gomphum/_exp03/exp03_rgn_greater_faydark/shroomba/gomphum/gomphum009.mp3", "", "", 1786125202, 655475173, Spawn)
  88. AddConversationOption(conversation, "Thank you.", "dlg_26_5")
  89. StartConversation(conversation, NPC, Spawn, "Gomphum wishes you luck.")
  90. end
  91. function dlg_27_1(NPC, Spawn)
  92. FaceTarget(NPC, Spawn)
  93. conversation = CreateConversation()
  94. PlayFlavor(NPC, "voiceover/english/exp03_questvo2/gomphum/_exp03/exp03_rgn_greater_faydark/shroomba/gomphum/gomphum011.mp3", "", "", 3639464975, 2923242531, Spawn)
  95. AddConversationOption(conversation, "They also had an orc with them.", "dlg_27_2")
  96. StartConversation(conversation, NPC, Spawn, "Ah, this is good to hear.")
  97. end
  98. function dlg_27_2(NPC, Spawn)
  99. FaceTarget(NPC, Spawn)
  100. conversation = CreateConversation()
  101. PlayFlavor(NPC, "voiceover/english/exp03_questvo2/gomphum/_exp03/exp03_rgn_greater_faydark/shroomba/gomphum/gomphum012.mp3", "", "", 3576000828, 164182188, Spawn)
  102. AddConversationOption(conversation, "Uh, yes.", "dlg_27_3")
  103. StartConversation(conversation, NPC, Spawn, "The beast of blue?")
  104. end
  105. function dlg_27_3(NPC, Spawn)
  106. FaceTarget(NPC, Spawn)
  107. conversation = CreateConversation()
  108. PlayFlavor(NPC, "voiceover/english/exp03_questvo2/gomphum/_exp03/exp03_rgn_greater_faydark/shroomba/gomphum/gomphum013.mp3", "", "", 665240647, 340790877, Spawn)
  109. AddConversationOption(conversation, "Yes, I will tell Jenthis.", "dlg_27_4")
  110. StartConversation(conversation, NPC, Spawn, "A man spoke to Gomphum of these beasts. He asked that Gomphum tell him if they are spotted, and now they have been. Would you find Jenthis Viridar and tell him as much? He is this man. He says he is south from the canyon our cave paths lead to. Sapling Spur Outpost, was what he called it.")
  111. end
  112. function dlg_27_4(NPC, Spawn)
  113. FaceTarget(NPC, Spawn)
  114. conversation = CreateConversation()
  115. PlayFlavor(NPC, "voiceover/english/exp03_questvo2/gomphum/_exp03/exp03_rgn_greater_faydark/shroomba/gomphum/gomphum014.mp3", "", "", 1778893315, 841928126, Spawn)
  116. AddConversationOption(conversation, "You are welcome.", "dlg_27_5")
  117. StartConversation(conversation, NPC, Spawn, "Gomphum once again thanks you.")
  118. end