Why not add the minimum value to eat for space? In the long run bank will be made + it looks more human. Also, even if eat to loot isn't enabled, the bot could try to figure out if it could still eat without wasting food (10hp missing, eat 1 shrimp, gain 3hp, no food wasted).
More stuff:
-...