9
3

WelcometoQeynosCitizen.lua 8.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104
  1. --[[
  2. Script Name : ItemScripts/WelcometoQeynosCitizen.lua
  3. Script Author : Dorbin
  4. Script Date : 2022.10.31 12:10:33
  5. Script Purpose :
  6. :
  7. --]]
  8. function examined(Item, Player)
  9. conversation = CreateConversation()
  10. AddConversationOption(conversation, "Next Page","Page1")
  11. AddConversationOption(conversation, "Close the book.","CloseItemConversation")
  12. StartDialogConversation(conversation, 2, Item, Player, "Welcome to Qeynos! As a new citizen of our city, there are probably hundreds of questions you still wish to have answered. This book is meant to assist you in finding activities which will interest and inspire you. Naturally, such a small book cannot possibly explain all you will need to know. Let it serve as a brief guide to the richness that you will experience throughout Norrath. Your citizenship is not affected if you discard this book without accepting the tasks. If you work on these tasks, you must keep this book until you finish them all.")
  13. end
  14. function Page1(Item, Player)
  15. conversation = CreateConversation()
  16. AddConversationOption(conversation, "Next Page","Page2")
  17. AddConversationOption(conversation, "Close the book.","CloseItemConversation")
  18. StartDialogConversation(conversation, 2, Item, Player, "Collecting stones and shards can be a very rewarding hobby. You can collect items as you travel, examining them to determine whether they will be worthwhile examples to keep. Gathering little items can be addicting as well! Be sure to look up now and again to admire the beauty of Norrath.")
  19. end
  20. function Page2(Item, Player)
  21. conversation = CreateConversation()
  22. AddConversationOption(conversation, "Next Page","Page3")
  23. AddConversationOption(conversation, "Previous Page","Page1")
  24. AddConversationOption(conversation, "Close the book.","CloseItemConversation")
  25. StartDialogConversation(conversation, 2, Item, Player, "Once you have completed a collection, present it to Mervos Stadrin in North Qeynos. He offers rewards for your completed collections. And should you complete an entire series of collectable items, you may receive something special for your home as well. Gathering collectibles is not only educational and rewarding but fun as well.")
  26. end
  27. function Page3(Item, Player)
  28. conversation = CreateConversation()
  29. AddConversationOption(conversation, "Next Page","Page4")
  30. AddConversationOption(conversation, "Previous Page","Page2")
  31. AddConversationOption(conversation, "Close the book.","CloseItemConversation")
  32. StartDialogConversation(conversation, 2, Item, Player, "The lands have changed much since the ancient days, and yet there are so many things that remain to remind us of our heritage. No doubt you have seen some of these precious memorials preserved in some of the villages, such as the Spirit of Faydark park in the Willow Wood. Please take a moment to remember the fallen by visiting the Claymore Plaza in North Qeynos.")
  33. end
  34. function Page4(Item, Player)
  35. conversation = CreateConversation()
  36. AddConversationOption(conversation, "Next Page","Page5")
  37. AddConversationOption(conversation, "Previous Page","Page3")
  38. AddConversationOption(conversation, "Close the book.","CloseItemConversation")
  39. StartDialogConversation(conversation, 2, Item, Player, "There are many such places throughout the world as we are not the only folk who preserve our history. Be cautious in your travels but do not deny yourself the pleasure of discovery, either. Be wary and respectful of your surroundings and you will find many places throughout the lands to interest or thrill you.")
  40. end
  41. function Page5(Item, Player)
  42. conversation = CreateConversation()
  43. AddConversationOption(conversation, "Next Page","Page6")
  44. AddConversationOption(conversation, "Previous Page","Page4")
  45. AddConversationOption(conversation, "Close the book.","CloseItemConversation")
  46. StartDialogConversation(conversation, 2, Item, Player, "Reading is a great way to learn more about the heritage of the land, the history of its inhabitants and the beliefs of those who are a part of Norrath. Visit Sage Indis Surion in South Qeynos to purchase some of his fascinating tomes. Though some are missing a page or two, the Sage has made notations in each volume, indicating where additional pages might be located.")
  47. end
  48. function Page6(Item, Player)
  49. conversation = CreateConversation()
  50. AddConversationOption(conversation, "Next Page","Page7")
  51. AddConversationOption(conversation, "Previous Page","Page5")
  52. AddConversationOption(conversation, "Close the book.","CloseItemConversation")
  53. StartDialogConversation(conversation, 2, Item, Player, "The Sage sells \"The Story of the Rat Queen,\" which is part autobiographical and part analysis of the poor woman who lives in the Vermin's Snye. It is said to be among Antonia Bayle's favorites and is an interesting read. Additionally, one can find books scattered throughout the world that are excellent sources of information. You can also gain new skills by completing any of the Mastery tomes available.")
  54. end
  55. function Page7(Item, Player)
  56. conversation = CreateConversation()
  57. AddConversationOption(conversation, "Next Page","Page8")
  58. AddConversationOption(conversation, "Previous Page","Page6")
  59. AddConversationOption(conversation, "Close the book.","CloseItemConversation")
  60. StartDialogConversation(conversation, 2, Item, Player, "As you explore Norrath, you will occasionally find unsual objects. Sometimes, they are on creatures in the wilds. Sometimes you will notice something odd in the landscape and pause to take a closer look. In either case, let curiosity be your guide as many great discoveries have been made serendipitously. ")
  61. end
  62. function Page8(Item, Player)
  63. conversation = CreateConversation()
  64. AddConversationOption(conversation, "Next Page","Page9")
  65. AddConversationOption(conversation, "Previous Page","Page7")
  66. AddConversationOption(conversation, "Close the book.","CloseItemConversation")
  67. StartDialogConversation(conversation, 2, Item, Player, "While Qeynos is now your home, you will likely travel beyond the city limits many times in your life. As you travel, you will doubtless encounter folks who are trying to rebuild their lives as well as those whose needs are more commercial. These goals are not mutually exclusive, as strong enterprise can mean work for the displaced. Please feel free to assist representatives of the Far Seas Trading Company as they are a large local employer.")
  68. end
  69. function Page9(Item, Player)
  70. conversation = CreateConversation()
  71. AddConversationOption(conversation, "Next Page [WORK IN PROGRESS]","")
  72. AddConversationOption(conversation, "Previous Page","Page8")
  73. AddConversationOption(conversation, "Close the book.","CloseItemConversation")
  74. StartDialogConversation(conversation, 2, Item, Player, "Qeynos is proud of its diversity. Our reasons to move here are varied, but we must never forget our heritage. Rumors surface that items important to the history of Norrath are found throughout the world. You could always check with Hwal Rucksif inside the Keep of the Ardent Needle in Antonica for updates as he seems to get a fair amount of foot traffic.")
  75. end
  76. function Page10(Item, Player)
  77. if not HasQuest(Player,5766) and not HasCompletedQuest(Player,5766)then
  78. OfferQuest(Item,Player,5766)
  79. elseif GetQuestStep(Player,5766) ==8 then
  80. AddConversationOption(conversation, "Next Page","Page11")
  81. end
  82. AddConversationOption(conversation, "Previous Page","Page9")
  83. AddConversationOption(conversation, "Close the book.","CloseItemConversation")
  84. StartDialogConversation(conversation, 2, Item, Player, "Training in your chosen life's path enables you to help others to the best of your abilities by giving you a focus. Fighters should speak with Master-at-Arms Dagorel in South Qeynos. Mages, you will learn much with Magister Niksel, also in South Qeynos. Priests should seek the counsel of Hierophant Aldalad in North Qeynos. Scouts, seek Vemerik the Counselor in Qeynos North. Train hard, act wisely and help your neighbors.")
  85. end
  86. function Page11(Item, Player)
  87. SetStepComplete(Player,5766,8)
  88. AddConversationOption(conversation, "Previous Page","Page10")
  89. AddConversationOption(conversation, "Close the book.","CloseItemConversation")
  90. StartDialogConversation(conversation, 2, Item, Player, "Though we have come through some dark times, we cannot dwell upon the past. In the Age of Destiny, every day is a gift and how we use that gift determines our personal destiny. Compassion, honor and loyalty are ever the standard by which we should live our lives, no matter what challenges may come.")
  91. end