mirror of
https://github.com/MarioSpore/Grinch-AP.git
synced 2025-10-21 20:21:32 -06:00
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:
@@ -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:
|
||||||
|
Reference in New Issue
Block a user