/**********************************************************
RunUO 2.0 AoV C# script file
Official Age of Valor Script :: www.uovalor.com
Last modified by Death on Nov-01-2011 07:27:00pm
Filepath: scripts\_custom\events and scenarios\Halloween2011\Quests\Quest Givers\Ester.cs
Lines of code: 78
***********************************************************/


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

namespace Server.Engines.Quests
{	
	public class TaffyForCluesQuest : BaseQuest
	{				
		public override object Title{ get{ return "Taffy For Clues"; } }
		
		public override object Description{ get{ return "Selena's gotten herself into a lot of trouble with the evil pumpkin curse. I think I've found a way to protect again the pumpkin king's curses but I'm not going to give this information up willingly.<br><br>Bring me some taffy. It's my favorite candy although most people here don't like it. It shouldn't be too hard to get so hop to it!"; } }
		
		public override object Refuse{ get{ return "Alright then, I'll just hold on to this hint scroll then!"; } }
		
		public override object Uncomplete{ get{ return "If you're looking for candy, some of the other witches might offer you some quests with a bag of candy as the reward."; } }
		
		public override object Complete{ get{ return "Yay! I finally got some taffy. Thanks a lot. Here, take this hint scroll. It will tell you a few tips about the Pumpkin King and will give you a bonus at the battle"; } }
	
		public TaffyForCluesQuest() : base()
		{			
			AddObjective( new ObtainObjective( typeof( Taffy ), "Taffy", 25, 18077, 0, 0 ) );
			
			AddReward( new BaseReward( typeof( PumpkinKingHintScroll ), "A hint scroll" ) );
		}
		
		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 Willow : MondainQuester
	{
		public override Type[] Quests
		{ 
			get{ return new Type[] 
			{ 
				typeof( TaffyForCluesQuest )
			};} 
		}
		
		[Constructable]
		public Willow() : base( "Willow", "the witch" )
		{			
			SetSkill( SkillName.Meditation, 60.0, 83.0 );
			SetSkill( SkillName.Focus, 60.0, 83.0 );
		}
		
		public Willow( 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 = 1171;

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