ST Randomized Actions - ironmonk88/monks-module-wiki GitHub Wiki

Reference Player Count

Rolls from a table with text entries, then jumps to a Landing whose name matches the result.

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
  },
  "z": 100,
  "width": 100,
  "height": 100,
  "rotation": 0,
  "alpha": 1,
  "flags": {
    "tagger": {
      "tags": ""
    },
    "perfect-vision": {
      "lighting": ""
    },
    "tile-scroll": {
      "enableScroll": false,
      "scrollDirection": 0,
      "enableRotate": false,
      "scrollSpeed": 1,
      "repeat": 1,
      "pivotx": 0.5,
      "pivoty": 0.5,
      "offsetx": 0,
      "offsety": 0
    },
    "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": "rolltable",
          "data": {
            "rolltableid": "Compendium.forge-vtt-shared-compendiums-crows-roll-tables.rolltable-1-crows-roll-tables.JXfdT9KFz5pjcdaX",
            "quantity": 1,
            "rollmode": "roll",
            "chatmessage": true,
            "reset": true,
            "roll": false
          },
          "id": "6Vhdg1wTusMyQEHx"
        },
        {
          "action": "goto",
          "data": {
            "tag": "{{{value.text.[0]}}}",
            "limit": null,
            "resume": false
          },
          "id": "NWXgbS68zsJWYPvu"
        },
        {
          "action": "anchor",
          "data": {
            "tag": "Landing 1",
            "stop": true
          },
          "id": "MDyGIZipZq8mhNys"
        },
        {
          "action": "anchor",
          "data": {
            "tag": "Landing 2",
            "stop": true
          },
          "id": "Qmfg8OfkusOlWZDv"
        },
        {
          "action": "anchor",
          "data": {
            "tag": "Landing 3",
            "stop": true
          },
          "id": "B3sSOIH48y56OoSx"
        },
        {
          "action": "anchor",
          "data": {
            "tag": "Landing 4",
            "stop": true
          },
          "id": "kKM1G9bv9g9JYfhJ"
        }
      ],
      "files": []
    },
    "exportSource": {
      "world": "matt-test",
      "system": "dnd5e",
      "coreVersion": "10.291",
      "systemVersion": "2.1.5"
    }
  },
  "overhead": false,
  "roof": false,
  "occlusion": {
    "mode": 1,
    "alpha": 0,
    "radius": null
  },
  "video": {
    "loop": true,
    "autoplay": true,
    "volume": 0
  },
  "hidden": false,
  "locked": false,
  "x": 1600,
  "y": 1900,
  "id": "IyhZ4aIAuUt6xt27",
  "name": "Randomized Actions",
  "visible": true,
  "img": null,
  "thumbnail": "modules/monks-active-tiles/img/cube.svg"
}

Page Last Updated

MATT 10.12

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