mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-28 15:47:15 +01:00
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 🆑 Melbert spellcheck: Instances of "god" in moodlet descriptions are replaced with the Chaplain's deity for the Chaplain (and their followers) /🆑 --------- Co-authored-by: Tim <timothymtorres@gmail.com>
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user