pub fn update_home(
home: &mut Home,
storages: &mut [Storage],
materials: &[RawMaterial],
temperature: f32,
dt: i64,
counters: &mut StockCounters,
)Expand description
A residence’s update. The fire burns down; with residents, while it is colder than the house’s
warmth, one unit of firewood keeps it burning for seconds. The food and firewood status icons
clear when there is some. The ClearStorage work comes first
(crate::town::Sim::residence_clear_storage). The firewood burned counts as used in the stock
manager.
Original: FUN_14012ee40.