LADX: Set display names in options (#2229)

* set display_name throughout Options.py

* drop whitespace changes

---------

Co-authored-by: black-sliver <59490463+black-sliver@users.noreply.github.com>
This commit is contained in:
Alex Nordstrom 2023-10-07 12:36:22 -04:00 committed by GitHub
parent b8fe3196e0
commit c3c6a7eb86
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 16 additions and 3 deletions

View File

@ -40,6 +40,7 @@ class TradeQuest(DefaultOffToggle, LADXROption):
[On] adds the trade items to the pool (the trade locations will always be local items) [On] adds the trade items to the pool (the trade locations will always be local items)
[Off] (default) doesn't add them [Off] (default) doesn't add them
""" """
display_name = "Trade Quest"
ladxr_name = "tradequest" ladxr_name = "tradequest"
class Rooster(DefaultOnToggle, LADXROption): class Rooster(DefaultOnToggle, LADXROption):
@ -47,6 +48,7 @@ class Rooster(DefaultOnToggle, LADXROption):
[On] Adds the rooster to the item pool. [On] Adds the rooster to the item pool.
[Off] The rooster spot is still a check giving an item. But you will never find the rooster. Any rooster spot is accessible without rooster by other means. [Off] The rooster spot is still a check giving an item. But you will never find the rooster. Any rooster spot is accessible without rooster by other means.
""" """
display_name = "Rooster"
ladxr_name = "rooster" ladxr_name = "rooster"
class Boomerang(Choice): class Boomerang(Choice):
@ -77,6 +79,7 @@ class EntranceShuffle(Choice, LADXROption):
#option_expert = 3 #option_expert = 3
#option_insanity = 4 #option_insanity = 4
default = option_none default = option_none
display_name = "Experimental Entrance Shuffle"
ladxr_name = "entranceshuffle" ladxr_name = "entranceshuffle"
class DungeonShuffle(DefaultOffToggle, LADXROption): class DungeonShuffle(DefaultOffToggle, LADXROption):
@ -84,13 +87,14 @@ class DungeonShuffle(DefaultOffToggle, LADXROption):
[WARNING] Experimental, may fail to fill [WARNING] Experimental, may fail to fill
Randomizes dungeon entrances within eachother Randomizes dungeon entrances within eachother
""" """
display_name = "Experimental Dungeon Shuffle"
ladxr_name = "dungeonshuffle" ladxr_name = "dungeonshuffle"
class APTitleScreen(DefaultOnToggle): class APTitleScreen(DefaultOnToggle):
""" """
Enables AP specific title screen and disables the intro cutscene Enables AP specific title screen and disables the intro cutscene
""" """
display_name = "AP Title Screen"
class BossShuffle(Choice): class BossShuffle(Choice):
none = 0 none = 0
@ -119,6 +123,7 @@ class ShuffleNightmareKeys(DungeonItemShuffle):
[Any World] The item could be anywhere [Any World] The item could be anywhere
[Different World] The item will be somewhere in another world [Different World] The item will be somewhere in another world
""" """
display_name = "Shuffle Nightmare Keys"
ladxr_item = "NIGHTMARE_KEY" ladxr_item = "NIGHTMARE_KEY"
class ShuffleSmallKeys(DungeonItemShuffle): class ShuffleSmallKeys(DungeonItemShuffle):
@ -130,6 +135,7 @@ class ShuffleSmallKeys(DungeonItemShuffle):
[Any World] The item could be anywhere [Any World] The item could be anywhere
[Different World] The item will be somewhere in another world [Different World] The item will be somewhere in another world
""" """
display_name = "Shuffle Small Keys"
ladxr_item = "KEY" ladxr_item = "KEY"
class ShuffleMaps(DungeonItemShuffle): class ShuffleMaps(DungeonItemShuffle):
""" """
@ -140,6 +146,7 @@ class ShuffleMaps(DungeonItemShuffle):
[Any World] The item could be anywhere [Any World] The item could be anywhere
[Different World] The item will be somewhere in another world [Different World] The item will be somewhere in another world
""" """
display_name = "Shuffle Maps"
ladxr_item = "MAP" ladxr_item = "MAP"
class ShuffleCompasses(DungeonItemShuffle): class ShuffleCompasses(DungeonItemShuffle):
@ -151,6 +158,7 @@ class ShuffleCompasses(DungeonItemShuffle):
[Any World] The item could be anywhere [Any World] The item could be anywhere
[Different World] The item will be somewhere in another world [Different World] The item will be somewhere in another world
""" """
display_name = "Shuffle Compasses"
ladxr_item = "COMPASS" ladxr_item = "COMPASS"
class ShuffleStoneBeaks(DungeonItemShuffle): class ShuffleStoneBeaks(DungeonItemShuffle):
@ -162,6 +170,7 @@ class ShuffleStoneBeaks(DungeonItemShuffle):
[Any World] The item could be anywhere [Any World] The item could be anywhere
[Different World] The item will be somewhere in another world [Different World] The item will be somewhere in another world
""" """
display_name = "Shuffle Stone Beaks"
ladxr_item = "STONE_BEAK" ladxr_item = "STONE_BEAK"
class Goal(Choice, LADXROption): class Goal(Choice, LADXROption):
@ -189,6 +198,7 @@ class InstrumentCount(Range, LADXROption):
""" """
Sets the number of instruments required to open the Egg Sets the number of instruments required to open the Egg
""" """
display_name = "Instrument Count"
ladxr_name = None ladxr_name = None
range_start = 0 range_start = 0
range_end = 8 range_end = 8
@ -198,7 +208,7 @@ class NagMessages(DefaultOffToggle, LADXROption):
""" """
Controls if nag messages are shown when rocks and crystals are touched. Useful for glitches, annoying for everyone else. Controls if nag messages are shown when rocks and crystals are touched. Useful for glitches, annoying for everyone else.
""" """
display_name = "Nag Messages"
ladxr_name = "nagmessages" ladxr_name = "nagmessages"
class MusicChangeCondition(Choice): class MusicChangeCondition(Choice):
@ -207,6 +217,7 @@ class MusicChangeCondition(Choice):
[Sword] When you pick up a sword, the music changes [Sword] When you pick up a sword, the music changes
[Always] You always have the post-sword music [Always] You always have the post-sword music
""" """
display_name = "Music Change Condition"
option_sword = 0 option_sword = 0
option_always = 1 option_always = 1
default = option_always default = option_always
@ -288,7 +299,7 @@ class LinkPalette(Choice, LADXROption):
Sets link's palette Sets link's palette
A-D are color palettes usually used during the damage animation and can change based on where you are. A-D are color palettes usually used during the damage animation and can change based on where you are.
""" """
display_name = "Links Palette" display_name = "Link's Palette"
ladxr_name = "linkspalette" ladxr_name = "linkspalette"
option_normal = -1 option_normal = -1
option_green = 0 option_green = 0
@ -313,6 +324,7 @@ class TrendyGame(Choice):
[Hardest] The items move diagonally [Hardest] The items move diagonally
[Impossible] The items move impossibly fast, may scroll on and off the screen [Impossible] The items move impossibly fast, may scroll on and off the screen
""" """
display_name = "Trendy Game"
option_easy = 0 option_easy = 0
option_normal = 1 option_normal = 1
option_hard = 2 option_hard = 2
@ -372,6 +384,7 @@ class Palette(Choice):
[Pink] Aesthetic [Pink] Aesthetic
[Inverted] Inverted [Inverted] Inverted
""" """
display_name = "Palette"
option_normal = 0 option_normal = 0
option_1bit = 1 option_1bit = 1
option_2bit = 2 option_2bit = 2