ScoutSpelunkle.lua 7.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123
  1. --[[
  2. Script Name : SpawnScripts/GreaterFaydark/ScoutSpelunkle.lua
  3. Script Purpose : Scout Spelunkle
  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. end
  11. function respawn(NPC)
  12. spawn(NPC)
  13. end
  14. function InRange(NPC, Spawn)
  15. end
  16. function LeaveRange(NPC, Spawn)
  17. SpawnSet(NPC, "visual_state", "221") -- Start crouch_idle
  18. end
  19. function hailed(NPC, Spawn)
  20. SpawnSet(NPC, "visual_state", "0") -- Stop crouch_idle
  21. FaceTarget(NPC, Spawn)
  22. conversation = CreateConversation()
  23. -- when done with Queen, this is his standard response.
  24. -- PlayFlavor(NPC, "voiceover/english/exp03_questvo2/scout_spelunkle/_exp03/exp03_rgn_greater_faydark/quest/scout_spelunkle_completed_a127dc51.mp3", "Good work with that shrumbler queen! You sure squashed her good!", "", 1471734703, 3961292565, Spawn)
  25. PlayFlavor(NPC, "voiceover/english/exp03_questvo2/scout_spelunkle/_exp03/exp03_rgn_greater_faydark/scout_spelunkle/scout_spelunkle001.mp3", "", "", 1120182218, 3612192920, Spawn)
  26. AddConversationOption(conversation, "Captain Steelforge wanted to know if you were okay. You shouldn't go running off alone.", "dlg_4_1")
  27. AddConversationOption(conversation, "I was just exploring, sorry.")
  28. StartConversation(conversation, NPC, Spawn, "AAAAAHHHHH! Oh wait, yer not a grobin... What are you doin' scaring me like that!?")
  29. if convo==29 then
  30. PlayFlavor(NPC, "voiceover/english/exp03_questvo2/scout_spelunkle/_exp03/exp03_rgn_greater_faydark/scout_spelunkle/scout_spelunkle001.mp3", "", "", 1120182218, 3612192920, Spawn)
  31. AddConversationOption(conversation, "Captain Steelforge wanted to know if you were okay. You shouldn't go running off alone.", "dlg_29_1")
  32. AddConversationOption(conversation, "I was just exploring, sorry.")
  33. StartConversation(conversation, NPC, Spawn, "AAAAAHHHHH! Oh wait, yer not a grobin... What are you doin' scaring me like that!?")
  34. end
  35. end
  36. function dlg_4_1(NPC, Spawn)
  37. FaceTarget(NPC, Spawn)
  38. conversation = CreateConversation()
  39. PlayFlavor(NPC, "voiceover/english/exp03_questvo2/scout_spelunkle/_exp03/exp03_rgn_greater_faydark/scout_spelunkle/scout_spelunkle002.mp3", "", "", 846928893, 15725150, Spawn)
  40. AddConversationOption(conversation, "Have you discovered anything while you were down here?", "dlg_4_2")
  41. AddConversationOption(conversation, "I see. Well, I'll be leaving, goodbye.")
  42. StartConversation(conversation, NPC, Spawn, "Doh! I knew I forgot something... orders... I need to remember to get me orders first! Everything's okay here, I just really like my job as a Specialist Spelunker. Nothin' like crawlin' around in a dark, musty cave.")
  43. end
  44. function dlg_4_2(NPC, Spawn)
  45. FaceTarget(NPC, Spawn)
  46. conversation = CreateConversation()
  47. PlayFlavor(NPC, "voiceover/english/exp03_questvo2/scout_spelunkle/_exp03/exp03_rgn_greater_faydark/scout_spelunkle/scout_spelunkle003.mp3", "", "", 4168182811, 2184104853, Spawn)
  48. AddConversationOption(conversation, "They need to be stopped. What do you have planned?", "dlg_4_3")
  49. StartConversation(conversation, NPC, Spawn, "I found where the grobins are gettin' their shrumbler eggs. They're keepin' a big shrumbler in a cave near the back... and boy, she's a big one! They scoop up the icky eggs she lays, put 'em in jars and then they carry 'em out of here. ")
  50. end
  51. function dlg_4_3(NPC, Spawn)
  52. FaceTarget(NPC, Spawn)
  53. conversation = CreateConversation()
  54. PlayFlavor(NPC, "voiceover/english/exp03_questvo2/scout_spelunkle/_exp03/exp03_rgn_greater_faydark/scout_spelunkle/scout_spelunkle004.mp3", "", "", 4233413026, 410396832, Spawn)
  55. AddConversationOption(conversation, "I'll do it.", "dlg_4_4")
  56. AddConversationOption(conversation, "Forget it, I'm out of here.")
  57. StartConversation(conversation, NPC, Spawn, "Me?! I'm not a sword swingin' or finger wigglin' type. I'm just an explorer! Maybe you can do it! You could get to the shrumbler queen you could take her out! ")
  58. end
  59. function dlg_4_4(NPC, Spawn)
  60. FaceTarget(NPC, Spawn)
  61. conversation = CreateConversation()
  62. PlayFlavor(NPC, "voiceover/english/exp03_questvo2/scout_spelunkle/_exp03/exp03_rgn_greater_faydark/scout_spelunkle/scout_spelunkle005.mp3", "", "", 3135812044, 2119680514, Spawn)
  63. AddConversationOption(conversation, "I understand.")
  64. StartConversation(conversation, NPC, Spawn, "Good. All you have to do is eliminate the shrumbler queen. That'll stop the grobins from gettin those shrumbler eggs. Once you finish that, go back to the captain and let him know what happened.")
  65. end
  66. function dlg_29_1(NPC, Spawn)
  67. FaceTarget(NPC, Spawn)
  68. conversation = CreateConversation()
  69. PlayFlavor(NPC, "voiceover/english/exp03_questvo2/scout_spelunkle/_exp03/exp03_rgn_greater_faydark/scout_spelunkle/scout_spelunkle002.mp3", "", "", 846928893, 15725150, Spawn)
  70. AddConversationOption(conversation, "Have you discovered anything while you were down here?", "dlg_29_2")
  71. AddConversationOption(conversation, "I see. Well, I'll be leaving, goodbye.")
  72. StartConversation(conversation, NPC, Spawn, "Doh! I knew I forgot something... orders... I need to remember to get me orders first! Everything's okay here, I just really like my job as a Specialist Spelunker. Nothin' like crawlin' around in a dark, musty cave.")
  73. end
  74. function dlg_29_2(NPC, Spawn)
  75. FaceTarget(NPC, Spawn)
  76. conversation = CreateConversation()
  77. PlayFlavor(NPC, "voiceover/english/exp03_questvo2/scout_spelunkle/_exp03/exp03_rgn_greater_faydark/scout_spelunkle/scout_spelunkle003.mp3", "", "", 4168182811, 2184104853, Spawn)
  78. AddConversationOption(conversation, "They need to be stopped. What do you have planned?", "dlg_29_3")
  79. StartConversation(conversation, NPC, Spawn, "I found where the grobins are gettin' their shrumbler eggs. They're keepin' a big shrumbler in a cave near the back... and boy, she's a big one! They scoop up the icky eggs she lays, put 'em in jars and then they carry 'em out of here. ")
  80. end
  81. function dlg_29_3(NPC, Spawn)
  82. FaceTarget(NPC, Spawn)
  83. conversation = CreateConversation()
  84. PlayFlavor(NPC, "voiceover/english/exp03_questvo2/scout_spelunkle/_exp03/exp03_rgn_greater_faydark/scout_spelunkle/scout_spelunkle004.mp3", "", "", 4233413026, 410396832, Spawn)
  85. AddConversationOption(conversation, "I'll do it.", "dlg_29_4")
  86. AddConversationOption(conversation, "Forget it, I'm out of here.")
  87. StartConversation(conversation, NPC, Spawn, "Me?! I'm not a sword swingin' or finger wigglin' type. I'm just an explorer! Maybe you can do it! You could get to the shrumbler queen you could take her out! ")
  88. end
  89. function dlg_29_4(NPC, Spawn)
  90. FaceTarget(NPC, Spawn)
  91. conversation = CreateConversation()
  92. PlayFlavor(NPC, "voiceover/english/exp03_questvo2/scout_spelunkle/_exp03/exp03_rgn_greater_faydark/scout_spelunkle/scout_spelunkle005.mp3", "", "", 3135812044, 2119680514, Spawn)
  93. AddConversationOption(conversation, "I understand.", "dlg_29_5")
  94. StartConversation(conversation, NPC, Spawn, "Good. All you have to do is eliminate the shrumbler queen. That'll stop the grobins from gettin those shrumbler eggs. Once you finish that, go back to the captain and let him know what happened.")
  95. end