atagen

jelq

public

an http based roguelike rpg about jelqing

Star0
Watch0
f16ab17c8ff6e8e90a8d6658a1fa79039509d7d7
1
ssh://brewery@pls.lobotomise.me:33/atagen/jelq.git

Blame: src/game/notice.rs

8b8e83329a1datagen2026-10-12 12:01 UTC1
/// Something that happened alongside the turn, which rides on the response as a `Warning`.
8b8e83329a1datagen2026-10-12 12:01 UTC2
#[derive(Clone, Copy, PartialEq, Eq, Debug)]
8b8e83329a1datagen2026-10-12 12:01 UTC3
pub enum Notice {
8b8e83329a1datagen2026-10-12 12:01 UTC4
    BrotherTriedTheDoor,
8b8e83329a1datagen2026-10-12 12:01 UTC5
    GymStaffLeaveIt,
8b8e83329a1datagen2026-10-12 12:01 UTC6
    HousekeepingReadTheSign,
8b8e83329a1datagen2026-10-12 12:01 UTC7
    KevIsTheBar,
8b8e83329a1datagen2026-10-12 12:01 UTC8
    DrawerJammed,
8b8e83329a1datagen2026-10-12 12:01 UTC9
    DrawerComesLoose,
8b8e83329a1datagen2026-10-12 12:01 UTC10
    ThreadHasReplies,
8b8e83329a1datagen2026-10-12 12:01 UTC11
    Reflection,
8b8e83329a1datagen2026-10-12 12:01 UTC12
    MumSatisfied,
4b1f5f88827datagen2026-10-13 10:18 UTC13
    ColdStart,
8b8e83329a1datagen2026-10-12 12:01 UTC14
}
8b8e83329a1datagen2026-10-12 12:01 UTC15
8b8e83329a1datagen2026-10-12 12:01 UTC16
impl Notice {
8b8e83329a1datagen2026-10-12 12:01 UTC17
    pub fn text(self) -> &'static str {
8b8e83329a1datagen2026-10-12 12:01 UTC18
        match self {
8b8e83329a1datagen2026-10-12 12:01 UTC19
            Self::BrotherTriedTheDoor => "your brother tried the door",
8b8e83329a1datagen2026-10-12 12:01 UTC20
            Self::GymStaffLeaveIt => "the gym staff have seen worse, and they leave it there",
8b8e83329a1datagen2026-10-12 12:01 UTC21
            Self::HousekeepingReadTheSign => "housekeeping read the sign",
8b8e83329a1datagen2026-10-12 12:01 UTC22
            Self::KevIsTheBar => "Kev is 8 inches, he says. Nobody asked you, which is worse.",
8b8e83329a1datagen2026-10-12 12:01 UTC23
            Self::DrawerJammed => "The drawer has jammed.",
8b8e83329a1datagen2026-10-12 12:01 UTC24
            Self::DrawerComesLoose => "The drawer comes loose. That took a while.",
8b8e83329a1datagen2026-10-12 12:01 UTC25
            Self::ThreadHasReplies => "Somewhere, a forum thread from 2009 still has replies.",
8b8e83329a1datagen2026-10-12 12:01 UTC26
            Self::Reflection => "the count reached ten, and then the reflection started",
8b8e83329a1datagen2026-10-12 12:01 UTC27
            Self::MumSatisfied => "Mum seems satisfied. She takes the washing with her.",
4b1f5f88827datagen2026-10-13 10:18 UTC28
            Self::ColdStart => "Warm-up was skipped. The server has noted this.",
8b8e83329a1datagen2026-10-12 12:01 UTC29
        }
8b8e83329a1datagen2026-10-12 12:01 UTC30
    }
8b8e83329a1datagen2026-10-12 12:01 UTC31
}