/**********************************************************
RunUO 2.0 AoV C# script file
Official Age of Valor Script :: www.uovalor.com
Last modified by Death on Oct-30-2011 08:24:13pm
Filepath: scripts\_custom\events and scenarios\Halloween2011\Quests\Quest Givers\Brunilda.cs
Lines of code: 82
***********************************************************/


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

namespace Server.Engines.Quests
{	
	public class IfOnlyIHadTheTimeQuest : BaseQuest
	{				
		public override object Title{ get{ return "If Only I Had The Time"; } }
		
		public override object Description{ get{ return "So many orders, so many orders. Why is it all the other witches feel the need to place their potion orders last minute! It is so aggravating, now I don't even have time to collect these ingredients.<br><br>You there! Yes, you with the funny looking face. Go out and collect these ingredients for me and I'll repay you for your deed.<br><br>What's that, why should you help me? Great goblins, the tongue on you youngsters these days!<br><br>Tell you what, if you help me gather these ingredients, I'll give you this druid seal I found. It's got to be worth at least a million gold, just keep it away from that creepy boatman!"; } }
		
		public override object Refuse{ get{ return "I'm hardly surprised you'd refuse. Well then, quit pestering me! I've got work to do. "; } }
		
		public override object Uncomplete{ get{ return "Did you get all those ingredients? No? It's a simple task, just kill the monsters around here and search their corpses for the ingredients on my list. Quit wasting time."; } }
		
		public override object Complete{ get{ return "Took you long enough to get all these ingredients! I am grateful you went out and got these ingredients though, don't get me wrong.<br><br>Here, take this seal as your reward. Maybe that boatman will do something for you if you show him that seal. Either that or he'll tear the skin off your face. Either way I'm sure you'll enjoy it."; } }
	
		public IfOnlyIHadTheTimeQuest() : base()
		{			
			AddObjective( new ObtainObjective( typeof( LycanClaw ), "Lycan's Claw", 1, 3586, 0, 1157) );
			AddObjective( new ObtainObjective( typeof( RavenWing ), "Raven's Wing", 1, 3960, 0, 1175) );
			AddObjective( new ObtainObjective( typeof( RotwormSlime), "Rotworm Slime", 1, 7410, 0, 2101) );
			AddObjective( new ObtainObjective( typeof( CarrionCreeperSpine ), "Carrion Creeper Spine", 1, 6940, 0, 1155) );
			AddObjective( new ObtainObjective( typeof( CrowFeather ), "Crow Feather", 1, 7814, 0, 1175) );
			AddObjective( new ObtainObjective( typeof( OogleyBoogleyEye ), "Oogley Boogley Eye", 1, 6250, 0, 2075) );
			
			AddReward( new BaseReward( typeof( DruidSeal ), "A druid seal" ) );
		}
		
		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();
		}		
	}
	
	public class Brunilda : MondainQuester
	{
		public override Type[] Quests
		{ 
			get{ return new Type[] 
			{ 
				typeof( IfOnlyIHadTheTimeQuest )
			};} 
		}
		
		[Constructable]
		public Brunilda() : base( "Brunilda", "the potion brewer" )
		{			
			SetSkill( SkillName.Meditation, 60.0, 83.0 );
			SetSkill( SkillName.Focus, 60.0, 83.0 );
		}
		
		public Brunilda( Serial serial ) : base( serial )
		{
		}		
		
		public override void InitBody()
		{
			InitStats( 100, 100, 25 );

			Hue = 0x83EA;

			Female = true;
			Body = 0x191;
		}
		
		public override void InitOutfit()
		{
			AddItem( new Robe( 0x1 ) );
			AddItem( new Sandals() );
			AddItem( new WizardsHat( 0x1 ) );
			AddItem( new GoldBracelet() );

			HairItemID = 0x203C;

			Item staff = new GnarledStaff();
			staff.Movable = false;
			AddItem( staff );
		}
		
		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();
		}
	}
}