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:
parent
c022c742b5
commit
ce78c75999
|
@ -1,7 +1,7 @@
|
||||||
import typing
|
import typing
|
||||||
import random
|
import random
|
||||||
from dataclasses import dataclass
|
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
|
PerGameCommonOptions, OptionGroup
|
||||||
from .EntranceShuffle import entrance_shuffle_table
|
from .EntranceShuffle import entrance_shuffle_table
|
||||||
from .LogicTricks import normalized_name_tricks
|
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.
|
"""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"].
|
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:
|
A full list of supported tricks can be found at:
|
||||||
|
|
Loading…
Reference in New Issue