I think you should use `cItem::IsEqual()` instead of comparing the item types manually.

This needs examining - does Vanilla allow naming individual wheats? And if so, do cows react to those? :)