MATT Filter by Attributes - ironmonk108/monks-module-wiki GitHub Wiki
Filters entities by stats, attributes & flags.
Use Check Variable instead to filter MATT's saved variables.
Use this to directly target an entity; the following entity types are able to be targeted.
Please note that technically any type of entity on the canvas can be targeted with this action, but any not listed here currently won't work.
Use this to filter the tile itself.
Use this to filter the triggering token.
Use this to filter all tokens within the triggering tile.
Use this to filter all player tokens on the scene.
- Current Actors Collection
- Current Items Collection
- Current Journals Collection
- Current Tiles Collection
- Current Tokens Collection, and by extension, Actors
- Current Users Collection
- Current Walls Collection
Use this to filter the current action collection
.
Use this to filter all valid entities with a Tag matching your Use Tagger settings.
Put the exact datapath of the attribute/stat/flag/(whatever your system calls stuff) to be used here. Capitalization matters.
The various entity type links above contain instructions on finding the datapaths.
- The auto-fill is not complete nor always up-to-date. Just type your datapath in manually if it doesn't appear.
- MATT trims out most of the datapath on supported systems; you just need
foo
and notsystem.actor.foo
for example.- D&D 5e example: normally you would reference passive perception with
system.actor.skills.prc.passive
; with it trimmed it would just beskills.prc.passive
.
- D&D 5e example: normally you would reference passive perception with
- Flags on tokens that reference their actor do need to specify that its looking at the actor.
- Add
actor.
to the front of the datapath for actor flags. Example:actor.flags.tidy5e-sheet.weight
- Add
- To filter by a saved Variable, use
flags.monks-active-tiles.variables.foo
.- You can also instead just use the Check Variable action.
- Passive perception is
skills.prc.passive
; notskills.per.passive
; that is passive performance.
- You need an operator unless filtering an array.
= 10
-
< > =
are all operators that can be used to tune your tile trigger.-
≤ ≥
Do not work, use>=
and<=
.
-
- You need a space between the operators and the value.
>= 20
- Filtering by a string requires a equals sign at the start, then use a set of quotation marks around the value to properly filter by it. Example:
= "name"
.- To filter an array and whether the value exists inside them; don't use an equals sign like you usually would for a string. Example:
"Tag"
- To filter an array and whether the value exists inside them; don't use an equals sign like you usually would for a string. Example:
- Accepts inequality operators.
!=
- Accepts Handlebar Expressions.
- A section of filters must be followed in the action list by a Check Entity Count.
- Boss Music
- Combat State Filter
- Death Save Script
- Door w/ Open, Closed, and Secret Images
- Elevation Filter
- Encounter Logger
- Language Filter, D&D 5E
- Language Filter, PF 2E
- Name Filter
- Ooze Splitter
- Passive Skill Filter
- Random Gravestone Generator
- Rotation Puzzle, Basic
- Tag Filter
- Foundry 13.347
- MATT 13.05