mirror of
https://github.com/KabKebab/GS13.git
synced 2026-07-19 03:50:32 +01:00
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:
@@ -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)
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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."
|
||||
|
||||
Reference in New Issue
Block a user