anoldnote.lua 421 B

1234567891011121314151617181920
  1. --[[
  2. Script Name : ItemScripts/anoldnote.lua
  3. Script Purpose :
  4. Script Author : Ememjr
  5. Script Date : 2017.05.09
  6. Script Notes :
  7. --]]
  8. local quest = 235
  9. function examined(Item, Player)
  10. if not HasQuest(Player, quest) and not HasCompletedQuest(Player, quest) then
  11. OfferQuest(nil, Player, quest)
  12. --remove quest starter
  13. if HasItem(Player, 3776) then
  14. RemoveItem(Player, 3776)
  15. end
  16. end
  17. end