mirror of
https://github.com/MarioSpore/Grinch-AP.git
synced 2025-10-21 20:21:32 -06:00
Bumper Stickers and Meritous: Options and world: multiworld fixes (#3281)
* Update Options.py * Update __init__.py * Correct case * Correct case * Update Meritous and actually use Options * Oops * Fixing world: multiworld
This commit is contained in:
@@ -3,8 +3,10 @@
|
||||
# This software is released under the MIT License.
|
||||
# https://opensource.org/licenses/MIT
|
||||
|
||||
from dataclasses import dataclass
|
||||
|
||||
import typing
|
||||
from Options import Option, DeathLink, Toggle, DefaultOnToggle, Choice
|
||||
from Options import Option, DeathLink, Toggle, DefaultOnToggle, Choice, PerGameCommonOptions
|
||||
|
||||
|
||||
cost_scales = {
|
||||
@@ -51,10 +53,10 @@ class ItemCacheCost(Choice):
|
||||
default = 0
|
||||
|
||||
|
||||
meritous_options: typing.Dict[str, type(Option)] = {
|
||||
"goal": Goal,
|
||||
"include_psi_keys": IncludePSIKeys,
|
||||
"include_evolution_traps": IncludeEvolutionTraps,
|
||||
"item_cache_cost": ItemCacheCost,
|
||||
"death_link": DeathLink
|
||||
}
|
||||
@dataclass
|
||||
class MeritousOptions(PerGameCommonOptions):
|
||||
goal: Goal
|
||||
include_psi_keys: IncludePSIKeys
|
||||
include_evolution_traps: IncludeEvolutionTraps
|
||||
item_cache_cost: ItemCacheCost
|
||||
death_link: DeathLink
|
||||
|
||||
Reference in New Issue
Block a user