Skip to main content

eat

Function eat 

Source
pub fn eat(
    s: &mut CitizenState,
    storage: &mut Storage,
    materials: &[RawMaterial],
    rng: &mut Random,
    counters: &mut StockCounters,
)
Expand description

Citizen message 2: eat from storage until the citizen is no longer hungry: one unit of food per point of hunger. Each kind of food is remembered (for variety) and counts as used.

Original: FUN_14011a7b0, FUN_14008e460.