Skip to content

ST Split the Party Trap

Crowguard edited this page Feb 12, 2024 · 8 revisions

Split the Party

Requests a roll from each token within the tile, and teleports any who fail to a unique location. Requires a roll table set up with Draw With Replacement unchecked. Entries should be formatted like {"x": 100, "y": 100}.

Setup Required

Actions

The Chat Message are for informative purposes only.

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
  },
  "z": 100,
  "width": 300,
  "height": 300,
  "rotation": 0,
  "alpha": 1,
  "flags": {
    "tagger": {
      "tags": ""
    },
    "monks-active-tiles": {
      "active": true,
      "record": false,
      "restriction": "all",
      "controlled": "all",
      "trigger": [
        "",
        "dblclick"
      ],
      "allowpaused": false,
      "usealpha": false,
      "pointer": false,
      "pertoken": false,
      "minrequired": 0,
      "chance": 100,
      "fileindex": 0,
      "actions": [
        {
          "action": "monks-tokenbar.requestroll",
          "data": {
            "entity": {
              "id": "within",
              "name": "Tokens within Tile"
            },
            "request": "attribute:perception",
            "dc": 15,
            "flavor": "",
            "rollmode": "roll",
            "silent": true,
            "fastforward": true,
            "usetokens": "all",
            "continue": "always"
          },
          "id": "V5OLkRm7y5T21663"
        },
        {
          "action": "monks-tokenbar.filterrequest",
          "data": {
            "passed": "Pass",
            "failed": "Fail",
            "resume": ""
          },
          "id": "g5da2UDwy1MX1Sxs"
        },
        {
          "action": "anchor",
          "data": {
            "tag": "Fail",
            "stop": true
          },
          "id": "8VyeM1t1t721wAD5"
        },
        {
          "action": "loop",
          "data": {
            "tag": "Teleport",
            "collection": "tokens",
            "resume": ""
          },
          "id": "9TEQzgspMsLk89uT"
        },
        {
          "action": "anchor",
          "data": {
            "tag": "Teleport",
            "stop": true
          },
          "id": "sC8PFJQGGY6KYVxP"
        },
        {
          "action": "chatmessage",
          "data": {
            "flavor": "",
            "text": "Fail",
            "entity": "",
            "incharacter": false,
            "chatbubble": "true",
            "for": "all",
            "language": ""
          },
          "id": "npBcgwG4dtAxRzPQ"
        },
        {
          "action": "rolltable",
          "data": {
            "rolltableid": "RollTable.Lbm58FbO2VmLsPQ6",
            "quantity": 1,
            "rollmode": "roll",
            "chatmessage": true,
            "reset": true,
            "roll": false
          },
          "id": "JjtRNnamfbtVFcGL"
        },
        {
          "action": "teleport",
          "data": {
            "entity": {
              "id": "previous",
              "name": "Current tokens"
            },
            "location": {
              "id": "previous",
              "name": "Current Location"
            },
            "position": "random",
            "remotesnap": true,
            "animatepan": true,
            "deletesource": true,
            "preservesettings": false,
            "avoidtokens": false,
            "colour": ""
          },
          "id": "rOkIcJMLu4TmO7wI"
        },
        {
          "action": "anchor",
          "data": {
            "tag": "Pass",
            "stop": true
          },
          "id": "YOFfshztKjhk1PAd"
        },
        {
          "action": "chatmessage",
          "data": {
            "flavor": "",
            "text": "Pass",
            "entity": "",
            "incharacter": false,
            "chatbubble": "true",
            "for": "all",
            "language": ""
          },
          "id": "vzdjEkMPnBL9cILT"
        }
      ],
      "files": []
    },
    "exportSource": {
      "world": "module-assembly",
      "system": "pf2e",
      "coreVersion": "10.291",
      "systemVersion": "4.11.2"
    }
  },
  "overhead": false,
  "roof": false,
  "occlusion": {
    "mode": 1,
    "alpha": 0,
    "radius": null
  },
  "video": {
    "loop": true,
    "autoplay": true,
    "volume": 0
  },
  "hidden": false,
  "locked": false,
  "id": "Ajwtv3sBQ5rXAOyU",
  "name": "Split_the_Party_Trap",
  "visible": true,
  "img": null,
  "thumbnail": "modules/monks-active-tiles/img/cube.svg"
}

Page Last Updated

MATT 10.20

Clone this wiki locally