updated to match DoorDev

Hint for TT Attic
This commit is contained in:
aerinon
2020-02-05 15:24:36 -07:00
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]):