mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-25 22:19:30 +01:00
[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
This commit is contained in:
@@ -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 << "<font color='purple'><b>Tip of the round: </b>[html_encode(pick(randomtips))]</font>"
|
||||
|
||||
else if(memetips.len)
|
||||
world << "<font color='purple'><b>Tip of the round: </b>[html_encode(pick(memetips))]</font>"
|
||||
|
||||
/datum/subsystem/ticker/proc/check_queue()
|
||||
if(!queued_players.len || !config.hard_popcap)
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user