HK - focus location (#778)
This commit is contained in:
parent
ce536fa3ac
commit
3b2037a2d4
|
@ -254,6 +254,9 @@ class HKWorld(World):
|
|||
|
||||
if location_name == "Start":
|
||||
if item_name in randomized_starting_items:
|
||||
if item_name == "Focus":
|
||||
self.create_location("Focus")
|
||||
unfilled_locations += 1
|
||||
pool.append(item)
|
||||
else:
|
||||
self.world.push_precollected(item)
|
||||
|
@ -502,6 +505,7 @@ class HKWorld(World):
|
|||
location.place_locked_item(item)
|
||||
if costs:
|
||||
location.costs = costs.pop()
|
||||
return location
|
||||
|
||||
def collect(self, state, item: HKItem) -> bool:
|
||||
change = super(HKWorld, self).collect(state, item)
|
||||
|
|
Loading…
Reference in New Issue