9
3

a_locked_chest.lua 380 B

1234567891011121314151617
  1. --[[
  2. Script Name : ItemScripts/a_locked_chest.lua
  3. Script Purpose :
  4. Script Author : Ememjr
  5. Script Date : 2019-10-07
  6. Script Notes :
  7. --]]
  8. local quest = 480
  9. function examined(Item, Player)
  10. Say(Player, "item examined")
  11. if not HasQuest(Player, quest) and not HasCompletedQuest(Player, quest) then
  12. Say(Player, "offer quest")
  13. OfferQuest(nil, Player, quest)
  14. end
  15. end