Skip to main content

Module chance

Module chance 

Source
Expand description

The chance of an event that happens on average once in a span of years: an injury at work, a tornado while it rains, a fire that starts by itself.

Functions§

once_in_years
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.