ST Randomized Actions - ironmonk108/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.

Example below rolls from the roll table, and jumps to the result. The only possible result in the example table is 1, so it would jump to landing 1 and create the terror bird token.

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.

{
    "width": 100,
    "height": 100,
    "rotation": 0,
    "elevation": 0,
    "sort": 103,
    "flags": {
        "monks-active-tiles": {
            "name": "",
            "active": true,
            "record": false,
            "restriction": "all",
            "controlled": "all",
            "trigger": [
                "enter"
            ],
            "allowpaused": false,
            "usealpha": false,
            "pointer": false,
            "vision": true,
            "pertoken": false,
            "minrequired": null,
            "cooldown": null,
            "chance": 100,
            "fileindex": 0,
            "actions": [
                {
                    "action": "rolltable",
                    "data": {
                        "rolltableid": {
                            "id": "RollTable.XTGU08hSgBqmxKJ8",
                            "name": "Landings Rolltable"
                        },
                        "quantity": "1",
                        "rollmode": "roll",
                        "chatmessage": true,
                        "reset": true,
                        "roll": false
                    },
                    "id": "DHMkoOme2iUG0qgh"
                },
                {
                    "action": "goto",
                    "data": {
                        "tag": "{{{value.results.[0].name}}}",
                        "limit": "",
                        "rollmode": "roll",
                        "resume": false
                    },
                    "id": "hmwRzUEyuimJbKJf"
                },
                {
                    "action": "anchor",
                    "data": {
                        "tag": "1",
                        "stop": true
                    },
                    "id": "ImtCep8H6xDr0AH3"
                },
                {
                    "action": "anchor",
                    "data": {
                        "tag": "2",
                        "stop": true
                    },
                    "id": "xoyDjDIp1ZIgSzWT"
                },
                {
                    "action": "anchor",
                    "data": {
                        "tag": "3",
                        "stop": true
                    },
                    "id": "n5p4QhJsl8Xi0cYE"
                },
                {
                    "action": "anchor",
                    "data": {
                        "tag": "4",
                        "stop": true
                    },
                    "id": "k9jiaNFvEJE9fSUq"
                }
            ],
            "files": []
        },
        "tagger": {}
    },
    "texture": {
        "src": null,
        "scaleX": 1,
        "scaleY": 1,
        "tint": "#ffffff",
        "anchorX": 0.5,
        "anchorY": 0.5,
        "offsetX": 0,
        "offsetY": 0,
        "fit": "fill",
        "rotation": 0,
        "alphaThreshold": 0.75
    },
    "alpha": 1,
    "occlusion": {
        "mode": 0,
        "alpha": 0
    },
    "restrictions": {
        "light": false,
        "weather": false
    },
    "hidden": false,
    "locked": false,
    "video": {
        "loop": true,
        "autoplay": true,
        "volume": 0
    },
    "name": "Random Actions v13.01",
    "visible": true,
    "img": null,
    "thumbnail": "modules/monks-active-tiles/img/cube.svg"
}

Page Last Updated

  • Foundry 13.350
  • MATT 13.05
⚠️ **GitHub.com Fallback** ⚠️