atagen

jelq

public

an http based roguelike rpg about jelqing

Star0
Watch0
bf5f8cb6f60f6e974991335cdfec63b7874a37bf
1
ssh://brewery@pls.lobotomise.me:33/atagen/jelq.git
src/game/notice.rsRust35 lines1.4 KB
1
/// Something that happened alongside the turn, which rides on the response as a `Warning`.
2
#[derive(Clone, Copy, PartialEq, Eq, Debug)]
3
pub enum Notice {
4
    BrotherTriedTheDoor,
5
    GymStaffLeaveIt,
6
    HousekeepingReadTheSign,
7
    StopRaidingTheKitchen,
8
    StopRaidingTheFridge,
9
    KevIsTheBar,
10
    DrawerJammed,
11
    DrawerComesLoose,
12
    ThreadHasReplies,
13
    Reflection,
14
    MumSatisfied,
15
    ColdStart,
16
}
17
18
impl Notice {
19
    pub fn text(self) -> &'static str {
20
        match self {
21
            Self::BrotherTriedTheDoor => "your brother tried the door",
22
            Self::GymStaffLeaveIt => "the gym staff have seen worse, and they leave it there",
23
            Self::HousekeepingReadTheSign => "housekeeping read the sign",
24
            Self::StopRaidingTheKitchen => "Stop raiding the kitchen.",
25
            Self::StopRaidingTheFridge => "Stop raiding the fridge.",
26
            Self::KevIsTheBar => "Kev is 8 inches, he says. Nobody asked you, which is worse.",
27
            Self::DrawerJammed => "The drawer has jammed.",
28
            Self::DrawerComesLoose => "The drawer comes loose. That took a while.",
29
            Self::ThreadHasReplies => "Somewhere, a forum thread from 2009 still has replies.",
30
            Self::Reflection => "the count reached ten, and then the reflection started",
31
            Self::MumSatisfied => "Mum seems satisfied. She takes the washing with her.",
32
            Self::ColdStart => "Cold start. The server has noted this.",
33
        }
34
    }
35
}