Skip to content

Commit

Permalink
Merge pull request #431 from gymnast86/main
Browse files Browse the repository at this point in the history
Fix logic for exiting thunderhead
  • Loading branch information
CovenEsme authored Dec 3, 2024
2 parents 804766d + de85627 commit e091a90
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion data/world/Sky.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,7 @@
Isle of Songs: Nothing
Mogma Mitts Island: Nothing
Bug Heaven: Nothing
The Sky: Nothing
The Sky: (Goddesss_Harp and Ballad_of_the_Goddess and can_access(Central Skyloft)) or open_thunderhead == on
locations:
Inside the Thunderhead - Song from Levias: Spiral_Charge and Scrapper and Sword and 'Pick_up_Levias_Soup'
Inside the Thunderhead - Gossip Stone near Bug Heaven: Nothing
Expand Down
2 changes: 1 addition & 1 deletion logic/area.py
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ def find_shuffled_entrances(self, starting_queue: list["Area"] = []):

# Only add entrances which fit the following criteria
# - The entrance is shuffled and not impossible
# - The entrance is decoupled or the entrance insn't connected or the entrance's replaced reverse hasn't been added yet
# - The entrance is decoupled or the entrance isn't connected or the entrance's replaced reverse hasn't been added yet
if (
entrance.shuffled
and entrance.requirement.type != RequirementType.IMPOSSIBLE
Expand Down
4 changes: 2 additions & 2 deletions logic/fill.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ def fill_worlds(worlds: list[World]):

# Assumed fill is an algorithm which statistically places items more
# evenly across the world compared to forward fill. The idea is that
# we first startwith all the items, take an item out, search for
# we first start with all the items, take an item out, search for
# available locations (picking up any placed items along the way),
# and choose a random location of the available ones to place the item.
# Repeat for all items in the items_to_place_list.
Expand Down Expand Up @@ -171,7 +171,7 @@ def assumed_fill(
rollbacks.append(spot_to_fill)


# Place the items in items_to_place completel randomly within the allowed locations.
# Place the items in items_to_place completely randomly within the allowed locations.
# There are no logic checks with this fill.
def fast_fill(items_to_place: list[Item], allowed_locations: list[Location]) -> None:
empty_locations = [
Expand Down

0 comments on commit e091a90

Please sign in to comment.