Adventure: Set Victory Condition Earlier (#4810)

This commit is contained in:
Exempt-Medic
2025-04-05 12:30:08 -04:00
committed by GitHub
parent 5c162bd7ce
commit ef5cbd3ba3

View File

@@ -238,14 +238,12 @@ class AdventureWorld(World):
def create_regions(self) -> None:
create_regions(self.options, self.multiworld, self.player, self.dragon_rooms)
set_rules = set_rules
def generate_basic(self) -> None:
self.multiworld.get_location("Chalice Home", self.player).place_locked_item(
self.create_event("Victory", ItemClassification.progression))
self.multiworld.completion_condition[self.player] = lambda state: state.has("Victory", self.player)
set_rules = set_rules
def pre_fill(self):
# Place empty items in filler locations here, to limit
# the number of exported empty items and the density of stuff in overworld.