Skip to content

2.5 Minor Datas

jkdev edited this page Feb 2, 2025 · 2 revisions

TerrainData

TerrainData specifies type and idx of a terrain.

TerrainData.type

Specifies enum value of the terrain, used as a key:

TerrainData.idx

Specifies int enum value of the terrain.

ResourceData

ResourceData contains multiple important parameters concerning units stats and values.

ResourceData.type

Specifies enum value of the resource, used as a key:

ResourceData.idx

Specifies int enum value of the resource.

ResourceData.resourceTerrainRequirements

Specifies resource terrain requirements to spawn on the tile.

TaskData

TaskData contains information about task type, task idx and improvement unlocked by completing a certain task.

TaskData.type

Specifies enum value of the task, used as a key:

TaskData.idx

Specifies int enum value of the task.

TaskData.improvementUnlocks

Specifies improvement unlocked by completing the task.

DiplomacyData

DiplomacyData contains seven parameters which concern diplomacy logic, and is the same for all tribes. Stored as json dictionary, with parameters names in strings as dictionary keys and values in float as dictionary values.

"diplomacyData":{
  "embassyCost":5,
  "embassyIncome":2,
  "embasyGrowthTime":3,
  "embassyMaxLevel":3,
  "embassyTechPriceMultiplier":0.5,
  "embassyUpgradeCost":20,
  "dividendIncome":2
}

DiplomacyData.embassyCost

Defines how much stars it costs to build an embassy:

"embassyCost":5,

DiplomacyData.embassyIncome

Defines embassy income for both tribes per embassy without a peace deal:

"embassyIncome":2,

DiplomacyData.embasyGrowthTime

Was scrapped during diplomacy development, unused.

"embasyGrowthTime":3,

DiplomacyData.embassyMaxLevel

Was scrapped during diplomacy development, unused.

"embassyMaxLevel":3,

DiplomacyData.embassyTechPriceMultiplier

Was scrapped during diplomacy development, unused.

"embassyTechPriceMultiplier":0.5,

DiplomacyData.embassyUpgradeCost

Was scrapped during diplomacy development, unused.

"embassyUpgradeCost":20,

DiplomacyData.dividendIncome

Was scrapped during diplomacy development, unused.

"dividendIncome":2

SkinData

SkinData contains information about color and city syllables for a skin. Lets take forgotten aquarion skin as example:

"skinData": {
  "swamp" : {
    "color" : 6786096,
    "language": "bub,ly,sq,ee,to,ad,bo,swa,bu,oa,squ,am,goo,pho,am,oct"
  }
}

SkinData.SkinType

Specifies type of the skin affected, used as key:

"swamp" : {

SkinData.color

Specifies skin's unique color.

"color" : 6786096,

SkinData.language

Specifies skin's unique city syllables.

"language": "bub,ly,sq,ee,to,ad,bo,swa,bu,oa,squ,am,goo,pho,am,oct"
Clone this wiki locally