diff --git a/modular_bandastation/preferences/_preferences.dm b/modular_bandastation/preferences/_preferences.dm index 458546b873488..a57829eb5f69e 100644 --- a/modular_bandastation/preferences/_preferences.dm +++ b/modular_bandastation/preferences/_preferences.dm @@ -1,4 +1,4 @@ /datum/modpack/preferences - name = "Преференс220" + name = "Preferences overrides" desc = "Изменяет preferences.dm под нужды проекта." - author = "hardexz" + author = "hardexz, gaxeer" diff --git a/modular_bandastation/preferences/_preferences.dme b/modular_bandastation/preferences/_preferences.dme index b3cb417dda487..209b86f42c498 100644 --- a/modular_bandastation/preferences/_preferences.dme +++ b/modular_bandastation/preferences/_preferences.dme @@ -1,4 +1,4 @@ #include "_preferences.dm" -#include "code\preferences.dm" - +#include "code\modules\client\preferences.dm" +#include "code\modules\client\preferences\body_type.dm" diff --git a/modular_bandastation/preferences/code/preferences.dm b/modular_bandastation/preferences/code/modules/client/preferences.dm similarity index 100% rename from modular_bandastation/preferences/code/preferences.dm rename to modular_bandastation/preferences/code/modules/client/preferences.dm diff --git a/modular_bandastation/preferences/code/modules/client/preferences/body_type.dm b/modular_bandastation/preferences/code/modules/client/preferences/body_type.dm new file mode 100644 index 0000000000000..e454a6fb14b0f --- /dev/null +++ b/modular_bandastation/preferences/code/modules/client/preferences/body_type.dm @@ -0,0 +1,8 @@ +/datum/preference/choiced/body_type/apply_to_human(mob/living/carbon/human/target, value) + target.physique = target.gender + +/datum/preference/choiced/body_type/is_accessible(datum/preferences/preferences) + if (!..(preferences)) + return FALSE + + return FALSE diff --git a/tgui/packages/tgui/interfaces/PreferencesMenu/MainPage.tsx b/tgui/packages/tgui/interfaces/PreferencesMenu/MainPage.tsx index 35ddf9d2a7326..d9db8609a3019 100644 --- a/tgui/packages/tgui/interfaces/PreferencesMenu/MainPage.tsx +++ b/tgui/packages/tgui/interfaces/PreferencesMenu/MainPage.tsx @@ -224,25 +224,23 @@ const GenderButton = (props: { placement="right-end" content={ - {[Gender.Male, Gender.Female, Gender.Other, Gender.Other2].map( - (gender) => { - return ( - -