an http based roguelike rpg about jelqing
Blame: src/game/standing.rs
8b8e83329a1d | atagen | 2026-10-12 12:01 UTC | 1 | use super::balance::STARTING_CASH; |
8b8e83329a1d | atagen | 2026-10-12 12:01 UTC | 2 | |
8b8e83329a1d | atagen | 2026-10-12 12:01 UTC | 3 | pub struct Standing { |
8b8e83329a1d | atagen | 2026-10-12 12:01 UTC | 4 | pub(crate) suspicion: u8, |
8b8e83329a1d | atagen | 2026-10-12 12:01 UTC | 5 | /// Suspicion before this turn's noise, so Mum can tell the turn that crossed the limit. |
8b8e83329a1d | atagen | 2026-10-12 12:01 UTC | 6 | pub(crate) at_turn_start: u8, |
8b8e83329a1d | atagen | 2026-10-12 12:01 UTC | 7 | /// This run's shame. The cross-run total lives in the signed cookie. |
8b8e83329a1d | atagen | 2026-10-12 12:01 UTC | 8 | pub(crate) shame: u32, |
8b8e83329a1d | atagen | 2026-10-12 12:01 UTC | 9 | pub(crate) shame_reported: u32, |
8b8e83329a1d | atagen | 2026-10-12 12:01 UTC | 10 | pub(crate) shame_total: u32, |
8b8e83329a1d | atagen | 2026-10-12 12:01 UTC | 11 | pub(crate) cash: u32, |
8b8e83329a1d | atagen | 2026-10-12 12:01 UTC | 12 | } |
8b8e83329a1d | atagen | 2026-10-12 12:01 UTC | 13 | |
8b8e83329a1d | atagen | 2026-10-12 12:01 UTC | 14 | impl Default for Standing { |
8b8e83329a1d | atagen | 2026-10-12 12:01 UTC | 15 | fn default() -> Self { |
8b8e83329a1d | atagen | 2026-10-12 12:01 UTC | 16 | Self { |
8b8e83329a1d | atagen | 2026-10-12 12:01 UTC | 17 | suspicion: 0, |
8b8e83329a1d | atagen | 2026-10-12 12:01 UTC | 18 | at_turn_start: 0, |
8b8e83329a1d | atagen | 2026-10-12 12:01 UTC | 19 | shame: 0, |
8b8e83329a1d | atagen | 2026-10-12 12:01 UTC | 20 | shame_reported: 0, |
8b8e83329a1d | atagen | 2026-10-12 12:01 UTC | 21 | shame_total: 0, |
8b8e83329a1d | atagen | 2026-10-12 12:01 UTC | 22 | cash: STARTING_CASH, |
8b8e83329a1d | atagen | 2026-10-12 12:01 UTC | 23 | } |
8b8e83329a1d | atagen | 2026-10-12 12:01 UTC | 24 | } |
8b8e83329a1d | atagen | 2026-10-12 12:01 UTC | 25 | } |