The International Simutrans Forum

Development => Patches & Projects => Incorporated Patches and Solved Bug Reports => Topic started by: Fifty on March 31, 2011, 12:50:20 AM

Title: [110.0.1 and r4384] - New cities fill all industries without workers
Post by: Fifty on March 31, 2011, 12:50:20 AM
I discovered this issue on an old save that dates back to 102.0. The distances between the towns are large, so some industries did not have any workers from the outset, something that I do not believe can occur now, no matter the distances. Is it possible to make it so that when a new town is created, it will not be added to every industry that does not have any workers?

Thanks, Fifty
Title: Re: [110.0.1 and r4384] - New cities fill all industries without workers
Post by: Dwachs on March 31, 2011, 05:06:13 AM
Quote from: Fifty on March 31, 2011, 12:50:20 AMIs it possible to make it so that when a new town is created, it will not be added to every industry that does not have any workers?
That should be already the case.
Title: Re: [110.0.1 and r4384] - New cities fill all industries without workers
Post by: Fifty on March 31, 2011, 10:27:10 PM
Well, I have a 512x512 pak 64 map, and if I create a new town, that town is in the "workers live in" for every industry that did not have any workers before (even if it is all the way across the map). After adding a second town to the map to test, only a few industries within a small radius will have workers in the second town. If you would like, I can upload my .sve.
Title: Re: [110.0.1 and r4384] - New cities fill all industries without workers
Post by: TurfIt on May 22, 2011, 01:35:38 AM
Quote from: Fifty on March 31, 2011, 12:50:20 AM
some industries did not have any workers from the outset, something that I do not believe can occur now, no matter the distances.
Setting factory_worker_minimum_towns = 0 will still allow unconnected industries if desired.

Quote from: Fifty on March 31, 2011, 12:50:20 AM
Is it possible to make it so that when a new town is created, it will not be added to every industry that does not have any workers?
With r4485 new towns will no longer connect to distant industries.