OptionCreator: pre-RC1 fixes (#5680)

* fix str default on text choice

* fix range with default random

* forgot module update

* handle namedrange default special

* handle option group of options we should not render

* Update OptionsCreator.py

* Update OptionsCreator.py

* grammar
This commit is contained in:
Silvris
2025-11-29 18:23:13 -06:00
committed by GitHub
parent 775065715d
commit 3fa2745c37
3 changed files with 22 additions and 8 deletions

View File

@@ -1545,6 +1545,7 @@ class PlandoItems(Option[typing.List[PlandoItem]]):
default = ()
supports_weighting = False
display_name = "Plando Items"
visibility = Visibility.template | Visibility.spoiler
def __init__(self, value: typing.Iterable[PlandoItem]) -> None:
self.value = list(deepcopy(value))