Skip to content

Commit

Permalink
Merge pull request #367 from CovenEsme/add-long-ranged-skyward-strike…
Browse files Browse the repository at this point in the history
…-trick

Add long range skyward strike trick
  • Loading branch information
CovenEsme authored Jun 14, 2024
2 parents dd5a632 + 28a8543 commit 72e06ba
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 3 deletions.
2 changes: 1 addition & 1 deletion data/macros.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ Can Obtain a Shield: Pouch and can_access(Bazaar) # To buy a shield and dispose

Sword: Practice_Sword

Long Range Skyward Strike: (Goddess_Sword and upgraded_skyward_strike) or True_Master_Sword
Long Range Skyward Strike: logic_long_ranged_skyward_strikes and ((Goddess_Sword and upgraded_skyward_strike) or True_Master_Sword)

Damaging Item: Sword or Bomb_Bag or Bow

Expand Down
10 changes: 10 additions & 0 deletions data/settings_list.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1357,6 +1357,16 @@
- "off": "You will only be expected to defeat Lizalfos enemies with a sword."
- "on": "You may need to defeat Lizalfos enemies with only bombs or only the Bow."

- name: logic_long_ranged_skyward_strikes
default_option: "off"
pretty_name: "Long Ranged Skyward Strikes"
pretty_options:
- "Off"
- "On"
options:
- "off": "You will not need to perform any Skyward Strikes that travel long distances."
- "on": "You may need to perform ranged Skyward Strikes to hit distant Goddess Cubes, enemies, or switches."

- name: logic_gravestone_jump
default_option: "off"
pretty_name: Gravestone Jump
Expand Down
9 changes: 8 additions & 1 deletion gui/ui/main.ui
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
<enum>QTabWidget::TabShape::Rounded</enum>
</property>
<property name="currentIndex">
<number>0</number>
<number>6</number>
</property>
<widget class="QWidget" name="getting_started_tab">
<property name="sizePolicy">
Expand Down Expand Up @@ -2635,6 +2635,13 @@
</property>
</widget>
</item>
<item>
<widget class="RandoTriStateCheckBox" name="setting_logic_long_ranged_skyward_strikes">
<property name="text">
<string>Long Range Skyward Strikes</string>
</property>
</widget>
</item>
<item>
<widget class="RandoTriStateCheckBox" name="setting_logic_skyview_precise_slingshot">
<property name="text">
Expand Down
8 changes: 7 additions & 1 deletion gui/ui/ui_main.py
Original file line number Diff line number Diff line change
Expand Up @@ -1743,6 +1743,11 @@ def setupUi(self, main_window):

self.verticalLayout_20.addWidget(self.setting_logic_advanced_lizalfos_combat)

self.setting_logic_long_ranged_skyward_strikes = RandoTriStateCheckBox(self.precise_items_group_box)
self.setting_logic_long_ranged_skyward_strikes.setObjectName(u"setting_logic_long_ranged_skyward_strikes")

self.verticalLayout_20.addWidget(self.setting_logic_long_ranged_skyward_strikes)

self.setting_logic_skyview_precise_slingshot = RandoTriStateCheckBox(self.precise_items_group_box)
self.setting_logic_skyview_precise_slingshot.setObjectName(u"setting_logic_skyview_precise_slingshot")

Expand Down Expand Up @@ -2774,7 +2779,7 @@ def setupUi(self, main_window):

self.retranslateUi(main_window)

self.tab_widget.setCurrentIndex(0)
self.tab_widget.setCurrentIndex(6)


QMetaObject.connectSlotsByName(main_window)
Expand Down Expand Up @@ -2969,6 +2974,7 @@ def retranslateUi(self, main_window):
self.tricks_group_box.setTitle(QCoreApplication.translate("main_window", u"Tricks", None))
self.precise_items_group_box.setTitle(QCoreApplication.translate("main_window", u"Precise Items", None))
self.setting_logic_advanced_lizalfos_combat.setText(QCoreApplication.translate("main_window", u"Advanced Lizalfos Combat", None))
self.setting_logic_long_ranged_skyward_strikes.setText(QCoreApplication.translate("main_window", u"Long Range Skyward Strikes", None))
self.setting_logic_skyview_precise_slingshot.setText(QCoreApplication.translate("main_window", u"Skyview Temple Precise Slingshot", None))
self.setting_logic_lmf_ceiling_precise_slingshot.setText(QCoreApplication.translate("main_window", u"Lanayru Mining Facility Precise Slingshot", None))
self.setting_logic_tot_slingshot.setText(QCoreApplication.translate("main_window", u"Temple of Time Precise Slingshot", None))
Expand Down

0 comments on commit 72e06ba

Please sign in to comment.