Assumption:
The food container of animal breeding buildings should be able to contain enough food so that animals don't starve during a real-time night (at least 8 hours).
Problem statement:
The capacity of the food container of barns currently violates the assumption regarding how long an unattended breeding building with a full food container should be able to sustain the animals within. In the worst case scenario, the animals empty the food container of the barn after 5 hours and 20 minutes (see calculations below).
Comparison:
Coops can sustain their animals for 10 hours, small and large stables for 12 hours 30 minutes.
Solution:
Increase the food container size of barns from 20 units to 45 units. This would result in a minimum time span of 12 hours that animals within barns can be sustained, which is between the minimum and maximum of comparable buildings.
Calculations:
Coop:
20 Slots
5 Space
0.025 food per hare/chicken
0.025 food * 20 slots = 0.5 food consumption per hour
5 space / 0.5 food consumption = 10 hours until empty
Barn:
15 Slots
20 Space
0.25 food per pig
0.25 food * 15 slots = 3.75 food consumption per hour
20 space / 3.75 food consumption = 5 hours 20 minutes until empty
Small Stable:
8 Slots
80 Space
0.8 food per cattle
0.8 food * 8 slots = 6.4 food consumption per hour
80 space / 6.4 food consumption = 12 hours 30 minutes until empty
Large Stable:
50 Slots
500 Space
0.8 food per cattle
0.8 food * 50 slots = 40 food consumption per hour
500 space / 40 food consumption = 12 hours 30 minutes until empty