dcs-retribution/game/settings/skilloption.py
Dan Albert 626740366b Port the mission generator settings to auto.
Done now. Not porting the cheat menu because it contains non-settings
elements as well.
2021-10-21 19:54:58 -07:00

25 lines
471 B
Python

from typing import Any, Optional
from .choicesoption import choices_option
def skill_option(
text: str,
page: str,
section: str,
default: str,
detail: Optional[str] = None,
tooltip: Optional[str] = None,
**kwargs: Any,
) -> str:
return choices_option(
text,
page,
section,
default,
["Average", "Good", "High", "Excellent"],
detail=detail,
tooltip=tooltip,
**kwargs,
)