FavoniusSeneca.lua 2.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. --[[
  2. Script Name : SpawnScripts/BeggarsCourt/FavoniusSeneca.lua
  3. Script Purpose : Favonius Seneca
  4. Script Author : torsten
  5. Script Date : 2022.07.18
  6. Script Notes : Auto-Generated Conversation from PacketParser Data
  7. --]]
  8. require "SpawnScripts/Generic/DialogModule"
  9. local Fighter = 5898
  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("Mind your own business. If you keep gawking, you'll walk away with a limp--and that's because I'm in a good mood today.")
  22. Dialog.AddVoiceover("voiceover/english/favonius_seneca/fprt_hood04/favoniusseneca000.mp3", 4143618696, 2550129080)
  23. if HasQuest(Spawn,Fighter) and GetQuestStep(Spawn,Fighter)>=7 and GetQuestStep(Spawn,Fighter)<=97 and GetQuestStepProgress(Spawn,Fighter,7)==0 then
  24. Dialog.AddOption("Overlord Lucan would prefer that you didn't allow the Guttersnipes into Beggars Court.","Dialog2")
  25. end
  26. Dialog.AddOption("Some mood... ")
  27. Dialog.Start()
  28. end
  29. function Dialog2(NPC, Spawn)
  30. FaceTarget(NPC, Spawn)
  31. Dialog.New(NPC, Spawn)
  32. Dialog.AddDialog("Oh yeah? Well, I'd \"prefer\" that the Overlord pay me some of his cold hard cash before I stop serving the Guttersnipes. You know what I'm saying?")
  33. PlayFlavor(NPC, "", "", "glare", 0, 0, Spawn)
  34. Dialog.AddVoiceover("voiceover/english/favonius_seneca/fprt_hood04/favoniusseneca001.mp3", 2651374016, 1797185719)
  35. Dialog.AddOption("Offering a bribe! That's another charge we can add to your file.","Dialog3")
  36. Dialog.Start()
  37. end
  38. function Dialog3(NPC, Spawn)
  39. FaceTarget(NPC, Spawn)
  40. Dialog.New(NPC, Spawn)
  41. Dialog.AddDialog("Hey! That's not what I said! Don't you dare tell the Overlord or anyone else that I said that! If you do, I swear to you that I'll...")
  42. PlayFlavor(NPC, "", "", "boggle", 0, 0, Spawn)
  43. Dialog.AddVoiceover("voiceover/english/favonius_seneca/fprt_hood04/favoniusseneca002.mp3", 2763282382, 509438701)
  44. Dialog.AddOption("Or you'll what?","Dialog3a")
  45. Dialog.Start()
  46. end
  47. function Dialog3a(NPC, Spawn)
  48. FaceTarget(Spawn, NPC)
  49. PlayFlavor(Spawn, "", "", "stare", 0, 0, NPC)
  50. AddTimer(NPC,800,"Dialog4",1,Spawn)
  51. end
  52. function Dialog4(NPC, Spawn)
  53. FaceTarget(NPC, Spawn)
  54. Dialog.New(NPC, Spawn)
  55. SetStepComplete(Spawn,Fighter,7)
  56. Dialog.AddDialog("Umm ... I'll ... uh ... I'll make ... I'll make sure that the Guttersnipes don't show up here in Beggar's Court, okay?")
  57. PlayFlavor(NPC, "", "", "cringe", 0, 0, Spawn)
  58. Dialog.AddVoiceover("voiceover/english/favonius_seneca/fprt_hood04/favoniusseneca003.mp3", 1546990870, 1516965845)
  59. Dialog.AddOption("Finally, you see reason. All hail the Overlord!")
  60. Dialog.Start()
  61. end
  62. --