From a2e51da62bad11fb4abd69be052c3695b94db23c Mon Sep 17 00:00:00 2001 From: Aylong Date: Tue, 28 Nov 2023 14:42:39 +0200 Subject: [PATCH] Skins back --- code/__HELPERS/type2type.dm | 8 ++++++++ code/modules/client/preference/link_processing.dm | 10 ++++++++++ 2 files changed, 18 insertions(+) diff --git a/code/__HELPERS/type2type.dm b/code/__HELPERS/type2type.dm index abada14e3f74..8e45a6e257dc 100644 --- a/code/__HELPERS/type2type.dm +++ b/code/__HELPERS/type2type.dm @@ -209,6 +209,14 @@ return 'icons/mob/screen_white.dmi' if("Midnight") return 'icons/mob/screen_midnight.dmi' + if("Vaporwave") + return 'modular_ss220/aesthetics/skin/icons/screen_vaporwave.dmi' + if("Detective") + return 'modular_ss220/aesthetics/skin/icons/screen_detective.dmi' + if("Trasen") + return 'modular_ss220/aesthetics/skin/icons/screen_trasenknox.dmi' + if("Clockwork") + return 'modular_ss220/aesthetics/skin/icons/screen_clockwork.dmi' //colour formats /proc/rgb2hsl(red, green, blue) diff --git a/code/modules/client/preference/link_processing.dm b/code/modules/client/preference/link_processing.dm index be57084ef61b..8e40b5637ab6 100644 --- a/code/modules/client/preference/link_processing.dm +++ b/code/modules/client/preference/link_processing.dm @@ -950,6 +950,16 @@ UI_style = "Operative" if("White") UI_style = "White" + // SS220 ADDITION START + if("Vaporwave") + UI_style = "Vaporwave" + if("Detective") + UI_style = "Detective" + if("Trasen") + UI_style = "Trasen" + if("Clockwork") + UI_style = "Clockwork" + // SS220 ADDITION END if(ishuman(usr)) //mid-round preference changes, for aesthetics var/mob/living/carbon/human/H = usr