From 39e0923489f340d86e85e49dbe3513613e747f0c Mon Sep 17 00:00:00 2001 From: Acetrea <138949778+Acetrea@users.noreply.github.com> Date: Mon, 4 Mar 2024 02:18:40 -0700 Subject: [PATCH] Stops Uplink Implants From Appearing On Body Scans (#18556) * Stops Uplink Implants From Appearing On Body Scans * Update Acetrea - uplinkhidden.yml --- code/game/machinery/body_scanner.dm | 3 +- html/changelogs/Acetrea - uplinkhidden.yml | 41 ++++++++++++++++++++++ 2 files changed, 43 insertions(+), 1 deletion(-) create mode 100644 html/changelogs/Acetrea - uplinkhidden.yml diff --git a/code/game/machinery/body_scanner.dm b/code/game/machinery/body_scanner.dm index 101c6d3d0d8..6d565dc649b 100644 --- a/code/game/machinery/body_scanner.dm +++ b/code/game/machinery/body_scanner.dm @@ -566,7 +566,8 @@ else if(istype(I, /obj/effect/spider)) organic += I else - unk += 1 + if(!istype(I, /obj/item/implant/uplink)) + unk += 1 if (unk) wounds += "unknown objects present" var/friends = length(organic) diff --git a/html/changelogs/Acetrea - uplinkhidden.yml b/html/changelogs/Acetrea - uplinkhidden.yml new file mode 100644 index 00000000000..4c55d1d4229 --- /dev/null +++ b/html/changelogs/Acetrea - uplinkhidden.yml @@ -0,0 +1,41 @@ +################################ +# Example Changelog File +# +# Note: This file, and files beginning with ".", and files that don't end in ".yml" will not be read. If you change this file, you will look really dumb. +# +# Your changelog will be merged with a master changelog. (New stuff added only, and only on the date entry for the day it was merged.) +# When it is, any changes listed below will disappear. +# +# Valid Prefixes: +# bugfix +# wip (For works in progress) +# tweak +# soundadd +# sounddel +# rscadd (general adding of nice things) +# rscdel (general deleting of nice things) +# imageadd +# imagedel +# maptweak +# spellcheck (typo fixes) +# experiment +# balance +# admin +# backend +# security +# refactor +################################# + +# Your name. +author: Acetrea + +# 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: + - tweak: "Tweaked Uplink Implants to not show up on Body Scanners."