AttributeError fix

This commit is contained in:
CookieCat
2023-09-02 11:56:57 -04:00
parent 127ce1dcf5
commit 1f916e85bc
5 changed files with 52 additions and 4 deletions

View File

@@ -0,0 +1,52 @@
death_wishes = [
"Beat the Heat",
"So You're Back From Outer Space",
"Mafia's Jumps",
"Collect-a-thon",
"She Speedran from Outerspace",
"Vault Codes in the Wind",
"Encore! Encore!",
"Rift Collapse: Mafia of Cooks",
"Snatcher's Hit List",
"Snatcher Coins in Mafia Town"
"Security Breach",
"10 Seconds until Self-Destruct",
"The Great Big Hootenanny",
"Killing Two Birds",
"Rift Collapse: Dead Bird Studio",
"Snatcher Coins in Battle of the Birds",
"Zero Jumps",
"Speedrun Well",
"Boss Rush",
"Quality Time with Snatcher",
"Breaching the Contract",
"Rift Collapse: Sleepy Subcon",
"Snatcher Coins in Subcon Forest",
"Bird Sanctuary",
"Wound-Up Windmill",
"The Illness has Speedrun",
"Rift Collapse: Alpine Skyline",
"Snatcher Coins in Alpine Skyline",
"Camera Tourist",
"The Mustache Gauntlet",
"No More Bad Guys",
"Seal the Deal",
"Rift Collapse: Deep Sea",
"Cruisin' for a Bruisin'",
"Community Map: Rhythm Jump Studio",
"Community Map: Twilight Travels",
"Community Map: The Mountain Rift",
"Snatcher Coins in Nyakuza Metro",
]
dw_prereqs = {
"Snatcher's Hit List": ["Beat the Heat"],
}

View File

View File

@@ -551,8 +551,6 @@ def randomize_act_entrances(world: World):
for e in candidate.entrances.copy():
e.parent_region.exits.remove(e)
e.connected_region.entrances.remove(e)
del e.parent_region
del e.connected_region
entrance = world.multiworld.get_entrance(act_entrances[region.name], world.player)
reconnect_regions(entrance, world.multiworld.get_region(act_chapters[region.name], world.player), candidate)

View File

@@ -308,7 +308,6 @@ def set_rules(world: World):
region: Region = entrance.connected_region
access_rules: typing.List[typing.Callable[[CollectionState], bool]] = []
entrance.parent_region.exits.remove(entrance)
del entrance.parent_region
# Entrances to this act that we have to set access_rules on
entrances: typing.List[Entrance] = []

View File

@@ -89,7 +89,6 @@ class HatInTimeWorld(World):
self.calculate_yarn_costs()
yarn_pool: typing.List[Item] = create_multiple_items(self, "Yarn", self.multiworld.YarnAvailable[self.player].value)
# 1/5 is progression balanced
for i in range(int(len(yarn_pool) * (0.01 * self.multiworld.YarnBalancePercent[self.player].value))):
yarn_pool[i].classification = ItemClassification.progression