VT28 update: Keysanity has dungeon items in normal item pool

This commit is contained in:
Kevin Cathcart
2018-01-02 20:01:16 -05:00
parent 3adf4fadd1
commit e3ac7ee4a6
4 changed files with 20 additions and 2 deletions

View File

@@ -145,6 +145,9 @@ class World(object):
ret.clear_cached_unreachable()
return ret
def get_items(self):
return [loc.item for loc in self.get_filled_locations()] + self.itempool
def find_items(self, item):
return [location for location in self.get_locations() if location.item is not None and location.item.name == item]