You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

36 lines
1.6 KiB

use rand::prelude::*;
static DEATH_MESSAGES: [&str; 22] = [
"{username} got fired by Mike Mood.",
"{username} let the water drip on their springlocks.",
"{username} got stuck in 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} thought the Ink Demon really just wanted a hug.",
"{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();
}