Skip to content

ST Language Filter DnD 5E

Crowguard edited this page Aug 8, 2023 · 8 revisions

Language Filter, D&D 5E

Filters the triggering token based on whether they know a specific language; the example below will only continue if the triggering token knows Draconic.

Setup Required

Actions

Click here to view Tile Template JSON Data

Copy & paste this into Notepad and save it as a .JSON file. Then import it using MATT's Tile Templates.

{
  "texture": {
    "src": null,
    "scaleX": 1,
    "scaleY": 1,
    "tint": null,
    "offsetX": 0,
    "offsetY": 0,
    "rotation": 0
  },
  "x": 3000,
  "y": 3900,
  "z": 100,
  "width": 100,
  "height": 100,
  "rotation": 0,
  "alpha": 1,
  "overhead": false,
  "roof": false,
  "occlusion": {
    "mode": 1,
    "alpha": 0,
    "radius": null
  },
  "video": {
    "loop": true,
    "autoplay": true,
    "volume": 0
  },
  "flags": {
    "monks-active-tiles": {
      "active": true,
      "record": false,
      "restriction": "all",
      "controlled": "all",
      "trigger": [
        "enter"
      ],
      "allowpaused": false,
      "usealpha": false,
      "pointer": false,
      "pertoken": false,
      "minrequired": 0,
      "chance": 100,
      "fileindex": 0,
      "actions": [
        {
          "action": "attribute",
          "data": {
            "entity": {
              "id": "token",
              "name": "Triggering Token"
            },
            "collection": "tokens",
            "attribute": "traits.languages.value",
            "value": "\"draconic\""
          },
          "id": "wdnLZpZ02FwSkw9P"
        },
        {
          "action": "exists",
          "data": {
            "entity": "",
            "collection": "tokens",
            "count": "> 0",
            "none": ""
          },
          "id": "KVNDTuVMbpSEKQv0"
        }
      ],
      "files": []
    },
    "exportSource": {
      "world": "module-assembly",
      "system": "dnd5e",
      "coreVersion": "11.307",
      "systemVersion": "2.2.2"
    }
  },
  "hidden": false,
  "locked": false,
  "id": "SrOtmrAUt4Z2lVe5",
  "name": "Language_Filter_5E",
  "visible": true,
  "img": null,
  "thumbnail": "modules/monks-active-tiles/img/cube.svg"
}

Page Last Updated

  • MATT 11.02
  • D&D 5th Edition 2.2.2
Clone this wiki locally