atagen

jelq

public

an http based roguelike rpg about jelqing

Star0
Watch0
4b1f5f88827de40c3cc25edaf1c8acea7192d6cf
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
    StopRaidingTheKitchen,
8b8e83329a1datagen2026-10-12 12:01 UTC8
    StopRaidingTheFridge,
8b8e83329a1datagen2026-10-12 12:01 UTC9
    KevIsTheBar,
8b8e83329a1datagen2026-10-12 12:01 UTC10
    DrawerJammed,
8b8e83329a1datagen2026-10-12 12:01 UTC11
    DrawerComesLoose,
8b8e83329a1datagen2026-10-12 12:01 UTC12
    ThreadHasReplies,
8b8e83329a1datagen2026-10-12 12:01 UTC13
    Reflection,
8b8e83329a1datagen2026-10-12 12:01 UTC14
    MumSatisfied,
4b1f5f88827datagen2026-10-13 10:18 UTC15
    ColdStart,
8b8e83329a1datagen2026-10-12 12:01 UTC16
}
8b8e83329a1datagen2026-10-12 12:01 UTC17
8b8e83329a1datagen2026-10-12 12:01 UTC18
impl Notice {
8b8e83329a1datagen2026-10-12 12:01 UTC19
    pub fn text(self) -> &'static str {
8b8e83329a1datagen2026-10-12 12:01 UTC20
        match self {
8b8e83329a1datagen2026-10-12 12:01 UTC21
            Self::BrotherTriedTheDoor => "your brother tried the door",
8b8e83329a1datagen2026-10-12 12:01 UTC22
            Self::GymStaffLeaveIt => "the gym staff have seen worse, and they leave it there",
8b8e83329a1datagen2026-10-12 12:01 UTC23
            Self::HousekeepingReadTheSign => "housekeeping read the sign",
8b8e83329a1datagen2026-10-12 12:01 UTC24
            Self::StopRaidingTheKitchen => "Stop raiding the kitchen.",
8b8e83329a1datagen2026-10-12 12:01 UTC25
            Self::StopRaidingTheFridge => "Stop raiding the fridge.",
8b8e83329a1datagen2026-10-12 12:01 UTC26
            Self::KevIsTheBar => "Kev is 8 inches, he says. Nobody asked you, which is worse.",
8b8e83329a1datagen2026-10-12 12:01 UTC27
            Self::DrawerJammed => "The drawer has jammed.",
8b8e83329a1datagen2026-10-12 12:01 UTC28
            Self::DrawerComesLoose => "The drawer comes loose. That took a while.",
8b8e83329a1datagen2026-10-12 12:01 UTC29
            Self::ThreadHasReplies => "Somewhere, a forum thread from 2009 still has replies.",
8b8e83329a1datagen2026-10-12 12:01 UTC30
            Self::Reflection => "the count reached ten, and then the reflection started",
8b8e83329a1datagen2026-10-12 12:01 UTC31
            Self::MumSatisfied => "Mum seems satisfied. She takes the washing with her.",
4b1f5f88827datagen2026-10-13 10:18 UTC32
            Self::ColdStart => "Warm-up was skipped. The server has noted this.",
8b8e83329a1datagen2026-10-12 12:01 UTC33
        }
8b8e83329a1datagen2026-10-12 12:01 UTC34
    }
8b8e83329a1datagen2026-10-12 12:01 UTC35
}