MetSleeth.lua 4.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. --[[
  2. Script Name : SpawnScripts/Freeport/MetSleeth.lua
  3. Script Author : Premierio015
  4. Script Date : 2020.09.15 08:09:41
  5. Script Purpose :
  6. :
  7. --]]
  8. QUEST = 581
  9. function spawn(NPC)
  10. end
  11. function hailed(NPC, Spawn)
  12. FaceTarget(NPC, Spawn)
  13. if HasQuest(Spawn, QUEST) then
  14. conversation = CreateConversation()
  15. PlayFlavor(NPC, "met_sleeth/freeport_combined/quest/met_sleeth/met_sleeth_001.mp3", "", "", 2855352907, 2371946115, Spawn)
  16. AddConversationOption(conversation, "I'm not here to shop. I'm interested in the names of those who buy your fine goods.", "dlg1")
  17. AddConversationOption(conversation, "I was just browsing. Goodbye.")
  18. StartConversation(conversation, NPC, Spawn, "Feel free to peruse my fine goods.")
  19. end
  20. end
  21. function dlg1(NPC, Spawn)
  22. FaceTarget(NPC, Spawn)
  23. conversation = CreateConversation()
  24. PlayFlavor(NPC, "met_sleeth/freeport_combined/quest/met_sleeth/met_sleeth_002.mp3", "", "hello", 3577021639, 1266525773, Spawn)
  25. AddConversationOption(conversation, "That may be true. Just let me see your ledger.", "dlg2")
  26. AddConversationOption(conversation, "You can prove them wrong by letting me borrow your ledger.", "dlg2")
  27. AddConversationOption(conversation, "In that case, I'll let you get back to work. Goodbye.")
  28. StartConversation(conversation, NPC, Spawn, "Why, no one but the upstanding citizens of Freeport, of course! I pride myself on honesty and a fair deal. Anyone who claims otherwise is supporting my competition. You know how cutthroat business can be, I'm sure.")
  29. end
  30. function dlg2(NPC, Spawn)
  31. FaceTarget(NPC, Spawn)
  32. conversation = CreateConversation()
  33. PlayFlavor(NPC, "met_sleeth/freeport_combined/quest/met_sleeth/met_sleeth_003.mp3", "", "", 293177656, 3918575835, Spawn)
  34. AddConversationOption(conversation, "I'll be the judge of that.", "dlg3")
  35. AddConversationOption(conversation, "I'll take you back into an alley and beat the truth out of you.", "dlg5")
  36. AddConversationOption(conversation, "Of course you do. Goodbye.")
  37. StartConversation(conversation, NPC, Spawn, "I can see that you're an honest fellow as well. You can take me at my word, friend. The Overlord's will is my own, and I serve Freeport as loyally as a man can.")
  38. end
  39. function dlg3(NPC, Spawn)
  40. FaceTarget(NPC, Spawn)
  41. conversation = CreateConversation()
  42. PlayFlavor(NPC, "met_sleeth/freeport_combined/quest/met_sleeth/met_sleeth_004.mp3", "", "", 3638049348, 3578215535, Spawn)
  43. AddConversationOption(conversation, "Stop stalling and give me the damned ledger.", "dlg5")
  44. AddConversationOption(conversation, "A gift, you say? I'm interested.", "dlg6")
  45. AddConversationOption(conversation, "I'm not comfortable with this bribe. Goodbye.")
  46. StartConversation(conversation, NPC, Spawn, "Well, how about this? In honor of your hard work and dedication to Freeport, allow me to offer you a complimentary gift. It's only fair that someone as brave as you is rewarded for your efforts.")
  47. end
  48. function dlg6(NPC, Spawn)
  49. FaceTarget(NPC, Spawn)
  50. conversation = CreateConversation()
  51. PlayFlavor(NPC, "met_sleeth/freeport_combined/quest/met_sleeth/met_sleeth_006.mp3", "", "", 927858891, 4259739021, Spawn)
  52. AddConversationOption(conversation, "Unity in Freeport, Sleeth.")
  53. AddConversationOption(conversation, "Consider yourself lucky.")
  54. StartConversation(conversation, NPC, Spawn, "Of course! Here you are, friend. Continue your selfless vigil and protect our city. Unity in Lucan!")
  55. end
  56. function dlg5(NPC, Spawn)
  57. FaceTarget(NPC, Spawn)
  58. conversation = CreateConversation()
  59. PlayFlavor(NPC, "met_sleeth/freeport_combined/quest/met_sleeth/met_sleeth_005.mp3", "", "", 3577894168, 3323242970, Spawn)
  60. AddConversationOption(conversation, "If everything was in order, you wouldn't have held out on me. Goodbye.")
  61. StartConversation(conversation, NPC, Spawn, "Fine. I see there is no reasoning with you. Take the damned ledger. I'm sure you'll find that everything is in order.")
  62. end
  63. function respawn(NPC)
  64. end