IgnatiaCellusFamilyHistoryBookHouseItem.lua 5.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. --[[
  2. Script Name : ItemScripts/IgnatiaCellusFamilyHistoryBookHouseItem.lua
  3. Script Author : Dorbin
  4. Script Date : 2023.05.30 03:05:00
  5. Script Purpose :
  6. :
  7. --]]
  8. local Quest = 5844
  9. function examined(Item, Player)
  10. conversation = CreateConversation()
  11. Intro(Item,Player)
  12. end
  13. function Intro(Item,Player)
  14. conversation = CreateConversation()
  15. AddConversationOption(conversation, "Entry One","Page1")
  16. AddConversationOption(conversation, "Close the book.","CloseItemConversation")
  17. StartDialogConversation(conversation, 2, Item, Player, "I am sure that some of my family's writings still exist elsewhere in Norrath. Unless they were destroyed in the Shattering or as mentioned before, held back by unscrupulous vendors. Whatever portion of this tome you have, cherish it and remember the Cellus family of Qeynos.")
  18. end
  19. function Page1(Item, Player)
  20. conversation = CreateConversation()
  21. AddConversationOption(conversation, "Entry Two","Page2")
  22. AddConversationOption(conversation, "Close the book.","CloseItemConversation")
  23. StartDialogConversation(conversation, 2, Item, Player, "My name is Ignatia Cellus and my story is nothing like my grandmother's Isabella Cellus' tale. She lived in a time of relative peace, while I am in a world besieged by terrors unimaginable. The undead rise up outside Qeynos and we all fear for our --")
  24. end
  25. function Page2(Item, Player)
  26. conversation = CreateConversation()
  27. AddConversationOption(conversation, "Entry Three","Page3")
  28. AddConversationOption(conversation, "Turn back to previous entry.","Page1")
  29. AddConversationOption(conversation, "Close the book.","CloseItemConversation")
  30. StartDialogConversation(conversation, 2, Item, Player, "-- lives. Thank the gods for Kane Bayle, commander of the Guard. His guidance will surely lead Qeynos through this dark time! He has ordered the Guard to watch every possible entry to Qeynos, which means longer shifts and journeys far from home. I am in the Guard and and fortunately, patrol --")
  31. end
  32. function Page3(Item, Player)
  33. conversation = CreateConversation()
  34. AddConversationOption(conversation, "Entry Four","Page4")
  35. AddConversationOption(conversation, "Turn back to previous entry.","Page2")
  36. AddConversationOption(conversation, "Close the book.","CloseItemConversation")
  37. StartDialogConversation(conversation, 2, Item, Player, "-- inside the catacombs near the Guild Halls. There is a strange odor in the air; it is the smell of death. The dead are piled high and cannot be buried, for there is no one to stand guard over the mourners and keep them safe. The undead appear --")
  38. end
  39. function Page4(Item, Player)
  40. conversation = CreateConversation()
  41. AddConversationOption(conversation, "Entry Five","Page5")
  42. AddConversationOption(conversation, "Turn back to previous entry.","Page3")
  43. AddConversationOption(conversation, "Close the book.","CloseItemConversation")
  44. StartDialogConversation(conversation, 2, Item, Player, "-- in waves that we cannot repel easily, as there are so many of them and so few of us. With the Guard trying to keep Qeynos' entrances safe, there are not enough to do other tasks. I do not remember the last time I slept at home. This is exhausting.")
  45. end
  46. function Page5(Item, Player)
  47. conversation = CreateConversation()
  48. AddConversationOption(conversation, "Entry Six","Page6")
  49. AddConversationOption(conversation, "Turn back to previous entry.","Page4")
  50. AddConversationOption(conversation, "Close the book.","CloseItemConversation")
  51. StartDialogConversation(conversation, 2, Item, Player, "Alas! Finally, I was able to return to my home in South Qeynos, only to find such sorrow. The block of homes on my street were filled with the dead. The patrol in that quadrant had not reported in a fortnight, so I was sent to check on them. My mother --")
  52. end
  53. function Page6(Item, Player)
  54. conversation = CreateConversation()
  55. AddConversationOption(conversation, "Entry Seven","Page7")
  56. AddConversationOption(conversation, "Turn back to previous entry.","Page5")
  57. AddConversationOption(conversation, "Close the book.","CloseItemConversation")
  58. StartDialogConversation(conversation, 2, Item, Player, "-- is one who died of this horrible plague that seems to rise from beneath us. Captain Keldrane has been sent to investigate the deepest areas of the Catacombs. Commander Bayle asked me personally to escort the unarmed to safety in Qeynos Hills. Some have said this will --")
  59. end
  60. function Page7(Item, Player)
  61. conversation = CreateConversation()
  62. AddConversationOption(conversation, "Entry Eight","Page8")
  63. AddConversationOption(conversation, "Turn back to previous entry.","Page6")
  64. AddConversationOption(conversation, "Close the book.","CloseItemConversation")
  65. StartDialogConversation(conversation, 2, Item, Player, "-- spread the Guard too thinly, but Commander Bayle doubtless knows more than the general populace. I trust his judgment. He would never betray Qeynos, never! Meanwhile, I am happy to leave the city; being here reminds me too much of --")
  66. end
  67. function Page8(Item, Player)
  68. conversation = CreateConversation()
  69. AddConversationOption(conversation, "Turn back to previous entry.","Page7")
  70. AddConversationOption(conversation, "Close the book.","CloseItemConversation")
  71. StartDialogConversation(conversation, 2, Item, Player, "-- the family and friends I have lost. I am accompanying a group of non-combatants out of the city to a secret place known only to my family until now. I hope we will be safe there. I did not tell the commander of this place, but I know our family's stronghold will not remain secret or hidden for long.")
  72. end