Skip to content

Commit

Permalink
Fix some fixed room properties descriptions
Browse files Browse the repository at this point in the history
  • Loading branch information
Frostbyte0x70 committed Jun 26, 2022
1 parent 740e952 commit df1c3c6
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 6 deletions.
25 changes: 21 additions & 4 deletions skytemple/module/dungeon/controller/fixed.glade
Original file line number Diff line number Diff line change
Expand Up @@ -1671,7 +1671,7 @@ if dungeon is cleared:</property>
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="halign">end</property>
<property name="label" translatable="yes">Prevent "Item Stealing"</property>
<property name="label" translatable="yes">Allow "Item Stealing"</property>
</object>
<packing>
<property name="left-attach">0</property>
Expand All @@ -1683,7 +1683,7 @@ if dungeon is cleared:</property>
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="halign">end</property>
<property name="label" translatable="yes">Disable all warp effects:</property>
<property name="label" translatable="yes">Allow warp effects:</property>
</object>
<packing>
<property name="left-attach">0</property>
Expand All @@ -1695,7 +1695,7 @@ if dungeon is cleared:</property>
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="halign">end</property>
<property name="label" translatable="yes">Disable some traps:</property>
<property name="label" translatable="yes">Allow certain traps:</property>
</object>
<packing>
<property name="left-attach">0</property>
Expand Down Expand Up @@ -1779,7 +1779,24 @@ Please check the help for each setting for more information.</property>
</packing>
</child>
<child>
<placeholder/>
<object class="GtkButton" id="btn_help_unk5">
<property name="visible">True</property>
<property name="can-focus">True</property>
<property name="receives-default">True</property>
<property name="valign">center</property>
<signal name="clicked" handler="on_btn_help_unk5_clicked" swapped="no"/>
<child>
<object class="GtkImage">
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="icon-name">skytemple-help-about-symbolic</property>
</object>
</child>
</object>
<packing>
<property name="left-attach">2</property>
<property name="top-attach">6</property>
</packing>
</child>
<child>
<placeholder/>
Expand Down
9 changes: 7 additions & 2 deletions skytemple/module/dungeon/controller/fixed.py
Original file line number Diff line number Diff line change
Expand Up @@ -445,11 +445,16 @@ def on_btn_help_orbs_clicked(self, *args):
def on_btn_help_defeat_enemies_clicked(self, *args):
self._help(_("If enabled, the floor is exited after all the enemies have been defeated"))

def on_btn_help_unk5_clicked(self, *args):
self._help(_("If disabled, certain traps (Summon, Pitfall and Pokémon) will be disabled."
"\nIf ChangeFixedFloorProperties is not applied and the fixed floor ID is 0 or >= 165 this setting is ignored. It is always enabled."))

def on_btn_help_unk8_clicked(self, *args):
self._help(_("If ChangeFixedFloorProperties is not applied and the fixed floor ID is 0 or >= 165 this setting is ignored. It is always enabled."))
self._help(_("If disabled, warping, being blown away and leaping effects will be disabled."
"\nIf ChangeFixedFloorProperties is not applied and the fixed floor ID is 0 or >= 165 this setting is ignored. It is always enabled."))

def on_btn_help_unk9_clicked(self, *args):
self._help(_("Prevents any kind of item pulling (such as with the Trawl Orb)."
self._help(_("If disabled, prevents any kind of item pulling (such as with the Trawl Orb)."
"\nIf ChangeFixedFloorProperties is not applied and the fixed floor ID is 0 or >= 165 this setting is ignored. It is always enabled."))

def on_btn_help_complete_clicked(self, *args):
Expand Down

0 comments on commit df1c3c6

Please sign in to comment.