18 lines
597 B
Python
18 lines
597 B
Python
# structureModuleEffectRemoteSensorDampener
|
|
#
|
|
# Used by:
|
|
# Variations of structure module: Standup Remote Sensor Dampener I (2 of 2)
|
|
|
|
type = "projected", "active"
|
|
|
|
|
|
def handler(fit, module, context, *args, **kwargs):
|
|
if "projected" not in context:
|
|
return
|
|
|
|
fit.ship.boostItemAttr("maxTargetRange", module.getModifiedItemAttr("maxTargetRangeBonus"),
|
|
stackingPenalties=True, *args, **kwargs)
|
|
|
|
fit.ship.boostItemAttr("scanResolution", module.getModifiedItemAttr("scanResolutionBonus"),
|
|
stackingPenalties=True, *args, **kwargs)
|