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

Road vehicles don't go to depot for maintenance anymore when using certain conditional orders #4966

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

Comments

@DorpsGek
Copy link
Member

DorpsGek commented Jan 9, 2012

copyvomit opened the ticket and wrote:

Using certain conditional orders, the player can make road vehicles automatically go to a depot and stop when they reach a certain age. Unfortunately this useful feature causes unexpected behavior: road vehicles using these orders do not automatically go to depots for maintenance anymore.

Steps to reproduce:

  1. Build two stations, a road connecting them, and a depot at that road.
  2. Buy a road vehicle (e.g. a bus) and order it to go to station one, then station two.

The vehicle will now travel between the two stations and go to the depot when it needs maintenance.

  1. Add an order: A conditional jump to order 1, if the vehicles age is less or equal to 10.
  2. Add an order: Go to the depot and stop.

After adding the order in step 4, the vehicle will not go to the depot anymore for maintenance.

The attached screenshot shows an example how to the bug can easily be reproduced.

Attachments

Reported version: Version?
Operating system: All


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

DorpsGek commented Jan 9, 2012

copyvomit wrote:

Forgot to select version ... version is 1.1.4


This comment was imported from FlySpray: https://bugs.openttd.org/task/4966#comment10708

@DorpsGek
Copy link
Member Author

DorpsGek commented Jan 9, 2012

Rubidium wrote:

Yes, if you have a depot order in the order list the automatic maintenance is stopped. If you skip over it, then that's you decision. By adding the depot order you simply override the automatic maintenance.

Figuring out whether, or not, a vehicle can actually reach the depot order is in my opinion out of the scope for OpenTTD. Especially as it cannot reliably predict future actions.


This comment was imported from FlySpray: https://bugs.openttd.org/task/4966#comment10709

@DorpsGek
Copy link
Member Author

brandonr wrote:

Is there an in-game mechanism to inform the player that adding a "go to depot" order will turn off automatic maintenance? Because otherwise it seems a bit clunky to connect the two behaviors, and even more clunky when you add in conditional orders.


This comment was imported from FlySpray: https://bugs.openttd.org/task/4966#comment10811

@DorpsGek
Copy link
Member Author

Rubidium closed the ticket.

Reason for closing: Not a bug

But added some documentation to the goto tooltip in r23929.


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

@DorpsGek DorpsGek added Core flyspray This issue is imported from FlySpray (https://bugs.openttd.org/) 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