mirror of
https://github.com/yairm210/Unciv.git
synced 2025-01-07 14:02:48 +07:00
Standardise using enum instead of string (#10570)
* Standardise using enum instead of string * Standardise enum instead of string
This commit is contained in:
parent
e9d3c153dc
commit
ba5e658c9e
@ -11,7 +11,7 @@ Each belief can have the following attributes:
|
||||
| Attribute | Type | Optional | Notes |
|
||||
| --------- | ---- | -------- | ----- |
|
||||
| name | String | Required | Name of the belief |
|
||||
| type | String | Required | The type of the belief. Valid values are: "Pantheon", "Follower", "Founder" and "Enhancer". |
|
||||
| type | Enum | Required | Pantheon, Follower, Founder or Enhancer. |
|
||||
| uniques | List of Strings | defaults to none | The unique abilities this belief adds to cities following it. May be chosen from the list of building uniques [here](../Unique-parameters.md#buildings-only), as well as the general uniques on that page |
|
||||
| civilopediaText | List | Default empty | see [civilopediaText chapter](5-Miscellaneous-JSON-files.md#civilopedia-text) |
|
||||
|
||||
|
@ -62,7 +62,7 @@ Each resource can have the following properties:
|
||||
| Attribute | Type | Optional | Notes |
|
||||
| --------- | ---- | -------- | ----- |
|
||||
| name | String | Required | |
|
||||
| resourceType | String | Default Bonus | Bonus, Luxury or Strategic |
|
||||
| resourceType | Enum | Default Bonus | Bonus, Luxury or Strategic |
|
||||
| terrainsCanBeFoundOn | List | Default empty | [Terrains](#terrainsjson) that allow this resource |
|
||||
| `<stats>` | Float | Optional | Per-turn bonus yield for the tile, see [Stats](#stats), can be repeated |
|
||||
| improvement | String | Default empty | The improvement ([TileImprovements.json](#tileimprovementsjson)) for this resource |
|
||||
|
Loading…
Reference in New Issue
Block a user