Infantry Barracks 🧪 BETA
BuildingDefinitionDTO · Building_StoneAge_Barracks_Infantry_1 · 1.152.2_server_1.152.3
Produces Spearfighters
- Type
- Building
- Area
- Buildings
- age
- StoneAge
- type
- barracks
- group
- infantryBarracks
- level
- 1
- cities
- City_Capital
- width
- 4
- height
- 4
LIVE same as live 1.152.2_server_1.152.3
Versions
- 1.152.2_server_1.152.3 present
Data
{
"@type": "type.googleapis.com/BuildingDefinitionDTO",
"age": "StoneAge",
"cities": [
"City_Capital"
],
"components": [
{
"@type": "type.googleapis.com/InitComponentDTO",
"id": "Init_Building_StoneAge_Barracks_Infantry_1"
},
{
"@type": "type.googleapis.com/ConstructionComponentDTO",
"complete": {},
"duration": "10s",
"finish": {},
"id": "Construction_Building_StoneAge_Barracks_Infantry_1",
"start": {
"requirements": [
{
"@type": "type.googleapis.com/ResearchRequirementDTO",
"id": "Technology_StoneAge_SpearFighting"
}
],
"resourceChanges": [
{
"amount": "-39",
"definitionId": "coins"
},
{
"amount": "-23",
"definitionId": "food"
}
]
},
"workersRequired": {
"amount": 1,
"requiredWorkers": [
{
"amount": 1
}
]
}
},
{
"@type": "type.googleapis.com/UpgradeComponentDTO",
"autoFinish": true,
"complete": {},
"duration": "45s",
"id": "Upgrade_Building_StoneAge_Barracks_Infantry_1",
"start": {
"requirements": [
{
"@type": "type.googleapis.com/ResearchRequirementDTO",
"id": "Technology_BronzeAge_Swordplay"
}
],
"resourceChanges": [
{
"amount": "-21200",
"definitionId": "coins"
},
{
"amount": "-12900",
"definitionId": "food"
}
]
},
"target": "Building_BronzeAge_Barracks_Infantry_1",
"workersRequired": {
"amount": 1,
"requiredWorkers": [
{
"amount": 1
}
]
}
},
{
"@type": "type.googleapis.com/MoveComponentDTO",
"id": "Move_Building_StoneAge_Barracks_Infantry_1"
},
{
"@type": "type.googleapis.com/ProductionComponentDTO",
"behaviours": [
{
"@type": "type.googleapis.com/WorkerBehaviourDTO",
"requiredWorkers": {
"amount": 1,
"requiredWorkers": [
{
"amount": 1
}
]
}
}
],
"duration": "30s",
"finish": {
"rewards": [
{
"@type": "type.googleapis.com/UnitRewardDTO",
"baseData": {
"id": "Building_StoneAge_Barracks_Infantry_1_Production2_Reward1"
},
"unit": "Unit_StoneAge_Player_Spearfighters"
}
]
},
"id": "Production2_Building_StoneAge_Barracks_Infantry_1",
"minCollectionPeriod": "30s",
"producedUnits": {
"Unit_StoneAge_Player_Spearfighters": 12
},
"resourceChangesOnStart": [
{
"amount": "-100",
"definitionId": "coins"
}
],
"skipPricePerMinute": 12.0,
"type": "ProductionType_UNIT"
},
{
"@type": "type.googleapis.com/SellComponentDTO",
"id": "Sell_Building_StoneAge_Barracks_Infantry_1",
"start": {
"resourceChanges": [
{
"amount": "200",
"definitionId": "coins"
},
{
"amount": "100",
"definitionId": "food"
}
]
}
}
],
"freeProductionSlots": 2,
"group": "infantryBarracks",
"happinessEffects": [
{},
{
"effect": -0.1,
"happiness": 100
},
{
"effect": -0.25,
"happiness": 190
},
{
"effect": -0.5,
"happiness": 380
}
],
"height": 4,
"id": "Building_StoneAge_Barracks_Infantry_1",
"level": 1,
"type": "barracks",
"width": 4
}