Module kill_faucets

Source
Expand description

BAL-038 — persisted daily counter and band snapshot per kill faucet family.

Hidden state: the player never sees the counter or the remaining budget. It stays available to telemetry, admin and debug.

Structs§

KillFaucetDailyState
One family’s day.
KillFaucetFamilyIter
An iterator over the variants of KillFaucetFamily

Enums§

KillFaucetFamily
A reward family with its own counter, band snapshot and cap.

Constants§

D_MICRO
Fixed-point scale for KillFaucetDailyState::d_micro.

Functions§

band_for_today
The family’s state for TODAY, snapshotting the band if this is its first eligible roll since the daily reset.
decay_multiplier
Chance multiplier at granted units against a snapshotted d, for every family EXCEPT direct Cookies (which keep their own hyperbola).
exact_cap_for_today
The family’s state for today with an exact hard cap.
hard_cap
The hard cap that belongs to a snapshotted D: ceil(2 × D).

Type Aliases§

KillFaucetDailyMap