Baystation12/Baystation12 — pull request #4545 by Ccomp5950 (2014-03-08 10:18:23+00:00)
Title: Effeciency Project: APC / Machinery power usage.

We no longer run auto_use_power() on every machine every tick.
We now have a global list of areas, and areas that have an APC in them (all_areas and active_areas) no more looping through world bullshit.
A bunch of snowflakey as fuck machines won't use_power() in their process, you get two options, active and idle, use them!
This means a lot of machines won't double dip on power as well so power usage for the station has dropped about 20%

Because everything is snowflakey as fuck we're going to have some machines that don't force an update on their power usage. Fuck them.
We should catch them with the root obj/machine/proc's forcing updates.

I've nerfed the charge rate of cells to be half what it is now. This might need reverting but I did it because when the server initially starts up after 10 ticks ALL the APC go "YAY POWER" and try and drain the SMESes with a higher charge rate to try and charge their cells, they overpower the SMES and they all reset back to not charging, repeat this every 10 cycles.