Add fatness mood quirks

Add Fat Affinity and Fat Aversion neutral quirks
Split fat mood_event into fat_good and fat_bad
Apply mood_event based on chosen quirk
If neither quirk is chosen, being fat has no effect on mood
This commit is contained in:
psq95
2023-04-09 18:57:11 +01:00
parent 05837555a4
commit 5b216ab13e
5 changed files with 32 additions and 7 deletions
+4 -1
View File
@@ -297,7 +297,10 @@
switch(L.fatness)
if(FATNESS_LEVEL_FAT to INFINITY)
add_event(null, "fatness", /datum/mood_event/fat)
if(HAS_TRAIT(L, TRAIT_FAT_GOOD))
add_event(null, "fatness", /datum/mood_event/fat_good)
else if(HAS_TRAIT(L, TRAIT_FAT_BAD))
add_event(null, "fatness", /datum/mood_event/fat_bad)
/datum/component/mood/proc/HandleNutrition(mob/living/L)
switch(L.nutrition)
+6 -2
View File
@@ -1,6 +1,10 @@
//nutrition
/datum/mood_event/fat
description = "<span class='warning'><B>I'm so fat...</B></span>\n" //yay for fats!
/datum/mood_event/fat_bad
description = "<span class='warning'><B>I'm so fat...</B></span>\n"
mood_change = -4
/datum/mood_event/fat_good
description = "<span class='nicegreen'><B>I'm so fat!</B></span>\n"
mood_change = 4
/datum/mood_event/wellfed
+16
View File
@@ -207,3 +207,19 @@
if(H)
var/datum/species/species = H.dna.species
species.disliked_food = initial(species.disliked_food)
/datum/quirk/fatness_liker
name = "Fat Affinity"
desc = "You like being fat, alot, maybe even a little bit too much. Being fat gives you a bigger mood boost."
mob_trait = TRAIT_FAT_GOOD
value = 0
category = CATEGORY_MOODS
medical_record_text = "Patient seems overly content with gaining weight."
/datum/quirk/fatness_hater
name = "Fat Aversion"
desc = "You dislike being fat. Being fat brings your mood down, alot."
mob_trait = TRAIT_FAT_BAD
value = 0
category = CATEGORY_MOODS
medical_record_text = "Patient seems distressed by gaining weight."