9
3

FabricPatch.lua 516 B

1234567891011121314151617181920
  1. --[[
  2. Script Name : ItemScripts/FabricPatch.lua
  3. Script Purpose : Offers and updates the language quest, "The Patchwork Tapestry"
  4. Script Author : Scatman
  5. Script Date : 2009.10.08
  6. Script Notes :
  7. --]]
  8. local LANGUAGE_QUEST = 299
  9. function examined(Item, Player)
  10. if not HasQuest(Player, LANGUAGE_QUEST) and not HasCompletedQuest(Player, LANGUAGE_QUEST) then
  11. OfferQuest(nil, Player, LANGUAGE_QUEST)
  12. -- Fabric Patch
  13. if HasItem(Player, 6079) then
  14. RemoveItem(Player, 6079)
  15. end
  16. end
  17. end