using System;
using Server;

namespace Server.Items
{
	public class GaramonsBook : RedBook
	{
		public static readonly BookContent Content = new BookContent
			(
				"A Journal", "Garamon",
				new BookPageInfo
				(
					"Today I have hope again.",
					"It has been too many",
					"days since my brother",
					"Tyball and I inadvertent",
					"ly released the Slasher",
					"of Veils in this world.",
                    "How could we have known",
                    "our research in planar",
                    "travel would have such",
                    "dire consequences?"
                ), 
                new BookPageInfo
                (
                    "But we have devised a",
                    "plan. We completed the",
                    "construction of a cham",
                    "ber of virtue. Tonight,",
                    "I will lure the Slasher",
                    "of Veils inside it so",
                    "it's virtuous energies",
                    "may weaken the beast!"
                ),
				new BookPageInfo
				(
					"Tyball will lock us in",
					"while I open a rip back",
					"to the Slasher's own",
					"plane, and lead him",
					"through. A portal already",
                    "awaits me in that foul",
                    "place, which will lead me",
                    "back here to safety."
				),
                new BookPageInfo
                (
                    "If all goes according to",
                    "plan, we will have undone",
                    "the wrong we brought onto",
                    "Britannia."
                ),
                new BookPageInfo
                (
                    "We will have redeemed",
                    "ourselves. May the Virtues",
                    "give us strength..."
                )
			);

		public override BookContent DefaultContent{ get{ return Content; } }

		[Constructable]
		public GaramonsBook() : base( false )
		{
		}

		public GaramonsBook( Serial serial ) : base( serial )
		{
		}

		public override void Serialize( GenericWriter writer )
		{
			base.Serialize( writer );

			writer.WriteEncodedInt( (int)0 ); // version
		}

		public override void Deserialize( GenericReader reader )
		{
			base.Deserialize( reader );

			int version = reader.ReadEncodedInt();
		}
	}
}