/**********************************************************
RunUO AoV C# script file
Official Age of Valor Script :: www.uovalor.com
Last modified by Red Squirrel on Feb-12-2011 07:53:01pm
Filepath: scripts\_custom\mlpackage\Quests\Heartwood\The Ancient World\Mobiles\Braen.cs
Lines of code: 57

Description: 

***********************************************************/


using System;
using Server;
using Server.Items;
using Server.Mobiles;

namespace Server.Engines.Quests
{
	public class UnholyConstructQuest : BaseQuest
	{						
		/* Unholy Construct */
		public override object Title{ get{ return 1073666; } }
		
		/* They're unholy, I say. Golems, a walking mockery of all life, born of 
		blackest magic. They're not truly alive, so destroying them isn't a crime, 
		it's a service. A service I will gladly pay for. */	
		public override object Description{ get{ return 1073705; } }
		
		/* Perhaps you'll change your mind and return at some point. */
		public override object Refuse{ get{ return 1073733; } }
		
		/* The unholy brutes, the Golems, must be smited! */
		public override object Uncomplete{ get{ return 1073746; } }
		
		/* Reduced those Golems to component parts? Good, then -- you deserve this reward! */
		public override object Complete{ get{ return 1073787; } }
		
		public UnholyConstructQuest() : base()
		{							
			AddObjective( new SlayObjective( typeof( Golem ), "golems", 10 ) );		
							
			AddReward( new BaseReward( typeof( LargeTreasureBag ), 1072706 ) ); // A large bag of treasure.
		}
	}
	
	public class Braen : MondainQuester
	{
		public override Type[] Quests{ get{ return new Type[] { typeof( UnholyConstructQuest ) }; } }
		
		[Constructable]
		public Braen() : base( "Braen", "the thaumaturgist" )
		{			
			SetSkill( SkillName.Meditation, 60.0, 83.0 );
			SetSkill( SkillName.Focus, 60.0, 83.0 );
		}
		
		public Braen( Serial serial ) : base( serial )
		{
		}
		
		public override void InitBody()
		{
			InitStats( 100, 100, 25 );
			
			Female = false;
			Race = Race.Elf;
			
			Hue = 0x876C;
			HairItemID = 0x2FBF;
			HairHue = 0x2C2;
		}
		
		public override void InitOutfit()
		{
			AddItem( new Sandals( 0x722 ) );
			AddItem( RandomWand.CreateWand() );
		}
		
		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();
		}
	}
}