mirror of
https://github.com/MarioSpore/Grinch-AP.git
synced 2025-10-21 12:11:33 -06:00
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:
@@ -242,7 +242,6 @@ class SoEWorld(World):
|
||||
for location in self.multiworld.random.sample(spheres[trash_sphere][typ], count):
|
||||
assert location.name != "Energy Core #285", "Error in sphere generation"
|
||||
location.progress_type = LocationProgressType.EXCLUDED
|
||||
# TODO: do we need to set an item rule?
|
||||
|
||||
def sphere1_blocked_items_rule(item):
|
||||
if isinstance(item, SoEItem):
|
||||
|
Reference in New Issue
Block a user