fix the order of this get_path call
this is the first half of an item check, where we're trying to figure out whether samus get from her initial location to the item. (the second half, where we want to figure out if she can get back, is below) i'm not sure why these two items are singled out to get a full search (no LimitArea). well - Item S0-05-16 makes sense since that's the quarantine area item and you have to go through sector 6 to get to it - but why the main deck data room?wip-faster-paths
parent
b95fef681f
commit
2e972d876f
|
@ -2249,7 +2249,7 @@ def randomize_game(graph):
|
|||
if location not in UsedLocations:
|
||||
if location not in AccessibleLocations:
|
||||
if location == 'Data S0' or location == 'Item S0-05-16':
|
||||
path = graph.get_path(location, StartLocation, depth=250)
|
||||
path = graph.get_path(StartLocation, location, depth=250)
|
||||
else:
|
||||
for area in range(0, 7):
|
||||
if location in AreaItemLocations[area]:
|
||||
|
|
Loading…
Reference in New Issue