Files
Bubberstation/code/game/objects/structures
vuonojenmustaturska 5e1f57de77 Speeds up area power usage handling, and apc process(). Cleans up related code (#51002)
About The Pull Request

/area/proc/usage() attempts to give list-like access to a bunch of vars. Why not make it a list instead and avoid all the proc calls? Might be room for followup here, to do something to powered(), use_power() etc.

Some legacy machinery was ignoring the default machinery use_power pulling from the machine's power channel by default

Total power usage was unused, APCs ignored it in favor of calculating it themselves :)

I also renamed the defines because they were in the danger zone of being very common words.
Changelog

cl Naksu
code: optimized area power usage calculations.
/cl
2020-05-11 11:33:56 +12:00
..
2020-04-28 12:48:20 +12:00
2020-01-22 10:18:05 -05:00
2020-01-22 10:18:05 -05:00
2020-02-17 23:09:09 -05:00
2020-05-05 17:18:28 -07:00
2020-02-17 21:41:52 +13:00
2020-03-12 15:32:33 -04:00
2020-02-17 15:03:16 +01:00
2020-02-17 23:09:09 -05:00
2020-04-24 09:46:22 -03:00
2020-04-19 19:36:35 +03:00
2020-03-25 02:21:00 +08:00