The International Simutrans Forum

Development => Bug Reports => Topic started by: jamespetts on September 21, 2009, 10:39:51 am

Title: Distributionweight and chance for industries
Post by: jamespetts on September 21, 2009, 10:39:51 am
Before I release the latest version of Simutrans-Experimental, I should be very grateful for clarification on one issue: does the "chance" parameter have any effect on industries? I seem to remember it being documented that it is used for consumers, whereas distributionweight is used for producers (which leaves the question about what is used for industries that are both), but the Pak64 sources use "distributionweight" for everything - both consumers and producers. In Pak128.Britain, I used a mixture of "chance" and "distributionweight" - is that wrong?
Title: Re: Distributionweight and chance for industries
Post by: prissi on September 21, 2009, 11:19:16 am
If memory severs me right, chance is part of the building and distributionweight is part of the factory node. Thus chance would do nothing for factories.
Title: Re: Distributionweight and chance for industries
Post by: jamespetts on September 21, 2009, 07:15:38 pm
Prissi,

you are correct that chance is part of the building. Thank you very much for your help. I think that some documentation somewhere may need clarifying, as I was under the impression having read some of the documentation that "chance" was relevant to industries.