From 9f08c80cfd5aa68ea7c06e052c6c930832ddd895 Mon Sep 17 00:00:00 2001
From: Helg2 <93882977+Helg2@users.noreply.github.com>
Date: Wed, 12 Apr 2023 00:47:26 +0300
Subject: [PATCH] Makes installed upgrades notices on cameras show as
span_info. (#74632)
## About The Pull Request


## Why It's Good For The Game
It looks better this way. Supposedly.
## Changelog
:cl:
qol: installed upgrades on cameras now show as blue text instead of
plain white text on examine.
/:cl:
---
code/game/machinery/camera/camera.dm | 6 +++---
code/game/machinery/camera/camera_assembly.dm | 6 +++---
2 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/code/game/machinery/camera/camera.dm b/code/game/machinery/camera/camera.dm
index 08a44f30d84..b0bdc088371 100644
--- a/code/game/machinery/camera/camera.dm
+++ b/code/game/machinery/camera/camera.dm
@@ -141,15 +141,15 @@ MAPPING_DIRECTIONAL_HELPERS(/obj/machinery/camera/xray, 0)
/obj/machinery/camera/examine(mob/user)
. = ..()
if(isEmpProof(TRUE)) //don't reveal it's upgraded if was done via MALF AI Upgrade Camera Network ability
- . += "It has electromagnetic interference shielding installed."
+ . += span_info("It has electromagnetic interference shielding installed.")
else
. += span_info("It can be shielded against electromagnetic interference with some plasma.")
if(isXRay(TRUE)) //don't reveal it's upgraded if was done via MALF AI Upgrade Camera Network ability
- . += "It has an X-ray photodiode installed."
+ . += span_info("It has an X-ray photodiode installed.")
else
. += span_info("It can be upgraded with an X-ray photodiode with an analyzer.")
if(isMotion())
- . += "It has a proximity sensor installed."
+ . += span_info("It has a proximity sensor installed.")
else
. += span_info("It can be upgraded with a proximity sensor.")
diff --git a/code/game/machinery/camera/camera_assembly.dm b/code/game/machinery/camera/camera_assembly.dm
index 15baccbcf9c..dcc71005d67 100644
--- a/code/game/machinery/camera/camera_assembly.dm
+++ b/code/game/machinery/camera/camera_assembly.dm
@@ -35,17 +35,17 @@
//upgrade messages
var/has_upgrades
if(emp_module)
- . += "It has electromagnetic interference shielding installed."
+ . += span_info("It has electromagnetic interference shielding installed.")
has_upgrades = TRUE
else if(state == STATE_WIRED)
. += span_info("It can be shielded against electromagnetic interference with some plasma.")
if(xray_module)
- . += "It has an X-ray photodiode installed."
+ . += span_info("It has an X-ray photodiode installed.")
has_upgrades = TRUE
else if(state == STATE_WIRED)
. += span_info("It can be upgraded with an X-ray photodiode with an analyzer.")
if(proxy_module)
- . += "It has a proximity sensor installed."
+ . += span_info("It has a proximity sensor installed.")
has_upgrades = TRUE
else if(state == STATE_WIRED)
. += span_info("It can be upgraded with a proximity sensor.")