Handle renames of items and groups

This commit is contained in:
DarkPhoenix
2013-08-21 01:07:27 +04:00
parent deed271073
commit 5c073dc83f
49 changed files with 60 additions and 60 deletions

View File

@@ -3,5 +3,5 @@
# Ship: Osprey
type = "passive"
def handler(fit, ship, context):
fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "Energy Transfer Array",
fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "Remote Capacitor Transmitter",
"powerTransferAmount", ship.getModifiedItemAttr("energyTransferAmountBonus"))