Options: some display name renames that were missed (#318)

This commit is contained in:
Fabian Dill 2022-03-18 18:17:19 +01:00 committed by GitHub
parent 7394598aff
commit 1266ca314c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 15 additions and 15 deletions

View File

@ -268,11 +268,11 @@ class Music(DefaultOnToggle):
class ReduceFlashing(DefaultOnToggle): class ReduceFlashing(DefaultOnToggle):
displayname = "Reduce Screen Flashes" display_name = "Reduce Screen Flashes"
class TriforceHud(Choice): class TriforceHud(Choice):
displayname = "Display Method for Triforce Hunt" display_name = "Display Method for Triforce Hunt"
option_normal = 0 option_normal = 0
option_hide_goal = 1 option_hide_goal = 1
option_hide_required = 2 option_hide_required = 2
@ -289,14 +289,14 @@ class BeemizerTotalChance(BeemizerRange):
"""Percentage chance for each junk-fill item (rupees, bombs, arrows) to be """Percentage chance for each junk-fill item (rupees, bombs, arrows) to be
replaced with either a bee swarm trap or a single bottle-filling bee.""" replaced with either a bee swarm trap or a single bottle-filling bee."""
default = 0 default = 0
displayname = "Beemizer Total Chance" display_name = "Beemizer Total Chance"
class BeemizerTrapChance(BeemizerRange): class BeemizerTrapChance(BeemizerRange):
"""Percentage chance for each replaced junk-fill item to be a bee swarm """Percentage chance for each replaced junk-fill item to be a bee swarm
trap; all other replaced items are single bottle-filling bees.""" trap; all other replaced items are single bottle-filling bees."""
default = 60 default = 60
displayname = "Beemizer Trap Chance" display_name = "Beemizer Trap Chance"
alttp_options: typing.Dict[str, type(Option)] = { alttp_options: typing.Dict[str, type(Option)] = {

View File

@ -176,31 +176,31 @@ class ElevatorsDoorsSpeed(DefaultOnToggle):
class SpinJumpRestart(Toggle): class SpinJumpRestart(Toggle):
"""Allows Samus to start spinning in mid air after jumping or falling.""" """Allows Samus to start spinning in mid air after jumping or falling."""
displayname = "Spin Jump Restart" display_name = "Spin Jump Restart"
class InfiniteSpaceJump(Toggle): class InfiniteSpaceJump(Toggle):
"""Space jumps can be done quicker and at any time in air, water or lava, even after falling long distances.""" """Space jumps can be done quicker and at any time in air, water or lava, even after falling long distances."""
displayname = "Infinite Space Jump" display_name = "Infinite Space Jump"
class RefillBeforeSave(Toggle): class RefillBeforeSave(Toggle):
"""Refill energy and ammo when saving.""" """Refill energy and ammo when saving."""
displayname = "Refill Before Save" display_name = "Refill Before Save"
class Hud(Toggle): class Hud(Toggle):
"""Displays the current area name and the number of remaining items of selected item split in the HUD for the current area.""" """Displays the current area name and the number of remaining items of selected item split in the HUD for the current area."""
displayname = "Hud" display_name = "Hud"
class Animals(Toggle): class Animals(Toggle):
"""Replace saving the animals in the escape sequence by a random surprise.""" """Replace saving the animals in the escape sequence by a random surprise."""
displayname = "Animals" display_name = "Animals"
class NoMusic(Toggle): class NoMusic(Toggle):
"""Disable the background music.""" """Disable the background music."""
displayname = "No Music" display_name = "No Music"
class RandomMusic(Toggle): class RandomMusic(Toggle):
"""Randomize the background music.""" """Randomize the background music."""
displayname = "Random Music" display_name = "Random Music"
class CustomPreset(OptionDict): class CustomPreset(OptionDict):
""" """
@ -209,7 +209,7 @@ class CustomPreset(OptionDict):
settings: hard rooms, hellruns and bosses settings settings: hard rooms, hellruns and bosses settings
controller: predefined controller mapping and moon walk setting controller: predefined controller mapping and moon walk setting
""" """
displayname = "Custom Preset" display_name = "Custom Preset"
default = { "knows": {}, default = { "knows": {},
"settings": {}, "settings": {},
"controller": {} "controller": {}
@ -217,7 +217,7 @@ class CustomPreset(OptionDict):
class VariaCustomPreset(OptionList): class VariaCustomPreset(OptionList):
"""use an entry from the preset list on https://randommetroidsolver.pythonanywhere.com/presets""" """use an entry from the preset list on https://randommetroidsolver.pythonanywhere.com/presets"""
displayname = "Varia Custom Preset" display_name = "Varia Custom Preset"
default = {} default = {}

View File

@ -19,11 +19,11 @@ class DeathLinkAmnesty(Range):
class AreaRandomizer(Toggle): class AreaRandomizer(Toggle):
"""Randomize Entrances to Areas""" """Randomize Entrances to Areas"""
displayname = "Area Randomizer" display_name = "Area Randomizer"
class MusicRandomizer(Toggle): class MusicRandomizer(Toggle):
"""Randomize Music""" """Randomize Music"""
displayname = "Music Randomizer" display_name = "Music Randomizer"
v6_options: typing.Dict[str,type(Option)] = { v6_options: typing.Dict[str,type(Option)] = {
"MusicRandomizer": MusicRandomizer, "MusicRandomizer": MusicRandomizer,