9
3

SevriIlBethod.lua 8.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146
  1. --[[
  2. Script Name : SpawnScripts/StonestairByway/SevriIlBethod.lua
  3. Script Purpose : Sevri Il'Bethod
  4. Script Author : Jabantiz
  5. Script Date : 2018.06.22
  6. Script Notes : Auto-Generated Conversation from PacketParser Data
  7. --]]
  8. local TWEEZING_KERRA = 356
  9. local INCANTATION_ORATION = 357
  10. local ABOLISHING_CURIOUSITY = 358
  11. function spawn(NPC)
  12. ProvidesQuest(NPC, INCANTATION_ORATION)
  13. end
  14. function respawn(NPC)
  15. spawn(NPC)
  16. end
  17. function hailed(NPC, Spawn)
  18. FaceTarget(NPC, Spawn)
  19. conversation = CreateConversation()
  20. if HasQuest(Spawn, TWEEZING_KERRA) and GetQuestStep(Spawn, TWEEZING_KERRA) == 1 then
  21. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/sevri_il_bethod/fprt_hood02/sevri_ilbethod001.mp3", "", "", 2840183078, 2969997848, Spawn)
  22. AddConversationOption(conversation, "You are correct. Vess asked me to give you this mixture.", "dlg_29_1")
  23. StartConversation(conversation, NPC, Spawn, "Oh, did Vess send you? He told me that he'd be sending someone promising along shortly. You seem to meet that criteria.")
  24. elseif (HasQuest(Spawn, TWEEZING_KERRA) and GetQuestStep(Spawn, TWEEZING_KERRA) == 3) or CanReceiveQuest(Spawn, INCANTATION_ORATION) then
  25. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/sevri_il_bethod/fprt_hood02/sevri_ilbethod008.mp3", "", "", 1767926562, 4023860365, Spawn)
  26. AddConversationOption(conversation, "Hey... you aren't allergic, are you?", "dlg_30_1")
  27. StartConversation(conversation, NPC, Spawn, "Achoo! Blast. I hate this dreaded cat fur. It's all over!")
  28. elseif HasQuest(Spawn, ABOLISHING_CURIOUSITY) and GetQuestStep(Spawn, ABOLISHING_CURIOUSITY) == 1 then
  29. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/sevri_il_bethod/fprt_hood02/sevri_ilbethod013.mp3", "", "", 1502950619, 3498385228, Spawn)
  30. AddConversationOption(conversation, "Aye, he did.", "dlg_37_1")
  31. StartConversation(conversation, NPC, Spawn, "So, Vess taught you the chant then?")
  32. else
  33. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/sevri_il_bethod/fprt_hood02/quest_newbie_erudite_sevri_no_speak_f6ea55bb.mp3", "Please, I don't have anything for you right now.", "", 3441706534, 2672842670, Spawn)
  34. end
  35. end
  36. function dlg_29_1(NPC, Spawn)
  37. FaceTarget(NPC, Spawn)
  38. conversation = CreateConversation()
  39. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/sevri_il_bethod/fprt_hood02/sevri_ilbethod002.mp3", "", "", 3354799610, 364441857, Spawn)
  40. AddConversationOption(conversation, "That's funny, he didn't mention it.", "dlg_29_2")
  41. StartConversation(conversation, NPC, Spawn, "Splendid! I take it you are the one that gathered these seeds? Vess has many astounding qualities, but his eyesight is not among those. He often fumbles mundane tasks like correctly identifying spell components.")
  42. end
  43. function dlg_29_2(NPC, Spawn)
  44. FaceTarget(NPC, Spawn)
  45. conversation = CreateConversation()
  46. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/sevri_il_bethod/fprt_hood02/sevri_ilbethod003.mp3", "", "", 148598238, 1216758418, Spawn)
  47. AddConversationOption(conversation, "Not to worry. No one will find out from me.", "dlg_29_3")
  48. AddConversationOption(conversation, "I can't promise that my lips would stay sealed for enough coin, but I doubt anyone will ask.")
  49. StartConversation(conversation, NPC, Spawn, "No. He wouldn't. We do not admit weakness here. I would ask that you keep that bit of information to yourself as well.")
  50. end
  51. function dlg_29_3(NPC, Spawn)
  52. FaceTarget(NPC, Spawn)
  53. conversation = CreateConversation()
  54. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/sevri_il_bethod/fprt_hood02/sevri_ilbethod004.mp3", "", "", 4204901363, 3185230293, Spawn)
  55. AddConversationOption(conversation, "That's the second time I've heard about this. Who is this brotherhood?", "dlg_29_4")
  56. StartConversation(conversation, NPC, Spawn, "May Cazic reject your soul should you reveal such information to the wrong party. We were fractured once before. The brotherhood we seek to protect must look after itself.")
  57. end
  58. function dlg_29_4(NPC, Spawn)
  59. FaceTarget(NPC, Spawn)
  60. conversation = CreateConversation()
  61. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/sevri_il_bethod/fprt_hood02/sevri_ilbethod005.mp3", "", "", 3118209610, 2540852917, Spawn)
  62. AddConversationOption(conversation, "I've got it. Loose lips sink ships.", "dlg_29_5")
  63. StartConversation(conversation, NPC, Spawn, "We are known to each other as the Abbatoirs. No one else knows of our existence. We prefer it to remain so, and will take steps to ensure that it does. I hope you catch my meaning.")
  64. end
  65. function dlg_29_5(NPC, Spawn)
  66. FaceTarget(NPC, Spawn)
  67. conversation = CreateConversation()
  68. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/sevri_il_bethod/fprt_hood02/sevri_ilbethod006.mp3", "", "", 3867537921, 1281338132, Spawn)
  69. AddConversationOption(conversation, "I'll help you, but why the problem? There's kerra hair all over.", "dlg_29_6")
  70. AddConversationOption(conversation, "I don't think so. I'm done for now.")
  71. StartConversation(conversation, NPC, Spawn, "You do learn quickly. Now, in addition to what you brought me I have need of kerra hair for this process. I would gather it myself, but it is best done by someone new to the area.")
  72. end
  73. function dlg_29_6(NPC, Spawn)
  74. FaceTarget(NPC, Spawn)
  75. conversation = CreateConversation()
  76. SetStepComplete(Spawn, TWEEZING_KERRA, 1)
  77. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/sevri_il_bethod/fprt_hood02/sevri_ilbethod007.mp3", "", "", 2694294264, 2914273569, Spawn)
  78. AddConversationOption(conversation, "I'll return with your fur.")
  79. StartConversation(conversation, NPC, Spawn, "It must be taken directly from the kerra. Here, let me give you a small pair of silver tweezers. Use the tweezers to take a bit of hair from a few kerra, then bring them back to me.")
  80. end
  81. function dlg_30_1(NPC, Spawn)
  82. FaceTarget(NPC, Spawn)
  83. conversation = CreateConversation()
  84. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/sevri_il_bethod/fprt_hood02/sevri_ilbethod009.mp3", "", "", 1600845257, 1811343873, Spawn)
  85. AddConversationOption(conversation, "Indeed it would be.", "dlg_30_2")
  86. StartConversation(conversation, NPC, Spawn, "Nonsense. Just a bit drifted up my nose. It would be hard to live here if one were allergic.")
  87. end
  88. function dlg_30_2(NPC, Spawn)
  89. FaceTarget(NPC, Spawn)
  90. conversation = CreateConversation()
  91. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/sevri_il_bethod/fprt_hood02/sevri_ilbethod010.mp3", "", "", 1523234099, 1835837683, Spawn)
  92. AddConversationOption(conversation, "Yes, here's the fur you requested.", "dlg_30_3")
  93. StartConversation(conversation, NPC, Spawn, "But let's talk about you. Like... did you bring back the fur?")
  94. end
  95. function dlg_30_3(NPC, Spawn)
  96. SetStepComplete(Spawn, TWEEZING_KERRA, 3)
  97. OfferQuest(NPC, Spawn, INCANTATION_ORATION)
  98. end
  99. function dlg_37_1(NPC, Spawn)
  100. FaceTarget(NPC, Spawn)
  101. conversation = CreateConversation()
  102. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/sevri_il_bethod/fprt_hood02/sevri_ilbethod014.mp3", "", "", 2329555346, 2187265522, Spawn)
  103. AddConversationOption(conversation, "Sometimes you just need someone who can get the job done.", "dlg_37_2")
  104. StartConversation(conversation, NPC, Spawn, "Very good. I must say, I was unsure that you would be able to assist us when he mentioned you. Now I am quite happy with your progress.")
  105. end
  106. function dlg_37_2(NPC, Spawn)
  107. FaceTarget(NPC, Spawn)
  108. conversation = CreateConversation()
  109. SetStepComplete(Spawn, ABOLISHING_CURIOUSITY, 1)
  110. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/sevri_il_bethod/fprt_hood02/sevri_ilbethod015.mp3", "", "", 969330079, 2958205445, Spawn)
  111. AddConversationOption(conversation, "I'll not disappoint.")
  112. StartConversation(conversation, NPC, Spawn, "Correct. Here are the components. Be careful not to waste them. A lot of effort went into making this mixture.")
  113. end
  114. --[[ raw_conversations
  115. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/sevri_il_bethod/fprt_hood02/quest_newbie_erudite_sevri_no_speak_f6ea55bb.mp3", "Please, I don't have anything for you right now.", "", 3441706534, 2672842670, Spawn)
  116. --]]