Difference between revisions of "NewCargoDistribution"

From TTWiki
Jump to navigationJump to search
m (2 revisions)
 
(Reformat and update)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
 
Improve how cargo is distributed among several stations serving one industry.
 
'''''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'''
 
'''2.0.1 alpha 41 or later'''
   
-=Switch=-
+
==Switch==
   
 
Configuration file: newcargodistribution on|off
 
Configuration file: newcargodistribution on|off
Line 14: Line 9:
 
Command line: none
 
Command line: none
   
-=Description=-
+
==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.
 
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.
Line 21: Line 16:
   
 
This feature was contributed by Marijn.
 
This feature was contributed by Marijn.
  +
[[Category:Patches]][[Category:Industries/Cargo Patches]][[Category:TTDPatch]][[Category:TTDPatch Manual]]

Latest revision as of 19:07, 17 June 2011

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.