public override void OnDoubleClick( Mobile from )
{
if ( IsChildOf( from.Backpack ) || Parent == from )
{
CraftSystem system = this.CraftSystem;
int num = system.CanCraft( from, this, null );
if ( num > 0 && num != 1044267 )
{
from.SendLocalizedMessage( num );
}
else
{
CraftContext context = system.GetContext( from );
from.SendGump( new CraftGump( from, system, this, null ) );
}
}
else
{
from.SendLocalizedMessage( 1042001 ); // That must be in your pack for you to use it.
}
}