Add documentation to LogicTricks option

This commit is contained in:
espeon65536 2021-11-02 16:25:15 -05:00 committed by Fabian Dill
parent 666e3b5333
commit 4f28c3fa46
1 changed files with 8 additions and 1 deletions

View File

@ -765,6 +765,13 @@ sfx_options: typing.Dict[str, type(Option)] = {
}
class LogicTricks(OptionList):
"""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 https://github.com/ArchipelagoMW/Archipelago/blob/main/worlds/oot/LogicTricks.py"""
displayname = "Logic Tricks"
# All options assembled into a single dict
oot_options: typing.Dict[str, type(Option)] = {
"logic_rules": Logic,
@ -780,5 +787,5 @@ oot_options: typing.Dict[str, type(Option)] = {
**itempool_options,
**cosmetic_options,
**sfx_options,
"logic_tricks": OptionList,
"logic_tricks": LogicTricks,
}