petreport.lua 453 B

12345678910111213141516171819202122
  1. --[[
  2. Script Name : ItemScripts/petreport.lua
  3. Script Author : Premierio015
  4. Script Date : 2021.07.02 08:07:04
  5. Script Purpose :
  6. :
  7. --]]
  8. local DiscardedPets = 5276
  9. function examined(Item, Player)
  10. if not HasQuest(Player, DiscardedPets) then
  11. OfferQuest(nil, Player, DiscardedPets)
  12. end
  13. end
  14. function obtained(Item, Player)
  15. if GetItemCount(10365) > 1 then
  16. RemoveItem(Player, 10365)
  17. end
  18. end