enjoy being fat with quirks!

This commit is contained in:
DragonTrance
2021-02-23 13:46:07 -07:00
parent 700b22988f
commit 15094b8b12
4 changed files with 24 additions and 3 deletions
+2 -1
View File
@@ -293,7 +293,8 @@
/datum/component/mood/proc/HandleNutrition(mob/living/L)
switch(L.nutrition)
if(NUTRITION_LEVEL_FULL to INFINITY)
add_event(null, "nutrition", /datum/mood_event/fat)
if(!L.has_quirk(/datum/quirk/fat_enjoyer))
add_event(null, "nutrition", /datum/mood_event/fat)
if(NUTRITION_LEVEL_WELL_FED to NUTRITION_LEVEL_FULL)
add_event(null, "nutrition", /datum/mood_event/wellfed)
if( NUTRITION_LEVEL_FED to NUTRITION_LEVEL_WELL_FED)
+4 -2
View File
@@ -109,14 +109,16 @@ All foods are distributed among various categories. Use common sense.
user.visible_message("<span class='notice'>[user] takes a [eatverb] from \the [src].</span>", "<span class='notice'>You take a [eatverb] from \the [src].</span>")
else if(fullness > 500 && fullness < 600)
user.visible_message("<span class='notice'>[user] unwillingly takes a [eatverb] of a bit of \the [src].</span>", "<span class='warning'>You unwillingly take a [eatverb] of a bit of \the [src].</span>")
else if(fullness > (600 * (1 + M.overeatduration / 2000))) // The more you eat - the more you can eat
else if(fullness > (600 * (1 + M.overeatduration / 2000))\
|| (M.has_quirk(/datum/quirk/fat_enjoyer) && fullness < 780 * (1 + M.overeatduration / 2000))) // The more you eat - the more you can eat
user.visible_message("<span class='warning'>[user] cannot force any more of \the [src] to go down [user.p_their()] throat!</span>", "<span class='danger'>You cannot force any more of \the [src] to go down your throat!</span>")
return 0
if(HAS_TRAIT(M, TRAIT_VORACIOUS))
M.changeNext_move(CLICK_CD_MELEE * 0.5) //nom nom nom
else
if(!isbrain(M)) //If you're feeding it to someone else.
if(fullness <= (600 * (1 + M.overeatduration / 1000)))
if(fullness <= (600 * (1 + M.overeatduration / 1000))\
|| (M.has_quirk(/datum/quirk/fat_enjoyer) && fullness <= 780 * (1 + M.overeatduration / 1000)))
M.visible_message("<span class='danger'>[user] attempts to feed [M] [src].</span>", \
"<span class='userdanger'>[user] attempts to feed [M] [src].</span>")
else
+7
View File
@@ -57,3 +57,10 @@
/datum/quirk/xenospeaker/remove()
if(quirk_holder)
quirk_holder.remove_language(/datum/language/ratvar)
/datum/quirk/fat_enjoyer
name = "Fat Enjoyer"
desc = "You don't particularly mind being fat compared to some people, and have grown used to feeling a bit plump."
value = 1
gain_text = "<span class='notice'>You enjoy fat more than some people.</span>"
lose_text = "<span class='notice'>Your views towards being overweight has changed.</span>"
@@ -34,3 +34,14 @@
mob_trait = TRAIT_HEAT
gain_text = "<span class='notice'>You body burns with the desire to be bred.</span>"
lose_text = "<span class='notice'>You feel more in control of your body and thoughts.</span>"
/datum/quirk/overweight
name = "Overweight"
desc = "You're particularly fond of food, and join the round being overweight."
value = 0
gain_text = "<span class='notice'>You feel a bit chubby!</span>"
//no lose_text cause why would there be?
/datum/quirk/overweight/on_spawn()
var/mob/living/M = quirk_holder
M.nutrition = rand(NUTRITION_LEVEL_FAT + NUTRITION_LEVEL_START_MIN, NUTRITION_LEVEL_FAT + NUTRITION_LEVEL_START_MAX)