zonetosewerepic04.lua 574 B

123456789101112131415161718192021222324252627
  1. --[[
  2. Script Name : SpawnScripts/ThievesWay/zonetosewerepic04.lua
  3. Script Author : Premierio015
  4. Script Date : 2021.09.05 09:09:18
  5. Script Purpose :
  6. :
  7. --]]
  8. local DarkbladesAndDirtyRats = 5264
  9. function spawn(NPC)
  10. end
  11. function can_use_command(NPC, Spawn, Command)
  12. if HasCompletedQuest(Spawn, DarkbladesAndDirtyRats) then
  13. return true
  14. elseif not HasCompletedQuest(Spawn, DarkbladesAndDirtyRats) then
  15. SendMessage(Spawn, "Requires a key", 20)
  16. return false
  17. end
  18. end
  19. function respawn(NPC)
  20. spawn(NPC)
  21. end