9
3

GiraferLUn.lua 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. --[[
  2. Script Name : SpawnScripts/NorthFreeport/GiraferLUn.lua
  3. Script Author : Dorbin
  4. Script Date : 2022.06.19 12:06:27
  5. Script Purpose :
  6. :
  7. --]]
  8. require "SpawnScripts/Generic/DialogModule"
  9. function spawn(NPC)
  10. end
  11. function respawn(NPC)
  12. spawn(NPC)
  13. end
  14. function hailed(NPC, Spawn)
  15. Dialog1(NPC, Spawn)
  16. end
  17. function Dialog1(NPC, Spawn)
  18. FaceTarget(NPC, Spawn)
  19. Dialog.New(NPC, Spawn)
  20. Dialog.AddDialog("Welcome to the Blue Building. If you're here, then you know what we sell. You can see it sparkling before you, sparkling with the allure that only gems and jewelry of such perfection exude. Look around and see what we have for sale. I'll be here to take your money when you decide which of our decadent pieces you desire.")
  21. Dialog.AddVoiceover("voiceover/english/merchant_girafer_l_un/fprt_north/mer_giraferlun.mp3", 3286802657, 1724885978)
  22. if HasQuest(Spawn,5906) and GetQuestStep(Spawn,5906) == 3 then
  23. Dialog.AddOption("Have you been selling any type of foreign plant?", "Plant")
  24. end
  25. Dialog.AddOption("I have no interest in trinkets....")
  26. Dialog.Start()
  27. end
  28. function Plant(NPC, Spawn)
  29. FaceTarget(NPC, Spawn)
  30. Dialog.New(NPC, Spawn)
  31. PlayFlavor(NPC, "","", "boggle", 0, 0, Spawn)
  32. Dialog.AddDialog("Foreign plant? Are you stupid? What the heck would I do with a foreign plant? This isn't Qeynos, fool. Now either buy something or quit wasting my time.")
  33. Dialog.AddVoiceover("voiceover/english/merchant_girafer_l_un/fprt_north/mer_giraferlun.mp3", 0, 0)
  34. Dialog.AddOption("Fine! Sorry.")
  35. Dialog.Start()
  36. end