Documentation update
This commit is contained in:
parent
d10cab824a
commit
d3780cd9d5
|
@ -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))
|
||||
|
|
Loading…
Reference in New Issue