Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions worlds/portal2/Locations.py
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ class Portal2Location(Location):
"Column Blocker Completion": [portal_gun_2],
"Laser Chaining Completion": [reflection_cube, laser, laser_relays],
"Triple Laser Completion": [reflection_cube, portal_gun_2],
"Jailbreak Completion": [portal_gun_2, button],
"Jailbreak Completion": [portal_gun_2, button, weighted_cube],
"Escape Completion": [],
# Chapter 5
"Turret Sabotage Completion": [portal_gun_2],
Expand All @@ -261,6 +261,7 @@ class Portal2Location(Location):
"Propulsion Intro Completion": [portal_gun_2],
"Propulsion Flings Completion": [portal_gun_2, antique_cube],
"Conversion Intro Completion": [portal_gun_2],
"Three Gels Completion": [portal_gun_2, blue_gel],
# Chapter 8
"Funnel Intro Completion": [floor_button, funnel],
"Ceiling Button Completion": [floor_button, frankenturret, button, portal_gun_2],
Expand All @@ -271,11 +272,12 @@ class Portal2Location(Location):
"Laser Catapult Completion": [portal_gun_2],
"Laser Platform Completion": [portal_gun_2, funnel],
"Propulsion Catch Completion": [button, frankenturret],
"Repulsion Polarity Completion": [turrets, button, blue_gel, white_gel],
"Repulsion Polarity Completion": [turrets, button, blue_gel],
# Chapter 9
"Finale 1 Completion": [portal_gun_2, frankenturret, faith_plate],
"Finale 2 Completion": [portal_gun_2],
"Finale 3 Completion": [portal_gun_2, funnel],
"Finale 4 Completion": [portal_gun_2, potatos, blue_gel, white_gel, adventure_core, space_core, fact_core],
}

sub_locations_in_maps: dict[str, list[str]] = {
Expand Down
4 changes: 2 additions & 2 deletions worlds/portal2/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -292,10 +292,10 @@ def fill_slot_data(self):
"chapter_dict": {int(name[-1]): values for name, values in self.chapter_maps_dict.items()}
})
# Check if portal gun items are in their locations
if self.multiworld.find_item(portal_gun_2, self.player).name == portal_gun_2:
if portal_gun_2 not in self.options.start_inventory_from_pool and self.multiworld.find_item(portal_gun_2, self.player).name == portal_gun_2:
slot_data["portal_gun_upgrade_inplace"] = True

if self.multiworld.find_item(potatos, self.player).name == potatos:
if potatos not in self.options.start_inventory_from_pool and self.multiworld.find_item(potatos, self.player).name == potatos:
slot_data["potatos_inplace"] = True

return slot_data
2 changes: 1 addition & 1 deletion worlds/portal2/archipelago.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
"game": "Portal 2",
"authors": [ "GlassToadstool" ],
"minimum_ap_version": "0.6.3",
"world_version": "0.7.0"
"world_version": "0.7.1"
}
Loading