ST Door with Open, Closed, and Secret Images - ironmonk88/monks-module-wiki GitHub Wiki
A door trigger to have your doors have open, closed, and secret images; this particular one needs the closed image to be the first one in the images list, the open image needs to be the second, and the secret image needs to be third.
The various filters are in place so it doesn't revert to the wrong image once the door is opened while still being secret, as I intended it to represent smashed open doors.
- When:
Door Trigger
recommended but not required if the door directly targets the tile or uses Tagger.
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": 100,
"rotation": 0,
"alpha": 1,
"flags": {
"tagger": {
"tags": ""
},
"monks-active-tiles": {
"active": true,
"record": false,
"restriction": "all",
"controlled": "all",
"trigger": [
"",
"door"
],
"allowpaused": false,
"usealpha": false,
"pointer": false,
"pertoken": false,
"minrequired": 0,
"chance": 100,
"fileindex": 0,
"actions": [
{
"action": "anchor",
"data": {
"tag": "_doorclose",
"stop": true
},
"id": "WuuDdjLz9uzK48mV"
},
{
"action": "tileimage",
"data": {
"entity": "",
"select": "1",
"transition": "none",
"speed": 1,
"loop": 1
},
"id": "bckXpLC0nBsuQp4H"
},
{
"action": "anchor",
"data": {
"tag": "_dooropen",
"stop": true
},
"id": "p5Ol4GoSm7jSNLet"
},
{
"action": "attribute",
"data": {
"entity": {
"id": "previous",
"name": "Current tokens"
},
"collection": "walls",
"attribute": "door",
"value": "< 2"
},
"id": "2yIvrDcpExsdc2Lx"
},
{
"action": "exists",
"data": {
"entity": {
"id": "previous",
"name": "Current tokens"
},
"collection": "walls",
"count": "> 0",
"none": ""
},
"id": "h6mfWxPx7eAPrJCo"
},
{
"action": "tileimage",
"data": {
"entity": "",
"select": "2",
"transition": "none",
"speed": 1,
"loop": 1
},
"id": "EVaQZyPPCDkKL7e1"
},
{
"action": "anchor",
"data": {
"tag": "_doorsecret",
"stop": true
},
"id": "aAUprZeiouH4xsTh"
},
{
"action": "attribute",
"data": {
"entity": {
"id": "previous",
"name": "Current tokens"
},
"collection": "walls",
"attribute": "door",
"value": "= 2"
},
"id": "UBJCKim6x5IfXnvo"
},
{
"action": "exists",
"data": {
"entity": {
"id": "previous",
"name": "Current tokens"
},
"collection": "walls",
"count": "> 0",
"none": ""
},
"id": "oW2CLN0wHzDbrMKG"
},
{
"action": "tileimage",
"data": {
"entity": "",
"select": "3",
"transition": "none",
"speed": 1,
"loop": 1
},
"id": "J24OE7uWP8AXiiFj"
}
],
"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": 2100,
"y": 2400,
"id": "QVzQVQ2iKuqOLqxX",
"name": "Door_Open_Closed_Secret_Images",
"visible": true,
"img": null,
"thumbnail": "modules/monks-active-tiles/img/cube.svg"
}
- Use Monk's Wall Enhancement to hotkey toggling a door between secret and not-secret.
MATT 10.15