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


using System;
using Server;
using Server.Gumps;
using Server.Items;

namespace Server.Items
{
	
	public class  TestRecipe : BaseRecipe
	{
	
		[Constructable]
		public TestRecipe() : base(25)
		{		
		//InitRequirements();
		}
		
		
		//overrides:
		
		public override Type CraftedItem { get { return typeof(Gold); } }
		public override string artyname { get { return "Test item"; } }
		
		
	
		public override void InitRequirements()
		{
		base.InitRequirements(); //MUST be first! 
		
		//add required skills:
		
		RequiredSkills.Add(new ReqSkill(SkillName.Tinkering,100));
		RequiredSkills.Add(new ReqSkill(SkillName.Carpentry,50));
		
		//add required resources
		
    	CommonResources.Add(new ReqRes("Iron Ingot",typeof(IronIngot),5));		
		
		//RareResources.Add(new ReqRes("Ecru Citrine",typeof(EcruCitrine),10));
		}	

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