/**********************************************************
RunUO 2.0 AoV C# script file
Official Age of Valor Script :: www.uovalor.com
Last modified by 
Filepath: scripts\_custom\items\uoparrot\ParrotPerch.cs
Lines of code: 34
***********************************************************/


using System;
using Server;

namespace Server.Items
{
	[FlipableAttribute( 12276, 12277 )]
	public class ParrotPerch : Item
	{
	public bool hasparrot;//no need to serialize this since the PetParrot object that links to it sets it to true
	
		[CommandProperty( AccessLevel.GameMaster )] 
		public bool HasParrot
		{
			get { return hasparrot; }
		}	
	
	
		[Constructable]
		public ParrotPerch() : base( 12276 )
		{
			Name = "A Parrot Perch"; 
			Weight = 5.0;
		}

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