From fc57d9fc6179c86196132771ce80d1543e4ac017 Mon Sep 17 00:00:00 2001 From: Henri215 <77684085+Henri215@users.noreply.github.com> Date: Tue, 15 Nov 2022 16:44:46 -0300 Subject: [PATCH] Another buff to radio jammers (#19696) * jammer buff part 2 * 75 --> 70 --- code/game/objects/items/devices/radio/radio.dm | 4 ++-- code/modules/mob/mob_helpers.dm | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/code/game/objects/items/devices/radio/radio.dm b/code/game/objects/items/devices/radio/radio.dm index 3e1c1aa47b9..07c743084f1 100644 --- a/code/game/objects/items/devices/radio/radio.dm +++ b/code/game/objects/items/devices/radio/radio.dm @@ -387,8 +387,8 @@ GLOBAL_LIST_INIT(default_medbay_channels, list( var/jobname // the mob's "job" var/rankname // the formatting to be used for the mob's job - if(jammed) - Gibberish_all(message_pieces, 100) + if(jammed && !syndiekey) + Gibberish_all(message_pieces, 100, 70) // --- Human: use their actual job --- if(ishuman(M)) diff --git a/code/modules/mob/mob_helpers.dm b/code/modules/mob/mob_helpers.dm index 51f53a39b12..02677741abb 100644 --- a/code/modules/mob/mob_helpers.dm +++ b/code/modules/mob/mob_helpers.dm @@ -344,9 +344,9 @@ return returntext -/proc/Gibberish_all(list/message_pieces, p) +/proc/Gibberish_all(list/message_pieces, p, replace_rate) for(var/datum/multilingual_say_piece/S in message_pieces) - S.message = Gibberish(S.message, p) + S.message = Gibberish(S.message, p, replace_rate) /proc/muffledspeech(phrase)