- Major refactoring of location, region, and goal item names

This commit is contained in:
MarioSpore
2025-09-20 15:48:24 -04:00
parent 55ef0cc8c9
commit c279ef7bc6
5 changed files with 272 additions and 275 deletions

View File

@@ -41,8 +41,8 @@ class GrinchWorld(World):
for location, data in grinch_locations.items():
region = self.get_region(data.region)
entry = GrinchLocation(self.player, location, region, data)
if location == "Neutralizing Santa":
entry.place_locked_item(Item("Goal", ItemClassification.progression, None, self.player))
if location == "Mount Crumpit's Sleigh Ride - Neutralizing Santa":
entry.place_locked_item(Item("Neutralized", ItemClassification.progression, None, self.player))
region.locations.append(entry)
connect_regions(self)
@@ -67,7 +67,7 @@ class GrinchWorld(World):
self.multiworld.itempool += self_itempool
def set_rules(self):
self.multiworld.completion_condition[self.player] = lambda state: state.has("Goal", self.player)
self.multiworld.completion_condition[self.player] = lambda state: state.has("Neutralized", self.player)
set_location_rules(self)
def get_other_filler_item(self, other_filler: list[str]) -> str: