Being happy no longer makes you obese. (#36565)
* D O U B L E N E G A T I V E * jesus
This commit is contained in:
committed by
CitadelStationBot
parent
b4a7def5ca
commit
79911d330a
@@ -127,7 +127,7 @@
|
||||
if(SANITY_UNSTABLE to SANITY_DISTURBED)
|
||||
owner.overlay_fullscreen("depression", /obj/screen/fullscreen/depression, 1)
|
||||
soundloop.stop()
|
||||
if(SANITY_DISTURBED to SANITY_GREAT)
|
||||
if(SANITY_DISTURBED to INFINITY)
|
||||
owner.clear_fullscreen("depression")
|
||||
soundloop.stop()
|
||||
|
||||
@@ -169,7 +169,7 @@
|
||||
|
||||
/datum/component/mood/proc/IncreaseSanity(amount, limit = 99)
|
||||
if(sanity > limit)
|
||||
DecreaseSanity(-0.5) //Removes some sanity to go back to our current limit.
|
||||
DecreaseSanity(0.5) //Removes some sanity to go back to our current limit.
|
||||
else
|
||||
sanity = min(limit, sanity + amount)
|
||||
|
||||
|
||||
@@ -1107,7 +1107,7 @@ GLOBAL_LIST_EMPTY(roundstart_races)
|
||||
var/hunger_rate = HUNGER_FACTOR
|
||||
GET_COMPONENT_FROM(mood, /datum/component/mood, H)
|
||||
if(mood && mood.sanity > SANITY_DISTURBED)
|
||||
hunger_rate *= min(0.5, 1 - 0.002 * mood.sanity) //0.85 to 0.75
|
||||
hunger_rate *= max(0.5, 1 - 0.002 * mood.sanity) //0.85 to 0.75
|
||||
|
||||
if(H.satiety > 0)
|
||||
H.satiety--
|
||||
|
||||
Reference in New Issue
Block a user