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

Try to preserve existing depot orders when demolishing / rebuilding a depot. #6328

Closed
DorpsGek opened this issue Jun 25, 2015 · 2 comments
Closed
Labels
flyspray stale

Comments

@DorpsGek
Copy link

@DorpsGek DorpsGek commented Jun 25, 2015

adf88 opened the ticket and wrote:

This patch allows to place depots again after demolishing them, without messing vehicle orders (just like stations).

This specific implementation allows to re-place depots only under the same transport type. Road depots can be re-placed as tram depots and vice-versa, this behaviour is consistent with other stuff e.g. it is no problem to put a road depot on a tram order list.

Vehicles going to a demolish depot will skip the order (just like in case of road stops or docks).

For simplicity, depot windows for demolished depots are not allowed.

Last two patches on the queue are optional. One is a code clean-up. Another is for displaying depot names of demolished depots to give a visual feedback.

Attachments

Reported version: trunk
Operating system: All


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

@DorpsGek DorpsGek commented Jun 25, 2015

adf88 wrote:

Note. I'll be working on some related features when I find some free time. I'm planning to implement:
- don't skip train orders for removed depots
- warn about order lists containing removed depots


This comment was imported from FlySpray: https://bugs.openttd.org/task/6328#comment13991

@DorpsGek DorpsGek added Core flyspray patch from FlySpray labels Apr 7, 2018
@frosch123 frosch123 removed the Core label Apr 14, 2018
@andythenorth andythenorth added the stale label Jan 5, 2019
Eddi-z added a commit to Eddi-z/OpenTTD that referenced this issue Jan 12, 2019
Eddi-z added a commit to Eddi-z/OpenTTD that referenced this issue Jan 12, 2019
@andythenorth andythenorth removed patch from FlySpray stale labels Jan 12, 2019
@andythenorth andythenorth changed the title [patch] Moveable depots Try to preserve existing depot orders when demolishing / rebuilding a depot. Jan 12, 2019
Eddi-z added a commit to Eddi-z/OpenTTD that referenced this issue Feb 5, 2019
Eddi-z added a commit to Eddi-z/OpenTTD that referenced this issue Feb 5, 2019
Eddi-z added a commit to Eddi-z/OpenTTD that referenced this issue Feb 5, 2019
Eddi-z added a commit to Eddi-z/OpenTTD that referenced this issue Feb 5, 2019
J0anJosep added a commit to J0anJosep/OpenTTD that referenced this issue Jan 16, 2022
J0anJosep added a commit to J0anJosep/OpenTTD that referenced this issue Jan 29, 2022
J0anJosep added a commit to J0anJosep/OpenTTD that referenced this issue Feb 5, 2022
J0anJosep added a commit to J0anJosep/OpenTTD that referenced this issue Feb 5, 2022
J0anJosep added a commit to J0anJosep/OpenTTD that referenced this issue Feb 12, 2022
J0anJosep added a commit to J0anJosep/OpenTTD that referenced this issue Feb 13, 2022
J0anJosep added a commit to J0anJosep/OpenTTD that referenced this issue Feb 20, 2022
J0anJosep added a commit to J0anJosep/OpenTTD that referenced this issue Apr 2, 2022
J0anJosep added a commit to J0anJosep/OpenTTD that referenced this issue Apr 2, 2022
J0anJosep added a commit to J0anJosep/OpenTTD that referenced this issue Apr 16, 2022
J0anJosep added a commit to J0anJosep/OpenTTD that referenced this issue May 7, 2022
J0anJosep added a commit to J0anJosep/OpenTTD that referenced this issue May 7, 2022
J0anJosep added a commit to J0anJosep/OpenTTD that referenced this issue Jun 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
flyspray stale
Projects
None yet
Development

No branches or pull requests

3 participants