ST‐Pressure Plate Basic On Off - ironmonk88/monks-module-wiki GitHub Wiki

Pressure Plate, Basic On/Off

A basic pressure plate that runs actions when a token enters the tile & runs different actions when a token leaves the tile.

Setup Required

Setup Tab

  • When: Enter & Exit

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": 100,
  "height": 100,
  "rotation": 0,
  "alpha": 1,
  "flags": {
    "tagger": {
      "tags": ""
    },
    "monks-active-tiles": {
      "active": true,
      "record": false,
      "restriction": "all",
      "controlled": "all",
      "trigger": [
        "enter",
        "exit"
      ],
      "allowpaused": false,
      "usealpha": false,
      "pointer": false,
      "pertoken": false,
      "minrequired": 0,
      "chance": 100,
      "fileindex": 0,
      "actions": [
        {
          "action": "anchor",
          "data": {
            "tag": "_enter",
            "stop": true
          },
          "id": "9FULWy5NCdzIhQ5S"
        },
        {
          "action": "chatmessage",
          "data": {
            "entity": {},
            "state": "open",
            "type": "door",
            "location": {},
            "item": {},
            "actor": {},
            "token": {},
            "text": "Enter actions.",
            "for": "all",
            "duration": 5,
            "anchor": "0",
            "direction": "2",
            "flavor": "",
            "incharacter": false,
            "chatbubble": "true",
            "language": ""
          },
          "id": "eYQTFakXPfcf32P9"
        },
        {
          "action": "anchor",
          "data": {
            "tag": "_exit",
            "stop": true
          },
          "id": "HKhqIDcJyFb6v9Kk"
        },
        {
          "action": "chatmessage",
          "data": {
            "entity": {},
            "state": "open",
            "type": "door",
            "location": {},
            "item": {},
            "actor": {},
            "token": {},
            "text": "Exit actions.",
            "for": "all",
            "duration": 5,
            "anchor": "0",
            "direction": "2",
            "flavor": "",
            "incharacter": false,
            "chatbubble": "true",
            "language": ""
          },
          "id": "7ClDbgf1LiwJIR0c"
        }
      ],
      "files": []
    },
    "exportSource": {
      "world": "module-assembly",
      "system": "pf2e",
      "coreVersion": "11.305",
      "systemVersion": "5.1.2"
    }
  },
  "overhead": false,
  "roof": false,
  "occlusion": {
    "mode": 1,
    "alpha": 0,
    "radius": null
  },
  "video": {
    "loop": true,
    "autoplay": true,
    "volume": 0
  },
  "hidden": false,
  "locked": false,
  "id": "vswXEujw9pusNeSa",
  "name": "Pressure_Plate_Basic_On_Off",
  "visible": true,
  "img": null,
  "thumbnail": "modules/monks-active-tiles/img/cube.svg"
}

Page Last Updated

MATT 111.02

⚠️ **GitHub.com Fallback** ⚠️