diff --git a/README.md b/README.md index a410f7c..b09ae2c 100644 --- a/README.md +++ b/README.md @@ -28,7 +28,8 @@ git clone https://gitea.timevans.uk/slaguru666/RingBRP.git ringbrp ``` Requires **Foundry v13+** (verified against v14.364). No modules are required. Dice So -Nice is supported but optional — the system registers four of its own dice textures. +Nice works if you have it, using your own dice — the system ships no dice skins and does +not touch anybody's dice settings. ### Deploying to a remote Foundry server @@ -47,7 +48,7 @@ packs or regenerate art on that machine: ```bash npm install # pulls classic-level, used to write the LevelDB packs npm run build # rebuilds packs/ from tools/content.mjs -npm run check # the three guards; the build refuses to run if they fail +npm run check # the five guards; the build refuses to run if they fail ``` To update a deployed server: `git pull` and restart Foundry. If the pull touches @@ -152,13 +153,12 @@ template.json data model for every Actor and Item type templates/ Handlebars sheets styles/ one stylesheet lang/en.json all user-facing text -icons/ dice/ fonts/ generated art +icons/ fonts/ art/ generated art packs/ built LevelDB compendia (committed — see Deploying) tools/ content.mjs the catalogue: skills, weapons, armour, gear, vehicles, NPCs - build-packs.mjs builds packs/ — runs the three guards first and refuses on failure + build-packs.mjs builds packs/ — runs the five guards first and refuses on failure make-icons.mjs draws all 231 icons - make-dice-textures.mjs rules-text.mjs generates the rules journal FROM rules.mjs mission.mjs the case generator mission-tables.mjs its content tables @@ -176,11 +176,11 @@ stops being identity-equal to what it aliases, if a constant is re-declared as a literal, or if an exported rule has no spot-check. The packs used to be built under one set of numbers and played under another; this makes that impossible to ship. -The build runs all three guards before it writes anything: +The build runs all five guards before it writes anything: ``` -check-rules: OK — 87 rules, 21 files scanned, 3 aliases + 41 constant sets checked, 275 formulas verified +check-rules: OK — 87 rules, 20 files scanned, 3 aliases + 41 constant sets checked, 275 formulas verified check-kits: OK — 25 roles, 10 trades, 218 catalogue items, every kit key resolves, every posting can use what it carries, every loadout distinct check-lang: OK — en.json, 945 keys, no leaf/branch collisions check-behaviour: OK — 46 behavioural tests diff --git a/dice/custodians-agency.png b/dice/custodians-agency.png deleted file mode 100644 index ede5423..0000000 Binary files a/dice/custodians-agency.png and /dev/null differ diff --git a/dice/custodians-displaced.png b/dice/custodians-displaced.png deleted file mode 100644 index bf07cb2..0000000 Binary files a/dice/custodians-displaced.png and /dev/null differ diff --git a/dice/custodians-drift.png b/dice/custodians-drift.png deleted file mode 100644 index e4f2089..0000000 Binary files a/dice/custodians-drift.png and /dev/null differ diff --git a/dice/custodians-registry.png b/dice/custodians-registry.png deleted file mode 100644 index 829dcb1..0000000 Binary files a/dice/custodians-registry.png and /dev/null differ diff --git a/dice/texture-shadowsquares.png b/dice/texture-shadowsquares.png deleted file mode 100644 index ce0baf4..0000000 Binary files a/dice/texture-shadowsquares.png and /dev/null differ diff --git a/dice/texture-starfield.png b/dice/texture-starfield.png deleted file mode 100644 index 01bff07..0000000 Binary files a/dice/texture-starfield.png and /dev/null differ diff --git a/dice/texture-threshold.png b/dice/texture-threshold.png deleted file mode 100644 index f02f9c3..0000000 Binary files a/dice/texture-threshold.png and /dev/null differ diff --git a/docs/DEPLOY.md b/docs/DEPLOY.md index ca19129..f6baee7 100644 --- a/docs/DEPLOY.md +++ b/docs/DEPLOY.md @@ -33,10 +33,9 @@ Only if you intend to edit the catalogue there: ```bash npm install # classic-level, for writing LevelDB -npm run check # the three guards +npm run check # the five guards npm run build # rebuilds packs/ node tools/make-icons.mjs # redraws all icons -node tools/make-dice-textures.mjs # regenerates the Dice So Nice textures ``` `npm run build` runs the guards first and aborts if any fails, so a broken catalogue diff --git a/package.json b/package.json index ff40461..6f7f6b9 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,6 @@ "scripts": { "build": "node tools/build-packs.mjs && node tools/update-readme.mjs", "icons": "node tools/make-icons.mjs", - "dice": "node tools/make-dice-textures.mjs", "check": "node tools/check-rules.mjs && node tools/check-kits.mjs && node tools/check-lang.mjs && node tools/check-templates.mjs && node tools/check-behaviour.mjs", "test": "npm run check", "readme": "node tools/update-readme.mjs" diff --git a/packs/armour/LOG b/packs/armour/LOG index 9af6dcb..c7e3f23 100644 --- a/packs/armour/LOG +++ b/packs/armour/LOG @@ -1,5 +1,5 @@ -2026/08/12-20:33:19.258824 175abb000 Recovering log #3 -2026/08/12-20:33:19.258964 175abb000 Level-0 table #5: started -2026/08/12-20:33:19.259113 175abb000 Level-0 table #5: 4591 bytes OK -2026/08/12-20:33:19.259390 175abb000 Delete type=0 #3 -2026/08/12-20:33:19.259432 175abb000 Delete type=3 #2 +2026/08/12-22:44:48.920895 172817000 Recovering log #3 +2026/08/12-22:44:48.921047 172817000 Level-0 table #5: started +2026/08/12-22:44:48.921223 172817000 Level-0 table #5: 4591 bytes OK +2026/08/12-22:44:48.921517 172817000 Delete type=0 #3 +2026/08/12-22:44:48.921554 172817000 Delete type=3 #2 diff --git a/packs/armour/LOG.old b/packs/armour/LOG.old index 33dcd7c..7792940 100644 --- a/packs/armour/LOG.old +++ b/packs/armour/LOG.old @@ -1 +1 @@ -2026/08/12-20:33:03.500947 17385b000 Delete type=3 #1 +2026/08/12-22:44:33.287733 16f5db000 Delete type=3 #1 diff --git a/packs/expedition/LOG b/packs/expedition/LOG index 3b80967..96ac7df 100644 --- a/packs/expedition/LOG +++ b/packs/expedition/LOG @@ -1,5 +1,5 @@ -2026/08/12-20:33:19.281748 1772df000 Recovering log #3 -2026/08/12-20:33:19.282130 1772df000 Level-0 table #5: started -2026/08/12-20:33:19.282266 1772df000 Level-0 table #5: 4129 bytes OK -2026/08/12-20:33:19.282510 1772df000 Delete type=0 #3 -2026/08/12-20:33:19.282542 1772df000 Delete type=3 #2 +2026/08/12-22:44:48.946376 17382f000 Recovering log #3 +2026/08/12-22:44:48.946637 17382f000 Level-0 table #5: started +2026/08/12-22:44:48.946788 17382f000 Level-0 table #5: 4129 bytes OK +2026/08/12-22:44:48.947029 17382f000 Delete type=0 #3 +2026/08/12-22:44:48.947065 17382f000 Delete type=3 #2 diff --git a/packs/expedition/LOG.old b/packs/expedition/LOG.old index e88cdbf..7110bdd 100644 --- a/packs/expedition/LOG.old +++ b/packs/expedition/LOG.old @@ -1 +1 @@ -2026/08/12-20:33:03.577064 17385b000 Delete type=3 #1 +2026/08/12-22:44:33.362147 16edcf000 Delete type=3 #1 diff --git a/packs/gear/LOG b/packs/gear/LOG index 1557d48..7aade72 100644 --- a/packs/gear/LOG +++ b/packs/gear/LOG @@ -1,5 +1,5 @@ -2026/08/12-20:33:19.260549 1772df000 Recovering log #3 -2026/08/12-20:33:19.260715 1772df000 Level-0 table #5: started -2026/08/12-20:33:19.261020 1772df000 Level-0 table #5: 31614 bytes OK -2026/08/12-20:33:19.261257 1772df000 Delete type=0 #3 -2026/08/12-20:33:19.261283 1772df000 Delete type=3 #2 +2026/08/12-22:44:48.922471 173023000 Recovering log #3 +2026/08/12-22:44:48.923346 173023000 Level-0 table #5: started +2026/08/12-22:44:48.923621 173023000 Level-0 table #5: 31614 bytes OK +2026/08/12-22:44:48.923809 173023000 Delete type=0 #3 +2026/08/12-22:44:48.923836 173023000 Delete type=3 #2 diff --git a/packs/gear/LOG.old b/packs/gear/LOG.old index af538de..44758ca 100644 --- a/packs/gear/LOG.old +++ b/packs/gear/LOG.old @@ -1 +1 @@ -2026/08/12-20:33:03.503203 174067000 Delete type=3 #1 +2026/08/12-22:44:33.290003 16f5db000 Delete type=3 #1 diff --git a/packs/lastadmission/LOG b/packs/lastadmission/LOG index 9f7f1cd..bc3d885 100644 --- a/packs/lastadmission/LOG +++ b/packs/lastadmission/LOG @@ -1,5 +1,5 @@ -2026/08/12-20:33:19.273026 175abb000 Recovering log #3 -2026/08/12-20:33:19.273575 175abb000 Level-0 table #5: started -2026/08/12-20:33:19.273963 175abb000 Level-0 table #5: 45532 bytes OK -2026/08/12-20:33:19.274265 175abb000 Delete type=0 #3 -2026/08/12-20:33:19.274316 175abb000 Delete type=3 #2 +2026/08/12-22:44:48.936635 17200b000 Recovering log #3 +2026/08/12-22:44:48.937301 17200b000 Level-0 table #5: started +2026/08/12-22:44:48.937794 17200b000 Level-0 table #5: 45532 bytes OK +2026/08/12-22:44:48.938219 17200b000 Delete type=0 #3 +2026/08/12-22:44:48.938275 17200b000 Delete type=3 #2 diff --git a/packs/lastadmission/LOG.old b/packs/lastadmission/LOG.old index 18ce244..4a3b718 100644 --- a/packs/lastadmission/LOG.old +++ b/packs/lastadmission/LOG.old @@ -1 +1 @@ -2026/08/12-20:33:03.557918 172843000 Delete type=3 #1 +2026/08/12-22:44:33.345401 16e5c3000 Delete type=3 #1 diff --git a/packs/npcs/LOG b/packs/npcs/LOG index b765c35..b5e9426 100644 --- a/packs/npcs/LOG +++ b/packs/npcs/LOG @@ -1,5 +1,5 @@ -2026/08/12-20:33:19.245248 1762c7000 Recovering log #3 -2026/08/12-20:33:19.246727 1762c7000 Level-0 table #5: started -2026/08/12-20:33:19.248205 1762c7000 Level-0 table #5: 225945 bytes OK -2026/08/12-20:33:19.248498 1762c7000 Delete type=0 #3 -2026/08/12-20:33:19.248546 1762c7000 Delete type=3 #2 +2026/08/12-22:44:48.907196 173023000 Recovering log #3 +2026/08/12-22:44:48.908927 173023000 Level-0 table #5: started +2026/08/12-22:44:48.910392 173023000 Level-0 table #5: 225945 bytes OK +2026/08/12-22:44:48.910874 173023000 Delete type=0 #3 +2026/08/12-22:44:48.910934 173023000 Delete type=3 #2 diff --git a/packs/npcs/LOG.old b/packs/npcs/LOG.old index b1a810e..4af5cd8 100644 --- a/packs/npcs/LOG.old +++ b/packs/npcs/LOG.old @@ -1 +1 @@ -2026/08/12-20:33:03.540045 172843000 Delete type=3 #1 +2026/08/12-22:44:33.327015 16f5db000 Delete type=3 #1 diff --git a/packs/powers/LOG b/packs/powers/LOG index 4834b19..c9b9114 100644 --- a/packs/powers/LOG +++ b/packs/powers/LOG @@ -1,5 +1,5 @@ -2026/08/12-20:33:19.255310 175abb000 Recovering log #3 -2026/08/12-20:33:19.255554 175abb000 Level-0 table #5: started -2026/08/12-20:33:19.255695 175abb000 Level-0 table #5: 3295 bytes OK -2026/08/12-20:33:19.255978 175abb000 Delete type=0 #3 -2026/08/12-20:33:19.256022 175abb000 Delete type=3 #2 +2026/08/12-22:44:48.917345 172817000 Recovering log #3 +2026/08/12-22:44:48.917660 172817000 Level-0 table #5: started +2026/08/12-22:44:48.917794 172817000 Level-0 table #5: 3295 bytes OK +2026/08/12-22:44:48.918046 172817000 Delete type=0 #3 +2026/08/12-22:44:48.918081 172817000 Delete type=3 #2 diff --git a/packs/powers/LOG.old b/packs/powers/LOG.old index 3d4a447..e06ec38 100644 --- a/packs/powers/LOG.old +++ b/packs/powers/LOG.old @@ -1 +1 @@ -2026/08/12-20:33:03.569801 17304f000 Delete type=3 #1 +2026/08/12-22:44:33.356982 16edcf000 Delete type=3 #1 diff --git a/packs/pregens/LOG b/packs/pregens/LOG index 9acd8c4..f879377 100644 --- a/packs/pregens/LOG +++ b/packs/pregens/LOG @@ -1,5 +1,5 @@ -2026/08/12-20:33:19.232393 175abb000 Recovering log #3 -2026/08/12-20:33:19.235807 175abb000 Level-0 table #5: started -2026/08/12-20:33:19.239193 175abb000 Level-0 table #5: 545293 bytes OK -2026/08/12-20:33:19.239934 175abb000 Delete type=0 #3 -2026/08/12-20:33:19.240034 175abb000 Delete type=3 #2 +2026/08/12-22:44:48.896053 17200b000 Recovering log #3 +2026/08/12-22:44:48.898901 17200b000 Level-0 table #5: started +2026/08/12-22:44:48.902279 17200b000 Level-0 table #5: 545293 bytes OK +2026/08/12-22:44:48.902701 17200b000 Delete type=0 #3 +2026/08/12-22:44:48.902787 17200b000 Delete type=3 #2 diff --git a/packs/pregens/LOG.old b/packs/pregens/LOG.old index c3bcbd1..a390901 100644 --- a/packs/pregens/LOG.old +++ b/packs/pregens/LOG.old @@ -1 +1 @@ -2026/08/12-20:33:03.524869 17385b000 Delete type=3 #1 +2026/08/12-22:44:33.311753 16e5c3000 Delete type=3 #1 diff --git a/packs/primer/LOG b/packs/primer/LOG index eca5296..186daa8 100644 --- a/packs/primer/LOG +++ b/packs/primer/LOG @@ -1,5 +1,5 @@ -2026/08/12-20:33:19.263420 1762c7000 Recovering log #3 -2026/08/12-20:33:19.263582 1762c7000 Level-0 table #5: started -2026/08/12-20:33:19.263817 1762c7000 Level-0 table #5: 21613 bytes OK -2026/08/12-20:33:19.264044 1762c7000 Delete type=0 #3 -2026/08/12-20:33:19.264079 1762c7000 Delete type=3 #2 +2026/08/12-22:44:48.925841 17382f000 Recovering log #3 +2026/08/12-22:44:48.926073 17382f000 Level-0 table #5: started +2026/08/12-22:44:48.926304 17382f000 Level-0 table #5: 21613 bytes OK +2026/08/12-22:44:48.926557 17382f000 Delete type=0 #3 +2026/08/12-22:44:48.926598 17382f000 Delete type=3 #2 diff --git a/packs/primer/LOG.old b/packs/primer/LOG.old index c5553e8..72124e1 100644 --- a/packs/primer/LOG.old +++ b/packs/primer/LOG.old @@ -1 +1 @@ -2026/08/12-20:33:03.565946 17304f000 Delete type=3 #1 +2026/08/12-22:44:33.353318 16edcf000 Delete type=3 #1 diff --git a/packs/prologue/LOG b/packs/prologue/LOG index 60f77cb..44b46d1 100644 --- a/packs/prologue/LOG +++ b/packs/prologue/LOG @@ -1,5 +1,5 @@ -2026/08/12-20:33:19.275275 175abb000 Recovering log #3 -2026/08/12-20:33:19.275814 175abb000 Level-0 table #5: started -2026/08/12-20:33:19.276182 175abb000 Level-0 table #5: 43953 bytes OK -2026/08/12-20:33:19.276489 175abb000 Delete type=0 #3 -2026/08/12-20:33:19.276529 175abb000 Delete type=3 #2 +2026/08/12-22:44:48.939398 17200b000 Recovering log #3 +2026/08/12-22:44:48.940505 17200b000 Level-0 table #5: started +2026/08/12-22:44:48.941454 17200b000 Level-0 table #5: 43953 bytes OK +2026/08/12-22:44:48.942198 17200b000 Delete type=0 #3 +2026/08/12-22:44:48.942249 17200b000 Delete type=3 #2 diff --git a/packs/prologue/LOG.old b/packs/prologue/LOG.old index c4507dc..200e76c 100644 --- a/packs/prologue/LOG.old +++ b/packs/prologue/LOG.old @@ -1 +1 @@ -2026/08/12-20:33:03.562330 17385b000 Delete type=3 #1 +2026/08/12-22:44:33.349699 16f5db000 Delete type=3 #1 diff --git a/packs/rules/LOG b/packs/rules/LOG index 61c65b9..9f296bb 100644 --- a/packs/rules/LOG +++ b/packs/rules/LOG @@ -1,5 +1,5 @@ -2026/08/12-20:33:19.264705 176ad3000 Recovering log #3 -2026/08/12-20:33:19.265215 176ad3000 Level-0 table #5: started -2026/08/12-20:33:19.265531 176ad3000 Level-0 table #5: 33484 bytes OK -2026/08/12-20:33:19.265770 176ad3000 Delete type=0 #3 -2026/08/12-20:33:19.265802 176ad3000 Delete type=3 #2 +2026/08/12-22:44:48.927292 172817000 Recovering log #3 +2026/08/12-22:44:48.927647 172817000 Level-0 table #5: started +2026/08/12-22:44:48.928175 172817000 Level-0 table #5: 33484 bytes OK +2026/08/12-22:44:48.928522 172817000 Delete type=0 #3 +2026/08/12-22:44:48.928579 172817000 Delete type=3 #2 diff --git a/packs/rules/LOG.old b/packs/rules/LOG.old index 08142f9..c8e350f 100644 --- a/packs/rules/LOG.old +++ b/packs/rules/LOG.old @@ -1 +1 @@ -2026/08/12-20:33:03.575038 17304f000 Delete type=3 #1 +2026/08/12-22:44:33.360431 16e5c3000 Delete type=3 #1 diff --git a/packs/skills/LOG b/packs/skills/LOG index f7a5c0b..c52d119 100644 --- a/packs/skills/LOG +++ b/packs/skills/LOG @@ -1,5 +1,5 @@ -2026/08/12-20:33:19.251838 175abb000 Recovering log #3 -2026/08/12-20:33:19.252367 175abb000 Level-0 table #5: started -2026/08/12-20:33:19.252611 175abb000 Level-0 table #5: 7590 bytes OK -2026/08/12-20:33:19.252941 175abb000 Delete type=0 #3 -2026/08/12-20:33:19.252982 175abb000 Delete type=3 #2 +2026/08/12-22:44:48.913614 172817000 Recovering log #3 +2026/08/12-22:44:48.914288 172817000 Level-0 table #5: started +2026/08/12-22:44:48.914458 172817000 Level-0 table #5: 7590 bytes OK +2026/08/12-22:44:48.914739 172817000 Delete type=0 #3 +2026/08/12-22:44:48.914773 172817000 Delete type=3 #2 diff --git a/packs/skills/LOG.old b/packs/skills/LOG.old index 48e55bb..6d0b24f 100644 --- a/packs/skills/LOG.old +++ b/packs/skills/LOG.old @@ -1 +1 @@ -2026/08/12-20:33:03.494044 17304f000 Delete type=3 #1 +2026/08/12-22:44:33.281949 16edcf000 Delete type=3 #1 diff --git a/packs/slice/LOG b/packs/slice/LOG index 7d6c2dc..7fbc5a6 100644 --- a/packs/slice/LOG +++ b/packs/slice/LOG @@ -1,5 +1,5 @@ -2026/08/12-20:33:19.277727 175abb000 Recovering log #3 -2026/08/12-20:33:19.278352 175abb000 Level-0 table #5: started -2026/08/12-20:33:19.278612 175abb000 Level-0 table #5: 16902 bytes OK -2026/08/12-20:33:19.278891 175abb000 Delete type=0 #3 -2026/08/12-20:33:19.278925 175abb000 Delete type=3 #2 +2026/08/12-22:44:48.943128 17200b000 Recovering log #3 +2026/08/12-22:44:48.943292 17200b000 Level-0 table #5: started +2026/08/12-22:44:48.943546 17200b000 Level-0 table #5: 16902 bytes OK +2026/08/12-22:44:48.943901 17200b000 Delete type=0 #3 +2026/08/12-22:44:48.943932 17200b000 Delete type=3 #2 diff --git a/packs/slice/LOG.old b/packs/slice/LOG.old index 323f0de..67e4d93 100644 --- a/packs/slice/LOG.old +++ b/packs/slice/LOG.old @@ -1 +1 @@ -2026/08/12-20:33:03.567928 17385b000 Delete type=3 #1 +2026/08/12-22:44:33.355279 16e5c3000 Delete type=3 #1 diff --git a/packs/starter/LOG b/packs/starter/LOG index 2e5eaaa..fd4c1cc 100644 --- a/packs/starter/LOG +++ b/packs/starter/LOG @@ -1,5 +1,5 @@ -2026/08/12-20:33:19.268400 175abb000 Recovering log #3 -2026/08/12-20:33:19.269480 175abb000 Level-0 table #5: started -2026/08/12-20:33:19.270081 175abb000 Level-0 table #5: 82299 bytes OK -2026/08/12-20:33:19.270432 175abb000 Delete type=0 #3 -2026/08/12-20:33:19.270471 175abb000 Delete type=3 #2 +2026/08/12-22:44:48.931234 17200b000 Recovering log #3 +2026/08/12-22:44:48.932452 17200b000 Level-0 table #5: started +2026/08/12-22:44:48.933139 17200b000 Level-0 table #5: 82299 bytes OK +2026/08/12-22:44:48.933493 17200b000 Delete type=0 #3 +2026/08/12-22:44:48.933538 17200b000 Delete type=3 #2 diff --git a/packs/starter/LOG.old b/packs/starter/LOG.old index c268fb3..c79d586 100644 --- a/packs/starter/LOG.old +++ b/packs/starter/LOG.old @@ -1 +1 @@ -2026/08/12-20:33:03.550640 174067000 Delete type=3 #1 +2026/08/12-22:44:33.337758 16f5db000 Delete type=3 #1 diff --git a/packs/tables/LOG b/packs/tables/LOG index 4f10513..937a7a9 100644 --- a/packs/tables/LOG +++ b/packs/tables/LOG @@ -1,5 +1,5 @@ -2026/08/12-20:33:19.280144 176ad3000 Recovering log #3 -2026/08/12-20:33:19.280500 176ad3000 Level-0 table #5: started -2026/08/12-20:33:19.280605 176ad3000 Level-0 table #5: 3739 bytes OK -2026/08/12-20:33:19.280818 176ad3000 Delete type=0 #3 -2026/08/12-20:33:19.280857 176ad3000 Delete type=3 #2 +2026/08/12-22:44:48.944808 172817000 Recovering log #3 +2026/08/12-22:44:48.944973 172817000 Level-0 table #5: started +2026/08/12-22:44:48.945086 172817000 Level-0 table #5: 3739 bytes OK +2026/08/12-22:44:48.945317 172817000 Delete type=0 #3 +2026/08/12-22:44:48.945349 172817000 Delete type=3 #2 diff --git a/packs/tables/LOG.old b/packs/tables/LOG.old index b4dc008..d0fb875 100644 --- a/packs/tables/LOG.old +++ b/packs/tables/LOG.old @@ -1 +1 @@ -2026/08/12-20:33:03.544720 17385b000 Delete type=3 #1 +2026/08/12-22:44:33.331276 16e5c3000 Delete type=3 #1 diff --git a/packs/talents/LOG b/packs/talents/LOG index 2302910..6204424 100644 --- a/packs/talents/LOG +++ b/packs/talents/LOG @@ -1,5 +1,5 @@ -2026/08/12-20:33:19.253872 1762c7000 Recovering log #3 -2026/08/12-20:33:19.254006 1762c7000 Level-0 table #5: started -2026/08/12-20:33:19.254155 1762c7000 Level-0 table #5: 5770 bytes OK -2026/08/12-20:33:19.254377 1762c7000 Delete type=0 #3 -2026/08/12-20:33:19.254415 1762c7000 Delete type=3 #2 +2026/08/12-22:44:48.915783 173023000 Recovering log #3 +2026/08/12-22:44:48.915922 173023000 Level-0 table #5: started +2026/08/12-22:44:48.916069 173023000 Level-0 table #5: 5770 bytes OK +2026/08/12-22:44:48.916313 173023000 Delete type=0 #3 +2026/08/12-22:44:48.916348 173023000 Delete type=3 #2 diff --git a/packs/talents/LOG.old b/packs/talents/LOG.old index 703cc08..f7759d7 100644 --- a/packs/talents/LOG.old +++ b/packs/talents/LOG.old @@ -1 +1 @@ -2026/08/12-20:33:03.496700 174067000 Delete type=3 #1 +2026/08/12-22:44:33.284515 16e5c3000 Delete type=3 #1 diff --git a/packs/vehicles/LOG b/packs/vehicles/LOG index 85fd291..8450cde 100644 --- a/packs/vehicles/LOG +++ b/packs/vehicles/LOG @@ -1,5 +1,5 @@ -2026/08/12-20:33:19.262214 175abb000 Recovering log #3 -2026/08/12-20:33:19.262355 175abb000 Level-0 table #5: started -2026/08/12-20:33:19.262536 175abb000 Level-0 table #5: 6939 bytes OK -2026/08/12-20:33:19.262774 175abb000 Delete type=0 #3 -2026/08/12-20:33:19.262806 175abb000 Delete type=3 #2 +2026/08/12-22:44:48.924550 17200b000 Recovering log #3 +2026/08/12-22:44:48.924684 17200b000 Level-0 table #5: started +2026/08/12-22:44:48.924837 17200b000 Level-0 table #5: 6939 bytes OK +2026/08/12-22:44:48.925120 17200b000 Delete type=0 #3 +2026/08/12-22:44:48.925163 17200b000 Delete type=3 #2 diff --git a/packs/vehicles/LOG.old b/packs/vehicles/LOG.old index 09ad129..0e04bb5 100644 --- a/packs/vehicles/LOG.old +++ b/packs/vehicles/LOG.old @@ -1 +1 @@ -2026/08/12-20:33:03.505366 174067000 Delete type=3 #1 +2026/08/12-22:44:33.292038 16fde7000 Delete type=3 #1 diff --git a/packs/weapons/LOG b/packs/weapons/LOG index 9c3364a..95ecea5 100644 --- a/packs/weapons/LOG +++ b/packs/weapons/LOG @@ -1,5 +1,5 @@ -2026/08/12-20:33:19.257047 1772df000 Recovering log #3 -2026/08/12-20:33:19.257521 1772df000 Level-0 table #5: started -2026/08/12-20:33:19.257788 1772df000 Level-0 table #5: 14767 bytes OK -2026/08/12-20:33:19.258070 1772df000 Delete type=0 #3 -2026/08/12-20:33:19.258099 1772df000 Delete type=3 #2 +2026/08/12-22:44:48.918709 173023000 Recovering log #3 +2026/08/12-22:44:48.919008 173023000 Level-0 table #5: started +2026/08/12-22:44:48.919255 173023000 Level-0 table #5: 14767 bytes OK +2026/08/12-22:44:48.919627 173023000 Delete type=0 #3 +2026/08/12-22:44:48.919674 173023000 Delete type=3 #2 diff --git a/packs/weapons/LOG.old b/packs/weapons/LOG.old index 3e894da..8cdd7d9 100644 --- a/packs/weapons/LOG.old +++ b/packs/weapons/LOG.old @@ -1 +1 @@ -2026/08/12-20:33:03.498976 172843000 Delete type=3 #1 +2026/08/12-22:44:33.286188 16e5c3000 Delete type=3 #1 diff --git a/ringbrp.mjs b/ringbrp.mjs index aae9c32..50655aa 100644 --- a/ringbrp.mjs +++ b/ringbrp.mjs @@ -1075,7 +1075,6 @@ export async function skillRoll({ } ); - rbDressDice(roll, actor); await roll.toMessage({ speaker: speaker ?? ChatMessage.getSpeaker({ actor }), content, @@ -1108,7 +1107,7 @@ export async function majorWoundRoll({ actor, woundType = "blunt", monofilament console.error("Custodians | majorWoundRoll called without an actor"); return null; } - const r = rbDressDice(await new Roll("1d10").evaluate(), actor); + const r = await new Roll("1d10").evaluate(); let result = r.total; if (monofilament && result >= 4) result = 10; // spec §3.3 shift else if (blunt && result === 10) result = 9; @@ -1171,7 +1170,7 @@ export async function hitLocationRoll({ target, damage, mode = "ranged", } const sys = target.system; const speciesId = sys.speciesProfile || "baseline"; - const r = rbDressDice(await new Roll("1d20").evaluate(), target); + const r = await new Roll("1d20").evaluate(); const loc = locationFor(r.total, speciesId, mode); const live = (sys.locations ?? []).find(l => l.id === loc.id); const max = live?.max ?? locationMaxHp(sys.hp?.max ?? 1, loc.frac); @@ -1280,7 +1279,7 @@ export async function rollReaction(combatant) { : reactionPrintedFrom(rb.base, f.loadOverride); const mod = reactionModifier({ aim: f.aim ?? 0, edge: !!f.edge, drag: !!f.drag }); - const roll = rbDressDice(await new Roll(`1d${RINGBRP.reaction.die}`).evaluate(), actor); + const roll = await new Roll(`1d${RINGBRP.reaction.die}`).evaluate(); const raw = roll.total; const coherence = actor.system?.coherence?.value ?? 10; const shown = fluxDie(raw, coherence); @@ -2384,7 +2383,7 @@ export async function fall(actor, metres, { soft = false, controlled = false } = content: `