Add auto targeting system to list of mods which do not get online by default
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user