mirror of
https://github.com/yairm210/Unciv.git
synced 2025-07-09 23:39:40 +07:00
Allow for replacement improvements (#11369)
* Allow for replacement improvements * imports * Forgot the most important change, lol * Docs * Replacement description, validation, and filter * Move more into ImprovementDescriptions * Whoops, forgot to yield * Fix some copy-paste artifacts * New translations * Fix double see also * Add space for translation engine
This commit is contained in:
@ -45,6 +45,7 @@ Each improvement has the following structure:
|
||||
| name | String | Required | [^A] |
|
||||
| terrainsCanBeBuiltOn | List of Strings | empty | Terrains that this improvement can be built on [^B]. Removable terrain features will need to be removed before building an improvement [^C]. Must be in [Terrains.json](#terrainsjson) |
|
||||
| techRequired | String | none | The name of the technology required to build this improvement |
|
||||
| replaces | String | none | The name of a improvement that should be replaced by this improvement. Must be in [TileImprovements.json](#TileImprovementsjson) |
|
||||
| uniqueTo | String | none | The name of the nation this improvement is unique for |
|
||||
| [`<stats>`](#stats) | Integer | 0 | Per-turn bonus yield for the tile |
|
||||
| turnsToBuild | Integer | -1 | Number of turns a worker spends building this. If -1, the improvement is unbuildable [^D]. If 0, the improvement is always built in one turn |
|
||||
|
Reference in New Issue
Block a user