mirror of
https://github.com/ArchipelagoMW/Archipelago.git
synced 2026-03-18 21:38:13 -07:00
Documentation update
This commit is contained in:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user