Skip to main content

Module lists

Module lists 

Source
Expand description

Writer of the AI’s smaller world lists: trade route segments, international trade routes, region boundaries, provinces and the factions’ parts of them, the factions’ views of the seas, governorships and government posts.

Functions§

write_boundaries
Writes the region boundaries list.
write_faction_seas
Writes the list of the factions’ views of the seas: each sea’s views, sea by sea.
write_governorships
Writes the governorships list: one per world faction, over the theatre.
write_posts
Writes the government posts list: each faction’s posts, with their holders.
write_provinces
Writes the provinces list and the list of the factions’ parts of them.
write_trade_routes
Writes the international trade routes list: one per route, in route id order, with its owner and the owner of the other route of its agreement (routes come in pairs, one per side: 1 and 2, 3 and 4…).
write_trade_segments
Writes the trade route segments list: one per trade spline, holding its index.