From 84e20be1535ee513b8832937e69a7d0562b34408 Mon Sep 17 00:00:00 2001 From: DarkPhoenix Date: Sat, 4 Jan 2020 19:32:31 +0300 Subject: [PATCH] Add auto targeting system to list of mods which do not get online by default --- eos/effects.py | 11 +++++++++++ gui/fitCommands/helpers.py | 2 +- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/eos/effects.py b/eos/effects.py index 471d9b657..4489d5a25 100644 --- a/eos/effects.py +++ b/eos/effects.py @@ -275,6 +275,17 @@ class Effect51(BaseEffect): fit.ship.multiplyItemAttr('rechargeRate', module.getModifiedItemAttr('capacitorRechargeRateMultiplier'), **kwargs) +class Effect54(BaseEffect): + """ + targetPassively + + Used by: + Modules from group: Passive Targeting System (6 of 6) + """ + + type = 'active' + + class Effect55(BaseEffect): """ targetHostiles diff --git a/gui/fitCommands/helpers.py b/gui/fitCommands/helpers.py index db08e9a27..cb2449cf8 100644 --- a/gui/fitCommands/helpers.py +++ b/gui/fitCommands/helpers.py @@ -324,7 +324,7 @@ def activeStateLimit(itemIdentity): 'microJumpDrive', 'microJumpPortalDrive', 'emergencyHullEnergizer', 'cynosuralGeneration', 'jumpPortalGeneration', 'jumpPortalGenerationBO', 'cloneJumpAccepting', 'cloakingWarpSafe', 'cloakingPrototype', 'cloaking', - 'massEntanglerEffect5' + 'massEntanglerEffect5', 'electronicAttributeModifyOnline', 'targetPassively' }.intersection(item.effects): return FittingModuleState.ONLINE return FittingModuleState.ACTIVE