Satisfactory: bug fix in __init__.py (#5930)

Solved indentation error to return to intended functionality
This commit is contained in:
XxDERProjectxX
2026-03-29 16:34:21 -05:00
committed by GitHub
parent 773f3c4f08
commit a7a7879df4

View File

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