mirror of
https://github.com/MarioSpore/Grinch-AP.git
synced 2025-10-21 20:21:32 -06:00
HK: account for "Start" location in another place
This commit is contained in:
committed by
Hussein Farran
parent
1bc09d4292
commit
0cf396e5d6
@@ -149,11 +149,14 @@ class HKWorld(World):
|
|||||||
for item_name, location_name in zip(option.items, option.locations):
|
for item_name, location_name in zip(option.items, option.locations):
|
||||||
if item_name in geo_replace:
|
if item_name in geo_replace:
|
||||||
item_name = "Geo_Rock-Default"
|
item_name = "Geo_Rock-Default"
|
||||||
|
item = self.create_item(item_name)
|
||||||
if location_name in white_palace_locations:
|
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:
|
else:
|
||||||
self.create_location(location_name)
|
self.create_location(location_name)
|
||||||
pool.append(self.create_item(item_name))
|
pool.append(item)
|
||||||
else:
|
else:
|
||||||
for item_name, location_name in zip(option.items, option.locations):
|
for item_name, location_name in zip(option.items, option.locations):
|
||||||
item = self.create_item(item_name)
|
item = self.create_item(item_name)
|
||||||
|
|||||||
Reference in New Issue
Block a user