trade_routes
Inspect your caravans and cargo ships and foreign routes entering your cities: yields, remaining turns, free slots, path, escorts, and nearby threats.
Instructions
Trade Route Overview: outgoing is Your TR (my caravans/cargo ships), incoming is With You
(other civs' routes into my cities). Each row: from/to city and player, turns_left, per-turn yields
for the origin (gold/science) and destination (gold_them / food_them / production_them).
The religion columns are from_religion/from_pressure (left arrow) and to_religion/to_pressure
(right arrow), omitted when that cell is blank. details is the gold and science hover.
overview().free_trade_route_slots (available - used - queued) says whether a new caravan can be trained.
path is the route line the map draws, plot by plot from the origin (vis=false where fogged), as
the plot hover names it on any revealed plot. unit is the caravan/cargo ship on that line (ours
always; a foreign one only while in sight) with escorted / escorted_by: our combat units on its
plot, which an enemy must defeat before it can plunder; unit.matched is recorded (this caravan was
seen alone on this route before), line or line_ambiguous (routes share the plot and no earlier read
told them apart: it may be the other row's caravan). enemies_near_path lists visible enemy
combat units within one hex of the line with their distance to the caravan.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||