JuliaFlorens.lua 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. --[[
  2. Script Name : SpawnScripts/NorthFreeport/JuliaFlorens.lua
  3. Script Author : Dorbin
  4. Script Date : 2022.06.19 04:06:22
  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("Come in, please come in. Welcome to the Jade Tiger's Den. I'm Hostess Julia. Perhaps you came to try a Jade Tiger cocktail?")
  21. Dialog.AddVoiceover("voiceover/english/julia_florens/fprt_north/mer_juliaflorens.mp3", 381228226, 4204129286)
  22. Dialog.AddOption("What's a Jade Tiger cocktail?", "Dialog2")
  23. if HasQuest(Spawn,5906) and GetQuestStep(Spawn,5906) == 3 then
  24. Dialog.AddOption("Have you been selling any type of foreign plant?", "Plant")
  25. end
  26. Dialog.AddOption("Argh! Leave me be....")
  27. Dialog.Start()
  28. end
  29. function Dialog2(NPC, Spawn)
  30. FaceTarget(NPC, Spawn)
  31. Dialog.New(NPC, Spawn)
  32. Dialog.AddDialog("Honey, if you have to ask it's not for you.")
  33. Dialog.AddVoiceover("voiceover/english/julia_florens/fprt_north/mer_juliaflorens000.mp3", 437471813, 724586510)
  34. Dialog.AddOption("Right.")
  35. Dialog.Start()
  36. end
  37. function Plant(NPC, Spawn)
  38. FaceTarget(NPC, Spawn)
  39. Dialog.New(NPC, Spawn)
  40. PlayFlavor(NPC, "","", "shrug", 0, 0, Spawn)
  41. Dialog.AddDialog("Foreign plant? You won't find that sort of thing here. You're best to try the shops near the docks. They have better access to that sort of ... 'thing'.")
  42. Dialog.AddVoiceover("voiceover/english/julia_florens/fprt_north/mer_juliaflorens.mp3", 0, 0)
  43. Dialog.AddOption("Alright. Thank you.")
  44. Dialog.Start()
  45. end