9
3

VisionsofColdwindPoint.lua 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. --[[
  2. Script Name : ItemScripts/VisionsofColdwindPoint.lua
  3. Script Author : Premierio015
  4. Script Date : 2021.08.04 09:08:27
  5. Script Purpose :
  6. :
  7. --]]
  8. local VisionsOfColdwindPoint = 5332 -- Visions of Coldwind Point quest
  9. function examined(Item, Player)
  10. if not HasQuest(Player, VisionsOfColdwindPoint) then
  11. OfferQuest(nil, Player, VisionsOfColdwindPoint)
  12. end
  13. AddConversationOption(conversation, "Open the book", "page1")
  14. AddConversationOption(conversation, "Close the book", "CloseItemConversation")
  15. StartDialogConversation(conversation, 2, Item, Player, "\"Visions of Coldwind Point,\" by Quallium. I dedicate this collection of poems to my many fans around the globe.")
  16. end
  17. function page1(Item, Player)
  18. AddConversationOption(conversation, "Next poem", "page2")
  19. AddConversationOption(conversation, "Close the book", "CloseItemConversation")
  20. StartDialogConversation(conversation, 2, Item, Player, "The Peeking Tree - The tree peeked over the hill to see what it could see. A great big ocean is all that it be. An ocean of cold wind dancing upon the waves. An ocean of deep blue beauty and deep blue danger and mariner graves. The tree stood and smiled all by its lonesome on its hill in the bright day. It was on the land and safe from deep blue death and harms way.")
  21. end
  22. function page2(Item, Player)
  23. AddConversationOption(conversation, "Next poem", "page3")
  24. AddConversationOption(conversation, "Last poem", "page1")
  25. AddConversationOption(conversation, "Close the book", "CloseItemConversation")
  26. StartDialogConversation(conversation, 2, Item, Player, "The Sword Like No Other - There it rose out of the fields of mist. A great blade of stone a blade from the past. It rises to the gods and declares its existence. It shouts at evil and all that offend. It is a sword like no other, the defender of the great. It is the Qeynos Claymore and it prepares to meet fate.")
  27. end
  28. function page3(Item, Player)
  29. AddConversationOption(conversation, "Next poem", "page4")
  30. AddConversationOption(conversation, "Last poem", "page2")
  31. AddConversationOption(conversation, "Close the book", "CloseItemConversation")
  32. StartDialogConversation(conversation, 2, Item, Player, "The King of the Thicket - The King of the Thicket rustles in the wind. It tangles with the others smaller, meeker than it. The branches of the lesser strike at it back and forth, but the King stands above them ruling the forest. No little stumps, no axes of steel, no force on Norrath will take it to the mill. In a thicket of oak this elder does stand. It is the King of the Thicket and it will always be grand.")
  33. end
  34. function page4(Item, Player)
  35. if not QuestStepIsComplete(Player, VisionsOfColdwindPoint, 1) then
  36. SetStepComplete(Player, VisionsOfColdwindPoint, 1)
  37. end
  38. AddConversationOption(conversation, "Last poem", "page3")
  39. AddConversationOption(conversation, "Close the book", "CloseItemConversation")
  40. StartDialogConversation(conversation, 2, Item, Player, "The Vigilant Giant - Around and around the mighty cyclops goes. Searching and seeking perils from below. Monsters of stone and granite attack and they mock. They strike at the walls of the vessels that rock. But beware all ye behemoths from sand deep below. This cyclops is not evil it is righteous and you its foe.")
  41. end