don't precollect Hollow Knight items
This commit is contained in:
parent
05e464e379
commit
4a75d27261
worlds/hk
|
@ -80,7 +80,7 @@ def gen_items(world: MultiWorld, player: int):
|
|||
|
||||
if item_data.type == "Event":
|
||||
event_location = world.get_location(item_name, player)
|
||||
world.push_item(event_location, item)
|
||||
world.push_item(event_location, item, collect=False)
|
||||
event_location.event = True
|
||||
event_location.locked = True
|
||||
if item.name == "King's_Pass":
|
||||
|
@ -94,13 +94,12 @@ def gen_items(world: MultiWorld, player: int):
|
|||
world.push_item(event_location, item)
|
||||
event_location.event = True
|
||||
event_location.locked = True
|
||||
world.push_precollected(item)
|
||||
|
||||
elif item_data.type == "Fake":
|
||||
pass
|
||||
elif item_data.type in not_shufflable_types:
|
||||
location = world.get_location(item_name, player)
|
||||
world.push_item(location, item)
|
||||
world.push_item(location, item, collect=False)
|
||||
location.event = item.advancement
|
||||
location.locked = True
|
||||
else:
|
||||
|
@ -110,7 +109,7 @@ def gen_items(world: MultiWorld, player: int):
|
|||
pool.append(item)
|
||||
else:
|
||||
location = world.get_location(item_name, player)
|
||||
world.push_item(location, item)
|
||||
world.push_item(location, item, collect=False)
|
||||
location.event = item.advancement
|
||||
location.locked = True
|
||||
logger.debug(f"Placed {item_name} to vanilla for player {player}")
|
||||
|
|
Loading…
Reference in New Issue