From 6af11c7622da7b1d6abac5d49050b6455e8b482a Mon Sep 17 00:00:00 2001 From: Unknown Date: Thu, 11 Apr 2019 11:31:05 -0400 Subject: [PATCH] SMESs no longer turn off when out of power Basically, this stops an SMES unit from setting output to zero when it runs out of power, allowing an SMES unit to still output power so long as it is getting input. Especially useful for Solars. Ported from Baystation PR #11973 --- code/modules/power/smes.dm | 5 ----- 1 file changed, 5 deletions(-) diff --git a/code/modules/power/smes.dm b/code/modules/power/smes.dm index ad76cb061f..8628315601 100644 --- a/code/modules/power/smes.dm +++ b/code/modules/power/smes.dm @@ -144,11 +144,6 @@ charge -= output_used*SMESRATE // reduce the storage (may be recovered in /restore() if excessive) add_avail(output_used) // add output to powernet (smes side) - - if(output_used < 0.0001) // either from no charge or set to 0 - outputting(0) - investigate_log("lost power and turned off","singulo") - log_game("SMES([x],[y],[z]) Power depleted.") else if(output_attempt && output_level > 0) outputting = 1 else