LodoBightn.lua 3.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  1. --[[
  2. Script Name : SpawnScripts/QeynosCapitolDistrict/LodoBightn.lua
  3. Script Purpose : Lodo Bightn
  4. Script Author : Dorbin
  5. Script Date : 2022.05.17
  6. Script Notes : Auto-Generated Conversation from PacketParser Data
  7. --]]
  8. require "SpawnScripts/Generic/DialogModule"
  9. local Dagger = 5558
  10. function spawn(NPC)
  11. end
  12. function respawn(NPC)
  13. spawn(NPC)
  14. end
  15. function hailed(NPC, Spawn)
  16. if GetQuestStepProgress(Spawn,Dagger) == 4 then
  17. Dialog4(NPC, Spawn)
  18. RandomGreeting(NPC, Spawn)
  19. else
  20. PlayFlavor(NPC,"","","glare",0,0,Spawn)
  21. Emote(NPC,"a stares at you with an evil grin, then goes back to his ale.")
  22. FaceTarget(NPC, Spawn)
  23. end
  24. end
  25. function RandomGreeting(NPC, Spawn)
  26. local choice = MakeRandomInt(1,1)
  27. if choice == 1 then
  28. PlayVoice(NPC, "voiceover/english/voice_emotes/greetings/greetings_2_1020.mp3", 0, 0, Spawn)
  29. end
  30. end
  31. function Dialog1(NPC, Spawn)
  32. FaceTarget(NPC, Spawn)
  33. Dialog.New(NPC, Spawn)
  34. Dialog.AddDialog("Oh, I'm afraid not. Don't get that nasty sort out here. Bunch of 'em out by Freeport I hear, though.")
  35. Dialog.AddVoiceover("voiceover/english/optional5/lodo_bightn/bf_halfling_lodobightn3_64.mp3", 4220445890, 889140163)
  36. Dialog.AddOption("This one would have come here from Freeport.", "Dialog5")
  37. Dialog.Start()
  38. end
  39. function Dialog2(NPC, Spawn)
  40. FaceTarget(NPC, Spawn)
  41. Dialog.New(NPC, Spawn)
  42. Dialog.AddDialog("You see if you can do that. Don't like that sort around here, we don't!")
  43. Dialog.AddVoiceover("voiceover/english/optional5/lodo_bightn/bf_halfling_lodobightn7_64.mp3", 1750948791, 3710883343)
  44. Dialog.AddOption("Take care.")
  45. Dialog.Start()
  46. end
  47. function Dialog3(NPC, Spawn)
  48. FaceTarget(NPC, Spawn)
  49. Dialog.New(NPC, Spawn)
  50. Dialog.AddDialog("Now that you mention it, I reckon so. Rather brutish chap, I'll give him that.")
  51. Dialog.AddVoiceover("voiceover/english/optional5/lodo_bightn/bf_halfling_lodobightn5_64.mp3", 3738287380, 448534297)
  52. Dialog.AddOption("Did you see where he went?", "Dialog6")
  53. Dialog.Start()
  54. end
  55. function Dialog4(NPC, Spawn)
  56. FaceTarget(NPC, Spawn)
  57. Dialog.New(NPC, Spawn)
  58. Dialog.AddDialog("What's this? Who are you looking for? An assassin?")
  59. Dialog.AddVoiceover("voiceover/english/optional5/lodo_bightn/bf_halfling_lodobightn2_64.mp3", 371157871, 3067060166)
  60. Dialog.AddOption("Yes, I'd heard one might have made his way out here.", "Dialog1")
  61. Dialog.Start()
  62. end
  63. function Dialog5(NPC, Spawn)
  64. FaceTarget(NPC, Spawn)
  65. Dialog.New(NPC, Spawn)
  66. Dialog.AddDialog("There was a strange sort, came into town for a couple days. Bit on the shorter side.")
  67. Dialog.AddVoiceover("voiceover/english/optional5/lodo_bightn/bf_halfling_lodobightn4_64.mp3", 443287110, 1346680078)
  68. Dialog.AddOption("Did he have brown hair?", "Dialog3")
  69. Dialog.Start()
  70. end
  71. function Dialog6(NPC, Spawn)
  72. FaceTarget(NPC, Spawn)
  73. Dialog.New(NPC, Spawn)
  74. Dialog.AddDialog("Hmm ... Said he had some sort of business down in the crypt, I'd try checking there.")
  75. Dialog.AddVoiceover("voiceover/english/optional5/lodo_bightn/bf_halfling_lodobightn6_64.mp3", 450148933, 2742128407)
  76. Dialog.AddOption("Thanks, I'll see if I can catch him.", "Dialog2")
  77. Dialog.Start()
  78. end