New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cargo gauge - EconTrade.lua #2648
Comments
and yet here |
I've looked into this (code, and tested its behaviour in game) L81, and L107 are, as you point out, definitley wrong, and should have the form you suggest. L78 is good as it is, since we want to show just this, i.e. how much cargo space is in use vs. how much cargo space is free. I'd suggest you make a pull request fixing L81, and L107. |
On second thoughts, I withdraw my statement about L78. Maybe it should be as it is now |
Closed by #2657. |
https://github.com/pioneerspacesim/pioneer/blob/master/data/ui/InfoView/EconTrade.lua#L81
https://github.com/pioneerspacesim/pioneer/blob/master/data/ui/InfoView/EconTrade.lua#L107
it seems to me that there should be:
player.usedCargo/(player.freeCapacity+player.usedCargo)
% calculated for total space for cargoThe text was updated successfully, but these errors were encountered: