9
3

warningmessage.lua 617 B

123456789101112131415161718192021
  1. --[[
  2. Script Name : ItemScripts/warningmessage.lua
  3. Script Author : Premierio015
  4. Script Date : 2021.07.01 07:07:22
  5. Script Purpose :
  6. :
  7. --]]
  8. local AWarningToTheMurkwaters = 5268
  9. function examined(Item, Player)
  10. if not HasQuest(Player, AWarningToTheMurkwaters) and not HasCompletedQuest(Player, AWarningToTheMurkwaters) then
  11. OfferQuest(nil, Player, AWarningToTheMurkwaters)
  12. end
  13. end
  14. function obtained(Item, Player)
  15. if HasQuest(Player, AWarningToTheMurkwaters) or HasCompletedQuest(Player, AWarningToTheMurkwaters) then
  16. RemoveItem(Player, 15325)
  17. end
  18. end