|
9 | 9 | -- Labels containing any of these keywords stay hidden even when "Show All Configurations" is on. |
10 | 10 | local EXCLUDE_KEYWORDS = { "recently", "in the last", "in the past", "in last", "in past", "pvp" } |
11 | 11 |
|
12 | | --- Simple predicates of the form `varData.ifX` → `mainEnv.YUsed[opt]`, with imply-cond fallback when `impliable` is true. |
| 12 | +-- Simple predicates of the form `varData.ifX` → `mainEnv.YUsed[opt]`, with imply-cond fallback when `canImply` is true. |
13 | 13 | local SIMPLE_PREDICATES = { |
14 | | - { key = "ifCond", env = "conditionsUsed", impliable = true }, |
15 | | - { key = "ifMinionCond", env = "minionConditionsUsed", impliable = true }, |
16 | | - { key = "ifEnemyCond", env = "enemyConditionsUsed", impliable = true }, |
17 | | - { key = "ifMult", env = "multipliersUsed", impliable = true }, |
18 | | - { key = "ifEnemyMult", env = "enemyMultipliersUsed", impliable = true }, |
19 | | - { key = "ifEnemyStat", env = "enemyPerStatsUsed", impliable = true }, |
20 | | - { key = "ifTagType", env = "tagTypesUsed", impliable = true }, |
21 | | - { key = "ifMod", env = "modsUsed", impliable = true }, |
| 14 | + { key = "ifCond", env = "conditionsUsed", canImply = true }, |
| 15 | + { key = "ifMinionCond", env = "minionConditionsUsed", canImply = true }, |
| 16 | + { key = "ifEnemyCond", env = "enemyConditionsUsed", canImply = true }, |
| 17 | + { key = "ifMult", env = "multipliersUsed", canImply = true }, |
| 18 | + { key = "ifEnemyMult", env = "enemyMultipliersUsed", canImply = true }, |
| 19 | + { key = "ifEnemyStat", env = "enemyPerStatsUsed", canImply = true }, |
| 20 | + { key = "ifTagType", env = "tagTypesUsed", canImply = true }, |
| 21 | + { key = "ifMod", env = "modsUsed", canImply = true }, |
22 | 22 | } |
23 | 23 |
|
24 | 24 | -- Run `predicate` against either a single value or a list of values. |
|
0 commit comments