qeyblacksmithoven001.lua 745 B

1234567891011121314151617181920212223242526272829303132333435
  1. --[[
  2. Script Name : SpawnScripts/Caves/qeyblacksmithoven001.lua
  3. Script Author : Shatou
  4. Script Date : 2020.01.04 07:01:20
  5. Script Purpose :
  6. :
  7. --]]
  8. function spawn(NPC)
  9. end
  10. function hailed(NPC, Spawn)
  11. FaceTarget(NPC, Spawn)
  12. end
  13. function casted_on(NPC, Spawn, Message)
  14. --[[TODO: FORGE NEEDS TO EXPLODE AND BE REMOVED FROM CLIENT VIEWPORT]]--
  15. if HasQuest(Spawn, 493) then
  16. if GetQuestStep(Spawn, 493) == 1 then
  17. if HasItem(Spawn, 6975) then
  18. if Message == "Place Explosives" then
  19. AddStepProgress(Spawn, 493, 1, 1)
  20. RemoveItem(Spawn, 6975)
  21. end
  22. end
  23. end
  24. end
  25. end
  26. function respawn(NPC)
  27. spawn(NPC)
  28. end