Core: add generic handling of excluded locations
Currently there can be locations that are marked as excluded, but don't have rules to enforce it, while fill has special handling for excluded locations already. This change removes special rules, and adds a generic rule instead.
This commit is contained in:
@@ -14,7 +14,6 @@ def create_region(world: MultiWorld, player: int, name: str, locations_per_regio
|
||||
ret.locations.append(location)
|
||||
if world.randomize_hidden_items[player].value == 2 and "Hidden" in location.name:
|
||||
location.progress_type = LocationProgressType.EXCLUDED
|
||||
add_item_rule(location, lambda i: not (i.advancement or i.useful))
|
||||
if exits:
|
||||
for exit in exits:
|
||||
ret.exits.append(Entrance(player, exit, ret))
|
||||
|
||||
Reference in New Issue
Block a user