Skip to main content

consume_stored

Function consume_stored 

Source
pub fn consume_stored(
    storage: &mut Storage,
    items: &[(usize, i32)],
    reserved: bool,
) -> bool
Expand description

The ConsumeRawMaterial action: take goods out of a storage. Reserved requests skip the check that the goods are there; the changes happen in list order.

Original: FUN_1400cb420.