Reactor component sorting
Posted: Fri Aug 06, 2021 5:36 pm
So, as a minor quality of life thing, I made myself this:
Sorting by reactors was easy. I even took the opportunity to give them a nice light cyan color instead of boring white.
Adding the Orthin busbar power converter to the mix (since it serves as a power plant, and there's the precedent of bulkheads and blast doors being listed as armor) was a problem, though. The way the code looked like, it seemed to me that the way to do that was to split the power converter away from the "capacitor" type, and then manually add it to the various lists where it needs to be added.
Changes:
I think I'll tinker with this a little bit more, with some other sorting functions to reduce the need to scroll through a large list of stuff. Maybe separate weapon categories by size (there's already one for point defense after all) or by type (beams, missiles, etc.). A docking category for boarding module, shuttles, transporter, and marine quarters. A "misc systems" for all the one-of-a-kind components like deep space scanner, science stations, warp lane amplifier, distortion generator...
Sorting by reactors was easy. I even took the opportunity to give them a nice light cyan color instead of boring white.
Adding the Orthin busbar power converter to the mix (since it serves as a power plant, and there's the precedent of bulkheads and blast doors being listed as armor) was a problem, though. The way the code looked like, it seemed to me that the way to do that was to split the power converter away from the "capacitor" type, and then manually add it to the various lists where it needs to be added.
Changes:
Spoiler: show
I think I'll tinker with this a little bit more, with some other sorting functions to reduce the need to scroll through a large list of stuff. Maybe separate weapon categories by size (there's already one for point defense after all) or by type (beams, missiles, etc.). A docking category for boarding module, shuttles, transporter, and marine quarters. A "misc systems" for all the one-of-a-kind components like deep space scanner, science stations, warp lane amplifier, distortion generator...