ABrokenHarness.lua 544 B

123456789101112131415161718192021
  1. --[[
  2. Script Name : ItemScripts/ABrokenHarness.lua
  3. Script Author : Premierio015
  4. Script Date : 2021.05.29 09:05:24
  5. Script Purpose :
  6. :
  7. --]]
  8. local TheTrainingGrounds = 5247
  9. function examined(Item, Player)
  10. if not HasQuest(Player, TheTrainingGrounds) and not HasCompletedQuest(Player, TheTrainingGrounds) then
  11. OfferQuest(nil, Player, TheTrainingGrounds)
  12. end
  13. end
  14. function obtained(Item, Player)
  15. if HasCompletedQuest(Player, TheTrainingGrounds) then
  16. RemoveItem(Player, 1281)
  17. end
  18. end