less jank
parent
411718d8db
commit
d7266bb3b8
@ -0,0 +1,34 @@
|
||||
use rand::prelude::*;
|
||||
|
||||
static DEATH_MESSAGES: [&str; 21] = [
|
||||
"{username} got fired by Mike Mood.",
|
||||
"{username} let the water drip on their springlocks.",
|
||||
"{username} got stuck on a fetch quest.",
|
||||
"{username} SIGSEGVed.",
|
||||
"{username} was so engrossed in their xReader fanfic that they didn't notice the player sneaking up behind them.",
|
||||
"{username} thought the Ink Demon would not kill them and actually love them. They were wrong.",
|
||||
"{username} ignored all of the warning signs and went on to die an entirely avoidable death.",
|
||||
"{username} thought they could out-drink Husk. They were wrong.",
|
||||
"{username} tried to outfuck Angel Dust.",
|
||||
"{username} tried to outfuck Ozzie.",
|
||||
"{username} tripped over a banana man and fell into a ravine.",
|
||||
"{username} overdosed on too much Good & Evil.",
|
||||
"{username} got hidden in (6 feet of) the sand.",
|
||||
"{username} failed harder than any American protest.",
|
||||
"{username} failed to dodge Mitch McConnell's filibuster.",
|
||||
"{username} got run over by the big red Brexit bus.",
|
||||
"{username} fell out of a 4th story window.",
|
||||
"{username} got lost in a Wal-Mart and starved to death.",
|
||||
"{username} failed to feed their Discord kittens on time and suffered the consequences.",
|
||||
"{username} got their heart stolen by a blind pickpocket.",
|
||||
"{username} forgot both themselves and 2012."
|
||||
];
|
||||
|
||||
pub fn get_death_message(username: String) -> String {
|
||||
let mut rng = thread_rng();
|
||||
return DEATH_MESSAGES
|
||||
.choose(&mut rng)
|
||||
.unwrap()
|
||||
.replace("{username}", &username)
|
||||
.to_string();
|
||||
}
|
Loading…
Reference in new issue