ANoteFromTheQeynosQuartermaster.lua 2.2 KB

1234567891011121314151617181920212223242526272829303132
  1. --[[
  2. Script Name : ItemScripts/ANoteFromTheQeynosQuartermaster.lua
  3. Script Purpose : A Note from the Qeynos Quartermaster - Adventures in Antonica
  4. Script Author : Scatman
  5. Script Date : 2009.10.18
  6. Script Notes :
  7. --]]
  8. local QUEST_1_ANTONICA = 498
  9. function examined(Item, Player)
  10. if not HasQuest(Player, QUEST_1_ANTONICA) and not HasCompletedQuest(Player, QUEST_1_ANTONICA) then
  11. OfferQuest(nil, Player, QUEST_1_ANTONICA)
  12. end
  13. conversation = CreateConversation()
  14. AddConversationOption(conversation, "continue.", "Continue")
  15. AddConversationOption(conversation, "Put note away.")
  16. StartDialogConversation(conversation, 2, Item, Player, "Greetings,\n\nThe city of Qeynos congratulates you on your recent accomplishments! Though certain amenties are provided to you now that you are a citizen of Qeynos, you may want to educate yourself on the everyday tasks that can provide you a path to other adventures. There are those you will find in Antonica that are loyal to Qeynos and will provide assistance with other things like food and drink if you require sustenance on your adventures.")
  17. end
  18. function Continue(Item, Player)
  19. conversation = CreateConversation()
  20. AddConversationOption(conversation, "continue.", "Continue2")
  21. AddConversationOption(conversation, "Put note away.")
  22. StartDialogConversation(conversation, 2, Item, Player, "Masty Rollingpin is a retired cook for the Qeynos Guard and now assists weary travelers on the road with good, wholesome food. She usually only requires some chores around Sayer's Outfitters, which you can find on the road east of our good city. Her Coldwind chowder is known throughout the land and is a favorite of the Qeynos Guard.")
  23. end
  24. function Continue2(Item, Player)
  25. conversation = CreateConversation()
  26. AddConversationOption(conversation, "Put note away.")
  27. StartDialogConversation(conversation, 2, Item, Player, "Haddek Vimki has been providing refreshments for travelers at Sayer's Outfitters for many years now and is always willing to lend a hand. His beer and spirits are legendary. Hopefully you will find this information useful on your path to adventure. Once again, congratulations, and good luck!\n~The Quartermaster")
  28. end