public void Eat(BaseObject target)
    {
        if ( job_time_sec == 0 )
        {

            int woter = target.GetMatCountByType(Enums.GMaterials.Woter);

            if (woter > 0)
            {
                target.RemoveMaterial(Enums.GMaterials.Woter, woter);

                if (woter + GetMatCountByType(Enums.GMaterials.Woter) > GetMatCountByType(Enums.GMaterials.Bone) * 1.5)
                    woter = (int)((GetMatCountByType(Enums.GMaterials.Bone) * 1.5) - GetMatCountByType(Enums.GMaterials.Woter));

                this.AddMaterial( Enums.GMaterials.Woter,woter );


            }

            int food = target.GetMatCountByType(atr.mat_for_eat.get(0));

            if (food > 0)
            {
                target.RemoveMaterial(atr.mat_for_eat.get(0), food);

                if (food + GetMatCountByType(Enums.GMaterials.Fat) > GetMatCountByType(Enums.GMaterials.Bone) )
                    food = (int)((GetMatCountByType(Enums.GMaterials.Bone) * 1.5) - GetMatCountByType(Enums.GMaterials.Fat));
                this.AddMaterial(Enums.GMaterials.Fat, food);

            }


            job_time_sec += 2;
        }
    }