Skip to main content

pickup_stored

Function pickup_stored 

Source
pub fn pickup_stored(
    source: &mut Storage,
    carried: &mut Storage,
    materials: &[RawMaterial],
    items: &[(usize, i32)],
    partial: bool,
) -> bool
Expand description

The PickupStoredRawMaterial action: a citizen takes goods from a storage. A request of zero or less takes as much as the citizen can still carry (by weight).

Original: FUN_1400cf210.