diff --git a/code/__DEFINES/genetics.dm b/code/__DEFINES/genetics.dm index 5124d27e9f5..c982420ff2a 100644 --- a/code/__DEFINES/genetics.dm +++ b/code/__DEFINES/genetics.dm @@ -150,3 +150,4 @@ #define PIERCEIMMUNE "pierce_immunity" #define NO_HUNGER "no_hunger" #define EXOTIC_COLOR "exotic_blood_colour" +#define NO_OBESITY "no_obesity" diff --git a/code/modules/client/preference/preferences.dm b/code/modules/client/preference/preferences.dm index 6d3d65fb045..46129c9c1d3 100644 --- a/code/modules/client/preference/preferences.dm +++ b/code/modules/client/preference/preferences.dm @@ -867,7 +867,8 @@ GLOBAL_LIST_INIT(special_role_times, list( //minimum age (in days) for accounts HTML += ShowDisabilityState(user, DISABILITY_FLAG_BLIND, "Blind") HTML += ShowDisabilityState(user, DISABILITY_FLAG_DEAF, "Deaf") HTML += ShowDisabilityState(user, DISABILITY_FLAG_MUTE, "Mute") - HTML += ShowDisabilityState(user, DISABILITY_FLAG_FAT, "Obese") + if(!(NO_OBESITY in S.species_traits)) + HTML += ShowDisabilityState(user, DISABILITY_FLAG_FAT, "Obese") HTML += ShowDisabilityState(user, DISABILITY_FLAG_NERVOUS, "Stutter") HTML += ShowDisabilityState(user, DISABILITY_FLAG_SWEDISH, "Swedish accent") HTML += ShowDisabilityState(user, DISABILITY_FLAG_CHAV, "Chav accent") diff --git a/code/modules/mob/living/carbon/human/life.dm b/code/modules/mob/living/carbon/human/life.dm index c9cd99ad2d0..868fb522fd9 100644 --- a/code/modules/mob/living/carbon/human/life.dm +++ b/code/modules/mob/living/carbon/human/life.dm @@ -597,7 +597,7 @@ if(overeatduration < 100) becomeSlim() else - if(overeatduration > 500) + if(overeatduration > 500 && !(NO_OBESITY in dna.species.species_traits)) becomeFat() // nutrition decrease diff --git a/code/modules/mob/living/carbon/human/species/skrell.dm b/code/modules/mob/living/carbon/human/species/skrell.dm index e0710bec11f..e65196ee2f8 100644 --- a/code/modules/mob/living/carbon/human/species/skrell.dm +++ b/code/modules/mob/living/carbon/human/species/skrell.dm @@ -13,7 +13,7 @@ the secrets of their empire to their allies." - species_traits = list(LIPS) + species_traits = list(LIPS, NO_OBESITY) clothing_flags = HAS_UNDERWEAR | HAS_UNDERSHIRT | HAS_SOCKS bodyflags = HAS_SKIN_COLOR | HAS_BODY_MARKINGS dietflags = DIET_HERB