Update:
Managed to make a food.chicken specific resource and the UnitAI component to read the specific resource type to play the chicken specific animation:
For testing purpose chicken is a single gatherer only and only 10 food.
UnitAI code line modified: