/**********************************************************
RunUO AoV C# script file
Official Age of Valor Script :: www.uovalor.com
Last modified by Red Squirrel on Jan-01-2012 10:09:14pm
Filepath: scripts\events and scenarios\Halloween2011\Quests\Quest Givers\Gretel.cs
Lines of code: 78

Description: 

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


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

namespace Server.Engines.Quests
{	
	public class InARotOfTroubleQuest : BaseQuest
	{				
		public override object Title{ get{ return "In A Rot Of Trouble"; } }
		
		public override object Description{ get{ return "I've had it with those rotworms! They keep coming in and devouring my specimens. They are attracted to the smell of rot.<br><br>Head out and slay the lot of them before they devour everything in here!<br><br>Before you go, watch out for their blood poisoning attack. It can cause you to lose your target focus in mid battle. There will be a reward once you've completed your task."; } }
		
		public override object Refuse{ get{ return "Oh great, now I'll have to find a scent barrier for these specimens!"; } }
		
		public override object Uncomplete{ get{ return "Oh the rotworms are all over these swamps. You really can't miss em."; } }
		
		public override object Complete{ get{ return "It smells a little less rotten around these swamps so I take it you've completed my task. Here, take this reward."; } }
	
		public InARotOfTroubleQuest() : base()
		{			
			AddObjective( new SlayObjective( typeof( SwampRotworm ), "Swamp Rotworm", 15 ) );
			
			AddReward( new BaseReward( typeof( CandyBagD ), "A bag of candy" ) );
		}
		
		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 Gretel : MondainQuester
	{
		public override Type[] Quests
		{ 
			get{ return new Type[] 
			{ 
				typeof( InARotOfTroubleQuest )
			};} 
		}
		
		[Constructable]
		public Gretel() : base( "Gretel", "the witch" )
		{			
			SetSkill( SkillName.Meditation, 60.0, 83.0 );
			SetSkill( SkillName.Focus, 60.0, 83.0 );
		}
		
		public Gretel( 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;
			HairHue = 1195;

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