78 lines
2.2 KiB
C#
78 lines
2.2 KiB
C#
using System;
|
|
using Server;
|
|
|
|
namespace Server.Items
|
|
{
|
|
public class VirtuousQuestBook : BlueBook
|
|
{
|
|
[Constructable]
|
|
public VirtuousQuestBook() : base( "The Virtuous Quest", "Lord British", 4, false ) // 4 pages, false means players can't edit it
|
|
{
|
|
Hue = 1150;
|
|
LootType = LootType.Blessed;
|
|
Pages[0].Lines = new string[]
|
|
{
|
|
"Brave adventurer,",
|
|
"",
|
|
"Britannia is vast, and",
|
|
"I need those who walk",
|
|
"the path of the Avatar.",
|
|
"",
|
|
"I have gifted you a",
|
|
"Tome of Virtues."
|
|
};
|
|
|
|
Pages[1].Lines = new string[]
|
|
{
|
|
"Seek out the eight",
|
|
"ancient shrines hidden",
|
|
"across the lands.",
|
|
"",
|
|
"Stand at their center",
|
|
"and speak the sacred",
|
|
"mantras to prove your",
|
|
"worth."
|
|
};
|
|
|
|
Pages[2].Lines = new string[]
|
|
{
|
|
"Rumors say that these",
|
|
"are the mantras",
|
|
"'mu', 'ahm', 'summ'",
|
|
"'lum', 'beh', 'cah'",
|
|
"'om', and 'ra'.",
|
|
"",
|
|
"I do not know which",
|
|
"Shrines they work on."
|
|
};
|
|
|
|
Pages[3].Lines = new string[]
|
|
{
|
|
"Once your tome has",
|
|
"absorbed the knowledge",
|
|
"of all eight shrines,",
|
|
"return the book to me.",
|
|
"",
|
|
"I shall reward you",
|
|
"handsomely.",
|
|
"- Lord British"
|
|
};
|
|
}
|
|
|
|
public VirtuousQuestBook( Serial serial ) : base( serial )
|
|
{
|
|
}
|
|
|
|
public override void Serialize( GenericWriter writer )
|
|
{
|
|
base.Serialize( writer );
|
|
writer.Write( (int)0 ); // version
|
|
}
|
|
|
|
public override void Deserialize( GenericReader reader )
|
|
{
|
|
base.Deserialize( reader );
|
|
int version = reader.ReadInt();
|
|
}
|
|
}
|
|
}
|