Moderator: OpenTTD Developers
first of all, I'm new here. That didn't really keep me away from messing with the OTTD code a bit, just to get me started. I hope I did nothing wrong with this post, if I did, enlighten me
Attached to this post is a patch to solve
where Celestar reports that it's possible to build airports, ship ports and depots as well as road vehicle depots even at a time where none of these vehicle types are available (e.g. 1900).
My patch fixes this issue. An error message (see screenshot) is displayed when the player tries to build stations or depots without having the required vehicle type available. An exception is the bus and lorry station - I prevent building the depot, but not the stations since I couldn't find out how to distinguish these vehicle types.
Included in the patch are the localized error messages for english and german language.
I hope this is useful in some way or another - the bug tracker states this is scheduled for 0.51, but it's not yet implemented by someone else, so I decided I could fix that for starters.
- Error message - could use formatting?
- Unnamed, 6th Jan 1900.png (86.73 KiB) Viewed 1333 times
- Patch against rev 9518
- (5.82 KiB) Downloaded 114 times
So I kindly ask you to attach your patch to the bug-report on http://bugs.openttd.org/, together with your comments, and I do hope to see more of such patches in the future
Users browsing this forum: No registered users and 3 guests