Skip to content

Commit

Permalink
Include ocarina buttons on the path of time
Browse files Browse the repository at this point in the history
  • Loading branch information
fenhl committed Apr 16, 2024
1 parent df88743 commit 65ee70c
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions World.py
Original file line number Diff line number Diff line change
Expand Up @@ -829,6 +829,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

0 comments on commit 65ee70c

Please sign in to comment.