[MIRROR] Doubles cog power generation, and allows them to generate power at half efficiency in uncharged APCs (#5292)

* Doubles cog power generation, and allows them to generate power at half efficiency in uncharged APCs

* Update integration_cog.dm
This commit is contained in:
CitadelStationBot
2018-02-05 03:28:24 -06:00
committed by Poojawa
parent d4c270fe4a
commit 6db855ad4c

View File

@@ -30,6 +30,8 @@
var/obj/item/stock_parts/cell/cell = apc.cell
if(cell && (cell.charge / cell.maxcharge > COG_MAX_SIPHON_THRESHOLD))
cell.use(1)
adjust_clockwork_power( ) //Power is shared, so only do it once; this runs very quickly so it's about 5 W/second
adjust_clockwork_power(2) //Power is shared, so only do it once; this runs very quickly so it's about 10 W/second
else
adjust_clockwork_power(1) //Continue generating power when the cell has run dry; 5 W/second
#undef COG_MAX_SIPHON_THRESHOLD
#undef COG_MAX_SIPHON_THRESHOLD