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

magic bulldozer causes town to overbuild objects built in scenario editor #5001

Closed
DorpsGek opened this issue Jan 22, 2012 · 2 comments
Closed
Labels
flyspray This issue is imported from FlySpray (https://bugs.openttd.org/)

Comments

@DorpsGek
Copy link
Member

foobar opened the ticket and wrote:

If you build objects in the scenario editor, then these are irremovable once playing the game. One needs the magic bulldozer to remove them.

Now if you leave this magic bulldozer enabled, towns will start overbuilding these scenario-editor built objects that don't have an owner. This only happens with objects that have the "Anything Can Remove (owned land behaviour)" flag set. Under the same circumstances the towns will NOT remove identical player-built objects.

Objects that do not have that flag set are unaffected.

Reported version: 1.2.0-beta2
Operating system: All


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

Rubidium wrote:

It's exactly behaving like owned land. Mostly because owned land is a new-object internally as well with precisely that flag enabled.

The "owned land behaviour" means that commands that need a clear tile will automatically allow removing it (just like trees or rocks are removed), however the other objects can't be cleared that way. These use cases are differentiated by the DC_AUTO command flag. If the DC_AUTO flag is set and the object doesn't have the "owned land behaviour" the tile is simply not cleared (an error is returned).

With owned land behaviour is will allow the removal if you are the owner, or if the owner of the object is OWNER_NONE and the magic bulldozer is enabled.

Roughly the same behaviour holds for industries which will also be removed by expanding towns.


This comment was imported from FlySpray: https://bugs.openttd.org/task/5001#comment10780

@DorpsGek
Copy link
Member Author

Rubidium closed the ticket.

Reason for closing: Fixed

In r23842


This comment was imported from FlySpray: https://bugs.openttd.org/task/5001

@DorpsGek DorpsGek added flyspray This issue is imported from FlySpray (https://bugs.openttd.org/) bug labels Apr 7, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
flyspray This issue is imported from FlySpray (https://bugs.openttd.org/)
Projects
None yet
Development

No branches or pull requests

1 participant