Skip to content

Commit

Permalink
Ability requirement fixups
Browse files Browse the repository at this point in the history
  • Loading branch information
SunnyBat committed Sep 17, 2023
1 parent 57ee029 commit 6a39519
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 14 deletions.
3 changes: 1 addition & 2 deletions worlds/yooka_laylee/Rules.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,6 @@ def yookaLaylee_can_access_glacier_exp(self, player):
def yookaLaylee_can_access_marsh(self, player):
return (self.has("Pagie", player, 19)
and self.yookaLaylee_can_access_HT_waterworks(player)
# TODO Does Buddy Bubble also require Buddy Slam for a switch to open the entrance to get to Marsh book?
and (self.has("Buddy Bubble", player) or self.has("Lizard Lash", player) or self.has("Flappy Flight", player)))

def yookaLaylee_can_access_marsh_exp(self, player):
Expand All @@ -87,7 +86,7 @@ def yookaLaylee_can_access_cashino(self, player):
def yookaLaylee_can_access_cashino_exp(self, player):
return self.has("Pagie", player, 48) and self.yookaLaylee_can_access_cashino(player)

def yookaLaylee_can_access_galaxy(self, player): #Once abilities are items, this will require Flappy Flight
def yookaLaylee_can_access_galaxy(self, player):
return self.has("Pagie", player, 60) and self.yookaLaylee_can_access_HT_finalArea(player)

def yookaLaylee_can_access_galaxy_exp(self, player):
Expand Down
14 changes: 2 additions & 12 deletions worlds/yooka_laylee/locations.json
Original file line number Diff line number Diff line change
Expand Up @@ -122,12 +122,7 @@
"id": 625490512,
"name": "Underwater Challenge",
"region": "Hivory Towers Waterworks",
"requiresAbilities": {
"AND": [
"Buddy Bubble",
"Buddy Slam"
]
}
"requiresAbilities": "Buddy Bubble"
},
{
"id": 625490513,
Expand Down Expand Up @@ -1599,12 +1594,7 @@
"requiresAbilities": {
"AND": [
"<MoodymazeEntry>",
{
"OR": [
"Lizard Lash",
"Flappy Flight"
]
}
"Lizard Lash"
]
}
},
Expand Down

0 comments on commit 6a39519

Please sign in to comment.