mirror of
https://github.com/ArchipelagoMW/Archipelago.git
synced 2026-03-29 19:03:25 -07:00
Satisfactory: bug fix in __init__.py (#5930)
Solved indentation error to return to intended functionality
This commit is contained in:
@@ -244,14 +244,14 @@ class SatisfactoryWorld(World):
|
||||
or self.options.awesome_logic_placement.value == Placement.starting_inventory:
|
||||
locations_visible_from_start.update(range(1338700, 1338709)) # ids of shop locations 1 to 10
|
||||
|
||||
location_names_with_useful_items: Iterable[str] = [
|
||||
location.name
|
||||
for location in self.get_locations()
|
||||
if location.address in locations_visible_from_start and location.item \
|
||||
and location.item.flags & (ItemClassification.progression | ItemClassification.useful) > 0
|
||||
]
|
||||
location_names_with_useful_items: Iterable[str] = [
|
||||
location.name
|
||||
for location in self.get_locations()
|
||||
if location.address in locations_visible_from_start and location.item \
|
||||
and location.item.flags & (ItemClassification.progression | ItemClassification.useful) > 0
|
||||
]
|
||||
|
||||
self.options.start_location_hints.value.update(location_names_with_useful_items)
|
||||
self.options.start_location_hints.value.update(location_names_with_useful_items)
|
||||
|
||||
def push_precollected_by_name(self, item_name: str) -> None:
|
||||
item = self.create_item(item_name)
|
||||
|
||||
Reference in New Issue
Block a user