9
3

Vargon.lua 3.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. --[[
  2. Script Name : SpawnScripts/CryptBetrayal/Vargon.lua
  3. Script Author : Premierio015
  4. Script Date : 2021.10.15 09:10:54
  5. Script Purpose :
  6. :
  7. --]]
  8. local VegalysKeldranesBetrayal = 5371
  9. function spawn(NPC)
  10. end
  11. function hailed(NPC, Spawn)
  12. FaceTarget(NPC, Spawn)
  13. if GetQuestStep(Spawn, VegalysKeldranesBetrayal) == 3 then
  14. local conversation = CreateConversation()
  15. PlayFlavor(NPC, "voiceover/english/vargon/qey_catacomb03/vargon_dialog000.mp3", "", "", 3528951812, 2056718447, Spawn)
  16. AddConversationOption(conversation, "Who are you?", "Option1")
  17. AddConversationOption(conversation, "I do not meddle with the dead.")
  18. StartConversation(conversation, NPC, Spawn, "Why am I still held fast to this world?")
  19. else
  20. PlayFlavor(NPC, "", "", "hail", 0, 0, Spawn)
  21. end
  22. end
  23. function Option1(NPC, Spawn)
  24. FaceTarget(NPC, Spawn)
  25. local conversation = CreateConversation()
  26. PlayFlavor(NPC, "voiceover/english/vargon/qey_catacomb03/vargon_dialog001.mp3", "", "", 1613823909, 2977955044, Spawn)
  27. AddConversationOption(conversation, "I come on behalf of Vegalys Keldrane.", "Option2")
  28. AddConversationOption(conversation, "I have no time for this.")
  29. StartConversation(conversation, NPC, Spawn, "I do not remember my name. Everything is clouded and obscure. I must flee! But I cannot! I'm trapped, trapped like a rat in a cage! Why are you here?")
  30. end
  31. function Option2(NPC, Spawn)
  32. FaceTarget(NPC, Spawn)
  33. local conversation = CreateConversation()
  34. PlayFlavor(NPC, "voiceover/english/vargon/qey_catacomb03/vargon_dialog002.mp3", "", "", 3132700924, 423286763, Spawn)
  35. AddConversationOption(conversation, "You do not remember anything?", "Option3")
  36. AddConversationOption(conversation, "I have no time for the forgetful dead.")
  37. StartConversation(conversation, NPC, Spawn, "Keldrane? Keldrane? The name fills me with dread and loathing, though I do not know why. If you are his minion, leave me alone! I wish only for rest and I find none here. Why am I still held fast to this world?")
  38. end
  39. function Option3(NPC, Spawn)
  40. FaceTarget(NPC, Spawn)
  41. local conversation = CreateConversation()
  42. PlayFlavor(NPC, "voiceover/english/vargon/qey_catacomb03/vargon_dialog003.mp3", "", "", 3545783772, 3182148974, Spawn)
  43. AddConversationOption(conversation, "Did you betray Keldrane during the war?", "Option4")
  44. AddConversationOption(conversation, "As you wish.")
  45. StartConversation(conversation, NPC, Spawn, "What's to remember? Keldrane? Only a name now. All one brings to the world of the dead are one's emotions and thoughts. And I ... I'm left with only emotions. Unhappiness. Sorrow. Betrayal. Why do these feelings haunt me? Go, now, I do not want to feel any longer!")
  46. end
  47. function Option4(NPC, Spawn)
  48. SetStepComplete(Spawn, VegalysKeldranesBetrayal, 3)
  49. FaceTarget(NPC, Spawn)
  50. local conversation = CreateConversation()
  51. PlayFlavor(NPC, "voiceover/english/vargon/qey_catacomb03/vargon_dialog004.mp3", "", "", 2965459867, 1393077638, Spawn)
  52. AddConversationOption(conversation, "I will leave now. May you find peace.")
  53. StartConversation(conversation, NPC, Spawn, "No! Keldrane means nothing to me. All that is left is pain. And despair.")
  54. end
  55. function respawn(NPC)
  56. spawn(NPC)
  57. end