ADullWedge.lua 541 B

1234567891011121314151617181920212223
  1. --[[
  2. Script Name : ItemScripts/ADullWedge.lua
  3. Script Purpose : Offers quest "A Strange Stone Wedge"
  4. Script Author : premierio015
  5. Script Date : 27.02.2021
  6. Script Notes :
  7. --]]
  8. local quest = 5217 -- A Strange Stone Wedge ID
  9. function examined(Item, Player)
  10. if not HasQuest(Player, quest) then
  11. OfferQuest(nil, Player, quest)
  12. elseif HasQuest(Player, quest) then
  13. RemoveItem(Player, 1621)
  14. end
  15. end
  16. function obtained(Item, Player)
  17. if HasCompletedQuest(Player, quest) then
  18. RemoveItem(Player, 1621)
  19. end
  20. end