Handle renames of items and groups
This commit is contained in:
@@ -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",
|
||||
"powerTransferRange", ship.getModifiedItemAttr("maxRangeBonus"))
|
||||
|
||||
Reference in New Issue
Block a user