mirror of
https://github.com/ArchipelagoMW/Archipelago.git
synced 2026-04-18 02:53:31 -07:00
Apply suggestions from code review
Co-authored-by: Scipio Wright <scipiowright@gmail.com>
This commit is contained in:
@@ -42,7 +42,7 @@ class StateLogic:
|
||||
return power_level is None or state.has(building_event_prefix + power_level.to_name(), self.player)
|
||||
|
||||
def can_produce_all(self, state: CollectionState, parts: Optional[Iterable[str]]) -> bool:
|
||||
return parts is None or \
|
||||
return parts is None or \
|
||||
state.has_all(map(self.to_part_event, parts), self.player)
|
||||
|
||||
def can_produce_all_allowing_handcrafting(self, state: CollectionState, logic: GameLogic,
|
||||
|
||||
Reference in New Issue
Block a user