Implement onEaten for CustomFood.

Signed-off-by: Steven Downer <grinch@outlook.com>