12 lines
389 B
Python
12 lines
389 B
Python
# skillIndustrialReconfigurationConsumptionQuantityBonus
|
|
#
|
|
# Used by:
|
|
# Skill: Industrial Reconfiguration
|
|
type = "passive"
|
|
|
|
|
|
def handler(fit, skill, context):
|
|
amount = -skill.getModifiedItemAttr("consumptionQuantityBonus")
|
|
fit.modules.filteredItemIncrease(lambda mod: mod.item.requiresSkill(skill),
|
|
"consumptionQuantity", amount * skill.level)
|