ST Open Item Pile - ironmonk88/monks-module-wiki GitHub Wiki

Open Item Pile

Opens the Item Pile actor sheet specified in the macro; naturally this requires Item Piles.

Not officially supported by MATT.

Setup Required

Actions

Click here to view the Macro

game.itempiles.API.renderItemPileInterface(game.actors.getName("Item Pile Actor Name Here"), {
  userIds: [game.user.id]
});
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
  },
  "x": 2400,
  "y": 1500,
  "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": [
        "",
        "dblclick"
      ],
      "allowpaused": false,
      "usealpha": false,
      "pointer": false,
      "pertoken": false,
      "minrequired": 0,
      "chance": 100,
      "fileindex": -1,
      "actions": [
        {
          "action": "runmacro",
          "data": {
            "entity": {
              "id": "Macro.aC5rwrftk3qr7Yp2",
              "name": "Open Item Pile"
            },
            "args": "",
            "runasgm": "player"
          },
          "id": "BIYKZcVTO6arEVJI"
        }
      ],
      "files": []
    },
    "exportSource": {
      "world": "matt-test",
      "system": "dnd5e",
      "coreVersion": "10.291",
      "systemVersion": "2.1.4"
    }
  },
  "overhead": false,
  "roof": false,
  "occlusion": {
    "mode": 1,
    "alpha": 0,
    "radius": null
  },
  "video": {
    "loop": true,
    "autoplay": true,
    "volume": 0
  },
  "hidden": false,
  "locked": false,
  "id": "LkiOYnQz5nJHDUUS",
  "name": "Open_Item_Pile",
  "visible": true,
  "img": null,
  "thumbnail": "modules/monks-active-tiles/img/cube.svg"
}

Page Last Updated

MATT 10.12

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