Teiluj.lua 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134
  1. --[[
  2. Script Name : SpawnScripts/TheLostVillageofKugup/Teiluj.lua
  3. Script Purpose : Teiluj
  4. Script Author : neatz09
  5. Script Date : 2023.04.29
  6. Script Notes : Auto-Generated Conversation from PacketParser Data
  7. --]]
  8. require "SpawnScripts/Generic/DialogModule"
  9. local ColdBloodedRelations = 5808
  10. function spawn(NPC)
  11. ProvidesQuest(NPC, ColdBloodedRelations)
  12. end
  13. function respawn(NPC)
  14. spawn(NPC)
  15. end
  16. function hailed(NPC, Spawn)
  17. FaceTarget(NPC, Spawn)
  18. RandomGreeting(NPC, Spawn)
  19. if not HasQuest(Spawn, ColdBloodedRelations) and not HasCompletedQuest(Spawn, ColdBloodedRelations) then
  20. Dialog1(NPC, Spawn)
  21. elseif HasQuest(Spawn, ColdBloodedRelations) and GetQuestStep(Spawn, ColdBloodedRelations) == 3 then
  22. Dialog2(NPC, Spawn)
  23. elseif HasQuest(Spawn, ColdBloodedRelations) then
  24. PlayFlavor(NPC, "", "Oemor...", "", 0, 0, Spawn, 0)
  25. end
  26. end
  27. function RandomGreeting(NPC, Spawn)
  28. local choice = MakeRandomInt(1,7)
  29. if choice == 1 then
  30. PlayFlavor(NPC, "", "Oemor...", "", 0, 0, Spawn, 0)
  31. elseif choice == 2 then
  32. PlayFlavor(NPC, "", "Thou art a hero for the heart.", "", 0, 0, Spawn, 0)
  33. elseif choice == 3 then
  34. PlayFlavor(NPC, "", "Impressive display in finding the flowers. Please bestow them upon sweet Oemor for me.", "", 0, 0, Spawn, 0)
  35. elseif choice == 4 then
  36. PlayFlavor(NPC, "", "Payest me a visit sometime when thou art not about another task. I have an important favor to request of thee.", "", 0, 0, Spawn, 0)
  37. elseif choice == 5 then
  38. PlayVoice(NPC, "voiceover/english/voice_emotes/greetings/greetings_1_1024.mp3", 0, 0, Spawn)
  39. elseif choice == 6 then
  40. PlayVoice(NPC, "voiceover/english/voice_emotes/greetings/greetings_3_1024.mp3", 0, 0, Spawn)
  41. elseif choice == 7 then
  42. PlayVoice(NPC, "voiceover/english/voice_emotes/greetings/greetings_2_1024.mp3", 0, 0, Spawn)
  43. end
  44. end
  45. function Dialog1(NPC, Spawn)
  46. FaceTarget(NPC, Spawn)
  47. Dialog.New(NPC, Spawn)
  48. Dialog.AddDialog("Oemor, ist thou my sweet? Woe, thou be'st not Oemor. I fear she shall not desire to look upon my shameful being e'er again.")
  49. Dialog.AddVoiceover("voiceover/english/voice_emotes/greetings/greetings_1_1024.mp3", 0, 0)
  50. Dialog.AddOption("Who is Oemor?", "Dialog7")
  51. Dialog.AddOption("I don't even understand what thou just said...")
  52. Dialog.Start()
  53. end
  54. function Dialog2(NPC, Spawn)
  55. FaceTarget(NPC, Spawn)
  56. Dialog.New(NPC, Spawn)
  57. Dialog.AddDialog("Oh, really? She liked them, did she? She seeks my presence? How do I look? Spectacular! How is my breath? Oh, glorious day!")
  58. getfrogdicksucked(NPC, Spawn)
  59. Dialog.AddVoiceover("voiceover/english/voice_emotes/greetings/greetings_1_1024.mp3", 0, 0)
  60. Dialog.AddOption("Whoa, calm down!")
  61. Dialog.Start()
  62. end
  63. function Dialog3(NPC, Spawn)
  64. FaceTarget(NPC, Spawn)
  65. Dialog.New(NPC, Spawn)
  66. Dialog.AddDialog("Oemor, ist thou my sweet? Woe, thou be'st not Oemor. I fear she shall not desire to look upon my shameful being e'er again.")
  67. Dialog.AddVoiceover("voiceover/english/voice_emotes/greetings/greetings_2_1024.mp3", 0, 0)
  68. Dialog.AddOption("Who is Oemor?", "Dialog7")
  69. Dialog.AddOption("I don't even understand what thou just said...")
  70. Dialog.Start()
  71. end
  72. function Dialog4(NPC, Spawn)
  73. FaceTarget(NPC, Spawn)
  74. Dialog.New(NPC, Spawn)
  75. Dialog.AddDialog("'Tis merely a misunderstanding, really. She observed me with her angelic gaze hopping about, ever so innocently, with another maiden.")
  76. Dialog.AddOption("Well, you need to apologize!", "Dialog8")
  77. Dialog.AddOption("You pig!")
  78. Dialog.Start()
  79. end
  80. function Dialog5(NPC, Spawn)
  81. FaceTarget(NPC, Spawn)
  82. Dialog.New(NPC, Spawn)
  83. Dialog.AddDialog("I have crafted a marvelous plan, indeed! Sweet Oemor's favorite flowers art now in bloom. I implore thee to take the pain of gathering a few and giving them to my dearest. Inform her that they are from me, then perhaps she will speak again to me!")
  84. Dialog.AddOption("Great plan! I'll be back soon.")
  85. Dialog.Start()
  86. end
  87. function Dialog6(NPC, Spawn)
  88. FaceTarget(NPC, Spawn)
  89. Dialog.New(NPC, Spawn)
  90. Dialog.AddDialog("Oemor, ist thou my sweet? Woe, thou be'st not Oemor. I fear she shall not desire to look upon my shameful being e'er again.")
  91. Dialog.AddVoiceover("voiceover/english/voice_emotes/greetings/greetings_3_1024.mp3", 0, 0)
  92. Dialog.AddOption("Who is Oemor?", "Dialog7")
  93. Dialog.AddOption("I don't even understand what thou just said...")
  94. Dialog.Start()
  95. end
  96. function Dialog7(NPC, Spawn)
  97. FaceTarget(NPC, Spawn)
  98. Dialog.New(NPC, Spawn)
  99. Dialog.AddDialog("Oemor is verily the pinnacle of beauty amongst all the Frogloks to grace Norrath. She is the light of my most humble life. My blood may run cold, but my heart burns for her. For shame, she will speakest not to me.")
  100. Dialog.AddOption("What happened, pray tell?", "Dialog4")
  101. Dialog.AddOption("Good luck with your crush.", "Dialog6")
  102. Dialog.Start()
  103. end
  104. function Dialog8(NPC, Spawn)
  105. FaceTarget(NPC, Spawn)
  106. Dialog.New(NPC, Spawn)
  107. Dialog.AddDialog("But of course! I have tried, though she refuses to grant me even the briefest audience. Perhaps thou canst assist me in mine impasse?")
  108. Dialog.AddOption("Sure. What do you need me to do?", "ColdBloodedRelationsQuest") --This is where i highjacked a call function this should call dialog5
  109. Dialog.AddOption("Hmm, not right now.")
  110. Dialog.Start()
  111. end
  112. function ColdBloodedRelationsQuest(NPC, Spawn)
  113. FaceTarget(NPC, Spawn)
  114. OfferQuest(NPC, Spawn, ColdBloodedRelations)
  115. end
  116. function getfrogdicksucked(NPC, Spawn)
  117. SetStepComplete(Spawn, ColdBloodedRelations, 3)
  118. end