9
3

an_old_darkblade_dagger.lua 513 B

12345678910111213141516171819202122
  1. --[[
  2. Script Name : ItemScripts/an_old_darkblade_dagger.lua
  3. Script Purpose :Quest Stater for The Darkblade Dagger
  4. Script Author : Ememjr
  5. Script Date : 2019-10-07
  6. Script Notes :
  7. --]]
  8. local quest = 482
  9. function examined(Item, Player)
  10. if not HasQuest(Player, quest) and not HasCompletedQuest(Player, quest) then
  11. OfferQuest(nil, Player, quest)
  12. end
  13. end
  14. function obtained(Item, Player)
  15. local ItemCount = GetItemCount(Item)
  16. if ItemCount > 1 then
  17. RemoveItem(Player, 3767)
  18. end
  19. end