From fc5f31da784f76fb06f532ca95e1f79b331c2d20 Mon Sep 17 00:00:00 2001 From: LordME <58342752+TheLordME@users.noreply.github.com> Date: Thu, 25 Jan 2024 06:32:00 +0100 Subject: [PATCH] =?UTF-8?q?Adds=20examin=20texts=20for=20previously=20hidd?= =?UTF-8?q?en=20features,=20as=20well=20as=20power=20pr=E2=80=A6=20(#6286)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit …oduction ## About The Pull Request ## Why It's Good For The Game Gives robots the information they need to know that they can setup geothermal power as well. ## Changelog :cl: tweak: tweaked the examine text for geothermal power /:cl: --- code/modules/power/geothermal_power.dm | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/code/modules/power/geothermal_power.dm b/code/modules/power/geothermal_power.dm index b406a5b5fa6..e8ffede55e3 100644 --- a/code/modules/power/geothermal_power.dm +++ b/code/modules/power/geothermal_power.dm @@ -23,6 +23,14 @@ var/active_for = -1 var/power_total = 0 +/obj/machinery/power/geothermal_controller/examine(mob/user, dist) + . = ..() + if(isrobot(user) && !scanner) + . += "You can connect the controller to your internal scanning array, and allow it to temporary connect to the collectors, [src] would generate power for approximately 30 Minutes." + if(scanner) + . += "With [scanner] installed, [src] is providing [power_total/power_factor] Kilowatts." + + /obj/machinery/power/geothermal_controller/can_drain_energy(datum/actor, flags) return FALSE