an http based roguelike rpg about jelqing
Blame: src/game/notice.rs
3ac624339c98 | atagen | 2026-10-13 12:21 UTC | 1 | use super::Floor; |
3ac624339c98 | atagen | 2026-10-13 12:21 UTC | 2 | |
8b8e83329a1d | atagen | 2026-10-12 12:01 UTC | 3 | /// Something that happened alongside the turn, which rides on the response as a `Warning`. |
8b8e83329a1d | atagen | 2026-10-12 12:01 UTC | 4 | #[derive(Clone, Copy, PartialEq, Eq, Debug)] |
8b8e83329a1d | atagen | 2026-10-12 12:01 UTC | 5 | pub enum Notice { |
8b8e83329a1d | atagen | 2026-10-12 12:01 UTC | 6 | BrotherTriedTheDoor, |
8b8e83329a1d | atagen | 2026-10-12 12:01 UTC | 7 | GymStaffLeaveIt, |
8b8e83329a1d | atagen | 2026-10-12 12:01 UTC | 8 | HousekeepingReadTheSign, |
aef6f6498ea2 | atagen | 2026-10-13 11:23 UTC | 9 | StopRaidingTheKitchen, |
aef6f6498ea2 | atagen | 2026-10-13 11:23 UTC | 10 | StopRaidingTheFridge, |
8b8e83329a1d | atagen | 2026-10-12 12:01 UTC | 11 | KevIsTheBar, |
8b8e83329a1d | atagen | 2026-10-12 12:01 UTC | 12 | DrawerJammed, |
8b8e83329a1d | atagen | 2026-10-12 12:01 UTC | 13 | DrawerComesLoose, |
8b8e83329a1d | atagen | 2026-10-12 12:01 UTC | 14 | ThreadHasReplies, |
8b8e83329a1d | atagen | 2026-10-12 12:01 UTC | 15 | Reflection, |
886159fd0fe7 | atagen | 2026-10-13 12:48 UTC | 16 | MumSatisfied(&'static str), |
4b1f5f88827d | atagen | 2026-10-13 10:18 UTC | 17 | ColdStart, |
3ac624339c98 | atagen | 2026-10-13 12:21 UTC | 18 | RunningLong(Floor), |
3ac624339c98 | atagen | 2026-10-13 12:21 UTC | 19 | LastTurn, |
3ac624339c98 | atagen | 2026-10-13 12:21 UTC | 20 | SkinGivingWay, |
2d9074e0b4de | atagen | 2026-10-13 12:35 UTC | 21 | BurnSoothed, |
8b8e83329a1d | atagen | 2026-10-12 12:01 UTC | 22 | } |
8b8e83329a1d | atagen | 2026-10-12 12:01 UTC | 23 | |
8b8e83329a1d | atagen | 2026-10-12 12:01 UTC | 24 | impl Notice { |
8b8e83329a1d | atagen | 2026-10-12 12:01 UTC | 25 | pub fn text(self) -> &'static str { |
8b8e83329a1d | atagen | 2026-10-12 12:01 UTC | 26 | match self { |
8b8e83329a1d | atagen | 2026-10-12 12:01 UTC | 27 | Self::BrotherTriedTheDoor => "your brother tried the door", |
8b8e83329a1d | atagen | 2026-10-12 12:01 UTC | 28 | Self::GymStaffLeaveIt => "the gym staff have seen worse, and they leave it there", |
8b8e83329a1d | atagen | 2026-10-12 12:01 UTC | 29 | Self::HousekeepingReadTheSign => "housekeeping read the sign", |
aef6f6498ea2 | atagen | 2026-10-13 11:23 UTC | 30 | Self::StopRaidingTheKitchen => "Stop raiding the kitchen.", |
aef6f6498ea2 | atagen | 2026-10-13 11:23 UTC | 31 | Self::StopRaidingTheFridge => "Stop raiding the fridge.", |
8b8e83329a1d | atagen | 2026-10-12 12:01 UTC | 32 | Self::KevIsTheBar => "Kev is 8 inches, he says. Nobody asked you, which is worse.", |
8b8e83329a1d | atagen | 2026-10-12 12:01 UTC | 33 | Self::DrawerJammed => "The drawer has jammed.", |
8b8e83329a1d | atagen | 2026-10-12 12:01 UTC | 34 | Self::DrawerComesLoose => "The drawer comes loose. That took a while.", |
8b8e83329a1d | atagen | 2026-10-12 12:01 UTC | 35 | Self::ThreadHasReplies => "Somewhere, a forum thread from 2009 still has replies.", |
8b8e83329a1d | atagen | 2026-10-12 12:01 UTC | 36 | Self::Reflection => "the count reached ten, and then the reflection started", |
886159fd0fe7 | atagen | 2026-10-13 12:48 UTC | 37 | Self::MumSatisfied(parting) => parting, |
bf5f8cb6f60f | atagen | 2026-10-13 12:10 UTC | 38 | Self::ColdStart => "Cold start. The server has noted this.", |
3ac624339c98 | atagen | 2026-10-13 12:21 UTC | 39 | Self::RunningLong(floor) => match floor { |
3ac624339c98 | atagen | 2026-10-13 12:21 UTC | 40 | Floor::Bedroom => "Mum is coming up the stairs.", |
3ac624339c98 | atagen | 2026-10-13 12:21 UTC | 41 | Floor::Bathroom => "Your brother has gone to get Mum.", |
3ac624339c98 | atagen | 2026-10-13 12:21 UTC | 42 | Floor::ChangingRoom => "The gym closes in ten minutes.", |
3ac624339c98 | atagen | 2026-10-13 12:21 UTC | 43 | Floor::Nans => "Dinner is nearly ready. Somebody has been sent to find you.", |
3ac624339c98 | atagen | 2026-10-13 12:21 UTC | 44 | Floor::Hotel => "Checkout was at eleven. Housekeeping has a master key.", |
3ac624339c98 | atagen | 2026-10-13 12:21 UTC | 45 | Floor::Forum | Floor::Clinic => "The floor is running long.", |
3ac624339c98 | atagen | 2026-10-13 12:21 UTC | 46 | }, |
3ac624339c98 | atagen | 2026-10-13 12:21 UTC | 47 | Self::LastTurn => "This is the last turn on this floor. Leave now or be found.", |
3ac624339c98 | atagen | 2026-10-13 12:21 UTC | 48 | Self::SkinGivingWay => "the skin is giving way", |
2d9074e0b4de | atagen | 2026-10-13 12:35 UTC | 49 | Self::BurnSoothed => "the lotion has soothed the friction burn", |
8b8e83329a1d | atagen | 2026-10-12 12:01 UTC | 50 | } |
8b8e83329a1d | atagen | 2026-10-12 12:01 UTC | 51 | } |
8b8e83329a1d | atagen | 2026-10-12 12:01 UTC | 52 | } |