Key issues

--PoD Vanilla Stairway
--Boss should not be allowed key
--Scale back on aggressive layouts
Merge of attic hint
Non-chest keys hints added for figuring out how to get rid of them
This commit is contained in:
aerinon
2020-02-05 15:23:13 -07:00
parent 30657cc48f
commit 9737cdf5f1
6 changed files with 53 additions and 10 deletions

View File

@@ -287,6 +287,9 @@ class World(object):
def find_items(self, item, player):
return [location for location in self.get_locations() if location.item is not None and location.item.name == item and location.item.player == player]
def find_items_not_key_only(self, item, player):
return [location for location in self.get_locations() if location.item is not None and location.item.name == item and location.item.player == player and location.forced_item is None]
def push_precollected(self, item):
item.world = self
if (item.smallkey and self.keyshuffle[item.player]) or (item.bigkey and self.bigkeyshuffle[item.player]):