diff --git a/CHANGELOG.md b/CHANGELOG.md
index 8539505..f43f7bc 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -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/),
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
### Added
diff --git a/packs/common-actions/LOG b/packs/common-actions/LOG
index fe6768c..a8e53a8 100644
--- a/packs/common-actions/LOG
+++ b/packs/common-actions/LOG
@@ -1,5 +1,5 @@
-2024/02/13-22:26:01.851241 7f4532ffd700 Delete type=3 #1
-2024/02/13-22:26:01.853425 7f45327fc700 Level-0 table #5: started
-2024/02/13-22:26:01.856531 7f45327fc700 Level-0 table #5: 17250 bytes OK
-2024/02/13-22:26:01.859327 7f45327fc700 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.406881 7fa03affd700 Delete type=3 #1
+2024/02/25-22:26:12.409562 7fa039ffb700 Level-0 table #5: started
+2024/02/25-22:26:12.419560 7fa039ffb700 Level-0 table #5: 17250 bytes OK
+2024/02/25-22:26:12.428377 7fa039ffb700 Delete type=0 #3
+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)
diff --git a/packs/gear/LOG b/packs/gear/LOG
index 4e24bec..1de649b 100644
--- a/packs/gear/LOG
+++ b/packs/gear/LOG
@@ -1,5 +1,5 @@
-2024/02/13-22:26:02.541354 7fece27fc700 Delete type=3 #1
-2024/02/13-22:26:02.543479 7fece1ffb700 Level-0 table #5: started
-2024/02/13-22:26:02.546505 7fece1ffb700 Level-0 table #5: 6787 bytes OK
-2024/02/13-22:26:02.549208 7fece1ffb700 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.654421 7f2f8ffff700 Delete type=3 #1
+2024/02/25-22:26:13.656790 7f2f8effd700 Level-0 table #5: started
+2024/02/25-22:26:13.663962 7f2f8effd700 Level-0 table #5: 6787 bytes OK
+2024/02/25-22:26:13.672839 7f2f8effd700 Delete type=0 #3
+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)
diff --git a/packs/helper-actors/LOG b/packs/helper-actors/LOG
index d358cce..f32c94f 100644
--- a/packs/helper-actors/LOG
+++ b/packs/helper-actors/LOG
@@ -1,5 +1,5 @@
-2024/02/13-22:26:03.160929 7fc96e7bf700 Delete type=3 #1
-2024/02/13-22:26:03.163338 7fc6cffff700 Level-0 table #5: started
-2024/02/13-22:26:03.166145 7fc6cffff700 Level-0 table #5: 1751 bytes OK
-2024/02/13-22:26:03.169061 7fc6cffff700 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.349854 7f2507fff700 Delete type=3 #1
+2024/02/25-22:26:14.352226 7f2506ffd700 Level-0 table #5: started
+2024/02/25-22:26:14.359280 7f2506ffd700 Level-0 table #5: 1751 bytes OK
+2024/02/25-22:26:14.368255 7f2506ffd700 Delete type=0 #3
+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)
diff --git a/packs/helper-macros/000005.ldb b/packs/helper-macros/000005.ldb
index 195e9b8..19c9304 100644
Binary files a/packs/helper-macros/000005.ldb and b/packs/helper-macros/000005.ldb differ
diff --git a/packs/helper-macros/LOG b/packs/helper-macros/LOG
index 84c0bee..5546a81 100644
--- a/packs/helper-macros/LOG
+++ b/packs/helper-macros/LOG
@@ -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)
diff --git a/packs/helper-macros/MANIFEST-000002 b/packs/helper-macros/MANIFEST-000002
index 325bae3..f37c703 100644
Binary files a/packs/helper-macros/MANIFEST-000002 and b/packs/helper-macros/MANIFEST-000002 differ
diff --git a/packs/helper-macros/_source/Action_Deck_VMi3DyJN0U0PosUH.json b/packs/helper-macros/_source/Action_Deck_VMi3DyJN0U0PosUH.json
new file mode 100644
index 0000000..778a140
--- /dev/null
+++ b/packs/helper-macros/_source/Action_Deck_VMi3DyJN0U0PosUH.json
@@ -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"
+}
diff --git a/packs/helper-macros/_source/Draw_from_Action_Deck_TQKafoef4sHnDYDk.json b/packs/helper-macros/_source/Draw_from_Action_Deck_TQKafoef4sHnDYDk.json
new file mode 100644
index 0000000..3a7a033
--- /dev/null
+++ b/packs/helper-macros/_source/Draw_from_Action_Deck_TQKafoef4sHnDYDk.json
@@ -0,0 +1,27 @@
+{
+ "name": "Draw from Action Deck",
+ "type": "script",
+ "scope": "global",
+ "author": "sVoCvBU1knmXzoYe",
+ "img": "icons/sundries/misc/admission-ticket-white.webp",
+ "command": "const deck = game.cards.get(\n game.settings.get('swade', 'actionDeck'))\nconst discard = game.cards.get(\n game.settings.get('swade', 'actionDeckDiscardPile'))\nconst deckName = deck.name\nconst drawMethod = 'TOP'\n\nconst cards = await discard.draw(deck, 1, {\n how: CONST.CARD_DRAW_MODES[drawMethod],\n chatNotification: false\n});\n\nconst name = cards[0].faces[0].name\nconst img = cards[0].faces[0].img\nconst desc = cards[0].description\n\nconst ip = new ImagePopout(img, {\n title: `Drawn from ${deckName}: ${name}`\n} )\nip.render(true)\nip.shareImage()\n\nconst randomInt = Math.floor(Math.random() * 6)\nvar rotateClass = ''\nswitch (Math.floor(Math.random() * 6)) {\n case 0: rotateClass = 'rotate-deg-2'; break;\n case 1: rotateClass = 'rotate-deg-negative-2'; break;\n case 2: rotateClass = 'rotate-deg-3'; break;\n case 3: rotateClass = 'rotate-deg-negative-3'; break;\n case 4: rotateClass = 'rotate-deg-4'; break;\n case 4: rotateClass = 'rotate-deg-negative-4'; break;\n}\n\nconst content = `\n
${name}
\n
Shuffled ${deck.name}.
`\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" +} diff --git a/packs/module-docs/000005.ldb b/packs/module-docs/000005.ldb index 74ba993..34a9e31 100644 Binary files a/packs/module-docs/000005.ldb and b/packs/module-docs/000005.ldb differ diff --git a/packs/module-docs/LOG b/packs/module-docs/LOG index 6431b37..efb8467 100644 --- a/packs/module-docs/LOG +++ b/packs/module-docs/LOG @@ -1,5 +1,5 @@ -2024/02/13-22:26:04.506008 7fa4f87bc700 Delete type=3 #1 -2024/02/13-22:26:04.508224 7fa4f7d40700 Level-0 table #5: started -2024/02/13-22:26:04.511458 7fa4f7d40700 Level-0 table #5: 17816 bytes OK -2024/02/13-22:26:04.514232 7fa4f7d40700 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.948086 7fc8a8eef700 Delete type=3 #1 +2024/02/25-22:26:16.950377 7fc882ffd700 Level-0 table #5: started +2024/02/25-22:26:16.957982 7fc882ffd700 Level-0 table #5: 18987 bytes OK +2024/02/25-22:26:16.969303 7fc882ffd700 Delete type=0 #3 +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) diff --git a/packs/module-docs/MANIFEST-000002 b/packs/module-docs/MANIFEST-000002 index 03351e8..7831289 100644 Binary files a/packs/module-docs/MANIFEST-000002 and b/packs/module-docs/MANIFEST-000002 differ diff --git a/packs/module-docs/_source/Macros_Mw1g2Fx5dp4SoqVP.json b/packs/module-docs/_source/Macros_Mw1g2Fx5dp4SoqVP.json index e7c54c1..7b3e7ce 100644 --- a/packs/module-docs/_source/Macros_Mw1g2Fx5dp4SoqVP.json +++ b/packs/module-docs/_source/Macros_Mw1g2Fx5dp4SoqVP.json @@ -319,6 +319,76 @@ }, "_id": "CRgBHcoOmH5hvadF", "_key": "!journal.pages!Mw1g2Fx5dp4SoqVP.CRgBHcoOmH5hvadF" + }, + { + "sort": 600000, + "name": "Macro Manager", + "type": "text", + "_id": "XFLAActkqor6fc0n", + "title": { + "show": true, + "level": 1 + }, + "image": {}, + "text": { + "format": 1, + "content": "There are two macros intended to be used the with the Macro Manager module:
SWADE Helper Macros collects the various helper macros available into a single menu
SWADE Power Effects collects all the power effects available into a single menu.
There are two macros intended to be used with the Action Deck for Interludes or other times when a draw from the Action Deck is called for outside of combat:
Draw from Action Deck takes the top card of the Action Deck and outputs it to the screen and chat log for all players, before discarding it to the action deck discard pile
Shuffle Action Deck recalls all cards to the action deck from the discard pile and shuffles the Action Deck.
Both of these macros respect the SWADE system settings for the Action Deck and its discard pile.
" + }, + "video": { + "controls": true, + "volume": 0.5 + }, + "src": null, + "system": {}, + "ownership": { + "default": -1, + "sVoCvBU1knmXzoYe": 3 + }, + "flags": {}, + "_stats": { + "systemId": "swade", + "systemVersion": "3.3.3", + "coreVersion": "11.315", + "createdTime": 1708921263359, + "modifiedTime": 1708921456312, + "lastModifiedBy": "sVoCvBU1knmXzoYe" + }, + "_key": "!journal.pages!Mw1g2Fx5dp4SoqVP.ILdBdZ6kNryNzRus" } ], "flags": { @@ -328,10 +398,10 @@ }, "_stats": { "systemId": "swade", - "systemVersion": "3.2.5", + "systemVersion": "3.3.3", "coreVersion": "11.315", "createdTime": 1678169291843, - "modifiedTime": 1707884427597, + "modifiedTime": 1708921456312, "lastModifiedBy": "sVoCvBU1knmXzoYe" }, "_id": "Mw1g2Fx5dp4SoqVP",