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)