9
3

runedacorn.lua 405 B

1234567891011121314151617181920
  1. --[[
  2. Script Name : ItemScripts/runedacorn.lua
  3. Script Purpose :
  4. Script Author : Ememjr
  5. Script Date : 2017.05.09
  6. Script Notes :
  7. --]]
  8. local quest = 233
  9. function examined(Item, Player)
  10. if not HasQuest(Player, quest) and not HasCompletedQuest(Player, quest) then
  11. OfferQuest(nil, Player, quest)
  12. --remove quest starter
  13. if HasItem(Player, 11780) then
  14. RemoveItem(Player, 11780)
  15. end
  16. end
  17. end