forked from mirror/Archipelago
Some checks failed
Analyze modified files / flake8 (push) Failing after 2m28s
Build / build-win (push) Has been cancelled
Build / build-ubuntu2204 (push) Has been cancelled
ctest / Test C++ ubuntu-latest (push) Has been cancelled
ctest / Test C++ windows-latest (push) Has been cancelled
Analyze modified files / mypy (push) Has been cancelled
Build and Publish Docker Images / Push Docker image to Docker Hub (push) Successful in 5m4s
Native Code Static Analysis / scan-build (push) Failing after 5m2s
type check / pyright (push) Successful in 1m7s
unittests / Test Python 3.11.2 ubuntu-latest (push) Failing after 16m23s
unittests / Test Python 3.12 ubuntu-latest (push) Failing after 28m19s
unittests / Test Python 3.13 ubuntu-latest (push) Failing after 14m49s
unittests / Test hosting with 3.13 on ubuntu-latest (push) Successful in 5m0s
unittests / Test Python 3.13 macos-latest (push) Has been cancelled
unittests / Test Python 3.11 windows-latest (push) Has been cancelled
unittests / Test Python 3.13 windows-latest (push) Has been cancelled
54 lines
1.7 KiB
Python
54 lines
1.7 KiB
Python
from dataclasses import dataclass
|
|
from typing import Dict, Any
|
|
from Options import (DefaultOnToggle, Toggle, StartInventoryPool, Choice, Range, TextChoice, PlandoConnections,
|
|
PerGameCommonOptions, OptionGroup, Visibility)
|
|
|
|
class EnableDLC(DefaultOnToggle):
|
|
"""
|
|
To use this option, you must own the "Reckonin' at Gun Manor" DLC.
|
|
"""
|
|
internal_name = "dlc_enabled"
|
|
display_name = "Gun Manor DLC Enabled"
|
|
|
|
class RandomizeGunManorCoach(DefaultOnToggle):
|
|
"""
|
|
Randomize the coach to access Gun Manor into the item pool.
|
|
This has no effect if the Gun Manor DLC is disabled.
|
|
"""
|
|
internal_name = "randomize_ghost_coach"
|
|
display_name = "Randomize Gun Manor Coach"
|
|
|
|
class RandomizeGoblintongue(DefaultOnToggle):
|
|
"""
|
|
Randomize the ability to speak Goblintongue into the item pool.
|
|
If this is disabled, you will always be able to speak Goblintongue from the start.
|
|
"""
|
|
internal_name = "randomize_goblintongue"
|
|
display_name = "Randomize Goblintongue"
|
|
|
|
class UnbreakableTools(Toggle):
|
|
"""
|
|
Makes it impossible for shovels and pickaxes to break in certain circumstances.
|
|
If this is disabled, additional tools will be available for purchase if yours breaks.
|
|
"""
|
|
internal_name = "unbreakable_tools"
|
|
display_name = "Unbreakable Tools"
|
|
|
|
@dataclass
|
|
class WOLOptions(PerGameCommonOptions):
|
|
start_inventory_from_pool: StartInventoryPool
|
|
|
|
dlc_enabled: EnableDLC
|
|
randomize_ghost_coach: RandomizeGunManorCoach
|
|
randomize_goblintongue: RandomizeGoblintongue
|
|
unbreakable_tools: UnbreakableTools
|
|
|
|
wol_option_groups = [
|
|
# OptionGroup("Logic Options", [
|
|
|
|
# ])
|
|
]
|
|
|
|
wol_option_presets: Dict[str, Dict[str, Any]] = {
|
|
|
|
} |