More admin verb conversion & Secrets panel overhaul (#17893)

* More admin verb conversion & Secrets panel overhaul

* convert to tsx

* Rest of the secrets update

* Update secrets.dm

* ummm

---------

Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
Selis
2025-06-28 22:10:16 +02:00
committed by GitHub
co-authored by Kashargul
parent 947ae7e83d
commit 8e7345eb2e
73 changed files with 1949 additions and 1179 deletions
+1 -5
View File
@@ -13,10 +13,6 @@ SUBSYSTEM_DEF(nightshift)
/datum/controller/subsystem/nightshift/Initialize()
if(!CONFIG_GET(flag/enable_night_shifts))
can_fire = FALSE
/*
if(config.randomize_shift_time)
GLOB.gametime_offset = rand(0, 23) HOURS
*/
return SS_INIT_SUCCESS
/datum/controller/subsystem/nightshift/fire(resumed = FALSE)
@@ -57,7 +53,7 @@ SUBSYSTEM_DEF(nightshift)
if(nightshift_active != night_time)
update_nightshift(night_time, announcing)
/datum/controller/subsystem/nightshift/proc/update_nightshift(active, announce = TRUE)
/datum/controller/subsystem/nightshift/proc/update_nightshift(active, announce = TRUE, resumed = FALSE, forced = FALSE)
nightshift_active = active
if(announce)
if(active)