mirror of
https://github.com/MarioSpore/Grinch-AP.git
synced 2025-10-21 20:21:32 -06:00
RIP: MultiMystery and Mystery, now there's just Generate
Other changes: host.yaml Multi Mystery options were moved and changed generate_output now has an output_directory argument MultiWorld.get_game_players(<game>) now replaces <game>_player_ids Python venv should now work properly
This commit is contained in:
5
Fill.py
5
Fill.py
@@ -3,9 +3,10 @@ import typing
|
||||
import collections
|
||||
import itertools
|
||||
|
||||
from BaseClasses import CollectionState, PlandoItem, Location, MultiWorld
|
||||
from BaseClasses import CollectionState, Location, MultiWorld
|
||||
from worlds.alttp.Items import ItemFactory
|
||||
from worlds.alttp.Regions import key_drop_data
|
||||
from worlds.generic import PlandoItem
|
||||
|
||||
|
||||
class FillError(RuntimeError):
|
||||
@@ -91,7 +92,7 @@ def distribute_items_restrictive(world: MultiWorld, gftower_trash=False, fill_lo
|
||||
standard_keyshuffle_players = set()
|
||||
|
||||
# fill in gtower locations with trash first
|
||||
for player in world.alttp_player_ids:
|
||||
for player in world.get_game_players("A Link to the Past"):
|
||||
if not gftower_trash or not world.ganonstower_vanilla[player] or \
|
||||
world.logic[player] in {'owglitches', 'hybridglitches', "nologic"}:
|
||||
gtower_trash_count = 0
|
||||
|
||||
Reference in New Issue
Block a user