mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-30 16:47:13 +01:00
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 🆑 qol: installed upgrades on cameras now show as blue text instead of plain white text on examine. /🆑
This commit is contained in:
@@ -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 <b>plasma</b>.")
|
||||
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 <b>analyzer</b>.")
|
||||
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 <b>proximity sensor</b>.")
|
||||
|
||||
|
||||
@@ -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 <b>plasma</b>.")
|
||||
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 <b>analyzer</b>.")
|
||||
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 <b>proximity sensor</b>.")
|
||||
|
||||
Reference in New Issue
Block a user