atagen

jelq

public

an http based roguelike rpg about jelqing

Star0
Watch0
ssh://brewery@pls.lobotomise.me:33/atagen/jelq.git
src/game/standing.rsRust25 lines672 B
1
use super::balance::STARTING_CASH;
2
3
pub struct Standing {
4
    pub(crate) suspicion: u8,
5
    /// Suspicion before this turn's noise, so Mum can tell the turn that crossed the limit.
6
    pub(crate) at_turn_start: u8,
7
    /// This run's shame. The cross-run total lives in the signed cookie.
8
    pub(crate) shame: u32,
9
    pub(crate) shame_reported: u32,
10
    pub(crate) shame_total: u32,
11
    pub(crate) cash: u32,
12
}
13
14
impl Default for Standing {
15
    fn default() -> Self {
16
        Self {
17
            suspicion: 0,
18
            at_turn_start: 0,
19
            shame: 0,
20
            shame_reported: 0,
21
            shame_total: 0,
22
            cash: STARTING_CASH,
23
        }
24
    }
25
}