add action deck macros

This commit is contained in:
Mike Bloy 2024-02-25 22:27:02 -06:00
parent a3733fa4cc
commit 14c988c528
17 changed files with 252 additions and 27 deletions

View File

@ -5,6 +5,15 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## Unreleased
### Added
- Added Macro Manager macro for all Power Effects
- Added Macro Manager macro for all helper macros
- Added Draw from Action Deck macro
- Added Shuffle Action Deck macro
## [2.4.1] 2024-02-13 ## [2.4.1] 2024-02-13
### Added ### Added

View File

@ -1,5 +1,5 @@
2024/02/13-22:26:01.851241 7f4532ffd700 Delete type=3 #1 2024/02/25-22:26:12.406881 7fa03affd700 Delete type=3 #1
2024/02/13-22:26:01.853425 7f45327fc700 Level-0 table #5: started 2024/02/25-22:26:12.409562 7fa039ffb700 Level-0 table #5: started
2024/02/13-22:26:01.856531 7f45327fc700 Level-0 table #5: 17250 bytes OK 2024/02/25-22:26:12.419560 7fa039ffb700 Level-0 table #5: 17250 bytes OK
2024/02/13-22:26:01.859327 7f45327fc700 Delete type=0 #3 2024/02/25-22:26:12.428377 7fa039ffb700 Delete type=0 #3
2024/02/13-22:26:01.859433 7f45327fc700 Manual compaction at level-0 from '!folders!0nDRFmMBs5DBJU9M' @ 72057594037927935 : 1 .. '!items.effects!RC1Nz6iph8wPPK1B.g9W5hJisq3MsCpZW' @ 0 : 0; will stop at (end) 2024/02/25-22:26:12.428466 7fa039ffb700 Manual compaction at level-0 from '!folders!0nDRFmMBs5DBJU9M' @ 72057594037927935 : 1 .. '!items.effects!RC1Nz6iph8wPPK1B.g9W5hJisq3MsCpZW' @ 0 : 0; will stop at (end)

View File

@ -1,5 +1,5 @@
2024/02/13-22:26:02.541354 7fece27fc700 Delete type=3 #1 2024/02/25-22:26:13.654421 7f2f8ffff700 Delete type=3 #1
2024/02/13-22:26:02.543479 7fece1ffb700 Level-0 table #5: started 2024/02/25-22:26:13.656790 7f2f8effd700 Level-0 table #5: started
2024/02/13-22:26:02.546505 7fece1ffb700 Level-0 table #5: 6787 bytes OK 2024/02/25-22:26:13.663962 7f2f8effd700 Level-0 table #5: 6787 bytes OK
2024/02/13-22:26:02.549208 7fece1ffb700 Delete type=0 #3 2024/02/25-22:26:13.672839 7f2f8effd700 Delete type=0 #3
2024/02/13-22:26:02.549329 7fece1ffb700 Manual compaction at level-0 from '!items!JWyBQe4tnOYljFAF' @ 72057594037927935 : 1 .. '!items!tWWSfEMmLmws6Yb1' @ 0 : 0; will stop at (end) 2024/02/25-22:26:13.672926 7f2f8effd700 Manual compaction at level-0 from '!items!JWyBQe4tnOYljFAF' @ 72057594037927935 : 1 .. '!items!tWWSfEMmLmws6Yb1' @ 0 : 0; will stop at (end)

View File

@ -1,5 +1,5 @@
2024/02/13-22:26:03.160929 7fc96e7bf700 Delete type=3 #1 2024/02/25-22:26:14.349854 7f2507fff700 Delete type=3 #1
2024/02/13-22:26:03.163338 7fc6cffff700 Level-0 table #5: started 2024/02/25-22:26:14.352226 7f2506ffd700 Level-0 table #5: started
2024/02/13-22:26:03.166145 7fc6cffff700 Level-0 table #5: 1751 bytes OK 2024/02/25-22:26:14.359280 7f2506ffd700 Level-0 table #5: 1751 bytes OK
2024/02/13-22:26:03.169061 7fc6cffff700 Delete type=0 #3 2024/02/25-22:26:14.368255 7f2506ffd700 Delete type=0 #3
2024/02/13-22:26:03.169185 7fc6cffff700 Manual compaction at level-0 from '!actors!U5v4gFHquo0Y1SAq' @ 72057594037927935 : 1 .. '!actors!U5v4gFHquo0Y1SAq' @ 0 : 0; will stop at (end) 2024/02/25-22:26:14.368356 7f2506ffd700 Manual compaction at level-0 from '!actors!U5v4gFHquo0Y1SAq' @ 72057594037927935 : 1 .. '!actors!U5v4gFHquo0Y1SAq' @ 0 : 0; will stop at (end)

Binary file not shown.

View File

@ -1,5 +1,5 @@
2024/02/13-22:26:03.793278 7f9d24fbc700 Delete type=3 #1 2024/02/25-22:26:15.938554 7f6addfbf700 Delete type=3 #1
2024/02/13-22:26:03.795568 7f9a87fff700 Level-0 table #5: started 2024/02/25-22:26:15.941199 7f6adbfbb700 Level-0 table #5: started
2024/02/13-22:26:03.798917 7f9a87fff700 Level-0 table #5: 21261 bytes OK 2024/02/25-22:26:15.948437 7f6adbfbb700 Level-0 table #5: 24402 bytes OK
2024/02/13-22:26:03.801661 7f9a87fff700 Delete type=0 #3 2024/02/25-22:26:15.957265 7f6adbfbb700 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.957350 7f6adbfbb700 Manual compaction at level-0 from '!folders!8FWN37c0gcpAisAv' @ 72057594037927935 : 1 .. '!macros!ypFtlnrgQkzqLpxI' @ 0 : 0; will stop at (end)

Binary file not shown.

View File

@ -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

View File

@ -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

View File

@ -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"
}

Binary file not shown.

View File

@ -1,5 +1,5 @@
2024/02/13-22:26:04.506008 7fa4f87bc700 Delete type=3 #1 2024/02/25-22:26:16.948086 7fc8a8eef700 Delete type=3 #1
2024/02/13-22:26:04.508224 7fa4f7d40700 Level-0 table #5: started 2024/02/25-22:26:16.950377 7fc882ffd700 Level-0 table #5: started
2024/02/13-22:26:04.511458 7fa4f7d40700 Level-0 table #5: 17816 bytes OK 2024/02/25-22:26:16.957982 7fc882ffd700 Level-0 table #5: 18987 bytes OK
2024/02/13-22:26:04.514232 7fa4f7d40700 Delete type=0 #3 2024/02/25-22:26:16.969303 7fc882ffd700 Delete type=0 #3
2024/02/13-22:26:04.514334 7fa4f7d40700 Manual compaction at level-0 from '!journal!HbtPlHNFO1L6RVj0' @ 72057594037927935 : 1 .. '!journal.pages!w4TImRTAiNiqDWeL.vQhO6BVdKZOubTUQ' @ 0 : 0; will stop at (end) 2024/02/25-22:26:16.969406 7fc882ffd700 Manual compaction at level-0 from '!journal!HbtPlHNFO1L6RVj0' @ 72057594037927935 : 1 .. '!journal.pages!w4TImRTAiNiqDWeL.vQhO6BVdKZOubTUQ' @ 0 : 0; will stop at (end)

Binary file not shown.

File diff suppressed because one or more lines are too long