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

Modify handling of cb28 during CmdBuildIndustry #4131

Closed
DorpsGek opened this issue Sep 18, 2010 · 2 comments
Closed

Modify handling of cb28 during CmdBuildIndustry #4131

DorpsGek opened this issue Sep 18, 2010 · 2 comments
Labels
flyspray This issue is imported from FlySpray (https://bugs.openttd.org/)

Comments

@DorpsGek
Copy link
Member

andythenorth opened the ticket and wrote:

Purpose: to be able to prevent/allow use of certain layouts during cb 28.

Currently cb28 can check layout with var86, but if "don't build" is returned, industry won't be built. During random generation this is acceptable, but when player is trying to build it's undesirable behaviour.

Preferred route is that CmdBuildIndustry tries layouts against cb28 until one can be built, or all are failed.

Modified FIRS grf attached. Try building a bakery (any time after 1837; need to build near town).
Only layout 5 should be used (this is a large layout with two big bakery buildings). The other layouts should be prevented from building.

Attachments

Reported version: trunk
Operating system: All


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

andythenorth wrote:

Forgot to set type, category etc for the ticket. Sorry :(


This comment was imported from FlySpray: https://bugs.openttd.org/task/4131#comment8809

@DorpsGek
Copy link
Member Author

DorpsGek commented Feb 7, 2011

planetmaker closed the ticket.

Reason for closing: Implemented

In r22010


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

@DorpsGek DorpsGek closed this as completed Feb 7, 2011
@DorpsGek DorpsGek added NewIndustries flyspray This issue is imported from FlySpray (https://bugs.openttd.org/) 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