Revert "Remove effect files that are not used by any item"

This reverts commit b29fa2467a.
This commit is contained in:
blitzman
2016-12-04 23:10:09 -05:00
parent b375d3cb6c
commit 4a95156e35
67 changed files with 744 additions and 1 deletions

View File

@@ -0,0 +1,11 @@
# Not used by any item
type = "passive"
def handler(fit, module, context):
# Note: we increase maxGroupActive by two.
# If we only increased it by one, we'd get the number to stay equal
# As Comman Processors use one themselves too
fit.modules.filteredItemIncrease(lambda mod: mod.item.group.name == "Gang Coordinator" and
"maxGroupActive" in mod.itemModifiedAttributes,
"maxGroupActive", 1)