mirror of
https://github.com/ArchipelagoMW/Archipelago.git
synced 2026-03-23 11:43:24 -07:00
Fix more pycharm warnings.
This commit is contained in:
@@ -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,
|
||||
|
||||
@@ -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))
|
||||
|
||||
|
||||
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user