Subnautica: Fix `creature_scan_logic: removed` allowing Cuddlefish.

This commit is contained in:
recklesscoder 2022-11-03 03:05:58 +01:00 committed by Fabian Dill
parent 2b0e7f05da
commit 7f3eda4623
2 changed files with 3 additions and 3 deletions

View File

@ -118,8 +118,8 @@ class Definitions:
return [name for name in self.all_creatures_presorted if name not in aggressive or name in hatchable] return [name for name in self.all_creatures_presorted if name not in aggressive or name in hatchable]
@functools.cached_property @functools.cached_property
def all_creatures_presorted_without_aggressive(self) -> List[str]: 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] return [name for name in self.all_creatures_presorted if name not in aggressive and name not in containment]
# only singleton needed # only singleton needed
Definitions: Definitions = Definitions() Definitions: Definitions = Definitions()

View File

@ -60,7 +60,7 @@ class AggressiveScanLogic(Choice):
def get_pool(self) -> typing.List[str]: def get_pool(self) -> typing.List[str]:
if self == self.option_removed: 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: elif self == self.option_stasis:
return Definitions.all_creatures_presorted_without_containment return Definitions.all_creatures_presorted_without_containment
elif self == self.option_containment: elif self == self.option_containment: