mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-21 12:04:48 +01:00
Adds Clockwork UI theme (#29831)
* coggers * feex --------- Signed-off-by: PopeDaveThe3th <80988376+PopeDaveThe3th@users.noreply.github.com>
This commit is contained in:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user