9
3

Sprockfuddle.lua 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  1. --[[
  2. Script Name : SpawnScripts/QeynosHarbor/Sprockfuddle.lua
  3. Script Author : Dorbin
  4. Script Date : 2022.06.15 07: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. Dialog2(NPC, Spawn)
  16. end
  17. function RandomGreeting(NPC, Spawn)
  18. local choice = MakeRandomInt(1,3)
  19. if choice == 1 then
  20. PlayFlavor(NPC, "", "I need a ledger to track what she skims from my profits!", "", 0, 0, Spawn, 0)
  21. elseif choice == 2 then
  22. PlayFlavor(NPC, "", "Stupid taxes!", "", 0, 0, Spawn, 0)
  23. elseif choice == 3 then
  24. PlayFlavor(NPC, "", "There's a better life out there. A much better life.", "", 0, 0, Spawn, 0)
  25. end
  26. end
  27. function Dialog1(NPC, Spawn)
  28. FaceTarget(NPC, Spawn)
  29. Dialog.New(NPC, Spawn)
  30. Dialog.AddDialog("That's the spirit! Do you want to live the good life by making simple trades -- commodities, information or items? It's easy; anyone can do it. Your pockets fill with coin -- and none of it's taxable since it's under the table.")
  31. Dialog.AddOption("Tell me more.", "Dialog5")
  32. Dialog.AddOption("I'm not interested.")
  33. Dialog.Start()
  34. end
  35. function Dialog2(NPC, Spawn)
  36. FaceTarget(NPC, Spawn)
  37. Dialog.New(NPC, Spawn)
  38. Dialog.AddDialog("Admiring the fine stock of goods, are you?")
  39. Dialog.AddOption("Well...not exactly. Do you have anything else?", "Dialog4")
  40. Dialog.AddOption("I've seen better.")
  41. Dialog.Start()
  42. end
  43. function Dialog3(NPC, Spawn)
  44. FaceTarget(NPC, Spawn)
  45. Dialog.New(NPC, Spawn)
  46. Dialog.AddDialog("You're here because you want a good deal on things that you might not otherwise come by, right? Same with me. I might pick up a tidbit of information that's every bit as valuable as the next thing.")
  47. Dialog.AddOption("You're a spy?", "Dialog8")
  48. Dialog.Start()
  49. end
  50. function Dialog4(NPC, Spawn)
  51. FaceTarget(NPC, Spawn)
  52. Dialog.New(NPC, Spawn)
  53. Dialog.AddDialog("Sometimes. It pays to have connections. I do quite a bit of trading and supplying. Not just goods, but other things...if you take my meaning.")
  54. Dialog.AddOption("What other things?", "Dialog3")
  55. Dialog.Start()
  56. end
  57. function Dialog5(NPC, Spawn)
  58. FaceTarget(NPC, Spawn)
  59. Dialog.New(NPC, Spawn)
  60. Dialog.AddDialog("There's the oppressive taxes that Queen Antonia puts on the folks who live here. You never see her lift a hand to help the poor, do you? That's why my job's so important. I provide a few cheap trinkets to folks who starve themselves putting chickens in the pots of every Qeynosian noble.")
  61. Dialog.AddOption("I hadn't thought of it that way before.", "Dialog6")
  62. Dialog.Start()
  63. end
  64. function Dialog6(NPC, Spawn)
  65. FaceTarget(NPC, Spawn)
  66. Dialog.New(NPC, Spawn)
  67. Dialog.AddDialog("She has everyone mark up the goods and taxes both buyer and seller. Sickening, I tell you! Now, I might add a premium to some things, but I'm honest about it. Folks from Freeport are honest, whatever else you might call 'em.")
  68. Dialog.AddOption("I'd never thought of it that way, either.", "Dialog7")
  69. Dialog.Start()
  70. end
  71. function Dialog7(NPC, Spawn)
  72. FaceTarget(NPC, Spawn)
  73. Dialog.New(NPC, Spawn)
  74. Dialog.AddDialog("I like that type of person: someone doesn't like you, they'll tell you to your face. None of this secretive mumbity-jumbity stuff. You seem the honest sort, eager to do what's right by yourself. You would do much better elsewhere, wouldn't you?")
  75. Dialog.AddOption("[NOT IMPLMENTED] As much as I would love to betray this disgusting turd of a city, your task isn't ready yet!")
  76. Dialog.AddOption("I suppose so.")
  77. Dialog.AddOption("Maybe some other time.")
  78. Dialog.Start()
  79. end
  80. function Dialog8(NPC, Spawn)
  81. FaceTarget(NPC, Spawn)
  82. Dialog.New(NPC, Spawn)
  83. Dialog.AddDialog("Spying's for amateurs! No, I'm not a spy; I'm more than that. A trader, a procurer of rare objects, an inventor -- that's me! But even someone with my skills can always use a hand now and then. Interested in learning how you can help?")
  84. Dialog.AddOption("What kind of help are you talking about?", "Dialog1")
  85. Dialog.Start()
  86. end