From e1d600f8478287cf5bb3b61ab91f092abd79b6f3 Mon Sep 17 00:00:00 2001 From: Incoming5643 Date: Sun, 29 May 2016 17:55:07 -0500 Subject: [PATCH] [s] Adds a rare tips file to the tip of the day (#17988) * Allows for rare meme tips web editor pull, doesn't work by itself * Injecting memes * W H O O P S --- code/controllers/subsystem/ticker.dm | 7 +++++-- config/sillytips.txt | 25 +++++++++++++++++++++++++ 2 files changed, 30 insertions(+), 2 deletions(-) create mode 100644 config/sillytips.txt diff --git a/code/controllers/subsystem/ticker.dm b/code/controllers/subsystem/ticker.dm index 55f4f3a068b..cb9d5c51038 100644 --- a/code/controllers/subsystem/ticker.dm +++ b/code/controllers/subsystem/ticker.dm @@ -450,9 +450,12 @@ var/datum/subsystem/ticker/ticker /datum/subsystem/ticker/proc/send_random_tip() var/list/randomtips = file2list("config/tips.txt") - if(randomtips.len) + var/list/memetips = file2list("config/sillytips.txt") + if(randomtips.len && prob(95)) world << "Tip of the round: [html_encode(pick(randomtips))]" - + else if(memetips.len) + world << "Tip of the round: [html_encode(pick(memetips))]" + /datum/subsystem/ticker/proc/check_queue() if(!queued_players.len || !config.hard_popcap) return diff --git a/config/sillytips.txt b/config/sillytips.txt new file mode 100644 index 00000000000..c804c3d9b43 --- /dev/null +++ b/config/sillytips.txt @@ -0,0 +1,25 @@ +Occasionally the tip of the round might lie to you. Don't panic, this is normal. +To defeat the slaughter demon, shoot at it until it dies. +Sometimes you won't be able to avoid dying no matter how good you are at the game. Try not to stress too much about it. +When a round ends nearly everything about it is lost forever, leave your salt behind with it. +Killing the entire station isn't fun except when it is. +You can win a pulse rifle from the arcade machine. Honest. +Just like real life the entropy of the game can only increase with time. If things aren't on fire yet, just wait. +Completing your objectives is good practice, but the best antagonists will strive to do more than the bare minimum to really leave an impression. +The more obscure and underused a game mechanic is, the less likely your victims are to be able to deal with it. +Space is cold and it will quickly freeze you to death if you don't protect yourself. This isn't how thermodynamics really works but just go with it. +Cleanbot. +The wizard is supposed to be extremely strong in one on one combat, stop getting mad about it. +Sometimes a round will just be a bust. C'est la vie. +This is a game that is constantly being developed for. Expect things to be added, removed, fixed, and broken on a daily basis. +It's fun to try and predict the round type from the tip of the round message. +The quartermaster is not a head of staff and will never be one. +The bird remembers. +Your sprite represents your hitbox, so that afro makes you easier to kill. The sacrifices we make for style. +Spacemen can't move diagonally but most animals can. Blame the slow decline of the numpad. +Sometimes admins will just do stuff. Roll with it. +The remake will never come out. +Plenty of things that aren't traditionally considered weapons can still be used to slowly brutalize someone to death, get creative! +DEATH IS IMMINENT! +This game is older than some of the people playing it. +Do not go gentle into that good night.