OoT: Turn Logic Tricks into an OptionSet (#3551)

* Alphabetizing WebHost display for logic tricks

* Convert to a Set

* Changing this back to match upstream
This commit is contained in:
Exempt-Medic
2024-11-28 19:40:53 -05:00
committed by GitHub
parent c022c742b5
commit ce78c75999

View File

@@ -1,7 +1,7 @@
import typing
import random
from dataclasses import dataclass
from Options import Option, DefaultOnToggle, Toggle, Range, OptionList, OptionSet, DeathLink, PlandoConnections, \
from Options import Option, DefaultOnToggle, Toggle, Range, OptionSet, DeathLink, PlandoConnections, \
PerGameCommonOptions, OptionGroup
from .EntranceShuffle import entrance_shuffle_table
from .LogicTricks import normalized_name_tricks
@@ -1272,7 +1272,7 @@ sfx_options: typing.Dict[str, type(Option)] = {
}
class LogicTricks(OptionList):
class LogicTricks(OptionSet):
"""Set various tricks for logic in Ocarina of Time.
Format as a comma-separated list of "nice" names: ["Fewer Tunic Requirements", "Hidden Grottos without Stone of Agony"].
A full list of supported tricks can be found at: