Standardise using enum instead of string (#10571)

* Standardise using enum instead of string

* Standardise enum instead of string

* Standardise enum instead of string
This commit is contained in:
Why-not-now 2023-11-26 00:07:30 +08:00 committed by GitHub
parent d4cd102613
commit 3ddeb874c7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -65,5 +65,5 @@ Civilian, Melee, Ranged, Scout, Mounted, Armor, Siege, WaterCivilian, WaterMelee
| Attribute | Type | Optional | Notes |
| --------- | ---- | -------- | ----- |
| name | String | required | The name of the unit type |
| movementType | String | required | The domain through which the unit moves. Allowed values: "Water", "Land", "Air" |
| movementType | Enum | required | The domain through which the unit moves. Allowed values: "Water", "Land", "Air" |
| uniques | List of String | defaults to none | A list of the unique abilities every unit of this type has. A list of almost all uniques can be found [here](../Unique-parameters.md#unit-uniques) |