9
3

asmallpieceofparchment.lua 612 B

12345678910111213141516171819202122
  1. --[[
  2. Script Name : ItemScripts/asmallpieceofparchment.lua
  3. Script Author : Premierio015
  4. Script Date : 2021.07.04 10:07:23
  5. Script Purpose :
  6. :
  7. --]]
  8. local TheFallenAssassin = 5283
  9. local ItemID = 2804
  10. function examined(Item, Player)
  11. if not HasQuest(Player, TheFallenAssassin) and not HasCompletedQuest(Player, TheFallenAssassin) then
  12. OfferQuest(nil, Player, TheFallenAssassin)
  13. end
  14. end
  15. function obtained(Item, Player)
  16. if HasQuest(Player, TheFallenAssassin) or HasCompletedQuest(Player, TheFallenAssassin) then
  17. RemoveItem(Player, ItemID)
  18. end
  19. end