Difference between revisions of "NewCargoDistribution"

From TTWiki
Jump to navigationJump to search
m (2 revisions)
(No difference)

Revision as of 19:09, 12 June 2011

Improve how cargo is distributed among several stations serving one industry

New Cargo Distribution

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.