Skip to content

Commit

Permalink
Merge 'Include ocarina buttons on the path of time' (OoTRandomizer#2203)
Browse files Browse the repository at this point in the history
# Conflicts:
#	World.py
  • Loading branch information
fenhl committed Oct 5, 2024
2 parents 251b716 + 65ee70c commit 5016b88
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 1 deletion.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,10 @@ issue. You should always Hard Reset to avoid this issue entirely.
* New setting to speed up the boat ride in the Shadow Temple.
* New `Require Lens of Truth for Treasure Chest Game` setting.

#### Bug fixes

* Ocarina buttons required to play the Song of Time are now part of the `path of time` goal.

#### Other Changes
* Now supports custom music written for the Majora's Mask Randomizer.
* New Magic Meter item model to allow magic drops to be shuffled in the future.
Expand Down
12 changes: 12 additions & 0 deletions World.py
Original file line number Diff line number Diff line change
Expand Up @@ -841,6 +841,18 @@ def set_goals(self) -> None:
dot_items.append({'name': 'Song of Time', 'quantity': 2 if self.settings.shuffle_song_items == 'any' and self.settings.item_pool_value == 'plentiful' else 1, 'minimum': 1, 'hintable': True})
if self.settings.shuffle_ocarinas:
dot_items.append({'name': 'Ocarina', 'quantity': 3 if self.settings.item_pool_value == 'plentiful' else 2, 'minimum': 1, 'hintable': True})
if self.settings.shuffle_individual_ocarina_notes:
notes = str(self.song_notes['Song of Time'])
if 'A' in notes:
dot_items.append({'name': 'Ocarina A Button', 'quantity': 2 if self.settings.item_pool_value == 'plentiful' else 1, 'minimum': 1, 'hintable': True})
if 'v' in notes:
dot_items.append({'name': 'Ocarina C down Button', 'quantity': 2 if self.settings.item_pool_value == 'plentiful' else 1, 'minimum': 1, 'hintable': True})
if '>' in notes:
dot_items.append({'name': 'Ocarina C right Button', 'quantity': 2 if self.settings.item_pool_value == 'plentiful' else 1, 'minimum': 1, 'hintable': True})
if '<' in notes:
dot_items.append({'name': 'Ocarina C left Button', 'quantity': 2 if self.settings.item_pool_value == 'plentiful' else 1, 'minimum': 1, 'hintable': True})
if '^' in notes:
dot_items.append({'name': 'Ocarina C up Button', 'quantity': 2 if self.settings.item_pool_value == 'plentiful' else 1, 'minimum': 1, 'hintable': True})
dot.add_goal(Goal(self, 'Door of Time', 'path of #time#', 'Light Blue', items=dot_items))
self.goal_categories[dot.name] = dot

Expand Down
2 changes: 1 addition & 1 deletion version.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
__version__ = '8.2.15'
__version__ = '8.2.16'

# This is a supplemental version number for branches based off of main dev.
supplementary_version = 0
Expand Down

0 comments on commit 5016b88

Please sign in to comment.