diggingmachine1.lua 668 B

1234567891011121314151617181920212223242526272829303132
  1. --[[
  2. Script Name : SpawnScripts/Caves/diggingmachine1.lua
  3. Script Author : Shatou
  4. Script Date : 2020.01.05 07:01:52
  5. Script Purpose :
  6. :
  7. --]]
  8. local DESTROYING_THE_FOUNDATION_QUEST_ID = 497
  9. function spawn(NPC)
  10. end
  11. function casted_on(NPC, Spawn, Message)
  12. --[[TODO: Box NEEDS TO EXPLODE AND BE CHANGED DRAMATICALLY]]--
  13. if HasQuest(Spawn, DESTROYING_THE_FOUNDATION_QUEST_ID) then
  14. if Message == "Place Explosives" then
  15. AddStepProgress(Spawn, DESTROYING_THE_FOUNDATION_QUEST_ID, 1, 1)
  16. end
  17. end
  18. end
  19. function hailed(NPC, Spawn)
  20. FaceTarget(NPC, Spawn)
  21. end
  22. function respawn(NPC)
  23. end