From 7c124de2bcbbbe3856155af703694ccd35987373 Mon Sep 17 00:00:00 2001 From: MrMelbert <51863163+MrMelbert@users.noreply.github.com> Date: Sun, 21 Jun 2026 10:18:38 -0500 Subject: [PATCH] Instances of "god" in moodlet descriptions are replaced with the Chaplain's diety for the Chaplain (and their followers) (#96530) ## About The Pull Request Moodlet descriptions that mention god (as in "Oh god") are modifier for the Chaplain (and their followers), replacing "god" with their deity. ## Why It's Good For The Game So you get "Oh Space Jesus that's gross" instead of "Oh god that's gross". For maximum immersion. ## Changelog :cl: Melbert spellcheck: Instances of "god" in moodlet descriptions are replaced with the Chaplain's deity for the Chaplain (and their followers) /:cl: --------- Co-authored-by: Tim --- code/datums/mood_events/_mood_event.dm | 3 +++ code/datums/mood_events/generic_positive_events.dm | 4 ++++ 2 files changed, 7 insertions(+) diff --git a/code/datums/mood_events/_mood_event.dm b/code/datums/mood_events/_mood_event.dm index 16575364867..31b76fae655 100644 --- a/code/datums/mood_events/_mood_event.dm +++ b/code/datums/mood_events/_mood_event.dm @@ -97,6 +97,9 @@ mood_change *= 0.75 add_effects(arglist(mood_args)) + if(who.mind?.holy_role && GLOB.deity) + var/static/regex/god_regex = regex(@"\bgods?\b", "ig") + description = god_regex.Replace(description, "[GLOB.deity]$2") mood_change = floor(mood_change) diff --git a/code/datums/mood_events/generic_positive_events.dm b/code/datums/mood_events/generic_positive_events.dm index 7364493f853..6c16aed83b9 100644 --- a/code/datums/mood_events/generic_positive_events.dm +++ b/code/datums/mood_events/generic_positive_events.dm @@ -303,6 +303,10 @@ timeout = 3 MINUTES event_flags = MOOD_EVENT_SPIRITUAL +/datum/mood_event/sacrifice_good/add_effects(...) + if(owner.mind?.holy_role && GLOB.deity) + description = "[GLOB.deity] is pleased with this offering!" + /datum/mood_event/artok description = "It's nice to see people are making art around here." mood_change = 2