Pokemon Emerald: Clarify death link and start inventory descriptions (#4517)
This commit is contained in:
parent
57a571cc11
commit
c43233120a
|
@ -22,7 +22,7 @@ from .locations import (PokemonEmeraldLocation, create_location_label_to_id_map,
|
|||
set_free_fly, set_legendary_cave_entrances)
|
||||
from .opponents import randomize_opponent_parties
|
||||
from .options import (Goal, DarkCavesRequireFlash, HmRequirements, ItemPoolType, PokemonEmeraldOptions,
|
||||
RandomizeWildPokemon, RandomizeBadges, RandomizeHms, NormanRequirement)
|
||||
RandomizeWildPokemon, RandomizeBadges, RandomizeHms, NormanRequirement, OPTION_GROUPS)
|
||||
from .pokemon import (get_random_move, get_species_id_by_label, randomize_abilities, randomize_learnsets,
|
||||
randomize_legendary_encounters, randomize_misc_pokemon, randomize_starters,
|
||||
randomize_tm_hm_compatibility,randomize_types, randomize_wild_encounters)
|
||||
|
@ -63,6 +63,7 @@ class PokemonEmeraldWebWorld(WebWorld):
|
|||
)
|
||||
|
||||
tutorials = [setup_en, setup_es, setup_sv]
|
||||
option_groups = OPTION_GROUPS
|
||||
|
||||
|
||||
class PokemonEmeraldSettings(settings.Group):
|
||||
|
|
|
@ -4,7 +4,7 @@ Option definitions for Pokemon Emerald
|
|||
from dataclasses import dataclass
|
||||
|
||||
from Options import (Choice, DeathLink, DefaultOnToggle, OptionSet, NamedRange, Range, Toggle, FreeText,
|
||||
PerGameCommonOptions)
|
||||
PerGameCommonOptions, OptionGroup, StartInventory)
|
||||
|
||||
from .data import data
|
||||
|
||||
|
@ -803,6 +803,10 @@ class RandomizeFanfares(Toggle):
|
|||
display_name = "Randomize Fanfares"
|
||||
|
||||
|
||||
class PokemonEmeraldDeathLink(DeathLink):
|
||||
__doc__ = DeathLink.__doc__ + "\n\n In Pokemon Emerald, whiting out sends a death and receiving a death causes you to white out."
|
||||
|
||||
|
||||
class WonderTrading(DefaultOnToggle):
|
||||
"""
|
||||
Allows participation in wonder trading with other players in your current multiworld. Speak with the center receptionist on the second floor of any pokecenter.
|
||||
|
@ -828,6 +832,14 @@ class EasterEgg(FreeText):
|
|||
default = "EMERALD SECRET"
|
||||
|
||||
|
||||
class PokemonEmeraldStartInventory(StartInventory):
|
||||
"""
|
||||
Start with these items.
|
||||
|
||||
They will be in your PC, which you can access from your home or a pokemon center.
|
||||
"""
|
||||
|
||||
|
||||
@dataclass
|
||||
class PokemonEmeraldOptions(PerGameCommonOptions):
|
||||
goal: Goal
|
||||
|
@ -904,7 +916,18 @@ class PokemonEmeraldOptions(PerGameCommonOptions):
|
|||
music: RandomizeMusic
|
||||
fanfares: RandomizeFanfares
|
||||
|
||||
death_link: DeathLink
|
||||
death_link: PokemonEmeraldDeathLink
|
||||
|
||||
enable_wonder_trading: WonderTrading
|
||||
easter_egg: EasterEgg
|
||||
|
||||
start_inventory: PokemonEmeraldStartInventory
|
||||
|
||||
|
||||
OPTION_GROUPS = [
|
||||
OptionGroup(
|
||||
"Item & Location Options", [
|
||||
PokemonEmeraldStartInventory,
|
||||
], True,
|
||||
),
|
||||
]
|
||||
|
|
Loading…
Reference in New Issue