pack.lua 629 B

1234567891011121314151617181920212223242526272829
  1. --[[
  2. Script Name : SpawnScripts/ForestRuins/pack.lua
  3. Script Author : Shatou
  4. Script Date : 2020.01.10 08:01:20
  5. Script Purpose :
  6. :
  7. --]]
  8. local NEWS_FOR_GERMAIN_QUEST_ID = 520
  9. function spawn(NPC)
  10. SetRequiredQuest(NPC, NEWS_FOR_GERMAIN_QUEST_ID, 1, 1)
  11. end
  12. function hailed(NPC, Spawn)
  13. FaceTarget(NPC, Spawn)
  14. end
  15. function respawn(NPC)
  16. end
  17. function can_use_command(NPC, Spawn, String)
  18. if HasQuest(Spawn, NEWS_FOR_GERMAIN_QUEST_ID) then
  19. if GetQuestStep(Spawn, NEWS_FOR_GERMAIN_QUEST_ID) == 1 then
  20. return true
  21. end
  22. end
  23. end