Files
anno-117-docs/docs/schemas/building.md

33 lines
1.3 KiB
Markdown

# Schema: Building
**Entity Type:** `Building`
## Fields
| Field | Type | Notes |
|------|------|------|
| id | string | stable anchor id |
| name | string | display name |
| category | string | Production / Service / Safety / Monument / etc. |
| description | string | 1-2 lines max |
| region | string | Latium / Albion (if region-specific) |
| requiredPopulationTier | string | link to tier |
| buildCost | object | `{ gold?, goods[] }` |
| constructionTime | string | usually instant per research |
| maintenance | object | `{ goldPerMin?, workforce[] }` |
| workforce | array | `[{ tier, count }]` |
| dimensions | string | base size, size with roads |
| placementConstraints | array | coast/marsh/forest/fields/etc |
| roadRequired | boolean | |
| warehouseRequired | boolean | implies "in range of Warehouse/Trading Post" |
| aqueductSupport | boolean | can be improved with aqueduct connection |
| inputGoods | array | links to goods |
| outputGoods | array | links to goods |
| cycleTimeSeconds | number | production cycle time |
| areaEffects | array | `{ type, value, target, radius? }` |
| productionChain | array | links to chain(s) |
| unlockCondition | string | tier, research, count, etc |
| specialists | array | compatible specialists with their effects |
| usagePatterns | string | short |
| commonPitfalls | string | short |