mirror of
https://github.com/MarioSpore/Grinch-AP.git
synced 2025-10-21 12:11:33 -06:00
reimplement easy item pool
Some changes were made. The design chosen is to keep the changes to the same range of changes that hard and expert apply (so no change in lamp count, for example), while trying to keep easy as similar as it was.
This commit is contained in:
7
Fill.py
7
Fill.py
@@ -300,10 +300,11 @@ def distribute_items_restrictive(world, gftower_trash=False, fill_locations=None
|
||||
fast_fill(world, prioitempool, fill_locations)
|
||||
|
||||
fast_fill(world, restitempool, fill_locations)
|
||||
unplaced = [item.name for item in progitempool + prioitempool + restitempool]
|
||||
unfilled = [location.name for location in fill_locations]
|
||||
|
||||
logging.getLogger('').debug('Unplaced items: %s - Unfilled Locations: %s',
|
||||
[item.name for item in progitempool + prioitempool + restitempool],
|
||||
[location.name for location in fill_locations])
|
||||
if unplaced or unfilled:
|
||||
logging.warning('Unplaced items: %s - Unfilled Locations: %s', unplaced, unfilled)
|
||||
|
||||
|
||||
def fast_fill(world, item_pool, fill_locations):
|
||||
|
Reference in New Issue
Block a user