Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion worlds/stardew_valley/content/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ def choose_content_packs(player_options: options.StardewValleyOptions):
if player_options.special_order_locations & options.SpecialOrderLocations.value_qi:
active_packs.append(content_packs.qi_board_content_pack)

for mod in player_options.mods.value:
for mod in sorted(player_options.mods.value):
active_packs.append(content_packs.by_mod[mod])

return active_packs
Expand Down
2 changes: 1 addition & 1 deletion worlds/stardew_valley/region_classes.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def get_merged_with(self, exits: List[str]):
merged_exits.extend(self.exits)
if exits is not None:
merged_exits.extend(exits)
merged_exits = list(set(merged_exits))
merged_exits = sorted(set(merged_exits))
return RegionData(self.name, merged_exits, is_ginger_island=self.is_ginger_island)

def get_without_exits(self, exits_to_remove: Set[str]):
Expand Down
5 changes: 2 additions & 3 deletions worlds/stardew_valley/regions.py
Original file line number Diff line number Diff line change
Expand Up @@ -521,7 +521,7 @@ def create_final_regions(world_options) -> List[RegionData]:
final_regions.extend(vanilla_regions)
if world_options.mods is None:
return final_regions
for mod in world_options.mods.value:
for mod in sorted(world_options.mods.value):
if mod not in ModDataList:
continue
for mod_region in ModDataList[mod].regions:
Expand Down Expand Up @@ -747,8 +747,7 @@ def swap_one_random_connection(regions_by_name, connections_by_name, randomized_
randomized_connections_already_shuffled = {connection: randomized_connections[connection]
for connection in randomized_connections
if connection != randomized_connections[connection]}
unreachable_regions_names_leading_somewhere = tuple([region for region in unreachable_regions
if len(regions_by_name[region].exits) > 0])
unreachable_regions_names_leading_somewhere = [region for region in sorted(unreachable_regions) if len(regions_by_name[region].exits) > 0]
unreachable_regions_leading_somewhere = [regions_by_name[region_name] for region_name in unreachable_regions_names_leading_somewhere]
unreachable_regions_exits_names = [exit_name for region in unreachable_regions_leading_somewhere for exit_name in region.exits]
unreachable_connections = [connections_by_name[exit_name] for exit_name in unreachable_regions_exits_names]
Expand Down
4 changes: 2 additions & 2 deletions worlds/stardew_valley/test/stability/StabilityOutputScript.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import json

from .. import setup_solo_multiworld
from ..options.presets import allsanity_mods_6_x_x
from ..options.presets import allsanity_mods_6_x_x_exclude_disabled
from ...options import FarmType, EntranceRandomization

if __name__ == "__main__":
Expand All @@ -12,7 +12,7 @@
args = parser.parse_args()
seed = args.seed

options = allsanity_mods_6_x_x()
options = allsanity_mods_6_x_x_exclude_disabled()
options[FarmType.internal_name] = FarmType.option_standard
options[EntranceRandomization.internal_name] = EntranceRandomization.option_buildings
multi_world = setup_solo_multiworld(options, seed=seed)
Expand Down
Loading