NewCargoDistribution

From TTWiki
Revision as of 19:07, 17 June 2011 by Orudge (talk | contribs) (Reformat and update)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

Improve how cargo is distributed among several stations serving one industry.

2.0.1 alpha 41 or later

Switch

Configuration file: newcargodistribution on|off

Command line: none

Description

When distributing cargo among several stations serving one industry, TTD always considers the two stations with the highest ratings for this cargo, but not all cargo is made available for transporting. A certain fraction of the cargo is lost.

With this switch, all cargo will be distributed according to the relative ratings of the two best stations. Similar ratings will receive a similar amount of cargo, and a rating twice as high will receive twice as much. Rounding errors mean that the better station will have a slight advantage.

This feature was contributed by Marijn.