Skip to content

Commit 97237db

Browse files
Merge pull request #2931 from AlmostSeagull/swimming-curriculum
make swimming required again
2 parents 1fd7d7a + 84754e9 commit 97237db

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

randomizer/CollectibleLogicFiles/AngryAztec.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@
141141
Collectible(Collectibles.banana, Kongs.donkey, lambda _: True, None, 15),
142142
Collectible(Collectibles.banana, Kongs.lanky, lambda _: True, None, 6),
143143
Collectible(Collectibles.bunch, Kongs.lanky, lambda _: True, None, 1), # Warp 1
144-
Collectible(Collectibles.balloon, Kongs.lanky, lambda l: (((Events.AztecLlamaSpit in l.Events or (l.CanPhaseswim() and l.settings.damage_amount != DamageAmount.ohko) and l.swim)) or l.CanPhase()) and l.grape, None, 2),
144+
Collectible(Collectibles.balloon, Kongs.lanky, lambda l: ((Events.AztecLlamaSpit in l.Events and l.swim) or (l.CanPhaseswim() and l.settings.damage_amount != DamageAmount.ohko) or l.CanPhase()) and l.grape, None, 2),
145145

146146
Collectible(Collectibles.balloon, Kongs.tiny, lambda l: l.feather, None, 1),
147147
Collectible(Collectibles.banana, Kongs.tiny, lambda _: True, None, 3),

randomizer/Lists/CBLocations/AngryAztecCBLocations.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2787,7 +2787,7 @@
27872787
name="In front of Lanky's cage",
27882788
konglist=[Kongs.donkey, Kongs.diddy, Kongs.lanky, Kongs.tiny, Kongs.chunky],
27892789
region=Regions.LlamaTemple,
2790-
logic=lambda l: (((Events.AztecLlamaSpit in l.Events or (l.CanPhaseswim() and l.settings.damage_amount != DamageAmount.ohko) and l.swim)) or l.CanPhase()),
2790+
logic=lambda l: (Events.AztecLlamaSpit in l.Events and l.swim) or (l.CanPhaseswim() and l.settings.damage_amount != DamageAmount.ohko) or l.CanPhase(),
27912791
locations=[
27922792
[1, 1.0, 2238, 302, 1721],
27932793
[1, 1.0, 2227, 302, 1688],
@@ -3193,7 +3193,7 @@
31933193
konglist=[Kongs.donkey, Kongs.diddy, Kongs.lanky, Kongs.tiny, Kongs.chunky],
31943194
region=Regions.LlamaTemple,
31953195
vanilla=True,
3196-
logic=lambda l: (((Events.AztecLlamaSpit in l.Events or (l.CanPhaseswim() and l.settings.damage_amount != DamageAmount.ohko) and l.swim)) or l.CanPhase()),
3196+
logic=lambda l: (Events.AztecLlamaSpit in l.Events and l.swim) or (l.CanPhaseswim() and l.settings.damage_amount != DamageAmount.ohko) or l.CanPhase(),
31973197
points=[[2308, 337, 1930], [2141, 330, 1906]],
31983198
),
31993199
Balloon(
@@ -3204,7 +3204,7 @@
32043204
konglist=[Kongs.donkey, Kongs.diddy, Kongs.lanky, Kongs.tiny, Kongs.chunky],
32053205
region=Regions.LlamaTemple,
32063206
vanilla=True,
3207-
logic=lambda l: (((Events.AztecLlamaSpit in l.Events or (l.CanPhaseswim() and l.settings.damage_amount != DamageAmount.ohko) and l.swim)) or l.CanPhase()),
3207+
logic=lambda l: (Events.AztecLlamaSpit in l.Events and l.swim) or (l.CanPhaseswim() and l.settings.damage_amount != DamageAmount.ohko) or l.CanPhase(),
32083208
points=[[2281, 347, 1826], [2298, 328, 1928], [2093, 322, 1926], [2065, 332, 1837]],
32093209
),
32103210
Balloon(

requirement_data.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,9 +103,9 @@ const requirement_data = {
103103
new Requirement(10, [[Moves.AztecTunnelDoor]]), // 1 bunch, 5 bananas in AngryAztecMain
104104
new Requirement(25, [[Moves.ClimbingCheck, Moves.AztecTunnelDoor]]), // 5 bunches in AngryAztecMain
105105
new Requirement(14, [[Moves.Diving, Moves.Grape, Moves.TinyTempleIce]]), // 1 bunch, 9 bananas in TempleVultureRoom
106-
new Requirement(20, [[Moves.Grape, Moves.AztecTunnelDoor, Moves.AztecLlama]]), // 2 balloons in LlamaTemple
107106
new Requirement(10, [[Moves.Grape, Moves.AztecTunnelDoor, Moves.Aztec5DT]]), // 1 balloon in LankyTemple
108107
new Requirement(5, [[Moves.Vines, Moves.Grape, Moves.AztecTunnelDoor, Moves.AztecLlama]]), // 1 bunch in LlamaTempleMatching
108+
new Requirement(20, [[Moves.Diving, Moves.Grape, Moves.AztecTunnelDoor, Moves.AztecLlama]]), // 2 balloons in LlamaTemple
109109
new Requirement(11, [ // 1 bunch, 6 bananas in LlamaTemple
110110
[Moves.Coconut, Moves.AztecTunnelDoor, Moves.AztecLlama],
111111
[Moves.Grape, Moves.AztecTunnelDoor, Moves.AztecLlama],

wiki/article_markdown/custom_locations/CustomLocationsColoredBananas.MD

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -506,13 +506,13 @@
506506
| On the lava pedestals first switch | 5 | `self.logic = lambda _: True` |
507507
| Lower ledge of the pedestal switch platforms | 10 | `(l.CanSlamSwitch(Levels.AngryAztec, 1) or (l.twirl and l.monkey_maneuvers))` |
508508
| Passage towards Lanky's cage | 5 | `(((Events.AztecLlamaSpit in l.Events or (l.CanPhaseswim() and l.settings.damage_amount != DamageAmount.ohko) and l.swim)) or l.CanPhase())` |
509-
| In front of Lanky's cage | 5 | `(((Events.AztecLlamaSpit in l.Events or (l.CanPhaseswim() and l.settings.damage_amount != DamageAmount.ohko) and l.swim)) or l.CanPhase())` |
509+
| In front of Lanky's cage | 5 | `(Events.AztecLlamaSpit in l.Events and l.swim) or (l.CanPhaseswim() and l.settings.damage_amount != DamageAmount.ohko) or l.CanPhase()` |
510510
| Matching game room right side | Balloon | `self.logic = lambda _: True` |
511511
| Above Llama | Balloon | `self.logic = lambda _: True` |
512512
| Lava room | Balloon | `self.logic = lambda _: True` |
513513
| Above lava/water (Tiny) | Balloon | `self.logic = lambda _: True` |
514-
| In Lanky's room (Lanky) | Balloon | `(((Events.AztecLlamaSpit in l.Events or (l.CanPhaseswim() and l.settings.damage_amount != DamageAmount.ohko) and l.swim)) or l.CanPhase())` |
515-
| In Lanky's room (Lanky) | Balloon | `(((Events.AztecLlamaSpit in l.Events or (l.CanPhaseswim() and l.settings.damage_amount != DamageAmount.ohko) and l.swim)) or l.CanPhase())` |
514+
| In Lanky's room (Lanky) | Balloon | `(Events.AztecLlamaSpit in l.Events and l.swim) or (l.CanPhaseswim() and l.settings.damage_amount != DamageAmount.ohko) or l.CanPhase()` |
515+
| In Lanky's room (Lanky) | Balloon | `(Events.AztecLlamaSpit in l.Events and l.swim) or (l.CanPhaseswim() and l.settings.damage_amount != DamageAmount.ohko) or l.CanPhase()` |
516516
| Entrance stairs | Balloon | `self.logic = lambda _: True` |
517517
| Left side behind the llama | Balloon | `self.logic = lambda _: True` |
518518
| Right side behind the llama | Balloon | `self.logic = lambda _: True` |

0 commit comments

Comments
 (0)