Skip to content

Commit

Permalink
LADX: music shuffle (#2101)
Browse files Browse the repository at this point in the history
  • Loading branch information
zig-for authored Jan 19, 2024
1 parent ac7b707 commit 1307754
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions worlds/ladx/Options.py
Original file line number Diff line number Diff line change
Expand Up @@ -399,6 +399,26 @@ class Palette(Choice):
option_pink = 4
option_inverted = 5

class Music(Choice, LADXROption):
"""
[Vanilla] Regular Music
[Shuffled] Shuffled Music
[Off] No music
"""
ladxr_name = "music"
option_vanilla = 0
option_shuffled = 1
option_off = 2


def to_ladxr_option(self, all_options):
s = ""
if self.value == self.option_shuffled:
s = "random"
elif self.value == self.option_off:
s = "off"
return self.ladxr_name, s

class WarpImprovements(DefaultOffToggle):
"""
[On] Adds remake style warp screen to the game. Choose your warp destination on the map after jumping in a portal and press B to select.
Expand Down Expand Up @@ -444,6 +464,7 @@ class AdditionalWarpPoints(DefaultOffToggle):
'shuffle_maps': ShuffleMaps,
'shuffle_compasses': ShuffleCompasses,
'shuffle_stone_beaks': ShuffleStoneBeaks,
'music': Music,
'music_change_condition': MusicChangeCondition,
'nag_messages': NagMessages,
'ap_title_screen': APTitleScreen,
Expand Down

0 comments on commit 1307754

Please sign in to comment.