Skip to content

Commit

Permalink
better formatting
Browse files Browse the repository at this point in the history
Co-authored-by: Doug Hoskisson <[email protected]>
  • Loading branch information
Exempt-Medic and beauxq authored Dec 3, 2024
1 parent 3c4735a commit df4e827
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions worlds/ffmq/Regions.py
Original file line number Diff line number Diff line change
Expand Up @@ -211,9 +211,12 @@ def stage_set_rules(multiworld):
# If there's no enemies, there's no repeatable income sources
no_enemies_players = [player for player in multiworld.get_game_players("Final Fantasy Mystic Quest")
if multiworld.worlds[player].options.enemies_density == "none"]
if (len([item for item in multiworld.itempool if item.excludable
]) > len([player for player in no_enemies_players if
multiworld.worlds[player].options.accessibility != "minimal"]) * 3):
if (
len([item for item in multiworld.itempool if item.excludable]) >
len([player
for player in no_enemies_players
if multiworld.worlds[player].options.accessibility != "minimal"]) * 3
):
for player in no_enemies_players:
for location in vendor_locations:
if multiworld.worlds[player].options.accessibility == "full":
Expand Down

0 comments on commit df4e827

Please sign in to comment.