Difference between revisions of "City - atom description"
Jump to navigation
Jump to search
| Line 33: | Line 33: | ||
|- | |- | ||
|import_prices || vec_1D'''['''int''']''' || obligatory || Base prices for import goods. | |import_prices || vec_1D'''['''int''']''' || obligatory || Base prices for import goods. | ||
| + | |- | ||
| + | |open_trade_goods || vec_1D'''['''atom'''['''Goods''']]''' || empty vec || List of goods player can choose from to open trade route. | ||
| + | |- | ||
| + | |open_trade_count || vec_1D'''['''int''']''' || obligatory || Required amount of goods to open trade goods. | ||
| + | |- | ||
| + | |min_prestige || int || 0 || Required prestige to open trade route. | ||
| + | |- | ||
| + | |max_prestige || int || 0 || Maximal value of prestige for computation prestige component of city relation. | ||
|} | |} | ||
=== Properties in detail === | === Properties in detail === | ||
*See in-game prestige tab where you can find how individual components are computed using these data. | *See in-game prestige tab where you can find how individual components are computed using these data. | ||
Revision as of 09:44, 17 February 2021
General description
- City atom represent other citites in the world you can trade with.
- It also used to define player city on the world map.
Properties description
| Name | Type | Default value / Obligatory |
Description |
|---|---|---|---|
| name | locale string | obligatory | Name of the city. |
| position | vec_1D[int, 2] | obligatory | Position of the city on the world map. |
| label_alignment | vec_1D[int, 2] | obligatory | Alignment of city label on the world map. |
| label_position | vec_1D[int, 2] | obligatory | Additional offset for city label on the world map. |
| home_bezier_offset | vec_1D[int, 2] | obligatory | Home city offset for open trade bezier curve start position. |
| this_bezier_offset | vec_1D[int, 2] | obligatory | This city offset for open trade bezier curve end position. |
| control_point | vec_1D[int, 2] | obligatory | Control point position for open trade bezier curve. |
| export_goods | vec_1D[atom[Goods]] | obligatory | List of goods player's city can export to this city. |
| import_goods | vec_1D[atom[Goods]] | obligatory | List of goods player's city can import from this city. |
| export_limits | vec_1D[int] | obligatory | Maximal year trade volume for export goods. |
| import_limits | vec_1D[int] | obligatory | Maximal year trade volume for import goods. |
| export_prices | vec_1D[int] | obligatory | Base prices for export goods. |
| import_prices | vec_1D[int] | obligatory | Base prices for import goods. |
| open_trade_goods | vec_1D[atom[Goods]] | empty vec | List of goods player can choose from to open trade route. |
| open_trade_count | vec_1D[int] | obligatory | Required amount of goods to open trade goods. |
| min_prestige | int | 0 | Required prestige to open trade route. |
| max_prestige | int | 0 | Maximal value of prestige for computation prestige component of city relation. |
Properties in detail
- See in-game prestige tab where you can find how individual components are computed using these data.