mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-27 23:27:34 +01:00
Makes Godwoken Syndrome VoG commands ignore spam filter (#76146)
## About The Pull Request they're basically forced speech and should not account for the spam filter ## Why It's Good For The Game fixes #55392 ## Changelog 🆑 fix: fixed Godwoken Syndrome VoG commands triggering the spam filter /🆑
This commit is contained in:
@@ -45,7 +45,7 @@
|
||||
message = pick_list_replacements(BRAIN_DAMAGE_FILE, "god_neutral")
|
||||
|
||||
playsound(get_turf(owner), 'sound/magic/clockwork/invoke_general.ogg', 200, TRUE, 5)
|
||||
voice_of_god(message, owner, list("colossus","yell"), 2.5, include_owner, name)
|
||||
voice_of_god(message, owner, list("colossus","yell"), 2.5, include_owner, name, TRUE)
|
||||
|
||||
/datum/brain_trauma/special/bluespace_prophet
|
||||
name = "Bluespace Prophecy"
|
||||
|
||||
@@ -26,13 +26,13 @@ GLOBAL_LIST_INIT(voice_of_god_commands, init_voice_of_god_commands())
|
||||
* The first matching command (from a list of static datums) the listeners must obey,
|
||||
* and the return value of this proc the cooldown variable of the command dictates. (only relevant for things with cooldowns i guess)
|
||||
*/
|
||||
/proc/voice_of_god(message, mob/living/user, list/span_list, base_multiplier = 1, include_speaker = FALSE, forced = null)
|
||||
/proc/voice_of_god(message, mob/living/user, list/span_list, base_multiplier = 1, include_speaker = FALSE, forced = null, ignore_spam = FALSE)
|
||||
var/log_message = uppertext(message)
|
||||
var/is_cultie = IS_CULTIST(user)
|
||||
if(LAZYLEN(span_list) && is_cultie)
|
||||
span_list = list("narsiesmall")
|
||||
|
||||
if(!user.say(message, spans = span_list, sanitize = FALSE))
|
||||
if(!user.say(message, spans = span_list, sanitize = FALSE, ignore_spam = ignore_spam, forced = forced))
|
||||
return
|
||||
|
||||
message = lowertext(message)
|
||||
|
||||
Reference in New Issue
Block a user