Difference between revisions of "City - atom description"

From Nebuchadnezzar Modding Wiki
Jump to navigation Jump to search
Line 8: Line 8:
 
! Name || Type || Default value /<br>Obligatory || Description
 
! Name || Type || Default value /<br>Obligatory || Description
 
|-
 
|-
|monument_atoms || vec_1D'''['''atom'''['''Mn_Category''']]''' || obligatory || Vector of monument categories which will provide prestige.
+
|name || locale string || obligatory || Name of the city.
 
|-
 
|-
|monuments_atoms_weights || vec_1D'''['''float''']''' || obligatory  || Vector of prestige increase for related monument categories.
+
|position || vec_1D'''['''int, 2''']''' || obligatory  || Position of the city on the world map.
 
|-
 
|-
|population_atoms || vec_1D'''['''atom'''['''Resident''']]''' || obligatory || Vector of residents types which will provide prestige.
+
|label_alignment || vec_1D'''['''int, 2''']''' || obligatory || Alignment of city label on the world map.
 
|-
 
|-
|population_atoms_weights || vec_1D'''['''float''']''' || obligatory || Vector of prestige factors for related resident types.
+
|label_position || vec_1D'''['''int, 2''']''' || obligatory || Additional offset for city label on the world map.
 
|-
 
|-
|revenue_weight|| float || obligatory || Revenue prestige factor.
+
|home_bezier_offset || vec_1D'''['''int, 2''']'''  || obligatory || Home city offset for open trade bezier curve start position.
 
|-
 
|-
|ui_bound || int || obligatory || Maximal value of prestige for computing heights of columns in the prestige tab.
+
|this_bezier_offset || vec_1D'''['''int, 2''']'''  || obligatory || This city offset for open trade bezier curve start position.
 
|}
 
|}
  
 
=== 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 10:31, 17 February 2021

<- back to all classes

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 start position.

Properties in detail

  • See in-game prestige tab where you can find how individual components are computed using these data.