From a584985eec7b220a2f42304c9f1e3858ff87336a Mon Sep 17 00:00:00 2001 From: Sniblet <36427443+Sniblet@users.noreply.github.com> Date: Sun, 24 Mar 2024 10:04:45 -0400 Subject: [PATCH] pAIs cannot receive Hivenet (#18711) * the pr * Geevies * Update code/modules/mob/language/station.dm Co-authored-by: SleepyGemmy <99297919+SleepyGemmy@users.noreply.github.com> Signed-off-by: Sniblet <36427443+Sniblet@users.noreply.github.com> * Update code/modules/mob/living/silicon/silicon.dm lookin weird Co-authored-by: SleepyGemmy <99297919+SleepyGemmy@users.noreply.github.com> Signed-off-by: Sniblet <36427443+Sniblet@users.noreply.github.com> --------- Signed-off-by: Sniblet <36427443+Sniblet@users.noreply.github.com> Co-authored-by: SleepyGemmy <99297919+SleepyGemmy@users.noreply.github.com> --- code/modules/mob/language/station.dm | 4 +++- code/modules/mob/living/silicon/pai/pai.dm | 1 + code/modules/mob/living/silicon/silicon.dm | 2 ++ html/changelogs/sniblet-liidras-greatest-enemy.yml | 13 +++++++++++++ 4 files changed, 19 insertions(+), 1 deletion(-) create mode 100644 html/changelogs/sniblet-liidras-greatest-enemy.yml diff --git a/code/modules/mob/language/station.dm b/code/modules/mob/language/station.dm index eaaea1de122..1aa8d03d845 100644 --- a/code/modules/mob/language/station.dm +++ b/code/modules/mob/language/station.dm @@ -289,7 +289,9 @@ /datum/language/bug/check_special_condition(var/mob/other) if(istype(other, /mob/living/silicon)) - return 1 + var/mob/living/silicon/S = other + if(S.can_hear_hivenet) + return TRUE var/mob/living/carbon/human/M = other if(!istype(M)) diff --git a/code/modules/mob/living/silicon/pai/pai.dm b/code/modules/mob/living/silicon/pai/pai.dm index 5b0e7230c0f..3af90945960 100644 --- a/code/modules/mob/living/silicon/pai/pai.dm +++ b/code/modules/mob/living/silicon/pai/pai.dm @@ -9,6 +9,7 @@ density = 0 mob_size = 1//As a holographic projection, a pAI is massless except for its card device can_pull_size = 2 //max size for an object the pAI can pull + can_hear_hivenet = FALSE //Unlike most silicons, this is a consumer product with minimal lawbinding, and isn't trusted with Hivenet logs var/network = "SS13" var/obj/machinery/camera/current = null diff --git a/code/modules/mob/living/silicon/silicon.dm b/code/modules/mob/living/silicon/silicon.dm index 55781588b0b..400a4551893 100644 --- a/code/modules/mob/living/silicon/silicon.dm +++ b/code/modules/mob/living/silicon/silicon.dm @@ -49,6 +49,8 @@ ACCENT_SILVERSUN_EXPATRIATE, ACCENT_KONYAN, ACCENT_EARTH, ACCENT_PERSEPOLIS, ACCENT_MEDINA, ACCENT_AEMAQ, ACCENT_NEWSUEZ, ACCENT_DAMASCUS, ACCENT_ERIDANI, ACCENT_PHONG, ACCENT_VISEGRAD, ACCENT_HIMEO, ACCENT_PLUTO, ACCENT_XANU) + var/can_hear_hivenet = TRUE + // Misc uv_intensity = 175 //Lights cast by robots have reduced effect on diona mob_thinks = FALSE diff --git a/html/changelogs/sniblet-liidras-greatest-enemy.yml b/html/changelogs/sniblet-liidras-greatest-enemy.yml new file mode 100644 index 00000000000..be5e3f6159f --- /dev/null +++ b/html/changelogs/sniblet-liidras-greatest-enemy.yml @@ -0,0 +1,13 @@ +# Your name. +author: Sniblet + +# Optional: Remove this file after generating master changelog. Useful for PR changelogs that won't get used again. +delete-after: True + +# Any changes you've made. See valid prefix list above. +# INDENT WITH TWO SPACES. NOT TABS. SPACES. +# SCREW THIS UP AND IT WON'T WORK. +# Also, all entries are changed into a single [] after a master changelog generation. Just remove the brackets when you add new entries. +# Please surround your changes in double quotes ("), as certain characters otherwise screws up compiling. The quotes will not show up in the changelog. +changes: + - bugfix: "pAIs no longer receive Hivenet."