Fixed an issue where certain vanilla door types would not allow other types to be placed.

Customizer: fixed an issue where last ditch placements would move customized items. Those are now locked and the generation will fail instead if no alternatives are found.
This commit is contained in:
aerinon
2023-07-19 12:31:50 -06:00
parent 1b81151941
commit 213d3d3aa0
3 changed files with 19 additions and 13 deletions

View File

@@ -1396,6 +1396,7 @@ def fill_specific_items(world):
dungeon_pool, prize_set, prize_pool)
if item_to_place:
world.push_item(loc, item_to_place, False)
loc.locked = True
track_outside_keys(item_to_place, loc, world)
track_dungeon_items(item_to_place, loc, world)
loc.event = (event_flag or item_to_place.advancement
@@ -1431,6 +1432,7 @@ def fill_specific_items(world):
if loc.item:
continue
world.push_item(loc, item_to_place, False)
loc.locked = True
track_outside_keys(item_to_place, loc, world)
track_dungeon_items(item_to_place, loc, world)
loc.event = (event_flag or item_to_place.advancement