9
3

asealednote.lua 1.4 KB

123456789101112131415161718192021222324252627
  1. --[[
  2. Script Name : ItemScripts/asealednote.lua
  3. Script Author : cynnar
  4. Script Date : 2023.04.29 06:04:23
  5. Script Purpose :
  6. :
  7. --]]
  8. local QuellingTheRebellion = 5807
  9. function examined(Item, Player)
  10. conversation = CreateConversation()
  11. if not HasQuest(Player, QuellingTheRebellion) then
  12. OfferQuest(nil, Player, QuellingTheRebellion)
  13. AddConversationOption(conversation, "continue reading", "nextpage")
  14. StartDialogConversation(conversation, 2, Item, Player, "Geroaufl -\nI hope this letter finds you yet alive. I have been rescued by a kind group of travelers after being left for dead by a fearsome brute. The ones who have saved me claim to be from a peaceful kingdom on one of the western isles.")
  15. end
  16. end
  17. function nextpage(Item, Player)
  18. conversation = CreateConversation()
  19. AddConversationOption(conversation, "put the letter back in your pocket", "CloseItemConversation")
  20. StartDialogConversation(conversation, 2, Item, Player, "They wish to release you from your prison as well. They have begun infiltrating the city in which you are being held. I'm told their agents are already in place. J.T.S. (for he wishes his full name be kept anonymous) has begun gathering the supplies he'll need to break you free. My love, I pray to Marr that all will go as they plan and we can retire in safety to this Qeynos. - Love, Kraofla")
  21. end