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:
Exempt-Medic
2024-05-12 12:52:34 -04:00
committed by GitHub
parent 701fbab837
commit f38655d6b6
6 changed files with 59 additions and 53 deletions

View File

@@ -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