Reformatting all effect files for readability and better PEP8 compliance

This commit is contained in:
Ebag333
2016-10-19 11:16:32 -07:00
parent 481619101b
commit 3e842f30f1
1961 changed files with 6494 additions and 1520 deletions

View File

@@ -2,15 +2,17 @@
#
# Used by:
# Modules from group: Remote Sensor Booster (8 of 8)
type= "projected", "active"
type = "projected", "active"
def handler(fit, module, context):
if "projected" not in context:
return
fit.ship.boostItemAttr("maxTargetRange", module.getModifiedItemAttr("maxTargetRangeBonus"),
stackingPenalties = True)
stackingPenalties=True)
fit.ship.boostItemAttr("scanResolution", module.getModifiedItemAttr("scanResolutionBonus"),
stackingPenalties = True)
stackingPenalties=True)
for scanType in ("Gravimetric", "Magnetometric", "Radar", "Ladar"):
fit.ship.boostItemAttr(