mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2025-12-27 18:41:59 +00:00
Announcing live test PRs (#5857)
* Implement one. * REVERT ME LATER * Initial implementation dooonnee. * log * Fixes * Lazyness squared
This commit is contained in:
@@ -40,8 +40,9 @@ var/datum/controller/subsystem/ticker/SSticker
|
||||
var/delay_end = 0 //if set to nonzero, the round will not restart on it's own
|
||||
|
||||
var/triai = 0 //Global holder for Triumvirate
|
||||
var/tipped = 0 //Did we broadcast the tip of the day yet?
|
||||
var/tipped = FALSE //Did we broadcast the tip of the day yet?
|
||||
var/selected_tip // What will be the tip of the day?
|
||||
var/testmerges_printed = FALSE
|
||||
|
||||
var/round_end_announced = 0 // Spam Prevention. Announce round end only once.
|
||||
|
||||
@@ -134,6 +135,10 @@ var/datum/controller/subsystem/ticker/SSticker
|
||||
pregame_timeleft--
|
||||
return
|
||||
|
||||
if (pregame_timeleft <= 20 && !testmerges_printed)
|
||||
print_testmerges()
|
||||
testmerges_printed = TRUE
|
||||
|
||||
if (pregame_timeleft <= 10 && !tipped)
|
||||
send_tip_of_the_round()
|
||||
tipped = TRUE
|
||||
@@ -326,6 +331,12 @@ var/datum/controller/subsystem/ticker/SSticker
|
||||
world << "<font color='purple'><b>Tip of the round: \
|
||||
</b>[html_encode(m)]</font>"
|
||||
|
||||
/datum/controller/subsystem/ticker/proc/print_testmerges()
|
||||
var/data = revdata.testmerge_overview()
|
||||
|
||||
if (data)
|
||||
to_world(data)
|
||||
|
||||
/datum/controller/subsystem/ticker/proc/pregame()
|
||||
set waitfor = FALSE
|
||||
sleep(1) // Sleep so the MC has a chance to update its init time.
|
||||
|
||||
Reference in New Issue
Block a user