Port the mission generator settings to auto.

Done now. Not porting the cheat menu because it contains non-settings
elements as well.
This commit is contained in:
Dan Albert
2021-10-21 19:54:58 -07:00
parent a618f00662
commit 626740366b
13 changed files with 214 additions and 416 deletions

View File

@@ -20,12 +20,13 @@ def bounded_float_option(
max: float,
divisor: int,
detail: Optional[str] = None,
tooltip: Optional[str] = None,
**kwargs: Any,
) -> float:
return field(
metadata={
SETTING_DESCRIPTION_KEY: BoundedFloatOption(
page, section, text, detail, min, max, divisor
page, section, text, detail, tooltip, min, max, divisor
)
},
default=default,