LADX: Adding 'Option Groups' to the player options page. (#3560)
* Adding 'Option Groups' to the LADX player options page. * Moved 'Miscellaneous' group to the logic effecting groups.
This commit is contained in:
parent
b6191ff7ca
commit
240d1a3bbf
|
@ -3,7 +3,7 @@ from dataclasses import dataclass
|
|||
import os.path
|
||||
import typing
|
||||
import logging
|
||||
from Options import Choice, Toggle, DefaultOnToggle, Range, FreeText, PerGameCommonOptions
|
||||
from Options import Choice, Toggle, DefaultOnToggle, Range, FreeText, PerGameCommonOptions, OptionGroup
|
||||
from collections import defaultdict
|
||||
import Utils
|
||||
|
||||
|
@ -493,6 +493,44 @@ class AdditionalWarpPoints(DefaultOffToggle):
|
|||
[Off] No change
|
||||
"""
|
||||
|
||||
ladx_option_groups = [
|
||||
OptionGroup("Goal Options", [
|
||||
Goal,
|
||||
InstrumentCount,
|
||||
]),
|
||||
OptionGroup("Shuffles", [
|
||||
ShuffleInstruments,
|
||||
ShuffleNightmareKeys,
|
||||
ShuffleSmallKeys,
|
||||
ShuffleMaps,
|
||||
ShuffleCompasses,
|
||||
ShuffleStoneBeaks
|
||||
]),
|
||||
OptionGroup("Warp Points", [
|
||||
WarpImprovements,
|
||||
AdditionalWarpPoints,
|
||||
]),
|
||||
OptionGroup("Miscellaneous", [
|
||||
TradeQuest,
|
||||
Rooster,
|
||||
TrendyGame,
|
||||
NagMessages,
|
||||
BootsControls
|
||||
]),
|
||||
OptionGroup("Experimental", [
|
||||
DungeonShuffle,
|
||||
EntranceShuffle
|
||||
]),
|
||||
OptionGroup("Visuals & Sound", [
|
||||
LinkPalette,
|
||||
Palette,
|
||||
TextShuffle,
|
||||
APTitleScreen,
|
||||
GfxMod,
|
||||
Music,
|
||||
MusicChangeCondition
|
||||
])
|
||||
]
|
||||
|
||||
@dataclass
|
||||
class LinksAwakeningOptions(PerGameCommonOptions):
|
||||
|
|
|
@ -24,7 +24,7 @@ from .LADXR.settings import Settings as LADXRSettings
|
|||
from .LADXR.worldSetup import WorldSetup as LADXRWorldSetup
|
||||
from .Locations import (LinksAwakeningLocation, LinksAwakeningRegion,
|
||||
create_regions_from_ladxr, get_locations_to_id)
|
||||
from .Options import DungeonItemShuffle, ShuffleInstruments, LinksAwakeningOptions
|
||||
from .Options import DungeonItemShuffle, ShuffleInstruments, LinksAwakeningOptions, ladx_option_groups
|
||||
from .Rom import LADXDeltaPatch, get_base_rom_path
|
||||
|
||||
DEVELOPER_MODE = False
|
||||
|
@ -65,7 +65,7 @@ class LinksAwakeningWebWorld(WebWorld):
|
|||
["zig"]
|
||||
)]
|
||||
theme = "dirt"
|
||||
|
||||
option_groups = ladx_option_groups
|
||||
|
||||
class LinksAwakeningWorld(World):
|
||||
"""
|
||||
|
|
Loading…
Reference in New Issue