9
3

PredatorShadur.lua 6.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116
  1. --[[
  2. Script Name : SpawnScripts/QueensColony/PredatorShadur.lua
  3. Script Purpose : Predator Sha'dur
  4. Script Author : John Adams
  5. Script Date : 2008.09.20
  6. Script Notes : Auto-Generated Conversation from PacketParser Data
  7. --]]
  8. local IntoTheTaintedForest = 162
  9. function spawn(NPC)
  10. end
  11. function respawn(NPC)
  12. spawn(NPC)
  13. end
  14. function hailed(NPC, Spawn)
  15. FaceTarget(NPC, Spawn)
  16. conversation = CreateConversation()
  17. if HasQuest(Spawn, IntoTheTaintedForest) then
  18. if GetQuestStep(Spawn, IntoTheTaintedForest) == 1 then
  19. -- on step 1
  20. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/predator_sha_dur/tutorial_island02_revamp/quests/citizenship/predatorshadur/predatorshadur001.mp3", "", "", 974461124, 1688750829, Spawn)
  21. AddConversationOption(conversation, "Easy there, all is not lost. I can help.", "AllNotLost")
  22. AddConversationOption(conversation, "Then I'll just come back later.")
  23. StartConversation(conversation, NPC, Spawn, "Wraaa! The day is grim. Has this world lost all of its goodness and left us with this cold husk? I suppose you were sent by Murrar, but my job has been halted.")
  24. elseif GetQuestStep(Spawn, IntoTheTaintedForest) == 2 or GetQuestStep(Spawn, 9) == 4 then
  25. -- on step 2
  26. AddConversationOption(conversation, "I'm still looking.")
  27. StartConversation(conversation, NPC, Spawn, "Wraaa! Don't worry, I didn't expect to get my bow and arrows back anyway.")
  28. elseif GetQuestStep(Spawn, IntoTheTaintedForest) == 3 then
  29. -- on step 3
  30. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/predator_sha_dur/tutorial_island02_revamp/quests/citizenship/predatorshadur/predatorshadur005.mp3", "", "", 2074453663, 3037764595, Spawn)
  31. AddConversationOption(conversation, "There were no arrows to be found.", "NoArrowsFound")
  32. StartConversation(conversation, NPC, Spawn, "Wra... my bow! You did this for me? Maybe this day is not so bad. Maybe you found my arrows too?")
  33. elseif GetQuestStep(Spawn, IntoTheTaintedForest) == 5 then
  34. Step5Complete(NPC, Spawn)
  35. else
  36. GivenHope(NPC, Spawn)
  37. end
  38. elseif HasCompletedQuest(Spawn, IntoTheTaintedForest) then
  39. GivenHope(NPC, Spawn)
  40. else
  41. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/predator_sha_dur/tutorial_island02_revamp/quest/citizenship_predator_shadur_notonquest_ace49adb.mp3", "I like your look. I think you may be able to help me. Speak with Murrar Shar, back in the Queen's Colony, if you're interested.", "", 3528725023, 1136267894, Spawn)
  42. end
  43. end
  44. function AllNotLost(NPC, Spawn)
  45. FaceTarget(NPC, Spawn)
  46. conversation = CreateConversation()
  47. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/predator_sha_dur/tutorial_island02_revamp/quests/citizenship/predatorshadur/predatorshadur002.mp3", "", "", 1717533921, 3624025078, Spawn)
  48. AddConversationOption(conversation, "Maybe I can find your bow and arrows?", "FindBowAndArrows")
  49. AddConversationOption(conversation, "I'd rather stay out of this.")
  50. StartConversation(conversation, NPC, Spawn, "Help was a word I didn't expect to hear, but I'm most likely beyond helping. See, I was sent here to collect samples from the wildlife that has become tainted, but on my hunt I was ambushed by the nearby goblins. My bow and arrows were lost in the scuffle.")
  51. end
  52. function FindBowAndArrows(NPC, Spawn)
  53. SetStepComplete(Spawn, IntoTheTaintedForest, 1)
  54. FaceTarget(NPC, Spawn)
  55. conversation = CreateConversation()
  56. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/predator_sha_dur/tutorial_island02_revamp/quests/citizenship/predatorshadur/predatorshadur003.mp3", "", "", 3011492014, 1113535899, Spawn)
  57. AddConversationOption(conversation, "Don't worry, I'll find it.")
  58. StartConversation(conversation, NPC, Spawn, "I'm sure my bow is in the hands of those tainted Sapswill tappers that ambushed me. You might try, but I don't except much.")
  59. end
  60. function NoArrowsFound(NPC, Spawn)
  61. SetStepComplete(Spawn, IntoTheTaintedForest, 3)
  62. FaceTarget(NPC, Spawn)
  63. conversation = CreateConversation()
  64. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/predator_sha_dur/tutorial_island02_revamp/quests/citizenship/predatorshadur/predatorshadur006.mp3", "", "", 2110516952, 1980416532, Spawn)
  65. AddConversationOption(conversation, "Be at ease, friend. I can get the sticks.")
  66. StartConversation(conversation, NPC, Spawn, "Well there goes the day again! What's a bow without arrows? The only good sticks I've found to make arrow shafts are by that spider den! Brrrr!")
  67. end
  68. function Step5Complete(NPC, Spawn)
  69. FaceTarget(NPC, Spawn)
  70. conversation = CreateConversation()
  71. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/predator_sha_dur/tutorial_island02_revamp/quests/citizenship/predatorshadur/predatorshadur007.mp3", "", "", 1042822953, 3405333200, Spawn)
  72. AddConversationOption(conversation, "That's the spirit!", "dlg_16_1")
  73. StartConversation(conversation, NPC, Spawn, "You'd do this for me again? I can fletch these sticks into perfect arrows. You, my friend, have turned my eyes. It's a great day. I know we can beat this menace!")
  74. end
  75. function dlg_16_1(NPC, Spawn)
  76. FaceTarget(NPC, Spawn)
  77. conversation = CreateConversation()
  78. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/predator_sha_dur/tutorial_island02_revamp/quests/citizenship/predatorshadur/predatorshadur008.mp3", "", "", 985337170, 2895526537, Spawn)
  79. AddConversationOption(conversation, "You've already got some samples? But...", "dlg_16_2")
  80. StartConversation(conversation, NPC, Spawn, "You know, come to think of it. I did get a few small samples before I lost my bow. Why don't you take them back to Murrar to see if they'll do.")
  81. end
  82. function dlg_16_2(NPC, Spawn)
  83. SetStepComplete(Spawn, IntoTheTaintedForest, 5)
  84. FaceTarget(NPC, Spawn)
  85. conversation = CreateConversation()
  86. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/predator_sha_dur/tutorial_island02_revamp/quests/citizenship/predatorshadur/predatorshadur009.mp3", "", "", 2433535127, 45385354, Spawn)
  87. AddConversationOption(conversation, "Great! I know Murrar's waiting for these.", "dlg_16_3")
  88. StartConversation(conversation, NPC, Spawn, "No really, go ahead! With your help finding my gear, you've shown that there is light in this dim hour. We will live to fight another day.")
  89. end
  90. function GivenHope(NPC, Spawn)
  91. FaceTarget(NPC, Spawn)
  92. conversation = CreateConversation()
  93. AddConversationOption(conversation, "Good luck.")
  94. StartConversation(conversation, NPC, Spawn, "My arrows are almost ready! You've given me hope friend.")
  95. end