A delivery pays for distance as the crow flies, nothing else about the trip. Speed matters for a different reason: each cargo has a time limit, and late deliveries lower the town's Delivery rating, not your income.
1The income formula
The whole formula is one short game script (cargo_income.script.lua:10-13):
- Income factor of the cargo. Every base-game cargo uses the same function and the same prices (
initialPrice = 4,finalPrice = 3.2), which gives 3.8 for all 36 cargos (cargotype.script.lua:7-13,coal.cargo.lua:21-22). Coal pays exactly what goods pay over the same distance. - Cargo Income setting: 50 %, 75 %, 100 %, 125 % or 150 % (
difficulty_util.tl:38,mod.script.tl:212). All four difficulty presets use 100 % (difficulty_util.tl:97,difficulty_util.tl:124,difficulty_util.tl:152,difficulty_util.tl:179). - Distance, see below.
The function receives the travel time but does not use it (cargotype.script.lua:7-13): a slow or late delivery pays the same.
2Distance: straight line plus climb
- The distance is the straight line in 3D between the two points, not the length of your route (
cargo_income.script.lua:3-7). - When the cargo is delivered higher than its source, 8 × that height is added (
cargo_income.script.lua:5): 100 m pays like 800 m more. The scripts take the height difference the engine passes; its direction is not visible in the scripts. A negative difference subtracts nothing. - So a winding line earns the same as a straight one, but you pay maintenance for every metre of track or road you built.
3Cargo that changes line
When an item travels on several lines, for example ship → warehouse → train, the game still pays it only once:
- Unloading at a warehouse or a transfer station pays nothing. Out of about 17,000 measured payments, only 43 went to a stock that was not a consumer.
- When the last vehicle delivers to the consumer, the item is paid with the formula above, for the straight line from the source to the consumer. The legs and the real route do not count, so a detour through a warehouse earns nothing more.
- That money is split between the lines of the chain, in proportion to the straight-line length of each leg: from one pickup point to the next, and from the last pickup point to the consumer. The climb bonus does not count in this split.
- The delivering vehicle first holds the whole amount, with one share per leg. It is booked a few seconds of game time later (median about 6 s), each line and each vehicle getting its own share. A line's balance therefore moves shortly after the delivery, not at the warehouse.
So a short feeder line to a warehouse earns little, even though it does all the collecting; the long leg earns most. Every line still shows its real share in its own balance.
4What else changes the amount
| What | Effect | Source |
|---|---|---|
| Company rank with the Inflation setting | rank 1: ×1, falling evenly to rank 15: ×0.9 (Low), ×0.75 (Normal), ×0.6 (High), ×0.5 (Very High); None: always ×1 | company_progression_util.tl:25-40, difficulty_util.tl:50, mod.script.tl:695-698 |
| Completed subsidy | ×2 for deliveries to the contract's industry or town, on the lines that delivered for the contract | deliver_cargo.script.tl:456-462, deliver_cargo_town.script.tl:547-558 |
| Late delivery | no effect on the income | cargotype.script.lua:7-13 |
- The rank multiplier applies to every cargo and passenger payment (
company_growth.script.tl:159-170). The difficulty presets use Inflation Low (Easy), Normal (Medium), High (Hard), Very High (Very Hard) (difficulty_util.tl:108,difficulty_util.tl:136,difficulty_util.tl:163,difficulty_util.tl:190). - The ×2 of subsidies applies only to the lines that delivered during the contract, for a limited time (official wiki, Subsidies).
5Passengers
Passengers use the same distance and a fixed income factor of about 3.61 (cargotype.script.lua:50-53), multiplied by 0.5 + the vehicle's ticket price factor (cargo_income.script.lua:14-17). When a vehicle model does not set its comfort factor, the game sets the price factor to 0.3 for buses and trams, 0.9 for aircraft, 0.1 for ships and 0.5 for trains (base_mod.lua:46-61); for the other models it is an engine value, not visible in the scripts. A passenger subsidy doubles only the passengers travelling between its two towns, on its one line, the line that completed the contract (deliver_passengers.script.tl:288-293).
6Delivery time limits
Every cargo has its own time limit (meat.cargo.lua:30, coal.cargo.lua:30). Fresh food has the shortest one: meat 900 s, coal 3,000 s (3.3 × longer), iron ore, sand, stone and steel 4,500 s:
- Finances › Delivery Time shows the limit of each cargo on your map; the cargo satisfaction layer colours the routes from green to red.
- A delivery counts as delayed when it arrives after its limit (
towns.script.tl:422). - Specialised warehouse modules freeze the timer of the cargo they store (official wiki, Warehouses).
7What being late costs: the Delivery rating
Late cargo is paid in full, but each town keeps a Delivery rating (town_util.tl:505-519):
- The game counts the deliveries to the town over the last half year, and how many were late (at least 10 are assumed, so the first deliveries do not swing it).
- On-time share → rating: below a lower limit the rating is 0, above an upper limit it is 1, linear in between. With the default sensitivity (Normal): 30 % on time → 0, 100 % → 1, so 90 % on time gives 0.86.
- The Delivery Sensitivity setting moves the limits (
difficulty_util.tl:47). Off: always 1. Presets: Easy Low, Medium Normal, Hard High, Very Hard Very High (difficulty_util.tl:113,difficulty_util.tl:141,difficulty_util.tl:168,difficulty_util.tl:195).
Delivery is one of the six ratings whose lowest sets the town's growth rate: one Very Poor rating stops the town (see Town growth).
8Example
The same coal delivery, 5 km apart as the crow flies.
| Situation | Paid |
|---|---|
| flat, any route length | 100 % |
| 10 km apart | 200 % |
| delivered 100 m higher than its source | 116 % |
| delivered late | 100 % (Delivery rating drops) |
| company rank 15, Inflation Normal | 75 % |
| delivery covered by a completed subsidy | 200 % |
9Good to know
- Since every cargo pays the same per kilometre, choose cargos by volume, distance and time limit, not by price.
- Time limits matter most for meat, fish, vegetables and beverages: short lines or warehouses that freeze the timer.
- Each unit delivered to a town building also gives that town experience, for cargos whose category has a tier (
town_growth.script.tl:641-642,town_growth_config.res.lua:5).
Official wiki vs game scripts
Adds detail"The farther people and cargo travel, the higher the revenue … distances are measured 'as the crow flies'." "While delayed cargo still provides the full income, the on time delivery rating drops, hindering town growth." (Tips & Tricks, Towns)
Same factor 3.8 for all cargos; distance in 3D plus 8 × climb; company rank lowers income down to ×0.75 at rank 15 (Inflation Normal); ×2 after a subsidy; the time is not used for the income; measured in game: an item that changes line is paid once, at the consumer, and split between the lines by leg length; Delivery rating from the on-time share of the last half year (Normal: 30 % → 0, 100 % → 1).
Paths are inside the game's base/content folder or its zip files.