AnEncodedMessage.lua 1.2 KB

1234567891011121314151617181920212223242526
  1. --[[
  2. Script Name : ItemScripts/AnEncodedMessage.lua
  3. Script Purpose :
  4. Script Author : premierio015
  5. Script Date : 03.01.2020
  6. Script Notes :
  7. --]]
  8. local QUEST = 425
  9. function examined(Item, Player)
  10. local con = CreateConversation()
  11. if GetQuestStep(Player, QUEST) == 5 then
  12. AddConversationOption(con, "Decode the message", "Decode")
  13. end
  14. AddConversationOption(con, "Put the message away", "CloseItemConversation")
  15. StartDialogConversation(con, 2, Item, Player, "ohlv wkv onie kn enioeee vevvkge now lo lv iovpleoe gkxvle kne enolxelw unxekekvle vw knwone unlevv wou hkpin oo geo xekllw luikw kne klguxe lo ouo lk vo ohen huzzkh kox wou")
  16. end
  17. function Decode(Item, Player)
  18. SetStepComplete(Player,QUEST, 5)
  19. local con = CreateConversation()
  20. AddConversationOption(con, "Put the message away", "CloseItemConversation")
  21. StartDialogConversation(con, 2, Item, Player, "General, we have not seen any memories return in the three days the refugees have been held. The magic seems to work as promised by the sorcerer. As agreed we can buy more for the same price as the first group. The next meeting is scheduled for this evening at the old mausoleum between Dog Trapper Lake and Dead Man's Valley.")
  22. end