14 lines
561 B
Python
14 lines
561 B
Python
# sensorBoostTargetedHostile
|
|
#
|
|
# Used by:
|
|
# Drones named like: SD (3 of 3)
|
|
type = "projected", "active"
|
|
|
|
|
|
def handler(fit, container, context):
|
|
if "projected" in context:
|
|
fit.ship.multiplyItemAttr("maxTargetRange", container.getModifiedItemAttr("maxTargetRangeMultiplier"),
|
|
stackingPenalties=True, penaltyGroup="postMul")
|
|
fit.ship.multiplyItemAttr("scanResolution", container.getModifiedItemAttr("scanResolutionMultiplier"),
|
|
stackingPenalties=True, penaltyGroup="postMul")
|