muffledvoices.lua 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130
  1. --[[
  2. Script Name : SpawnScripts/BeggarsCourt/muffledvoices.lua
  3. Script Purpose : muffled voices
  4. Script Author : John Adams (Updated by Cynnar 2018.06.18 01:06:26)
  5. Script Date : 2009.04.07
  6. Script Notes : Is part of the Dirty Work Quest.
  7. --]]
  8. local HALFELF_MENTOR_QUEST_2 = 308 -- Dirty Work
  9. function spawn(NPC)
  10. end
  11. function respawn(NPC)
  12. spawn(NPC)
  13. end
  14. function hailed(NPC, Spawn)
  15. dlg_18_1(NPC, Spawn)
  16. end
  17. function dlg_18_1(NPC, Spawn)
  18. FaceTarget(NPC, Spawn)
  19. conversation = CreateConversation()
  20. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/muffled_voices/fprt_hood04/quests/muffled_voice/voice001.mp3", "", "", 1452179347, 296391595, Spawn)
  21. AddConversationOption(conversation, "[continue listening]", "dlg_18_5")
  22. StartConversation(conversation, NPC, Spawn, "Yes.")
  23. end
  24. function dlg_18_5(NPC, Spawn)
  25. FaceTarget(NPC, Spawn)
  26. conversation = CreateConversation()
  27. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/muffled_voices/fprt_hood04/quests/muffled_voice/voice002.mp3", "", "", 587067158, 3131442190, Spawn)
  28. AddConversationOption(conversation, "[continue listening]", "dlg_18_6")
  29. StartConversation(conversation, NPC, Spawn, "Where is he?")
  30. end
  31. function dlg_18_6(NPC, Spawn)
  32. FaceTarget(NPC, Spawn)
  33. conversation = CreateConversation()
  34. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/muffled_voices/fprt_hood04/quests/muffled_voice/voice003.mp3", "", "", 3976503175, 1131531976, Spawn)
  35. AddConversationOption(conversation, "[continue listening]", "dlg_18_7")
  36. StartConversation(conversation, NPC, Spawn, "That doesn't matter, he is safe. I have made preparations, you will not be interrupted during your meeting.")
  37. end
  38. function dlg_18_7(NPC, Spawn)
  39. FaceTarget(NPC, Spawn)
  40. conversation = CreateConversation()
  41. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/muffled_voices/fprt_hood04/quests/muffled_voice/voice004.mp3", "", "", 431474593, 1293164609, Spawn)
  42. AddConversationOption(conversation, "[continue listening]", "dlg_18_8")
  43. StartConversation(conversation, NPC, Spawn, "Good. Good work. When is it?")
  44. end
  45. function dlg_18_8(NPC, Spawn)
  46. FaceTarget(NPC, Spawn)
  47. conversation = CreateConversation()
  48. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/muffled_voices/fprt_hood04/quests/muffled_voice/voice005.mp3", "", "", 2860604224, 2220621693, Spawn)
  49. AddConversationOption(conversation, "[continue listening]", "dlg_18_9")
  50. StartConversation(conversation, NPC, Spawn, "Very soon.")
  51. end
  52. function dlg_18_9(NPC, Spawn)
  53. FaceTarget(NPC, Spawn)
  54. conversation = CreateConversation()
  55. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/muffled_voices/fprt_hood04/quests/muffled_voice/voice006.mp3", "", "", 1982248437, 3493440626, Spawn)
  56. AddConversationOption(conversation, "[continue listening]", "dlg_18_10")
  57. StartConversation(conversation, NPC, Spawn, "Where is it?")
  58. end
  59. function dlg_18_10(NPC, Spawn)
  60. FaceTarget(NPC, Spawn)
  61. conversation = CreateConversation()
  62. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/muffled_voices/fprt_hood04/quests/muffled_voice/voice007.mp3", "", "", 3618887376, 683725922, Spawn)
  63. AddConversationOption(conversation, "[continue listening]", "dlg_18_11")
  64. StartConversation(conversation, NPC, Spawn, "In the southern portion of Beggar's Court. There is a small room just east of the inn, we will meet with him there and learn all that we need of this Ayr'Dal Brotherhood.")
  65. end
  66. function dlg_18_11(NPC, Spawn)
  67. FaceTarget(NPC, Spawn)
  68. conversation = CreateConversation()
  69. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/muffled_voices/fprt_hood04/quests/muffled_voice/voice008.mp3", "", "", 2712447744, 1525191676, Spawn)
  70. AddConversationOption(conversation, "[continue listening]", "dlg_18_12")
  71. StartConversation(conversation, NPC, Spawn, "What did you promise him for his cooperation?")
  72. end
  73. function dlg_18_12(NPC, Spawn)
  74. FaceTarget(NPC, Spawn)
  75. conversation = CreateConversation()
  76. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/muffled_voices/fprt_hood04/quests/muffled_voice/voice009.mp3", "", "", 3844115547, 1386660150, Spawn)
  77. AddConversationOption(conversation, "[continue listening]", "dlg_20_10")
  78. StartConversation(conversation, NPC, Spawn, "Much. Much that Rommuls would never agree to.")
  79. end
  80. function dlg_20_10(NPC, Spawn)
  81. FaceTarget(NPC, Spawn)
  82. conversation = CreateConversation()
  83. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/muffled_voices/fprt_hood04/quests/muffled_voice/voice010.mp3", "", "", 2124749615, 3751504060, Spawn)
  84. AddConversationOption(conversation, "[continue listening]", "dlg_20_11")
  85. StartConversation(conversation, NPC, Spawn, "And what will you give him?")
  86. end
  87. function dlg_20_11(NPC, Spawn)
  88. FaceTarget(NPC, Spawn)
  89. conversation = CreateConversation()
  90. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/muffled_voices/fprt_hood04/quests/muffled_voice/voice011.mp3", "", "", 516736485, 2856945814, Spawn)
  91. AddConversationOption(conversation, "[continue listening]", "dlg_20_12")
  92. StartConversation(conversation, NPC, Spawn, "A painless death. A pet as loyal as him deserves as much. I must go, do NOT miss the meeting.")
  93. end
  94. function dlg_20_12(NPC, Spawn)
  95. SetStepComplete(Spawn, HALFELF_MENTOR_QUEST_2, 2)
  96. FaceTarget(NPC, Spawn)
  97. conversation = CreateConversation()
  98. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/muffled_voices/fprt_hood04/quests/muffled_voice/voice012.mp3", "", "", 23409635, 3384835777, Spawn)
  99. AddConversationOption(conversation, "[stop listening]", "dlg_20_13")
  100. StartConversation(conversation, NPC, Spawn, "I won't.")
  101. end