Adds Clockwork UI theme (#29831)

* coggers

* feex

---------

Signed-off-by: PopeDaveThe3th <80988376+PopeDaveThe3th@users.noreply.github.com>
This commit is contained in:
PopeDaveThe3th
2025-08-06 01:11:38 -04:00
committed by GitHub
parent a565e1e856
commit 1aca151144
4 changed files with 6 additions and 2 deletions
@@ -915,7 +915,7 @@
if("hear_adminhelps")
sound ^= SOUND_ADMINHELP
if("ui")
var/new_UI_style = tgui_input_list(user, "Choose your UI style", "UI style", list("Midnight", "Plasmafire", "Retro", "Slimecore", "Operative", "White"))
var/new_UI_style = tgui_input_list(user, "Choose your UI style", "UI style", list("Midnight", "Plasmafire", "Retro", "Slimecore", "Operative", "White", "Clockwork"))
if(!new_UI_style)
return
switch(new_UI_style)
@@ -931,6 +931,8 @@
UI_style = "Operative"
if("White")
UI_style = "White"
if("Clockwork")
UI_style = "Clockwork"
if(ishuman(usr)) //mid-round preference changes, for aesthetics
var/mob/living/carbon/human/H = usr
@@ -40,7 +40,7 @@
//Sanitize
ooccolor = sanitize_hexcolor(ooccolor, initial(ooccolor))
UI_style = sanitize_inlist(UI_style, list("White", "Midnight", "Plasmafire", "Retro", "Slimecore", "Operative"), initial(UI_style))
UI_style = sanitize_inlist(UI_style, list("White", "Midnight", "Plasmafire", "Retro", "Slimecore", "Operative", "Clockwork"), initial(UI_style))
default_slot = sanitize_integer(default_slot, 1, max_save_slots, initial(default_slot))
toggles = sanitize_integer(toggles, 0, TOGGLES_TOTAL, initial(toggles))
toggles2 = sanitize_integer(toggles2, 0, TOGGLES_2_TOTAL, initial(toggles2))