Secrets Panel button: Anonymous Names (and refactors a bit of admin code) (#50478)

* whew

* now accepts random names

* it compiles

* bobbah's review
This commit is contained in:
tralezab
2020-04-19 23:51:32 +08:00
committed by GitHub
parent 87152eb199
commit 7fad442f52
9 changed files with 114 additions and 25 deletions
+6 -1
View File
@@ -27,7 +27,11 @@ SUBSYSTEM_DEF(ticker)
var/admin_delay_notice = "" //a message to display to anyone who tries to restart the world after a delay
var/ready_for_reboot = FALSE //all roundend preparation done with, all that's left is reboot
var/triai = 0 //Global holder for Triumvirate
///If not set to ANON_DISABLED then people spawn with a themed anon name (see anonymousnames.dm)
var/anonymousnames = ANON_DISABLED
///Boolean to see if the game needs to set up a triumvirate ai (see tripAI.dm)
var/triai = FALSE
var/tipped = 0 //Did we broadcast the tip of the day yet?
var/selected_tip // What will be the tip of the day?
@@ -472,6 +476,7 @@ SUBSYSTEM_DEF(ticker)
delay_end = SSticker.delay_end
anonymousnames = SSticker.anonymousnames
triai = SSticker.triai
tipped = SSticker.tipped
selected_tip = SSticker.selected_tip