mirror of
https://github.com/MarioSpore/Grinch-AP.git
synced 2025-10-21 20:21:32 -06:00
Subnautica: Fix creature_scan_logic: removed
allowing Cuddlefish.
This commit is contained in:

committed by
Fabian Dill

parent
2b0e7f05da
commit
7f3eda4623
@@ -118,8 +118,8 @@ class Definitions:
|
||||
return [name for name in self.all_creatures_presorted if name not in aggressive or name in hatchable]
|
||||
|
||||
@functools.cached_property
|
||||
def all_creatures_presorted_without_aggressive(self) -> List[str]:
|
||||
return [name for name in self.all_creatures_presorted if name not in aggressive]
|
||||
def all_creatures_presorted_without_aggressive_and_containment(self) -> List[str]:
|
||||
return [name for name in self.all_creatures_presorted if name not in aggressive and name not in containment]
|
||||
|
||||
# only singleton needed
|
||||
Definitions: Definitions = Definitions()
|
||||
|
@@ -60,7 +60,7 @@ class AggressiveScanLogic(Choice):
|
||||
|
||||
def get_pool(self) -> typing.List[str]:
|
||||
if self == self.option_removed:
|
||||
return Definitions.all_creatures_presorted_without_aggressive
|
||||
return Definitions.all_creatures_presorted_without_aggressive_and_containment
|
||||
elif self == self.option_stasis:
|
||||
return Definitions.all_creatures_presorted_without_containment
|
||||
elif self == self.option_containment:
|
||||
|
Reference in New Issue
Block a user