OpenTTD

Tasklist

FS#6328 - [patch] Moveable depots

Attached to Project: OpenTTD
Opened by Grzegorz Duczyński (adf88) - Thursday, 25 June 2015, 07:21 GMT
Type Patch
Category Core
Status New
Assigned To No-one
Operating System All
Severity Low
Priority Normal
Reported Version trunk
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No

Details

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.
This task depends upon

Comment by Grzegorz Duczyński (adf88) - Thursday, 25 June 2015, 09:27 GMT
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

Loading...