fat mood
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
/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
|
||||
@@ -169,6 +169,7 @@
|
||||
setSanity(sanity+0.4, maximum=SANITY_AMAZING)
|
||||
|
||||
HandleNutrition(owner)
|
||||
HandleFatness(owner) //GS13 EDIT
|
||||
|
||||
/datum/component/mood/proc/setSanity(amount, minimum=SANITY_INSANE, maximum=SANITY_NEUTRAL)//I'm sure bunging this in here will have no negative repercussions.
|
||||
var/mob/living/master = parent
|
||||
@@ -315,6 +316,19 @@
|
||||
/datum/component/mood/proc/hud_click(datum/source, location, control, params, mob/user)
|
||||
print_mood(user)
|
||||
|
||||
//GS13 EDIT START
|
||||
/datum/component/mood/proc/HandleFatness(mob/living/carbon/L) // GS13
|
||||
if(!L)
|
||||
return FALSE
|
||||
|
||||
switch(L.fatness)
|
||||
if(FATNESS_LEVEL_FAT to INFINITY)
|
||||
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)
|
||||
|
||||
//GS13 EDIT END
|
||||
|
||||
/datum/component/mood/proc/HandleNutrition(mob/living/L)
|
||||
if(isethereal(L))
|
||||
|
||||
@@ -3924,6 +3924,7 @@
|
||||
#include "GainStation13\code\datums\diseases\advance\presets.dm"
|
||||
#include "GainStation13\code\datums\diseases\advance\symptoms\berry.dm"
|
||||
#include "GainStation13\code\datums\diseases\advance\symptoms\weight_gain.dm"
|
||||
#include "GainStation13\code\datums\mood_events\needs_events.dm"
|
||||
#include "GainStation13\code\datums\mutations\fatfang.dm"
|
||||
#include "GainStation13\code\datums\mutations\radfat.dm"
|
||||
#include "GainStation13\code\datums\status_effects\fatstun.dm"
|
||||
|
||||
Reference in New Issue
Block a user