add action deck macros

This commit is contained in:
2024-02-25 22:27:02 -06:00
parent a3733fa4cc
commit 14c988c528
17 changed files with 252 additions and 27 deletions
Binary file not shown.
+5 -5
View File
@@ -1,5 +1,5 @@
2024/02/13-22:26:03.793278 7f9d24fbc700 Delete type=3 #1
2024/02/13-22:26:03.795568 7f9a87fff700 Level-0 table #5: started
2024/02/13-22:26:03.798917 7f9a87fff700 Level-0 table #5: 21261 bytes OK
2024/02/13-22:26:03.801661 7f9a87fff700 Delete type=0 #3
2024/02/13-22:26:03.801767 7f9a87fff700 Manual compaction at level-0 from '!folders!A3iVDJD2cTuTLpBu' @ 72057594037927935 : 1 .. '!macros!wU2mAUnw3RW9qMT8' @ 0 : 0; will stop at (end)
2024/02/25-22:26:15.938554 7f6addfbf700 Delete type=3 #1
2024/02/25-22:26:15.941199 7f6adbfbb700 Level-0 table #5: started
2024/02/25-22:26:15.948437 7f6adbfbb700 Level-0 table #5: 24402 bytes OK
2024/02/25-22:26:15.957265 7f6adbfbb700 Delete type=0 #3
2024/02/25-22:26:15.957350 7f6adbfbb700 Manual compaction at level-0 from '!folders!8FWN37c0gcpAisAv' @ 72057594037927935 : 1 .. '!macros!ypFtlnrgQkzqLpxI' @ 0 : 0; will stop at (end)
Binary file not shown.
@@ -0,0 +1,19 @@
{
"name": "Action Deck",
"sorting": "a",
"folder": null,
"type": "Macro",
"_id": "VMi3DyJN0U0PosUH",
"sort": 0,
"color": null,
"flags": {},
"_stats": {
"systemId": "swade",
"systemVersion": "3.3.3",
"coreVersion": "11.315",
"createdTime": 1708920283645,
"modifiedTime": 1708920283645,
"lastModifiedBy": "sVoCvBU1knmXzoYe"
},
"_key": "!folders!VMi3DyJN0U0PosUH"
}
File diff suppressed because one or more lines are too long
@@ -0,0 +1,19 @@
{
"name": "Macro Manager",
"sorting": "a",
"folder": null,
"type": "Macro",
"_id": "8FWN37c0gcpAisAv",
"sort": 0,
"color": null,
"flags": {},
"_stats": {
"systemId": "swade",
"systemVersion": "3.3.3",
"coreVersion": "11.315",
"createdTime": 1708920245023,
"modifiedTime": 1708920245023,
"lastModifiedBy": "sVoCvBU1knmXzoYe"
},
"_key": "!folders!8FWN37c0gcpAisAv"
}
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -0,0 +1,27 @@
{
"name": "Shuffle Action Deck",
"type": "script",
"scope": "global",
"author": "sVoCvBU1knmXzoYe",
"img": "icons/sundries/misc/admission-ticket-grey.webp",
"command": "const deck = game.cards.get(\n game.settings.get('swade', 'actionDeck')\n)\n\nif (deck) {\n await deck.recall({chatNotification: false})\n await deck.shuffle({chatNotification: false})\n const content = `<p>Shuffled ${deck.name}.</p>`\n const flavor = deck.name\n ChatMessage.create({ content, flavor})\n}",
"folder": "VMi3DyJN0U0PosUH",
"ownership": {
"default": 0,
"sVoCvBU1knmXzoYe": 3
},
"flags": {
"core": {}
},
"_stats": {
"systemId": "swade",
"systemVersion": "3.3.3",
"coreVersion": "11.315",
"createdTime": 1708903743324,
"modifiedTime": 1708920758921,
"lastModifiedBy": "sVoCvBU1knmXzoYe"
},
"_id": "0KKfgpen1MyOgM2Z",
"sort": 0,
"_key": "!macros!0KKfgpen1MyOgM2Z"
}