smashedbarrelfoodshed.lua 620 B

123456789101112131415161718192021222324252627
  1. --[[
  2. Script Name : SpawnScripts/ForestRuins/smashedbarrelfoodshed.lua
  3. Script Author : Dorbin
  4. Script Date : 2022.02.22 09:02:20
  5. Script Purpose : for Redemeing Remmy Tumbum quest
  6. :
  7. --]]
  8. local Barrel = 533
  9. function spawn(NPC)
  10. SetRequiredQuest(NPC, Barrel, 1)
  11. end
  12. function casted_on(NPC, Player, SpellName)
  13. if SpellName == 'inspect' then
  14. SetStepComplete(Player, Barrel, 1)
  15. SendPopUpMessage(Player, "Patches of fur are scattered about the barrel.", 255, 255, 0)
  16. end
  17. end
  18. function hailed(NPC, Spawn)
  19. end
  20. function respawn(NPC)
  21. spawn(NPC)
  22. end