Merge pull request #1248 from jsjlewis96/dot-neutral

#987 Neutral dot labels in options
This commit is contained in:
C. Perreau 2021-06-18 18:13:09 +02:00 committed by GitHub
commit cea970f065
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 1 deletions

View File

@ -20,6 +20,7 @@ Saves from 3.x are not compatible with 4.0.
* **[Campaign AI]** Fix procurement for factions that lack some unit types.
* **[Mission Generation]** Fixed problem with mission load when control point name contained an apostrophe.
* **[UI]** Made non-interactive map elements less obstructive.
* **[UI]** Added support for Neutral Dot difficulty label
# 3.0.0

View File

@ -32,6 +32,8 @@ class ForcedOptionsGenerator:
self.mission.forced_options.labels = ForcedOptions.Labels.Abbreviate
elif self.game.settings.labels == "Dot Only":
self.mission.forced_options.labels = ForcedOptions.Labels.DotOnly
elif self.game.settings.labels == "Neutral Dot":
self.mission.forced_options.labels = ForcedOptions.Labels.NeutralDot
elif self.game.settings.labels == "Off":
self.mission.forced_options.labels = ForcedOptions.Labels.None_

View File

@ -13,7 +13,7 @@ URLS: Dict[str, str] = {
"Issues": "https://github.com/dcs-liberation/dcs_liberation/issues",
}
LABELS_OPTIONS = ["Full", "Abbreviated", "Dot Only", "Off"]
LABELS_OPTIONS = ["Full", "Abbreviated", "Dot Only", "Neutral Dot", "Off"]
SKILL_OPTIONS = ["Average", "Good", "High", "Excellent"]
AIRCRAFT_BANNERS: Dict[str, QPixmap] = {}