LttP: fix open pyramid settings parsing (#1253)

* lttp: fix open pyramid settings prasing

* accidentally left default changed when committing
This commit is contained in:
alwaysintreble 2022-11-27 19:29:18 -06:00 committed by GitHub
parent 67be80e59d
commit 8dffd87bee
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View File

@ -120,8 +120,8 @@ A Link to the Past:
open_pyramid:
goal: 50 # Opens the pyramid if the goal requires you to kill Ganon, unless the goal is Slow Ganon or All Dungeons
auto: 0 # Same as Goal, but also is closed if holes are shuffled and ganon is part of the shuffle pool
yes: 0 # Pyramid hole is always open. Ganon's vulnerable condition is still required before he can he hurt
no: 0 # Pyramid hole is always closed until you defeat Agahnim atop Ganon's Tower
open: 0 # Pyramid hole is always open. Ganon's vulnerable condition is still required before he can he hurt
closed: 0 # Pyramid hole is always closed until you defeat Agahnim atop Ganon's Tower
triforce_pieces_mode: #Determine how to calculate the extra available triforce pieces.
extra: 0 # available = triforce_pieces_extra + triforce_pieces_required
percentage: 0 # available = (triforce_pieces_percentage /100) * triforce_pieces_required

View File

@ -39,8 +39,8 @@ class OpenPyramid(Choice):
option_auto = 3
default = option_goal
alias_yes = option_open
alias_no = option_closed
alias_true = option_open
alias_false = option_closed
def to_bool(self, world: MultiWorld, player: int) -> bool:
if self.value == self.option_goal: