Skip to content
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

It is impossible to specify capacity in purchase window for ARV correctly #6198

Closed
DorpsGek opened this issue Dec 31, 2014 · 4 comments
Closed
Labels
flyspray This issue is imported from FlySpray (https://bugs.openttd.org/)

Comments

@DorpsGek
Copy link
Member

George opened the ticket and wrote:

R27100

Problem occures in purchase menu only, already build ARVs have correct capacity.

When I specify the ARV that consist of at least two parts with the specified ID, I get the problem to specify capacity, that can not be divided to the amount of the parts.
For example, the ARV consists of two parts with the same ID
I need the capacity ARV capacity 333.
If I cpecify "purchase_cargo_capacity: return 333;" I get 666, If I specify "purchase_cargo_capacity: return 333/2;" I get 332.
If I use cargo_capacity CB, I can't use position_in_articulated_veh, so if it returns 333 I get 666, if it returns 333/2 I get 332.

What to do?

Reported version: trunk
Operating system: All


This issue was imported from FlySpray: https://bugs.openttd.org/task/6198
@DorpsGek
Copy link
Member Author

George wrote:

Without position_in_articulated_veh it cant return 333 for first part and 0 for the second part


This comment was imported from FlySpray: https://bugs.openttd.org/task/6198#comment13673

@DorpsGek
Copy link
Member Author

andythenorth wrote:

Recommended: use an alternate ID for the trailing vehicles, and divide capacity appropriately.


This comment was imported from FlySpray: https://bugs.openttd.org/task/6198#comment14508

@DorpsGek
Copy link
Member Author

andythenorth wrote:

Had to close and re-open to clear previous closure request :|


This comment was imported from FlySpray: https://bugs.openttd.org/task/6198#comment14616

@DorpsGek
Copy link
Member Author

andythenorth closed the ticket.

Reason for closing: Won't implement

From George:

- as I can test in r27876 EM167 in xUSSR set works correctly (I use capacity CB without purchase capacity). So, the problem was solved with some change.

Flyspray clean up, so closing, thanks.


This comment was imported from FlySpray: https://bugs.openttd.org/task/6198

@DorpsGek DorpsGek added flyspray This issue is imported from FlySpray (https://bugs.openttd.org/) Articulated labels Apr 7, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
flyspray This issue is imported from FlySpray (https://bugs.openttd.org/)
Projects
None yet
Development

No branches or pull requests

1 participant