OpenTTD

Tasklist

FS#4131 - Modify handling of cb28 during CmdBuildIndustry

Attached to Project: OpenTTD
Opened by andythenorth (andythenorth) - Saturday, 18 September 2010, 17:17 GMT
Last edited by Ingo von Borstel (planetmaker) - Monday, 07 February 2011, 20:49 GMT
Type Feature Request
Category NewGRF → NewIndustries
Status Closed
Assigned To No-one
Operating System All
Severity Low
Priority Normal
Reported Version trunk
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

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.
This task depends upon

Closed by  Ingo von Borstel (planetmaker)
Monday, 07 February 2011, 20:49 GMT
Reason for closing:  Implemented
Additional comments about closing:  In r22010
Comment by andythenorth (andythenorth) - Saturday, 18 September 2010, 17:24 GMT
Forgot to set type, category etc for the ticket. Sorry :(

Loading...