mirror of
https://github.com/dcs-liberation/dcs_liberation.git
synced 2025-11-10 14:22:26 +00:00
25 lines
471 B
Python
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,
|
|
)
|