Raban.lua 2.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. --[[
  2. Script Name : SpawnScripts/StonestairByway/Raban.lua
  3. Script Purpose : Raban
  4. Script Author : torsten
  5. Script Date : 2022.07.21
  6. Script Notes : Auto-Generated Conversation from PacketParser Data
  7. --]]
  8. require "SpawnScripts/Generic/DialogModule"
  9. local AWorthyTeacher = 5687
  10. local EnchantedEvening = 5926
  11. function spawn(NPC)
  12. end
  13. function respawn(NPC)
  14. spawn(NPC)
  15. end
  16. function hailed(NPC, Spawn)
  17. Dialog1(NPC, Spawn)
  18. end
  19. function Dialog1(NPC, Spawn)
  20. FaceTarget(NPC, Spawn)
  21. Dialog.New(NPC, Spawn)
  22. Dialog.AddDialog("Can't you adventurers find some other place to drink?")
  23. Dialog.AddVoiceover("voiceover/english/optional1/tavern_patron,_erudite_female/fprt_hood02/tavern_patron_erudite_raban.mp3", 2922822950, 250860244)
  24. if GetQuestStep(Spawn, AWorthyTeacher) == 1 then
  25. Dialog.AddOption("I am not here to drink, madam. I bring a message from the Iksar Zekvila.", "Dialog2")
  26. end
  27. if GetQuestStep(Spawn, EnchantedEvening) == 1 then
  28. Dialog.AddOption("Krysa is offering you more money to make the two other Ratonga \"more ugly\".", "Dialog3")
  29. end
  30. Dialog.AddOption("Whatever.")
  31. Dialog.Start()
  32. end
  33. --
  34. function Dialog2(NPC, Spawn)
  35. FaceTarget(NPC, Spawn)
  36. Dialog.New(NPC, Spawn)
  37. Dialog.AddDialog("You mean Zekvila the incompetent? The one who fancies herself a powerful mage? Ha! Let me read her message. Hmm ... hmm ... ah, yes. It's clear her impatience has finally caught up with her. Tell her this: If she wants my help, she will have to come to me in person, face me, and confess the full extent of her pathetic ignorance. I can almost hear the indignant shrieks already. Now ... leave me to my drink.")
  38. Dialog.AddOption("I'll let her know.")
  39. Dialog.Start()
  40. SetStepComplete(Spawn, AWorthyTeacher, 1)
  41. end
  42. function Dialog3(NPC, Spawn)
  43. FaceTarget(NPC, Spawn)
  44. Dialog.New(NPC, Spawn)
  45. Dialog.AddDialog("Hahahaaaa! It's so adorable when those little creatures fight each other...so emotional...so angry...perfect little beasts. Well, you tell Krysa that I'll do it for free. Considering all three of them, plus some little love-smitten ratonga, came to me for enchantments, it's worth it. As I was saying, it's so charming to see those feral little beasts stab each other in the back. Haaahaaaahaaa.")
  46. PlayFlavor(NPC, "","","chuckle",0,0, Spawn)
  47. Dialog.AddOption("Interesting. I'll let her know.")
  48. Dialog.Start()
  49. SetStepComplete(Spawn, EnchantedEvening, 1)
  50. end