mirror of
https://github.com/dcs-retribution/dcs-retribution.git
synced 2025-11-10 15:41:24 +00:00
Updated Squadrons and pilots (markdown)
parent
73e63b766a
commit
07245c063c
@ -1 +1,18 @@
|
||||
[Work in progress](https://github.com/dcs-liberation/dcs_liberation/issues/276)
|
||||
**This feature is new in DCS Liberation 3.0.**
|
||||
|
||||
This feature is a [aork in progress](https://github.com/dcs-liberation/dcs_liberation/issues/276). This documentation will be improve as the feature nears completion.
|
||||
|
||||
## Pilot names
|
||||
|
||||
Pilot names are generated randomly (user-defined names will be added later). The generated names are localized based on the `locales` field of the faction definition. For example:
|
||||
|
||||
```json
|
||||
{
|
||||
"name": "France and Germany",
|
||||
"locales": ["fr_FR", "de_DE"],
|
||||
}
|
||||
```
|
||||
|
||||
Names will be localized if the chosen locale has a `faker.providers.person` listed on https://faker.readthedocs.io/en/master/locales.html.
|
||||
|
||||
If the faction has no locales defined, names will be generated using `en_US` (the default for the name generator library).
|
||||
Loading…
x
Reference in New Issue
Block a user