From 2cb9ef65ca81c1ad676bc5b21033d7e2f0e5f587 Mon Sep 17 00:00:00 2001 From: SkyratBot <59378654+SkyratBot@users.noreply.github.com> Date: Tue, 30 Apr 2024 19:14:48 +0200 Subject: [PATCH] [MIRROR] Adds a notice to PDAs that their batteries can be removed (#27535) * Adds a notice to PDAs that their batteries can be removed (#82937) ## About The Pull Request This adds a span notice on examine to PDAs containing a power cell that the cell can be removed by right clicking Discussed this morning in coder general: * Lots of functions have been moved to PDAs, but their batteries deplete obnoxiously quickly * Dedicated PDA chargers are not wanted per Mothblocks, and would be map clutter * Existing rechargers cannot be made more available because they recharge guns, but are the only 'obvious' way to recharge PDAs. * PDA batteries can actually be removed and externally recharged - but there is nothing in game telling players this. * There is also nothing on the wiki telling players this. * Left click w/ screwdriver = nothing, but right click removes cell is completely non-intuitive and inconsistent with all other tool use. ## Why It's Good For The Game Actually telling players about an interaction is good and the description of this PR is already longer than the code change. ## Changelog :cl: fix: On examine PDAs will now inform players that the power cell can be removed for recharging or replacement, and how to do so. /:cl: * Adds a notice to PDAs that their batteries can be removed --------- Co-authored-by: Vire <66576896+Maurukas@users.noreply.github.com> --- code/modules/modular_computers/computers/item/computer.dm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/code/modules/modular_computers/computers/item/computer.dm b/code/modules/modular_computers/computers/item/computer.dm index c7369724ee4..54d6abe51cc 100644 --- a/code/modules/modular_computers/computers/item/computer.dm +++ b/code/modules/modular_computers/computers/item/computer.dm @@ -397,6 +397,9 @@ . += "Its identification card slot is currently occupied." . += span_info("Alt-click [src] to eject the identification card.") + if(internal_cell) + . += span_info("Right-click it with a screwdriver to eject the [internal_cell]") + /obj/item/modular_computer/examine_more(mob/user) . = ..() . += "Storage capacity: [used_capacity]/[max_capacity]GQ"