// Scripted by Ice
using System;
using Server;
using Server.Items;

namespace Server.Items
{
	public class StackOfBoltsAddon : BaseAddon
	{
		public override BaseAddonDeed Deed
		{
			get
			{
				return new StackOfBoltsAddonDeed();
			}
		}

		[ Constructable ]
		public StackOfBoltsAddon()
		{
			AddComponent( new AddonComponent( 7165 ), 0, 0, 0 );
			AddonComponent ac = null;
			ac = new AddonComponent( 7165 );
			AddComponent( ac, 0, 0, 0 );

		}

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

		public override void Serialize( GenericWriter writer )
		{
			base.Serialize( writer );
			writer.Write( 0 ); // Version
		}

		public override void Deserialize( GenericReader reader )
		{
			base.Deserialize( reader );
			int version = reader.ReadInt();
		}
	}

	public class StackOfBoltsAddonDeed : BaseAddonDeed
	{
		public override BaseAddon Addon
		{
			get
			{
				return new StackOfBoltsAddon();
			}
		}

		[Constructable]
		public StackOfBoltsAddonDeed()
		{
			Name = "StackOfBolts";
		}

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

		public override void Serialize( GenericWriter writer )
		{
			base.Serialize( writer );
			writer.Write( 0 ); // Version
		}

		public override void	Deserialize( GenericReader reader )
		{
			base.Deserialize( reader );
			int version = reader.ReadInt();
		}
	}
}