9
3

barrelwithenrichedsoil.lua 578 B

1234567891011121314151617181920212223242526
  1. --[[
  2. Script Name : SpawnScripts/Castleview/barrel_with_enriched_soil.lua
  3. Script Purpose : barrel_with_enriched_soil
  4. Script Author : Scatman
  5. Script Date : 2009.10.02
  6. Script Notes : Updated by Jabantiz (4/24/2017)
  7. --]]
  8. local HIGH_ELF_MENTOR_QUEST_1 = 223
  9. function spawn(NPC)
  10. SetRequiredQuest(NPC, HIGH_ELF_MENTOR_QUEST_1, 3)
  11. end
  12. function respawn(NPC)
  13. spawn(NPC)
  14. end
  15. function hailed(NPC, Spawn)
  16. end
  17. function casted_on(NPC, Spawn, Message)
  18. if not QuestStepIsComplete(Spawn, HIGH_ELF_MENTOR_QUEST_1, 3) then
  19. SummonItem(Spawn, 9305, 1)
  20. end
  21. end