}
}*/
static void AnvilTarget2(int s,				// socket #						 P_ITEM pi,			// material item						 int ma,			// minimum amount						 int mm,			// makemenu # to invoke from create.scp						 char* matname)		// name of the metal{	if (!AnvilInRange(s))		sysmessage(s, tr("The anvil is too far away.") );	else	{		P_CHAR pc_currchar = currchar[s];		P_ITEM pi_pack = Packitem(pc_currchar);		if (pi_pack == NULL) 			return;		int amt = pi_pack->CountItems( pi->id(), pi->color());		if ((itemmake[s].has=amt) < ma)		{			sysmessage(s, tr("You don't have enough %1 ingots to make anything.").arg(matname) );		}		else			Skills->MakeMenu(s,mm,BLACKSMITHING);	}}