9
3

VisionsofColdwindPoint.lua 3.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  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. conversation = CreateConversation()
  11. if not HasQuest(Player, VisionsOfColdwindPoint) then
  12. OfferQuest(nil, Player, VisionsOfColdwindPoint)
  13. end
  14. AddConversationOption(conversation, "Open the book", "page1")
  15. AddConversationOption(conversation, "Close the book", "CloseItemConversation")
  16. StartDialogConversation(conversation, 2, Item, Player, "\"Visions of Coldwind Point,\" by Quallium. I dedicate this collection of poems to my many fans around the globe.")
  17. end
  18. function page1(Item, Player)
  19. conversation = CreateConversation()
  20. AddConversationOption(conversation, "Next poem", "page2")
  21. AddConversationOption(conversation, "Close the book", "CloseItemConversation")
  22. 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.")
  23. end
  24. function page2(Item, Player)
  25. conversation = CreateConversation()
  26. AddConversationOption(conversation, "Next poem", "page3")
  27. AddConversationOption(conversation, "Previous poem", "page1")
  28. AddConversationOption(conversation, "Close the book", "CloseItemConversation")
  29. 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.")
  30. end
  31. function page3(Item, Player)
  32. conversation = CreateConversation()
  33. AddConversationOption(conversation, "Next poem", "page4")
  34. AddConversationOption(conversation, "Previous poem", "page2")
  35. AddConversationOption(conversation, "Close the book", "CloseItemConversation")
  36. 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.")
  37. end
  38. function page4(Item, Player)
  39. conversation = CreateConversation()
  40. if not QuestStepIsComplete(Player, VisionsOfColdwindPoint, 1) then
  41. SetStepComplete(Player, VisionsOfColdwindPoint, 1)
  42. end
  43. AddConversationOption(conversation, "Previous poem", "page3")
  44. AddConversationOption(conversation, "Close the book", "CloseItemConversation")
  45. 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.")
  46. end