From 0d3f1039bb9ab51f12a8e059d726f797ec767294 Mon Sep 17 00:00:00 2001 From: QuoteFox <49098813+quotefox@users.noreply.github.com> Date: Sun, 25 Apr 2021 12:56:16 +0100 Subject: [PATCH] Mood warnings --- code/datums/components/mood.dm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/code/datums/components/mood.dm b/code/datums/components/mood.dm index 54fe390c..18fa9b1b 100644 --- a/code/datums/components/mood.dm +++ b/code/datums/components/mood.dm @@ -216,6 +216,8 @@ insanity_effect = newval /datum/component/mood/proc/DecreaseSanity(datum/source, amount, minimum = SANITY_INSANE) + var/mob/living/owner = parent + to_chat(owner, "Your mood decreases.") if(sanity < minimum) //This might make KevinZ stop fucking pinging me. IncreaseSanity(src, 0.5) else @@ -229,6 +231,7 @@ /datum/component/mood/proc/IncreaseSanity(datum/source, amount, maximum = SANITY_NEUTRAL) // Disturbed stops you from getting any more sane - I'm just gonna bung this in here var/mob/living/owner = parent + to_chat(owner, "Your mood increases.") if(HAS_TRAIT(owner, TRAIT_UNSTABLE)) return if(sanity > maximum)