Remove the dice textures and the whole Dice So Nice path

Deleted: the seven PNGs in dice/, tools/make-dice-textures.mjs, the `npm run
dice` script, the RB_DICE colourset and texture tables, diceSetFor, the
diceSoNiceReady hook, and rbDressDice — which was tagging ten roll sites with
coloursets that no longer existed. 99 lines of module, plus the assets.
README and DEPLOY updated; they still advertised all of it.

Recoverable with `git revert` if it is ever wanted back.

This also explains the 01-that-was-12. The RESULT was never wrong: skillRoll
rolls one 1d100 and grades on roll.total, and the chat card derives the tens and
units it prints from that same total. Checked all 100 values of percentileFaces
and 60 live rolls — the printed faces reconstruct the graded number every time,
with no mismatches.

What disagreed was the ANIMATION. The custom addDicePreset labels registered for
d100 and d10 remapped which physical face means what, so Dice So Nice could land
showing 01 while the roll behind it was 12. Nothing downstream ever read the
animated faces, so no roll was ever adjudicated on the wrong number — but a
table watching the dice had every reason to believe otherwise, which is its own
kind of wrong. Disabling the skins in 1.0.6 already removed it; deleting them
makes it permanent.

Verified in a running Foundry after removal: skill roll, weapon damage, hit
location, major wound and Coherence all resolve and post their cards, no errors,
and game.ringbrp.diceSetFor is gone from the API.

Version 1.0.7.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
slaguru666
2026-08-12 22:45:52 +01:00
co-authored by Claude Opus 5
parent 9b6c61ffcb
commit ab619f4b73
47 changed files with 119 additions and 398 deletions
+5 -5
View File
@@ -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
+1 -1
View File
@@ -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