Skip to main content

spread_target

Function spread_target 

Source
pub fn spread_target(listed: &[(bool, bool)]) -> Option<usize>
Expand description

Which of the citizens near a sick one is offered the disease, from the characters’ tree’s list in its order: each entry is (the sick citizen itself, has a disease). The first that is neither, or none. Only one is ever offered, even when it then turns the disease away.

Measured: tools/emu/disease_spread.py (the original on 2,000 lists).

Original: FUN_140117940.