update with new matt macro for status detection

This commit is contained in:
Mike Bloy 2024-02-28 19:52:13 -06:00
parent d7afae1b33
commit b493e0e85b
9 changed files with 43 additions and 18 deletions

View File

@ -1,7 +1,7 @@
{ {
"id": "mb-assets", "id": "mb-assets",
"title": "MB assets", "title": "MB assets",
"version": "1.1.0", "version": "1.1.1",
"compatibility": { "compatibility": {
"minimum": "11", "minimum": "11",
"verified": "11" "verified": "11"

Binary file not shown.

View File

@ -1,5 +1,5 @@
2024/02/12-21:40:30.975101 7f1c1f7fe700 Delete type=3 #1 2024/02/28-19:19:07.856802 7fd0627bf700 Delete type=3 #1
2024/02/12-21:40:30.978178 7f1c1e7fc700 Level-0 table #5: started 2024/02/28-19:19:07.859140 7fcdc3fff700 Level-0 table #5: started
2024/02/12-21:40:30.985833 7f1c1e7fc700 Level-0 table #5: 2354 bytes OK 2024/02/28-19:19:07.866614 7fcdc3fff700 Level-0 table #5: 2689 bytes OK
2024/02/12-21:40:30.994903 7f1c1e7fc700 Delete type=0 #3 2024/02/28-19:19:07.875613 7fcdc3fff700 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.875827 7fcdc3fff700 Manual compaction at level-0 from '!folders!antf8BjHVvX5cTS7' @ 72057594037927935 : 1 .. '!macros!xLuOWsKg7NzeVLMz' @ 0 : 0; will stop at (end)

Binary file not shown.

View File

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

View File

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

View File

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

View File

@ -1,5 +1,5 @@
2024/02/12-21:40:33.874485 7faea57be700 Delete type=3 #1 2024/02/28-19:19:29.237530 7f3c6d7bc700 Delete type=3 #1
2024/02/12-21:40:33.876962 7faea3d40700 Level-0 table #5: started 2024/02/28-19:19:29.239945 7f3c6cfbb700 Level-0 table #5: started
2024/02/12-21:40:33.884241 7faea3d40700 Level-0 table #5: 5435 bytes OK 2024/02/28-19:19:29.246818 7f3c6cfbb700 Level-0 table #5: 5435 bytes OK
2024/02/12-21:40:33.893512 7faea3d40700 Delete type=0 #3 2024/02/28-19:19:29.255434 7f3c6cfbb700 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.255533 7f3c6cfbb700 Manual compaction at level-0 from '!folders!0hBHlEbgUgDG13IN' @ 72057594037927935 : 1 .. '!journal!toj80cTP64UHD63i' @ 0 : 0; will stop at (end)

View File

@ -1,5 +1,5 @@
2024/02/12-21:40:34.914175 7f8c75a51700 Delete type=3 #1 2024/02/28-19:19:34.205978 7ff7367bd700 Delete type=3 #1
2024/02/12-21:40:34.916783 7f8c4f583700 Level-0 table #5: started 2024/02/28-19:19:34.208419 7ff7357bb700 Level-0 table #5: started
2024/02/12-21:40:34.923907 7f8c4f583700 Level-0 table #5: 4026 bytes OK 2024/02/28-19:19:34.215833 7ff7357bb700 Level-0 table #5: 4026 bytes OK
2024/02/12-21:40:34.933610 7f8c4f583700 Delete type=0 #3 2024/02/28-19:19:34.224504 7ff7357bb700 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.224629 7ff7357bb700 Manual compaction at level-0 from '!folders!Dz9I4fllGBK4RtKU' @ 72057594037927935 : 1 .. '!playlists.sounds!ynw5hUH1ZPbAGq8g.Yq1yXMOjnlHWhnYt' @ 0 : 0; will stop at (end)