9
3

asandyboneshard.lua 519 B

12345678910111213141516171819202122
  1. --[[
  2. Script Name : ItemScripts/asandyboneshard.lua
  3. Script Purpose : Offers the quest, "A Sandy Bone Shard"
  4. Script Author : Ememjr
  5. Script Date : 2017.04.13
  6. Script Notes :
  7. --]]
  8. local quest = 206
  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 HasQuest(Player, quest) then
  14. if HasItem(Player, 2563) then
  15. RemoveItem(Player, 2563)
  16. end
  17. end
  18. end
  19. end