atagen

jelq

public

an http based roguelike rpg about jelqing

Star0
Watch0
8b8e83329a1daec70177de3e129964094a711509
1
ssh://brewery@pls.lobotomise.me:33/atagen/jelq.git
src/game/notice.rsRust33 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
}
16
17
impl Notice {
18
    pub fn text(self) -> &'static str {
19
        match self {
20
            Self::BrotherTriedTheDoor => "your brother tried the door",
21
            Self::GymStaffLeaveIt => "the gym staff have seen worse, and they leave it there",
22
            Self::HousekeepingReadTheSign => "housekeeping read the sign",
23
            Self::StopRaidingTheKitchen => "Stop raiding the kitchen.",
24
            Self::StopRaidingTheFridge => "Stop raiding the fridge.",
25
            Self::KevIsTheBar => "Kev is 8 inches, he says. Nobody asked you, which is worse.",
26
            Self::DrawerJammed => "The drawer has jammed.",
27
            Self::DrawerComesLoose => "The drawer comes loose. That took a while.",
28
            Self::ThreadHasReplies => "Somewhere, a forum thread from 2009 still has replies.",
29
            Self::Reflection => "the count reached ten, and then the reflection started",
30
            Self::MumSatisfied => "Mum seems satisfied. She takes the washing with her.",
31
        }
32
    }
33
}