From f0f3459d79a32a296e615b603355237d7d46ecb5 Mon Sep 17 00:00:00 2001 From: Wayland-Smithy <64715958+Wayland-Smithy@users.noreply.github.com> Date: Wed, 5 Jun 2024 21:56:27 -0700 Subject: [PATCH] Fix Pre-Loaded Syndicate AI appearing in PDA messenger (#83692) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## About The Pull Request What it says on the tin. I experienced this one personally when a lawyer (ofc) called out my existence mere moments after being activated through no fault of my own 🧂 ## Why It's Good For The Game Fix good. ## Changelog :cl: fix: Pre-Loaded Syndicate Intellicard AI's no longer appear in PDA messenger. /:cl: --- code/game/objects/items/devices/aicard_evil.dm | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/code/game/objects/items/devices/aicard_evil.dm b/code/game/objects/items/devices/aicard_evil.dm index 8aaa9f03111..3e8c56ce940 100644 --- a/code/game/objects/items/devices/aicard_evil.dm +++ b/code/game/objects/items/devices/aicard_evil.dm @@ -62,6 +62,11 @@ // Make it look evil!!! new_ai.hologram_appearance = mutable_appearance('icons/mob/silicon/ai.dmi',"xeno_queen") //good enough new_ai.icon_state = resolve_ai_icon("hades") + // Hide PDA from messenger + var/datum/computer_file/program/messenger/msg = locate() in new_ai.modularInterface.stored_files + if(msg) + msg.invisible = TRUE + // Transfer the AI from the core we created into the card, then delete the core capture_ai(new_ai, user) var/obj/structure/ai_core/deactivated/detritus = locate() in get_turf(src)