Skip to content

Commit 8fe958a

Browse files
livingBEEFLibrarian
authored andcommitted
modified: en/Archive/Community/Infrastructure maintenance
User Summary: Add cost formula
1 parent 223a554 commit 8fe958a

File tree

1 file changed

+12
-4
lines changed

1 file changed

+12
-4
lines changed

Page/en/Archive/Community/Infrastructure maintenance.mediawiki

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -70,15 +70,23 @@ Railway tunnel piece count = 4 (10 tiles = 40)<br />
7070
''The same piece count (fig.6) goes for bridges''
7171

7272

73-
== Exponential cost increase ==
73+
== Non-linear cost increase ==
7474

75+
Besides the intersection multiplier to count rail piecies, the game multiplies the cost by square root of total rail piece count. The complete formula is:<br />
76+
<br />
77+
''Cost = Nt * Ct * sqrt(Na)''<br />
78+
<br />
79+
where<br />
80+
''Nt = rail piece count for given type''<br />
81+
''Ct = cost factor for given type''<br />
82+
''sqrt(Na) = square root of total rail piece count (all types)''<br />
83+
<br />
84+
When only a single rail type is in use, this can be simplified to ''Cost = C * N^(3/2)''
85+
<br />
7586

7687
[[File:en/Archive/Community/Maglev 1x10 maintenance.png|thumb|(fig.7) 10 Monorail rail costs]]
7788
[[File:en/Archive/Community/Maglev 2x10 maintenance.png|thumb|(fig.8) 20 Monorail rail costs]]
7889

79-
80-
Besides the intersection multiplier the game has an algorithm which increases the costs for your network exponentially. ''(If someone can find the algorithm, please insert it here)''<br />
81-
<br />
8290
Here is an example list for the cost increase, with an rough factor to show the cost increase from one row to the next. (Used Maglev rails)<br />
8391

8492
{| class="wikitable"

0 commit comments

Comments
 (0)