using System;
using Server;

namespace Server.Items
{
	public class Crypt4x2 : BaseAddon
	{
		[ Constructable ]
		public Crypt4x2()
		{
			AddComponent( new AddonComponent( 1309 ), 2, 1, 0 );
			AddComponent( new AddonComponent( 1309 ), 0, 1, 0 );
			AddComponent( new AddonComponent( 1311 ), 1, 1, 0 );
			AddComponent( new AddonComponent( 1312 ), 2, 0, 0 );
			AddComponent( new AddonComponent( 1310 ), 1, 0, 0 );
			AddComponent( new AddonComponent( 1309 ), 0, 0, 0 );
			AddComponent( new AddonComponent( 1309 ), -1, 0, 0 );
			AddComponent( new AddonComponent( 1312 ), -1, 1, 0 );
		}

		public Crypt4x2( 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();
		}
	}
}