pub fn once_in_years(
timer: &mut i64,
years: f32,
odds: f32,
rng: &mut Random,
) -> boolExpand description
Whether an event that happens on average once in years × odds game years happens now, given
the time on its clock (game ticks since the last check). The clock restarts. With odds of 0
or less nothing is drawn.
Measured: tools/emu/once_in_years.py (the original on 2,000 cases).
Original: FUN_1400ae760.