RennyParvat.lua 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. --[[
  2. Script Name : SpawnScripts/EastFreeport/RennyParvat.lua
  3. Script Author : Dorbin
  4. Script Date : 2022.09.25 04:09:30
  5. Script Purpose :
  6. :
  7. --]]
  8. function spawn(NPC)
  9. end
  10. function hailed(NPC, Spawn)
  11. Dialog2(NPC, Spawn)
  12. end
  13. function respawn(NPC)
  14. spawn(NPC)
  15. end
  16. function Dialog1(NPC, Spawn)
  17. FaceTarget(NPC, Spawn)
  18. Dialog.New(NPC, Spawn)
  19. Dialog.AddDialog("This is a decent find, I suppose. I can give you a small reward for it.")
  20. Dialog.AddOption("Thanks a lot.")
  21. Dialog.Start()
  22. if HasCollectionsToHandIn(Spawn) then
  23. HandInCollections(Spawn)
  24. end
  25. end
  26. function Dialog2(NPC, Spawn)
  27. FaceTarget(NPC, Spawn)
  28. Dialog.New(NPC, Spawn)
  29. Dialog.AddDialog("What are you looking at? Stay away from me, and keep your hands off my collections, you scumbag!")
  30. Dialog.AddVoiceover("voiceover/english/voice_emotes/greetings/greetings_1_1046.mp3", 0, 0)
  31. Dialog.AddOption("What collections?", "Dialog8")
  32. if HasCollectionsToHandIn(Spawn) then
  33. Dialog.AddOption("I have a collection for you.", "Dialog1")
  34. end
  35. Dialog.AddOption("Goodbye!")
  36. Dialog.Start()
  37. end
  38. function Dialog8(NPC, Spawn)
  39. FaceTarget(NPC, Spawn)
  40. Dialog.New(NPC, Spawn)
  41. Dialog.AddDialog("What collections? What do you mean, \"What collections?\" My collections, you fool! If you think you're going to get them from me, you're wrong! But if you have something to donate, then maybe we can talk.")
  42. Dialog.AddOption("I'll just be on my way.")
  43. Dialog.Start()
  44. end