More Quality Scaling

by sh4dow

Extends quality scaling to locomotives, wagons, storage tanks, rocket silos, roboports and more.

Content
a month ago
2.0
4.49K
Transportation Logistics Trains Fluids Logistic network Storage

g Acceleration / Power Units

a month ago
(updated a month ago)

Hello,

I was browsing through the GitHub repository and noticed you're using Joules when computing the max_power upgrade for locomotives (https://github.com/shadoxxhd/more-quality-scaling/blob/master/data-final-fixes.lua#L235).

Why not use kW? Those appear to be the default units: https://github.com/wube/factorio-data/blob/master/base/prototypes/entity/trains.lua#L505

a month ago

Simply because that's the unit that is used by util.parse_energy. I think just multiplying it by 60 would get the correct value in kW (IIRC Joules is interpreted as "Joules per frame"), but just using Joules works well enough.

30 days ago

Interesting. Thanks!

New response