From b493e0e85b9d3416173ada7ddcfd301ca6680427 Mon Sep 17 00:00:00 2001 From: Mike Bloy Date: Wed, 28 Feb 2024 19:52:13 -0600 Subject: [PATCH] update with new matt macro for status detection --- module.json | 2 +- packs/asset-macros/000005.ldb | Bin 2354 -> 2689 bytes packs/asset-macros/LOG | 10 +++---- packs/asset-macros/MANIFEST-000002 | Bin 137 -> 137 bytes .../_source/hasEffect_xLuOWsKg7NzeVLMz.json | 25 ++++++++++++++++++ packs/fx-and-asset-macros/LOG | 2 +- packs/journal-templates/LOG | 2 +- packs/mass-edit-presets/LOG | 10 +++---- packs/playlists/LOG | 10 +++---- 9 files changed, 43 insertions(+), 18 deletions(-) create mode 100644 packs/asset-macros/_source/hasEffect_xLuOWsKg7NzeVLMz.json diff --git a/module.json b/module.json index 26afe03..0114ec2 100644 --- a/module.json +++ b/module.json @@ -1,7 +1,7 @@ { "id": "mb-assets", "title": "MB assets", - "version": "1.1.0", + "version": "1.1.1", "compatibility": { "minimum": "11", "verified": "11" diff --git a/packs/asset-macros/000005.ldb b/packs/asset-macros/000005.ldb index 002a434f85ec583c865923ae79f964594e4624d9..35d21f0c82100aab4364869773993eb2711e5fe5 100644 GIT binary patch delta 467 zcmdla)F`^)G8@wZ&dpcZW-`{t)YfuHd}XQdDfJI8_D(nVt4a;?@vUNHSN&)CUnV25 z*flLJHCgdi*egamX9m4jj26XV`Oaldp@!Lcxe-BT0P3|( zT9l_yEm^=|CCSaBP;alGF4`fXu3)90o|mtgETFDXtE6*iB9l`J8O4nzGU=EbSQ?sHSehG|nivAbS!HD`jZ7>|ElhOWfSR^5sMOXn00AQiyNet> zq|vn?YsZATo|SAMVJ;x%W{6qG&B~y}4D!I_IUI5VXM}}8k{~?{lfDKwPCmt|T=QFt{!Ui)%j3*0nN={bbV6vlu+xeL delta 124 zcmZn^-6XW(G82E{ M@ZSyHDy8nX0Uy;MAOHXW diff --git a/packs/asset-macros/LOG b/packs/asset-macros/LOG index 7334c63..4df6108 100644 --- a/packs/asset-macros/LOG +++ b/packs/asset-macros/LOG @@ -1,5 +1,5 @@ -2024/02/12-21:40:30.975101 7f1c1f7fe700 Delete type=3 #1 -2024/02/12-21:40:30.978178 7f1c1e7fc700 Level-0 table #5: started -2024/02/12-21:40:30.985833 7f1c1e7fc700 Level-0 table #5: 2354 bytes OK -2024/02/12-21:40:30.994903 7f1c1e7fc700 Delete type=0 #3 -2024/02/12-21:40:30.995005 7f1c1e7fc700 Manual compaction at level-0 from '!folders!antf8BjHVvX5cTS7' @ 72057594037927935 : 1 .. '!macros!mVb5uW9peYwdRsFG' @ 0 : 0; will stop at (end) +2024/02/28-19:19:07.856802 7fd0627bf700 Delete type=3 #1 +2024/02/28-19:19:07.859140 7fcdc3fff700 Level-0 table #5: started +2024/02/28-19:19:07.866614 7fcdc3fff700 Level-0 table #5: 2689 bytes OK +2024/02/28-19:19:07.875613 7fcdc3fff700 Delete type=0 #3 +2024/02/28-19:19:07.875827 7fcdc3fff700 Manual compaction at level-0 from '!folders!antf8BjHVvX5cTS7' @ 72057594037927935 : 1 .. '!macros!xLuOWsKg7NzeVLMz' @ 0 : 0; will stop at (end) diff --git a/packs/asset-macros/MANIFEST-000002 b/packs/asset-macros/MANIFEST-000002 index 9d86ba4b8fd4284d1d9841c776906e3668ec20f3..0daecdee44a6d8723f062cad5f13cdff0455fedc 100644 GIT binary patch delta 55 zcmeBV>|~r^B(g4+O*nvok%@(qftihkot=rbQFNl4wnT+bsegE}ce=S>Rce@zZxtgu H0~i1RKf((d delta 55 zcmeBV>|~r^B$DIcwK;%+k%@(qftihkjh%^glh8yrZHe5lB-7Gx%YxL%@|2)rH+M#6 H1~32sS^W#K diff --git a/packs/asset-macros/_source/hasEffect_xLuOWsKg7NzeVLMz.json b/packs/asset-macros/_source/hasEffect_xLuOWsKg7NzeVLMz.json new file mode 100644 index 0000000..5f252be --- /dev/null +++ b/packs/asset-macros/_source/hasEffect_xLuOWsKg7NzeVLMz.json @@ -0,0 +1,25 @@ +{ + "name": "hasEffect", + "type": "script", + "_id": "xLuOWsKg7NzeVLMz", + "author": "sVoCvBU1knmXzoYe", + "img": "icons/magic/symbols/circled-gem-pink.webp", + "scope": "global", + "command": "const effectName = args[0].toLowerCase()\nconst hasEffect = (token.actor.effects.filter(e => e.name.toLowerCase().startsWith(effectName)).length > 0)\nreturn { hasEffect: hasEffect ? 'hasEffect' : 'noEffect' }", + "folder": null, + "sort": 0, + "ownership": { + "default": 0, + "sVoCvBU1knmXzoYe": 3 + }, + "flags": {}, + "_stats": { + "systemId": "swade", + "systemVersion": "3.3.3", + "coreVersion": "11.315", + "createdTime": 1709168972541, + "modifiedTime": 1709169248584, + "lastModifiedBy": "sVoCvBU1knmXzoYe" + }, + "_key": "!macros!xLuOWsKg7NzeVLMz" +} diff --git a/packs/fx-and-asset-macros/LOG b/packs/fx-and-asset-macros/LOG index 24170ec..08feffb 100644 --- a/packs/fx-and-asset-macros/LOG +++ b/packs/fx-and-asset-macros/LOG @@ -1 +1 @@ -2024/02/12-21:40:32.620900 7fc9550d0700 Delete type=3 #1 +2024/02/28-19:19:16.021766 7f9bd97bc700 Delete type=3 #1 diff --git a/packs/journal-templates/LOG b/packs/journal-templates/LOG index 3178249..0a93509 100644 --- a/packs/journal-templates/LOG +++ b/packs/journal-templates/LOG @@ -1 +1 @@ -2024/02/12-21:40:33.274386 7fd43effd700 Delete type=3 #1 +2024/02/28-19:19:27.703351 7f60b5fbe700 Delete type=3 #1 diff --git a/packs/mass-edit-presets/LOG b/packs/mass-edit-presets/LOG index 5fa9681..c02ecd9 100644 --- a/packs/mass-edit-presets/LOG +++ b/packs/mass-edit-presets/LOG @@ -1,5 +1,5 @@ -2024/02/12-21:40:33.874485 7faea57be700 Delete type=3 #1 -2024/02/12-21:40:33.876962 7faea3d40700 Level-0 table #5: started -2024/02/12-21:40:33.884241 7faea3d40700 Level-0 table #5: 5435 bytes OK -2024/02/12-21:40:33.893512 7faea3d40700 Delete type=0 #3 -2024/02/12-21:40:33.893634 7faea3d40700 Manual compaction at level-0 from '!folders!0hBHlEbgUgDG13IN' @ 72057594037927935 : 1 .. '!journal!toj80cTP64UHD63i' @ 0 : 0; will stop at (end) +2024/02/28-19:19:29.237530 7f3c6d7bc700 Delete type=3 #1 +2024/02/28-19:19:29.239945 7f3c6cfbb700 Level-0 table #5: started +2024/02/28-19:19:29.246818 7f3c6cfbb700 Level-0 table #5: 5435 bytes OK +2024/02/28-19:19:29.255434 7f3c6cfbb700 Delete type=0 #3 +2024/02/28-19:19:29.255533 7f3c6cfbb700 Manual compaction at level-0 from '!folders!0hBHlEbgUgDG13IN' @ 72057594037927935 : 1 .. '!journal!toj80cTP64UHD63i' @ 0 : 0; will stop at (end) diff --git a/packs/playlists/LOG b/packs/playlists/LOG index 764bbe5..031d54d 100644 --- a/packs/playlists/LOG +++ b/packs/playlists/LOG @@ -1,5 +1,5 @@ -2024/02/12-21:40:34.914175 7f8c75a51700 Delete type=3 #1 -2024/02/12-21:40:34.916783 7f8c4f583700 Level-0 table #5: started -2024/02/12-21:40:34.923907 7f8c4f583700 Level-0 table #5: 4026 bytes OK -2024/02/12-21:40:34.933610 7f8c4f583700 Delete type=0 #3 -2024/02/12-21:40:34.933737 7f8c4f583700 Manual compaction at level-0 from '!folders!Dz9I4fllGBK4RtKU' @ 72057594037927935 : 1 .. '!playlists.sounds!ynw5hUH1ZPbAGq8g.Yq1yXMOjnlHWhnYt' @ 0 : 0; will stop at (end) +2024/02/28-19:19:34.205978 7ff7367bd700 Delete type=3 #1 +2024/02/28-19:19:34.208419 7ff7357bb700 Level-0 table #5: started +2024/02/28-19:19:34.215833 7ff7357bb700 Level-0 table #5: 4026 bytes OK +2024/02/28-19:19:34.224504 7ff7357bb700 Delete type=0 #3 +2024/02/28-19:19:34.224629 7ff7357bb700 Manual compaction at level-0 from '!folders!Dz9I4fllGBK4RtKU' @ 72057594037927935 : 1 .. '!playlists.sounds!ynw5hUH1ZPbAGq8g.Yq1yXMOjnlHWhnYt' @ 0 : 0; will stop at (end)