atagen

jelq

public

an http based roguelike rpg about jelqing

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