diff --git a/worlds/jakanddaxter/Rules.py b/worlds/jakanddaxter/Rules.py index 6dbeda537f..be17b81259 100644 --- a/worlds/jakanddaxter/Rules.py +++ b/worlds/jakanddaxter/Rules.py @@ -2,8 +2,7 @@ import typing from BaseClasses import MultiWorld, CollectionState from Options import OptionError from . import JakAndDaxterWorld -from .Options import (JakAndDaxterOptions, - EnableOrbsanity, +from .Options import (EnableOrbsanity, GlobalOrbsanityBundleSize, PerLevelOrbsanityBundleSize, FireCanyonCellCount, diff --git a/worlds/jakanddaxter/regs/SandoverVillageRegions.py b/worlds/jakanddaxter/regs/SandoverVillageRegions.py index 0c7697eed6..a6f2a4dd5e 100644 --- a/worlds/jakanddaxter/regs/SandoverVillageRegions.py +++ b/worlds/jakanddaxter/regs/SandoverVillageRegions.py @@ -34,8 +34,10 @@ def build_regions(level_name: str, world: JakAndDaxterWorld) -> List[JakAndDaxte yakow_cliff.add_fly_locations([75], access_rule=lambda state: can_free_scout_flies(state, player)) oracle_platforms = JakAndDaxterRegion("Oracle Platforms", player, multiworld, level_name, 6) - oracle_platforms.add_cell_locations([13], access_rule=lambda state: world.can_trade(state, world.total_trade_orbs, None)) - oracle_platforms.add_cell_locations([14], access_rule=lambda state: world.can_trade(state, world.total_trade_orbs, 13)) + oracle_platforms.add_cell_locations([13], access_rule=lambda state: + world.can_trade(state, world.total_trade_orbs, None)) + oracle_platforms.add_cell_locations([14], access_rule=lambda state: + world.can_trade(state, world.total_trade_orbs, 13)) oracle_platforms.add_fly_locations([393291], access_rule=lambda state: can_free_scout_flies(state, player)) diff --git a/worlds/jakanddaxter/test/test_trades.py b/worlds/jakanddaxter/test/test_trades.py index 6468f347b0..0e5b25ebb8 100644 --- a/worlds/jakanddaxter/test/test_trades.py +++ b/worlds/jakanddaxter/test/test_trades.py @@ -36,4 +36,4 @@ class TradesCostEverythingTest(JakAndDaxterTestBase): self.collect_all_but("") self.assertTrue(self.multiworld .get_location("SV: Bring 90 Orbs To The Mayor", self.player) - .can_reach(self.multiworld.state)) \ No newline at end of file + .can_reach(self.multiworld.state))