ATatteredNote.lua 637 B

1234567891011121314151617181920212223
  1. --[[
  2. Script Name : ItemScripts/ATatteredNote.lua
  3. Script Author : Premierio015
  4. Script Date : 2021.07.02 07:07:16
  5. Script Purpose :
  6. :
  7. --]]
  8. local TheFallenRetriever = 5274
  9. local ItemID = 2976
  10. function examined(Item, Player)
  11. if not HasQuest(Player, TheFallenRetriever) and not HasCompletedQuest(Player, TheFallenRetriever) then
  12. OfferQuest(nil, Player, TheFallenRetriever)
  13. end
  14. end
  15. function obtained(Item, Player)
  16. if HasQuest(Player, TheFallenRetriever) or HasCompletedQuest(Player, TheFallenRetriever) or GetItemCount(Item) > 1 then
  17. RemoveItem(Player, ItemID)
  18. end
  19. end