From d3780cd9d540e7dfe9bea2463b2ba87811379254 Mon Sep 17 00:00:00 2001 From: alwaysintreble Date: Sat, 9 Oct 2021 05:55:50 -0500 Subject: [PATCH] Documentation update --- worlds/ror2/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/worlds/ror2/__init__.py b/worlds/ror2/__init__.py index f8e59e2ff7..3a4611d7aa 100644 --- a/worlds/ror2/__init__.py +++ b/worlds/ror2/__init__.py @@ -104,13 +104,13 @@ class RiskOfRainWorld(World): item = RiskOfRainItem(name, True, item_id, self.player) return item - +# generate locations based on player setting def create_regions(world, player: int): world.regions += [ create_region(world, player, 'Menu', None, ['Lobby']), create_region(world, player, 'Petrichor V', [location for location in base_location_table] + - [f"Item Pickup {i}" for i in range(1, 1 + world.total_locations[player])]) # i don't understand this line but it works + [f"Item Pickup {i}" for i in range(1, 1 + world.total_locations[player])]) ] world.get_entrance("Lobby", player).connect(world.get_region("Petrichor V", player))