several changes that were not properly split up

- Macro: Request fear check specialization macro
- Macro: Fear Table to call the new fearTable api endpoint
- API: rulesVersion property
- API: fearTable(actor) calls the relevant premium core rules module's fear
  table
- API: added requestFearRollFromTokens special helper
- Trait roll hooks for:
    - Glow/Shroud
    - Range modifiers
- added a summary chat message for the roll results to requested rolls.
- added a target number option to requested rolls.
This commit is contained in:
2023-12-23 22:50:15 -06:00
parent c43fafa7df
commit 6ed989c4bc
44 changed files with 514 additions and 95 deletions
Binary file not shown.
Binary file not shown.
+1 -1
View File
@@ -1 +1 @@
MANIFEST-000015
MANIFEST-000002
+5 -3
View File
@@ -1,3 +1,5 @@
2023/12/19-22:11:47.107915 7f81967fc700 Recovering log #12
2023/12/19-22:11:47.129799 7f81967fc700 Delete type=0 #12
2023/12/19-22:11:47.129819 7f81967fc700 Delete type=3 #10
2023/12/23-19:53:33.321181 7f1ac1fbd700 Delete type=3 #1
2023/12/23-19:53:33.323246 7f1ac0fbb700 Level-0 table #5: started
2023/12/23-19:53:33.326242 7f1ac0fbb700 Level-0 table #5: 14296 bytes OK
2023/12/23-19:53:33.328910 7f1ac0fbb700 Delete type=0 #3
2023/12/23-19:53:33.328990 7f1ac0fbb700 Manual compaction at level-0 from '!journal!HbtPlHNFO1L6RVj0' @ 72057594037927935 : 1 .. '!journal.pages!YSuk1v59tLaL9XUK.BxFgDb91dqbkO9h4' @ 0 : 0; will stop at (end)
-15
View File
@@ -1,15 +0,0 @@
2023/12/19-14:25:58.704299 7fb0acf3b700 Recovering log #8
2023/12/19-14:25:58.717166 7fb0acf3b700 Delete type=3 #6
2023/12/19-14:25:58.717190 7fb0acf3b700 Delete type=0 #8
2023/12/19-22:08:59.583949 7fb086400700 Level-0 table #13: started
2023/12/19-22:08:59.590634 7fb086400700 Level-0 table #13: 7975 bytes OK
2023/12/19-22:08:59.600142 7fb086400700 Delete type=0 #11
2023/12/19-22:08:59.600341 7fb086400700 Manual compaction at level-0 from '!journal!HbtPlHNFO1L6RVj0' @ 72057594037927935 : 1 .. '!journal.pages!YSuk1v59tLaL9XUK.BxFgDb91dqbkO9h4' @ 0 : 0; will stop at (end)
2023/12/19-22:08:59.622125 7fb086400700 Manual compaction at level-1 from '!journal!HbtPlHNFO1L6RVj0' @ 72057594037927935 : 1 .. '!journal.pages!YSuk1v59tLaL9XUK.BxFgDb91dqbkO9h4' @ 0 : 0; will stop at '!journal.pages!YSuk1v59tLaL9XUK.BxFgDb91dqbkO9h4' @ 17 : 1
2023/12/19-22:08:59.622154 7fb086400700 Compacting 1@1 + 1@2 files
2023/12/19-22:08:59.629116 7fb086400700 Generated table #14@1: 17 keys, 11373 bytes
2023/12/19-22:08:59.629154 7fb086400700 Compacted 1@1 + 1@2 files => 11373 bytes
2023/12/19-22:08:59.638172 7fb086400700 compacted to: files[ 0 0 1 0 0 0 0 ]
2023/12/19-22:08:59.638243 7fb086400700 Delete type=2 #5
2023/12/19-22:08:59.638324 7fb086400700 Delete type=2 #13
2023/12/19-22:08:59.648805 7fb086400700 Manual compaction at level-1 from '!journal.pages!YSuk1v59tLaL9XUK.BxFgDb91dqbkO9h4' @ 17 : 1 .. '!journal.pages!YSuk1v59tLaL9XUK.BxFgDb91dqbkO9h4' @ 0 : 0; will stop at (end)
Binary file not shown.
Binary file not shown.
File diff suppressed because one or more lines are too long
@@ -249,6 +249,76 @@
"lastModifiedBy": "sVoCvBU1knmXzoYe"
},
"_key": "!journal.pages!Mw1g2Fx5dp4SoqVP.mT3lMGUo9zvqQsOh"
},
{
"sort": 500000,
"name": "Fear Table",
"type": "text",
"_id": "RxGaSpV6FStZyyBX",
"title": {
"show": true,
"level": 1
},
"image": {},
"text": {
"format": 1,
"content": "<p>This macro will call the Fear Table macro from whichever premium ruleset (SPWF or SWADE) is active, preferring SWPF.</p><p>It will not work if no premium module is active.</p>"
},
"video": {
"controls": true,
"volume": 0.5
},
"src": null,
"system": {},
"ownership": {
"default": -1,
"sVoCvBU1knmXzoYe": 3
},
"flags": {},
"_stats": {
"systemId": "swade",
"systemVersion": "3.2.5",
"coreVersion": "11.315",
"createdTime": 1703097037538,
"modifiedTime": 1703097110707,
"lastModifiedBy": "sVoCvBU1knmXzoYe"
},
"_key": "!journal.pages!Mw1g2Fx5dp4SoqVP.RxGaSpV6FStZyyBX"
},
{
"sort": 500000,
"name": "Request Fear Check",
"type": "text",
"title": {
"show": true,
"level": 1
},
"image": {},
"text": {
"format": 1,
"content": "<p>This macro will prompt for a fear penalty and request a spirit roll with that penalty from targeted or selected tokens.</p>"
},
"video": {
"controls": true,
"volume": 0.5
},
"src": null,
"system": {},
"ownership": {
"default": -1,
"sVoCvBU1knmXzoYe": 3
},
"flags": {},
"_stats": {
"systemId": "swade",
"systemVersion": "3.2.5",
"coreVersion": "11.315",
"createdTime": 1703097037538,
"modifiedTime": 1703376053416,
"lastModifiedBy": "sVoCvBU1knmXzoYe"
},
"_id": "CRgBHcoOmH5hvadF",
"_key": "!journal.pages!Mw1g2Fx5dp4SoqVP.CRgBHcoOmH5hvadF"
}
],
"flags": {
@@ -261,7 +331,7 @@
"systemVersion": "3.2.5",
"coreVersion": "11.315",
"createdTime": 1678169291843,
"modifiedTime": 1702960233927,
"modifiedTime": 1703376053416,
"lastModifiedBy": "sVoCvBU1knmXzoYe"
},
"_id": "Mw1g2Fx5dp4SoqVP",
File diff suppressed because one or more lines are too long