Thirst, mood buff for qunching, No longer spawn thirsty, no longer suicidal if starving and dehydrated alone.

This commit is contained in:
QuoteFox
2021-02-22 19:12:01 +00:00
parent b1dbf03769
commit 506f6b19be
3 changed files with 12 additions and 6 deletions
+3 -1
View File
@@ -307,7 +307,9 @@
/datum/component/mood/proc/HandleThirst(mob/living/L)
switch(L.thirst)
if(NUTRITION_LEVEL_HUNGRY to INFINITY)
if(NUTRITION_LEVEL_WELL_FED to INFINITY)
add_event(null, "thirst", /datum/mood_event/quenched)
if(NUTRITION_LEVEL_HUNGRY to NUTRITION_LEVEL_WELL_FED)
clear_event(null, "thirst")
if(NUTRITION_LEVEL_STARVING to NUTRITION_LEVEL_HUNGRY)
add_event(null, "thirst", /datum/mood_event/thirsty)
+8 -4
View File
@@ -7,25 +7,29 @@
description = "<span class='nicegreen'>I'm stuffed!</span>\n"
mood_change = 6
/datum/mood_event/quenched
description = "<span class='nicegreen'>I'm quenched!</span>\n"
mood_change = 6
/datum/mood_event/fed
description = "<span class='nicegreen'>I have recently had some food.</span>\n"
mood_change = 3
/datum/mood_event/hungry
description = "<span class='warning'>I'm getting a bit hungry.</span>\n"
mood_change = -8
mood_change = -5
/datum/mood_event/starving
description = "<span class='boldwarning'>I'm starving!</span>\n"
mood_change = -15
mood_change = -10
/datum/mood_event/thirsty
description = "<span class='warning'>I'm getting a bit thirsty.</span>\n"
mood_change = -8
mood_change = -5
/datum/mood_event/dehydrated
description = "<span class='boldwarning'>I'm dehydrated!</span>\n"
mood_change = -15
mood_change = -10
//Disgust
/datum/mood_event/gross
+1 -1
View File
@@ -57,7 +57,7 @@
var/dizziness = 0//Carbon
var/jitteriness = 0//Carbon
var/nutrition = NUTRITION_LEVEL_START_MIN // randomised in Initialize
var/thirst = NUTRITION_LEVEL_START_MIN // randomised in Initialize
var/thirst = 300
var/satiety = 0//Carbon
var/overeatduration = 0 // How long this guy is overeating //Carbon