Fixed small issue with location groups & ram watching with goal

This commit is contained in:
MarioSpore
2025-09-26 21:40:52 -04:00
parent 5615277705
commit 8e1217d1a5
3 changed files with 12 additions and 7 deletions

View File

@@ -43,7 +43,7 @@ class GrinchWorld(World):
region = self.get_region(data.region)
entry = GrinchLocation(self.player, location, region, data)
if location == "MC - Sleigh Ride - Neutralizing Santa":
entry.place_locked_item(Item("Neutralized", ItemClassification.progression, None, self.player))
entry.place_locked_item(Item("Goal", ItemClassification.progression, None, self.player))
region.locations.append(entry)
connect_regions(self)
@@ -68,7 +68,7 @@ class GrinchWorld(World):
self.multiworld.itempool += self_itempool
def set_rules(self):
self.multiworld.completion_condition[self.player] = lambda state: state.has("Neutralized", self.player)
self.multiworld.completion_condition[self.player] = lambda state: state.has("Goal", self.player)
set_location_rules(self)
def get_other_filler_item(self, other_filler: list[str]) -> str: