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

You can't convert the road type, because the road belongs to the city #8839

Closed
Ufiby opened this issue Mar 10, 2021 · 3 comments
Closed

You can't convert the road type, because the road belongs to the city #8839

Ufiby opened this issue Mar 10, 2021 · 3 comments

Comments

@Ufiby
Copy link

Ufiby commented Mar 10, 2021

Version of OpenTTD

Starting from version 1.10.0

Expected result

road type conversion - must perform

Actual result

Road_type

Steps to reproduce

This is the case with NewGRF: U&RaTT, Timberwolf s Roads, and other NRT sets

@LordAro
Copy link
Member

LordAro commented Mar 10, 2021

Unless I'm mistaken, this is a duplicate of #8162 - i.e. it is the error message that is wrong/unclear - your town authority rating is too low, so you cannot change their roads - this is by design. The unclear error message has already been fixed

@LordAro LordAro closed this as completed Mar 10, 2021
@Ufiby
Copy link
Author

Ufiby commented Mar 10, 2021

Somewhat differently, this case is related to the conditions (powered_road type_list) and city. I figured it out, found the problem
For example: I set up a set with three roads: a dirt road, a asphalt roads and a highway
Dirt road(DIRT)
powered_road type_list: ["DIRT", "ROAD", "HWAY" ]
Asphalt roads(ROAD)
powered_road type_list: ["DIRT", "ROAD", "HWAY" ]
Highway(HWAY)
powered_road type_list: ["ROAD", "HWAY" ]
So, please note that the Highway does not have the list of road types "DIRT" installed
So in the conditions of the city, no matter what the rating was.
Convert from asphalt road to highway - completed
Convert from asphalt road to dirt road - completed
Convert from dirt road to highway - completed
Convert from dirt road to asphalt road - completed
Convert from a highway to asphalt road - completed
Convert from a highway to a dirt road - failed, causes the error "belongs to the city"
This also applies to the electrification road, because the list of powered types is only "ELRD". A normal road has established two types of "ROAD", "ELRD". In the city, the conversion from an ordinary road to electrification is successful, but on the contrary, it is unsuccessful.

@Ufiby
Copy link
Author

Ufiby commented Mar 10, 2021

I mean, there are problems with the type of road and city if the rating was Good.
Road_types

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants