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
Bridge/tunnel remove cost does not take into account road/tram/rail remove cost. #7656
Comments
James103
changed the title
Bridge remove cost does not take into account road/tram/rail remove cost.
Bridge/tunnel remove cost does not take into account road/tram/rail remove cost.
Jul 25, 2019
TrueBrain
added a commit
to TrueBrain/OpenTTD
that referenced
this issue
Jan 6, 2021
…r cost calculation This means that for rail bridges, the rail is first sold, and the bridge is destroyed after. This means destroying bridges now often makes you money, instead of costing. Similar, with road/tram tracks. Destroying a road+tram bridge now costs the same amount of money as first removing the tram tracks and than destroying the road bridge. Especially as tram tracks generate money when removing, this is a noticeable difference.
TrueBrain
added a commit
to TrueBrain/OpenTTD
that referenced
this issue
Jan 6, 2021
…r cost calculation This means that for rail bridges, the rail is first sold, and the bridge is destroyed after. This means destroying bridges now often makes you money, instead of costing. Similar, with road/tram tracks. Destroying a road+tram bridge now costs the same amount of money as first removing the tram tracks and than destroying the road bridge. Especially as tram tracks generate money when removing, this is a noticeable difference.
TrueBrain
added a commit
to TrueBrain/OpenTTD
that referenced
this issue
Jan 6, 2021
…acks for cost calculation This means that for rail tunnel/bridges, the rail is first sold, and the tunnel/bridge is destroyed after. This means destroying tunnels/ bridges now often makes you money, instead of costing. Similar, with road/tram tracks. Destroying a road+tram tunnel/bridge now costs the same amount of money as first removing the tram tracks and than destroying the road tunnel/bridge. Especially as tram tracks generate money when removing, this is a noticeable difference.
TrueBrain
added a commit
to TrueBrain/OpenTTD
that referenced
this issue
Jan 6, 2021
…acks for cost calculation This means that for rail tunnel/bridges, the rail is first sold, and the tunnel/bridge is destroyed after. This means destroying tunnels/ bridges now often makes you money, instead of costing. Similar, with road/tram tracks. Destroying a road+tram tunnel/bridge now costs the same amount of money as first removing the tram tracks and than destroying the road tunnel/bridge. Especially as tram tracks generate money when removing, this is a noticeable difference.
TrueBrain
added a commit
to TrueBrain/OpenTTD
that referenced
this issue
Jan 8, 2021
…acks for cost calculation This means that for rail tunnel/bridges, the rail is first sold, and the tunnel/bridge is destroyed after. This means destroying tunnels/ bridges now often makes you money, instead of costing. Similar, with road/tram tracks. Destroying a road+tram tunnel/bridge now costs the same amount of money as first removing the tram tracks and than destroying the road tunnel/bridge. Especially as tram tracks generate money when removing, this is a noticeable difference.
TrueBrain
added a commit
that referenced
this issue
Jan 8, 2021
…r cost calculation This means that for rail tunnel/bridges, the rail is first sold, and the tunnel/bridge is destroyed after. This means destroying tunnels/ bridges now often makes you money, instead of costing. Similar, with road/tram tracks. Destroying a road+tram tunnel/bridge now costs the same amount of money as first removing the tram tracks and than destroying the road tunnel/bridge. Especially as tram tracks generate money when removing, this is a noticeable difference.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Version of OpenTTD
20190707-master-g1e723934a1
Expected result
When removing a bridge (or tunnel), not only should the cost to remove a bridge get factored in, but also the cost to remove any roads/rails/tram tracks that may be on the bridge. Example: Removing a two tile bridge with both road and tram should add £110 to your bank balance (+£304 to remove tram tracks, -£120 to remove roads, -£74 to remove the bridge).
Edit: The same issue affects tunnels as well in the same way.
Actual result
When removing a bridge (or tunnel), any infrastructure on the bridge is not factored into the cost to remove the bridge. In the above example, while the expected cost is -£110 (i.e. add £110 to your bank balance), the actual cost is £74, since only the bridge removal cost is considered here.
Steps to reproduce
Note: Changing this may expose a free money exploit when also using the Base Costs newGRF to inflate the road/tram removal cost. To prevent that, consider limiting the removal income (for both road and tram) to ~2/3 of the cost to build, just like rail removal.
The text was updated successfully, but these errors were encountered: