RefreshItem(pi);
static bool ItemDroppedOnPet(P_CLIENT ps, PKGx08 *pp, P_ITEM pi){	UOXSOCKET s = ps->GetSocket();	P_CHAR pc_currchar = ps->getPlayer();	P_CHAR pc_target = FindCharBySerial(pp->Tserial);	if( pc_target->hunger < 6 && pi->type == 14 )//AntiChrist new hunger code for npcs	{		soundeffect2(pc_currchar, 0x003A+(rand()%3));	//0x3A - 0x3C three different sounds		if((pi->poisoned)&&(pc_target->poisoned<pi->poisoned))		{			soundeffect2(pc_target, 0x0246); //poison sound - SpaceDog			pc_target->poisoned=pi->poisoned;			pc_target->poisontime=uiCurrentTime+(MY_CLOCKS_PER_SEC*(40/pc_target->poisoned)); // a lev.1 poison takes effect after 40 secs, a deadly pois.(lev.4) takes 40/4 secs - AntiChrist			pc_target->poisonwearofftime=pc_target->poisontime+(MY_CLOCKS_PER_SEC*SrvParams->poisonTimer()); //wear off starts after poison takes effect - AntiChrist			impowncreate(s, pc_target, 1); //Lb, sends the green bar !		}				if(pi->name == "#")			pi->getName(temp2);		sprintf((char*)temp,"* You see %s eating %s *",pc_target->name.c_str(),temp2);		pc_target->emotecolor = 0x0026;		npcemoteall(pc_target,(char*)temp,1);		pc_target->hunger++;	}	else	{		sysmessage(s,"It doesn't appear to want the item");		Sndbounce5(s);		if (ps->IsDragging())		{			ps->ResetDragging();			item_bounce5(s,pi);		}	}	return true;}