asmallbronzekeywithastrangehandle.lua 910 B

12345678910111213141516171819202122
  1. --[[
  2. Script Name : ItemScripts/asmallbronzekeywithastrangehandle.lua
  3. Script Author : Dorbin
  4. Script Date : 2023.05.14 11:05:29
  5. Script Purpose : for Buccaneer's Rest access in Antonica
  6. :
  7. --]]
  8. function examined(Item, Player)
  9. conversation = CreateConversation()
  10. AddConversationOption(conversation, "Perhaps I can locate where this key goes.","offer")
  11. AddConversationOption(conversation, "Stop inspecting the key.")
  12. StartDialogConversation(conversation, 2, Item, Player, "This key appears rusted and covered in salt with a tag bearing the symbol of a lighthouse. On the handle end of the key, a faintly visible skull and crossed bladed symbol can be seen etched into the metal, nearly erroded by the elements.")
  13. end
  14. function offer(Item,Player)
  15. if CanReceiveQuest(Player,5813) then
  16. OfferQuest(Item,Player,5813)
  17. end
  18. end