From 0cf396e5d679fcce1f75e709ae848e27308c23ef Mon Sep 17 00:00:00 2001 From: Fabian Dill Date: Sat, 2 Apr 2022 21:16:23 +0200 Subject: [PATCH] HK: account for "Start" location in another place --- worlds/hk/__init__.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/worlds/hk/__init__.py b/worlds/hk/__init__.py index b1e9dfb3..7204bb38 100644 --- a/worlds/hk/__init__.py +++ b/worlds/hk/__init__.py @@ -149,11 +149,14 @@ class HKWorld(World): for item_name, location_name in zip(option.items, option.locations): if item_name in geo_replace: item_name = "Geo_Rock-Default" + item = self.create_item(item_name) if location_name in white_palace_locations: - self.create_location(location_name).place_locked_item(self.create_item(item_name)) + self.create_location(location_name).place_locked_item(item) + elif location_name == "Start": + self.world.push_precollected(item) else: self.create_location(location_name) - pool.append(self.create_item(item_name)) + pool.append(item) else: for item_name, location_name in zip(option.items, option.locations): item = self.create_item(item_name)