Kaman.lua 895 B

1234567891011121314151617181920212223242526272829303132333435
  1. --[[
  2. Script Name : SpawnScripts/StonestairByway/Kaman.lua
  3. Script Purpose : Kaman
  4. Script Author : torsten
  5. Script Date : 2022.07.15
  6. Script Notes :
  7. --]]
  8. require "SpawnScripts/Generic/DialogModule"
  9. local CasingtheJoint = 5652
  10. function spawn(NPC)
  11. end
  12. function respawn(NPC)
  13. spawn(NPC)
  14. end
  15. function hailed(NPC, Spawn)
  16. if GetQuestStep(Spawn, CasingtheJoint) == 1 then
  17. SetStepComplete(Spawn, CasingtheJoint, 1)
  18. end
  19. Dialog1(NPC, Spawn)
  20. end
  21. function Dialog1(NPC, Spawn)
  22. FaceTarget(NPC, Spawn)
  23. Dialog.New(NPC, Spawn)
  24. Dialog.AddDialog("Hello! Your valuables are safe with Kaman. Trust me. I'm the last of a long line of bankers. What guild do you belong to?")
  25. Dialog.AddVoiceover("voiceover/english/banker_kaman/fprt_hood02/bnk_banker_kaman.mp3", 1309348424, 2032495249)
  26. Dialog.AddOption("Maybe another time.")
  27. Dialog.Start()
  28. end