mirror of
https://github.com/solero/houdini.git
synced 2024-11-21 21:17:21 +00:00
Return a tuple instead of array
This commit is contained in:
parent
47e3523738
commit
71158dcb97
@ -67,19 +67,19 @@ class ItemCollection(AbstractDataCollection):
|
|||||||
|
|
||||||
@cached_property
|
@cached_property
|
||||||
def treasure(self):
|
def treasure(self):
|
||||||
return [item for item in self.values() if item.treasure]
|
return { item for item in self.values() if item.treasure }
|
||||||
|
|
||||||
@cached_property
|
@cached_property
|
||||||
def innocent(self):
|
def innocent(self):
|
||||||
return [item for item in self.values() if item.innocent]
|
return { item for item in self.values() if item.innocent }
|
||||||
|
|
||||||
@cached_property
|
@cached_property
|
||||||
def legacy_inventory(self):
|
def legacy_inventory(self):
|
||||||
return [item for item in self.values() if item.legacy_inventory]
|
return { item for item in self.values() if item.legacy_inventory }
|
||||||
|
|
||||||
@cached_property
|
@cached_property
|
||||||
def vanilla_inventory(self):
|
def vanilla_inventory(self):
|
||||||
return [item for item in self.values() if item.vanilla_inventory]
|
return { item for item in self.values() if item.vanilla_inventory }
|
||||||
|
|
||||||
|
|
||||||
class PenguinItemCollection(AbstractDataCollection):
|
class PenguinItemCollection(AbstractDataCollection):
|
||||||
|
Loading…
Reference in New Issue
Block a user