ST Rotation Puzzle Basic - ironmonk88/monks-module-wiki GitHub Wiki

Rotation Puzzle, Basic

If a token is rotated to the proper degree inside the tile, it runs the success actions.

The initial Delay is needed because the tile triggers when the rotation action starts, not when it finishes rotation, though it may be able to be adjusted down slightly.

Setup Required

Setup Tab

  • When: Rotation

Actions

The Chat Messages 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": 200,
  "height": 200,
  "rotation": 0,
  "alpha": 1,
  "flags": {
    "tagger": {},
    "monks-active-tiles": {
      "active": true,
      "record": false,
      "restriction": "all",
      "controlled": "all",
      "trigger": [
        "",
        "rotation"
      ],
      "allowpaused": false,
      "usealpha": false,
      "pointer": false,
      "pertoken": false,
      "minrequired": 0,
      "chance": 100,
      "fileindex": 0,
      "actions": [
        {
          "action": "delay",
          "data": {
            "delay": "0.5"
          },
          "id": "g3YxYp6TDW6OnmZ1"
        },
        {
          "action": "attribute",
          "data": {
            "entity": "",
            "collection": "tokens",
            "attribute": "rotation",
            "value": "= 90"
          },
          "id": "ctBjQt7UYgStXYib"
        },
        {
          "action": "exists",
          "data": {
            "entity": "",
            "collection": "tokens",
            "count": "> 0",
            "none": "Wrong"
          },
          "id": "cuhWb42y6lxKTBJR"
        },
        {
          "action": "delay",
          "data": {
            "delay": "0.1"
          },
          "id": "hcg4mHVxIxWRFJWl"
        },
        {
          "action": "chatmessage",
          "data": {
            "flavor": "",
            "text": "Success Stuff",
            "entity": {
              "id": "token",
              "name": "Triggering Token"
            },
            "incharacter": false,
            "chatbubble": "true",
            "for": "all",
            "language": ""
          },
          "id": "YJnZN3ScMw4gjtgI"
        },
        {
          "action": "anchor",
          "data": {
            "tag": "Wrong",
            "stop": true
          },
          "id": "cpXpAaLI2wJ5kKGc"
        },
        {
          "action": "chatmessage",
          "data": {
            "flavor": "",
            "text": "Wrong",
            "entity": "",
            "incharacter": false,
            "chatbubble": "true",
            "for": "all",
            "language": ""
          },
          "id": "kM3Kk428aDlxNmJm"
        }
      ],
      "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,
  "x": 3300,
  "y": 1500,
  "id": "6wSnFzmPQwIR1UCQ",
  "name": "Rotation_Puzzle_Basic",
  "visible": true,
  "img": null,
  "thumbnail": "modules/monks-active-tiles/img/cube.svg"
}

Page Last Updated

MATT 11.02

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