Fix more pycharm warnings.

This commit is contained in:
massimilianodelliubaldini
2024-12-04 10:56:00 -05:00
parent 2a018368ce
commit 2519e49e41
3 changed files with 6 additions and 5 deletions

View File

@@ -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,

View File

@@ -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))

View File

@@ -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))
.can_reach(self.multiworld.state))