SentiusPoisonleaf.lua 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. --[[
  2. Script Name : SpawnScripts/BeggarsCourt/SentiusPoisonleaf.lua
  3. Script Purpose : Sentius Poisonleaf
  4. Script Author : torsten\\Dorbin
  5. Script Date : 2022.07.17
  6. Script Notes :
  7. --]]
  8. require "SpawnScripts/Generic/DialogModule"
  9. local SiricusandtheMilitia = 5663
  10. function spawn(NPC)
  11. end
  12. function respawn(NPC)
  13. spawn(NPC)
  14. end
  15. function hailed(NPC, Spawn)
  16. Dialog1(NPC, Spawn)
  17. end
  18. function Dialog1(NPC, Spawn)
  19. FaceTarget(NPC, Spawn)
  20. Dialog.New(NPC, Spawn)
  21. Dialog.AddDialog("This mead is quite exquisite! It's a good thing I just came into some money. I've seen what Banwyn does to people who don't pay their tab.")
  22. Dialog.AddVoiceover("voiceover/english/guard_sentius_verus/fprt_hood04/std_sentius_poisonleaf.mp3", 3476707665, 1763780062)
  23. if GetQuestStep(Spawn, SiricusandtheMilitia) == 1 then
  24. Dialog.AddOption("Siricus is asking about his Militia application fee.","Dialog2")
  25. end
  26. Dialog.AddOption("I don't really care.")
  27. Dialog.Start()
  28. end
  29. function Dialog2(NPC, Spawn)
  30. SetStepComplete(Spawn, SiricusandtheMilitia, 1)
  31. FaceTarget(NPC, Spawn)
  32. Dialog.New(NPC, Spawn)
  33. Dialog.AddDialog("Oh... ummm... tell that gimp - er - guy that things like this take time. They - uhh - are seriously considering it but it might take some more money. If it does, I'll come around to get some more. Let him know I'm working on it, okay?")
  34. PlayFlavor(NPC, "", "", "confused", 0, 0, Spawn, 0)
  35. Dialog.AddVoiceover("voiceover/english/guard_sentius_verus/fprt_hood04/quests/siricuscalventius/sentius_siricus_x1_initial.mp3", 4034795420, 833256719)
  36. Dialog.AddOption("I'll let him know...")
  37. Dialog.Start()
  38. end