diff --git a/docs/REVIEW_LOG.md b/docs/REVIEW_LOG.md index 893c4bb..48b658a 100644 --- a/docs/REVIEW_LOG.md +++ b/docs/REVIEW_LOG.md @@ -4391,3 +4391,37 @@ lighting the world. Note for deployment: `template.json` is read when Foundry loads the system, so the new `lightReachM` field did not exist on items until the server was restarted — the migration then stamped it. A remote server needs the restart, not just a pull. + +## The combat tab, reordered — and R-241, a weapon nobody could ready + +**R-241. There was no way to ready a weapon.** The strip under the characteristics +reads `equipped`, and the only `toggle-equipped` control on the whole character sheet +was on the *armour* list. A weapon could only be readied by opening its item sheet and +finding the tickbox there — which is why the strip on most sheets showed whatever the +pack builder happened to have equipped and nothing else. The weapons table now carries +the same toggle, the row is tinted when it is readied, and a line above the table says +plainly what the control does. + +**R-242. The off state did not look off.** `.ringbrp-sheet a` is more specific than a +bare `.rb-equip`, so an unequipped toggle was painted white and read as lit. That was +true of the armour toggle too, and had been since the toggle was added. + +**The tab now runs in the order it is used**: weapons, armour, defend, reaction, and +the body last. Weapons lead with 40px art and a display-face name, because they are +what the tab is for and they were previously below two screens of anatomy and reaction +arithmetic. + +**The figure is a partial now.** It is drawn in three places — the header thumbnail, +the combat tab and the anatomy tab — and it was previously twenty lines of inline +Handlebars that existed once. Three copies of that would have been the template-layer +version of the defect `check-rules` exists to prevent: a location present in one +drawing and missing from another. One partial, registered at init, three call sites. + +The header now carries a **34px figure and every location with its damage and the +armour over it**, so the commonest question at the table — how much armour is on the +part that just got hit — is answered on the main page without changing tab. + +Noted while working: the mini figure inherited `.rb-body-svg { max-width: 180px }` +from further down the stylesheet and blew the header out to 385px tall. Same-specificity +selectors, later one wins; the compound `.rb-body-svg.rb-body-mini` fixes it. Worth +remembering that this stylesheet is ordered by section rather than by specificity. diff --git a/lang/en.json b/lang/en.json index 38edb88..99ef446 100644 --- a/lang/en.json +++ b/lang/en.json @@ -880,5 +880,10 @@ "RINGBRP.Sight.LampNear": "{holder}'s, {m} m away — you are in it", "RINGBRP.Sight.SomeLamp": "The light you are standing in", "RINGBRP.Dialog.InLight": "I am in the light", - "RINGBRP.Dialog.InLightHint": "Ticked already if a lit lamp is within reach of your token. Tick it yourself when there are no tokens to measure." + "RINGBRP.Dialog.InLightHint": "Ticked already if a lit lamp is within reach of your token. Tick it yourself when there are no tokens to measure.", + "RINGBRP.Sheet.Ready": "Ready", + "RINGBRP.Sheet.ReadyToggle": "Ready this weapon — puts it in the strip at the top of the sheet", + "RINGBRP.Sheet.ReadyHint": "Click the fist to ready a weapon. Readied weapons appear in the strip under the characteristics, where they can be rolled without opening this tab.", + "RINGBRP.Sheet.BodyHead": "The body, and where it gets hit", + "RINGBRP.Sheet.MiniBodyHint": "Every location: damage taken, and the armour covering it." } diff --git a/packs/armour/000006.log b/packs/armour/000006.log deleted file mode 100644 index 9d3f468..0000000 Binary files a/packs/armour/000006.log and /dev/null differ diff --git a/packs/armour/000008.ldb b/packs/armour/000008.ldb new file mode 100644 index 0000000..5281e73 Binary files /dev/null and b/packs/armour/000008.ldb differ diff --git a/packs/armour/000011.log b/packs/armour/000011.log new file mode 100644 index 0000000..e69de29 diff --git a/packs/armour/CURRENT b/packs/armour/CURRENT index cacca75..3051f81 100644 --- a/packs/armour/CURRENT +++ b/packs/armour/CURRENT @@ -1 +1 @@ -MANIFEST-000004 +MANIFEST-000010 diff --git a/packs/armour/LOG b/packs/armour/LOG index 2c0939d..f2c19d1 100644 --- a/packs/armour/LOG +++ b/packs/armour/LOG @@ -1,5 +1,3 @@ -2026/08/11-09:44:12.196312 1737fb000 Recovering log #3 -2026/08/11-09:44:12.196429 1737fb000 Level-0 table #5: started -2026/08/11-09:44:12.196537 1737fb000 Level-0 table #5: 3269 bytes OK -2026/08/11-09:44:12.196738 1737fb000 Delete type=0 #3 -2026/08/11-09:44:12.196764 1737fb000 Delete type=3 #2 +2026/08/11-10:11:58.113964 1752cb000 Recovering log #9 +2026/08/11-10:11:58.114393 1752cb000 Delete type=3 #7 +2026/08/11-10:11:58.114432 1752cb000 Delete type=0 #9 diff --git a/packs/armour/LOG.old b/packs/armour/LOG.old index 088c89c..016cc23 100644 --- a/packs/armour/LOG.old +++ b/packs/armour/LOG.old @@ -1 +1,5 @@ -2026/08/11-09:43:09.979643 172267000 Delete type=3 #1 +2026/08/11-10:01:07.582527 176517000 Recovering log #6 +2026/08/11-10:01:07.582663 176517000 Level-0 table #8: started +2026/08/11-10:01:07.582827 176517000 Level-0 table #8: 4335 bytes OK +2026/08/11-10:01:07.583142 176517000 Delete type=0 #6 +2026/08/11-10:01:07.583300 176517000 Delete type=3 #4 diff --git a/packs/armour/MANIFEST-000004 b/packs/armour/MANIFEST-000004 deleted file mode 100644 index 1faa5e9..0000000 Binary files a/packs/armour/MANIFEST-000004 and /dev/null differ diff --git a/packs/armour/MANIFEST-000010 b/packs/armour/MANIFEST-000010 new file mode 100644 index 0000000..36e3e4a Binary files /dev/null and b/packs/armour/MANIFEST-000010 differ diff --git a/packs/expedition/000006.log b/packs/expedition/000006.log deleted file mode 100644 index 268b187..0000000 Binary files a/packs/expedition/000006.log and /dev/null differ diff --git a/packs/expedition/000008.ldb b/packs/expedition/000008.ldb new file mode 100644 index 0000000..3138bb5 Binary files /dev/null and b/packs/expedition/000008.ldb differ diff --git a/packs/expedition/000011.log b/packs/expedition/000011.log new file mode 100644 index 0000000..e69de29 diff --git a/packs/expedition/CURRENT b/packs/expedition/CURRENT index cacca75..3051f81 100644 --- a/packs/expedition/CURRENT +++ b/packs/expedition/CURRENT @@ -1 +1 @@ -MANIFEST-000004 +MANIFEST-000010 diff --git a/packs/expedition/LOG b/packs/expedition/LOG index 58e611b..9888d84 100644 --- a/packs/expedition/LOG +++ b/packs/expedition/LOG @@ -1,5 +1,3 @@ -2026/08/11-09:44:12.205237 172fef000 Recovering log #3 -2026/08/11-09:44:12.205611 172fef000 Level-0 table #5: started -2026/08/11-09:44:12.205721 172fef000 Level-0 table #5: 4129 bytes OK -2026/08/11-09:44:12.205945 172fef000 Delete type=0 #3 -2026/08/11-09:44:12.205992 172fef000 Delete type=3 #2 +2026/08/11-10:11:58.123637 174abf000 Recovering log #9 +2026/08/11-10:11:58.124065 174abf000 Delete type=3 #7 +2026/08/11-10:11:58.124216 174abf000 Delete type=0 #9 diff --git a/packs/expedition/LOG.old b/packs/expedition/LOG.old index 231e892..52aa937 100644 --- a/packs/expedition/LOG.old +++ b/packs/expedition/LOG.old @@ -1 +1,5 @@ -2026/08/11-09:43:10.009129 17327f000 Delete type=3 #1 +2026/08/11-10:01:07.594977 176d23000 Recovering log #6 +2026/08/11-10:01:07.595333 176d23000 Level-0 table #8: started +2026/08/11-10:01:07.595474 176d23000 Level-0 table #8: 5069 bytes OK +2026/08/11-10:01:07.595768 176d23000 Delete type=0 #6 +2026/08/11-10:01:07.595810 176d23000 Delete type=3 #4 diff --git a/packs/expedition/MANIFEST-000004 b/packs/expedition/MANIFEST-000004 deleted file mode 100644 index 47fbcd4..0000000 Binary files a/packs/expedition/MANIFEST-000004 and /dev/null differ diff --git a/packs/expedition/MANIFEST-000010 b/packs/expedition/MANIFEST-000010 new file mode 100644 index 0000000..2024e35 Binary files /dev/null and b/packs/expedition/MANIFEST-000010 differ diff --git a/packs/gear/000006.log b/packs/gear/000006.log deleted file mode 100644 index d1deb9b..0000000 Binary files a/packs/gear/000006.log and /dev/null differ diff --git a/packs/gear/000008.ldb b/packs/gear/000008.ldb new file mode 100644 index 0000000..f6a523e Binary files /dev/null and b/packs/gear/000008.ldb differ diff --git a/packs/gear/000011.log b/packs/gear/000011.log new file mode 100644 index 0000000..e69de29 diff --git a/packs/gear/CURRENT b/packs/gear/CURRENT index cacca75..3051f81 100644 --- a/packs/gear/CURRENT +++ b/packs/gear/CURRENT @@ -1 +1 @@ -MANIFEST-000004 +MANIFEST-000010 diff --git a/packs/gear/LOG b/packs/gear/LOG index 04e48ba..c1f79f8 100644 --- a/packs/gear/LOG +++ b/packs/gear/LOG @@ -1,5 +1,3 @@ -2026/08/11-09:44:12.197435 172fef000 Recovering log #3 -2026/08/11-09:44:12.198040 172fef000 Level-0 table #5: started -2026/08/11-09:44:12.198321 172fef000 Level-0 table #5: 31614 bytes OK -2026/08/11-09:44:12.198514 172fef000 Delete type=0 #3 -2026/08/11-09:44:12.198552 172fef000 Delete type=3 #2 +2026/08/11-10:11:58.115761 175ad7000 Recovering log #9 +2026/08/11-10:11:58.116061 175ad7000 Delete type=3 #7 +2026/08/11-10:11:58.116179 175ad7000 Delete type=0 #9 diff --git a/packs/gear/LOG.old b/packs/gear/LOG.old index 194c71f..d5ed446 100644 --- a/packs/gear/LOG.old +++ b/packs/gear/LOG.old @@ -1 +1,5 @@ -2026/08/11-09:43:09.981180 17327f000 Delete type=3 #1 +2026/08/11-10:01:07.584322 176d23000 Recovering log #6 +2026/08/11-10:01:07.584745 176d23000 Level-0 table #8: started +2026/08/11-10:01:07.585166 176d23000 Level-0 table #8: 38366 bytes OK +2026/08/11-10:01:07.585428 176d23000 Delete type=0 #6 +2026/08/11-10:01:07.585590 176d23000 Delete type=3 #4 diff --git a/packs/gear/MANIFEST-000004 b/packs/gear/MANIFEST-000004 deleted file mode 100644 index f7cd73c..0000000 Binary files a/packs/gear/MANIFEST-000004 and /dev/null differ diff --git a/packs/gear/MANIFEST-000010 b/packs/gear/MANIFEST-000010 new file mode 100644 index 0000000..a0eef85 Binary files /dev/null and b/packs/gear/MANIFEST-000010 differ diff --git a/packs/npcs/000006.log b/packs/npcs/000006.log deleted file mode 100644 index a8f297d..0000000 Binary files a/packs/npcs/000006.log and /dev/null differ diff --git a/packs/npcs/000008.ldb b/packs/npcs/000008.ldb new file mode 100644 index 0000000..1b3cc1e Binary files /dev/null and b/packs/npcs/000008.ldb differ diff --git a/packs/npcs/000011.log b/packs/npcs/000011.log new file mode 100644 index 0000000..e69de29 diff --git a/packs/npcs/CURRENT b/packs/npcs/CURRENT index cacca75..3051f81 100644 --- a/packs/npcs/CURRENT +++ b/packs/npcs/CURRENT @@ -1 +1 @@ -MANIFEST-000004 +MANIFEST-000010 diff --git a/packs/npcs/LOG b/packs/npcs/LOG index abb479c..088a6c5 100644 --- a/packs/npcs/LOG +++ b/packs/npcs/LOG @@ -1,5 +1,3 @@ -2026/08/11-09:44:12.184168 172fef000 Recovering log #3 -2026/08/11-09:44:12.185997 172fef000 Level-0 table #5: started -2026/08/11-09:44:12.187435 172fef000 Level-0 table #5: 223489 bytes OK -2026/08/11-09:44:12.187693 172fef000 Delete type=0 #3 -2026/08/11-09:44:12.187728 172fef000 Delete type=3 #2 +2026/08/11-10:11:58.104873 175ad7000 Recovering log #9 +2026/08/11-10:11:58.105121 175ad7000 Delete type=3 #7 +2026/08/11-10:11:58.105148 175ad7000 Delete type=0 #9 diff --git a/packs/npcs/LOG.old b/packs/npcs/LOG.old index 0809fd4..6ef0667 100644 --- a/packs/npcs/LOG.old +++ b/packs/npcs/LOG.old @@ -1 +1,5 @@ -2026/08/11-09:43:09.996017 172a73000 Delete type=3 #1 +2026/08/11-10:01:07.565661 176d23000 Recovering log #6 +2026/08/11-10:01:07.567596 176d23000 Level-0 table #8: started +2026/08/11-10:01:07.569268 176d23000 Level-0 table #8: 286534 bytes OK +2026/08/11-10:01:07.569897 176d23000 Delete type=0 #6 +2026/08/11-10:01:07.570096 176d23000 Delete type=3 #4 diff --git a/packs/npcs/MANIFEST-000004 b/packs/npcs/MANIFEST-000004 deleted file mode 100644 index c64c94d..0000000 Binary files a/packs/npcs/MANIFEST-000004 and /dev/null differ diff --git a/packs/npcs/MANIFEST-000010 b/packs/npcs/MANIFEST-000010 new file mode 100644 index 0000000..cdba26d Binary files /dev/null and b/packs/npcs/MANIFEST-000010 differ diff --git a/packs/powers/000006.log b/packs/powers/000006.log deleted file mode 100644 index 43e306f..0000000 Binary files a/packs/powers/000006.log and /dev/null differ diff --git a/packs/powers/000008.ldb b/packs/powers/000008.ldb new file mode 100644 index 0000000..6f225ae Binary files /dev/null and b/packs/powers/000008.ldb differ diff --git a/packs/powers/000011.log b/packs/powers/000011.log new file mode 100644 index 0000000..e69de29 diff --git a/packs/powers/CURRENT b/packs/powers/CURRENT index cacca75..3051f81 100644 --- a/packs/powers/CURRENT +++ b/packs/powers/CURRENT @@ -1 +1 @@ -MANIFEST-000004 +MANIFEST-000010 diff --git a/packs/powers/LOG b/packs/powers/LOG index 58a312f..03c3221 100644 --- a/packs/powers/LOG +++ b/packs/powers/LOG @@ -1,5 +1,3 @@ -2026/08/11-09:44:12.193256 1737fb000 Recovering log #3 -2026/08/11-09:44:12.193611 1737fb000 Level-0 table #5: started -2026/08/11-09:44:12.193707 1737fb000 Level-0 table #5: 3295 bytes OK -2026/08/11-09:44:12.193908 1737fb000 Delete type=0 #3 -2026/08/11-09:44:12.193951 1737fb000 Delete type=3 #2 +2026/08/11-10:11:58.111179 1742b3000 Recovering log #9 +2026/08/11-10:11:58.111621 1742b3000 Delete type=3 #7 +2026/08/11-10:11:58.111656 1742b3000 Delete type=0 #9 diff --git a/packs/powers/LOG.old b/packs/powers/LOG.old index 037904d..05677b9 100644 --- a/packs/powers/LOG.old +++ b/packs/powers/LOG.old @@ -1 +1,5 @@ -2026/08/11-09:43:10.003815 172267000 Delete type=3 #1 +2026/08/11-10:01:07.578452 176517000 Recovering log #6 +2026/08/11-10:01:07.578743 176517000 Level-0 table #8: started +2026/08/11-10:01:07.578908 176517000 Level-0 table #8: 3619 bytes OK +2026/08/11-10:01:07.579232 176517000 Delete type=0 #6 +2026/08/11-10:01:07.579267 176517000 Delete type=3 #4 diff --git a/packs/powers/MANIFEST-000004 b/packs/powers/MANIFEST-000004 deleted file mode 100644 index 20de082..0000000 Binary files a/packs/powers/MANIFEST-000004 and /dev/null differ diff --git a/packs/powers/MANIFEST-000010 b/packs/powers/MANIFEST-000010 new file mode 100644 index 0000000..50a606c Binary files /dev/null and b/packs/powers/MANIFEST-000010 differ diff --git a/packs/pregens/000006.log b/packs/pregens/000006.log deleted file mode 100644 index 8d9abc2..0000000 Binary files a/packs/pregens/000006.log and /dev/null differ diff --git a/packs/pregens/000008.ldb b/packs/pregens/000008.ldb new file mode 100644 index 0000000..fecb448 Binary files /dev/null and b/packs/pregens/000008.ldb differ diff --git a/packs/pregens/000011.log b/packs/pregens/000011.log new file mode 100644 index 0000000..e69de29 diff --git a/packs/pregens/CURRENT b/packs/pregens/CURRENT index cacca75..3051f81 100644 --- a/packs/pregens/CURRENT +++ b/packs/pregens/CURRENT @@ -1 +1 @@ -MANIFEST-000004 +MANIFEST-000010 diff --git a/packs/pregens/LOG b/packs/pregens/LOG index 8788efa..2ae21ef 100644 --- a/packs/pregens/LOG +++ b/packs/pregens/LOG @@ -1,5 +1,3 @@ -2026/08/11-09:44:12.181257 172fef000 Recovering log #3 -2026/08/11-09:44:12.182096 172fef000 Level-0 table #5: started -2026/08/11-09:44:12.182622 172fef000 Level-0 table #5: 58065 bytes OK -2026/08/11-09:44:12.182900 172fef000 Delete type=0 #3 -2026/08/11-09:44:12.182935 172fef000 Delete type=3 #2 +2026/08/11-10:11:58.102156 175ad7000 Recovering log #9 +2026/08/11-10:11:58.102452 175ad7000 Delete type=3 #7 +2026/08/11-10:11:58.102485 175ad7000 Delete type=0 #9 diff --git a/packs/pregens/LOG.old b/packs/pregens/LOG.old index c0f91ce..8af48ed 100644 --- a/packs/pregens/LOG.old +++ b/packs/pregens/LOG.old @@ -1 +1,5 @@ -2026/08/11-09:43:09.987323 173a8b000 Delete type=3 #1 +2026/08/11-10:01:07.561384 176d23000 Recovering log #6 +2026/08/11-10:01:07.562078 176d23000 Level-0 table #8: started +2026/08/11-10:01:07.562682 176d23000 Level-0 table #8: 74653 bytes OK +2026/08/11-10:01:07.563017 176d23000 Delete type=0 #6 +2026/08/11-10:01:07.563204 176d23000 Delete type=3 #4 diff --git a/packs/pregens/MANIFEST-000004 b/packs/pregens/MANIFEST-000004 deleted file mode 100644 index d892f88..0000000 Binary files a/packs/pregens/MANIFEST-000004 and /dev/null differ diff --git a/packs/pregens/MANIFEST-000010 b/packs/pregens/MANIFEST-000010 new file mode 100644 index 0000000..4bd3bc0 Binary files /dev/null and b/packs/pregens/MANIFEST-000010 differ diff --git a/packs/rules/000006.log b/packs/rules/000006.log deleted file mode 100644 index 5e876ff..0000000 Binary files a/packs/rules/000006.log and /dev/null differ diff --git a/packs/rules/000008.ldb b/packs/rules/000008.ldb new file mode 100644 index 0000000..2662cc6 Binary files /dev/null and b/packs/rules/000008.ldb differ diff --git a/packs/rules/000011.log b/packs/rules/000011.log new file mode 100644 index 0000000..e69de29 diff --git a/packs/rules/CURRENT b/packs/rules/CURRENT index cacca75..3051f81 100644 --- a/packs/rules/CURRENT +++ b/packs/rules/CURRENT @@ -1 +1 @@ -MANIFEST-000004 +MANIFEST-000010 diff --git a/packs/rules/LOG b/packs/rules/LOG index ac28fdd..e0cf59d 100644 --- a/packs/rules/LOG +++ b/packs/rules/LOG @@ -1,5 +1,3 @@ -2026/08/11-09:44:12.200848 172fef000 Recovering log #3 -2026/08/11-09:44:12.201122 172fef000 Level-0 table #5: started -2026/08/11-09:44:12.201397 172fef000 Level-0 table #5: 30975 bytes OK -2026/08/11-09:44:12.201635 172fef000 Delete type=0 #3 -2026/08/11-09:44:12.201675 172fef000 Delete type=3 #2 +2026/08/11-10:11:58.118905 174abf000 Recovering log #9 +2026/08/11-10:11:58.119473 174abf000 Delete type=3 #7 +2026/08/11-10:11:58.119498 174abf000 Delete type=0 #9 diff --git a/packs/rules/LOG.old b/packs/rules/LOG.old index 150c839..813d9e7 100644 --- a/packs/rules/LOG.old +++ b/packs/rules/LOG.old @@ -1 +1,5 @@ -2026/08/11-09:43:10.007699 172267000 Delete type=3 #1 +2026/08/11-10:01:07.588947 176d23000 Recovering log #6 +2026/08/11-10:01:07.589575 176d23000 Level-0 table #8: started +2026/08/11-10:01:07.589919 176d23000 Level-0 table #8: 31649 bytes OK +2026/08/11-10:01:07.590195 176d23000 Delete type=0 #6 +2026/08/11-10:01:07.590234 176d23000 Delete type=3 #4 diff --git a/packs/rules/MANIFEST-000004 b/packs/rules/MANIFEST-000004 deleted file mode 100644 index e2e1bf1..0000000 Binary files a/packs/rules/MANIFEST-000004 and /dev/null differ diff --git a/packs/rules/MANIFEST-000010 b/packs/rules/MANIFEST-000010 new file mode 100644 index 0000000..8d2a88a Binary files /dev/null and b/packs/rules/MANIFEST-000010 differ diff --git a/packs/skills/000006.log b/packs/skills/000006.log deleted file mode 100644 index aa7dd7d..0000000 Binary files a/packs/skills/000006.log and /dev/null differ diff --git a/packs/skills/000008.ldb b/packs/skills/000008.ldb new file mode 100644 index 0000000..c27576b Binary files /dev/null and b/packs/skills/000008.ldb differ diff --git a/packs/skills/000011.log b/packs/skills/000011.log new file mode 100644 index 0000000..e69de29 diff --git a/packs/skills/CURRENT b/packs/skills/CURRENT index cacca75..3051f81 100644 --- a/packs/skills/CURRENT +++ b/packs/skills/CURRENT @@ -1 +1 @@ -MANIFEST-000004 +MANIFEST-000010 diff --git a/packs/skills/LOG b/packs/skills/LOG index 9dd2e32..6b5f2e2 100644 --- a/packs/skills/LOG +++ b/packs/skills/LOG @@ -1,5 +1,3 @@ -2026/08/11-09:44:12.190287 1737fb000 Recovering log #3 -2026/08/11-09:44:12.190653 1737fb000 Level-0 table #5: started -2026/08/11-09:44:12.190822 1737fb000 Level-0 table #5: 7486 bytes OK -2026/08/11-09:44:12.191038 1737fb000 Delete type=0 #3 -2026/08/11-09:44:12.191067 1737fb000 Delete type=3 #2 +2026/08/11-10:11:58.108810 1742b3000 Recovering log #9 +2026/08/11-10:11:58.109145 1742b3000 Delete type=3 #7 +2026/08/11-10:11:58.109174 1742b3000 Delete type=0 #9 diff --git a/packs/skills/LOG.old b/packs/skills/LOG.old index c5b52aa..74df031 100644 --- a/packs/skills/LOG.old +++ b/packs/skills/LOG.old @@ -1 +1,5 @@ -2026/08/11-09:43:09.973842 172a73000 Delete type=3 #1 +2026/08/11-10:01:07.573933 17752f000 Recovering log #6 +2026/08/11-10:01:07.574377 17752f000 Level-0 table #8: started +2026/08/11-10:01:07.574672 17752f000 Level-0 table #8: 9877 bytes OK +2026/08/11-10:01:07.575009 17752f000 Delete type=0 #6 +2026/08/11-10:01:07.575053 17752f000 Delete type=3 #4 diff --git a/packs/skills/MANIFEST-000004 b/packs/skills/MANIFEST-000004 deleted file mode 100644 index 792e8a1..0000000 Binary files a/packs/skills/MANIFEST-000004 and /dev/null differ diff --git a/packs/skills/MANIFEST-000010 b/packs/skills/MANIFEST-000010 new file mode 100644 index 0000000..5c7d963 Binary files /dev/null and b/packs/skills/MANIFEST-000010 differ diff --git a/packs/slice/000006.log b/packs/slice/000006.log deleted file mode 100644 index c7d9b16..0000000 Binary files a/packs/slice/000006.log and /dev/null differ diff --git a/packs/slice/000008.ldb b/packs/slice/000008.ldb new file mode 100644 index 0000000..0fb9fe3 Binary files /dev/null and b/packs/slice/000008.ldb differ diff --git a/packs/slice/000011.log b/packs/slice/000011.log new file mode 100644 index 0000000..e69de29 diff --git a/packs/slice/CURRENT b/packs/slice/CURRENT index cacca75..3051f81 100644 --- a/packs/slice/CURRENT +++ b/packs/slice/CURRENT @@ -1 +1 @@ -MANIFEST-000004 +MANIFEST-000010 diff --git a/packs/slice/LOG b/packs/slice/LOG index c683f39..6256cf8 100644 --- a/packs/slice/LOG +++ b/packs/slice/LOG @@ -1,5 +1,3 @@ -2026/08/11-09:44:12.202502 171fd7000 Recovering log #3 -2026/08/11-09:44:12.202661 171fd7000 Level-0 table #5: started -2026/08/11-09:44:12.202854 171fd7000 Level-0 table #5: 16892 bytes OK -2026/08/11-09:44:12.203092 171fd7000 Delete type=0 #3 -2026/08/11-09:44:12.203146 171fd7000 Delete type=3 #2 +2026/08/11-10:11:58.120643 1742b3000 Recovering log #9 +2026/08/11-10:11:58.120895 1742b3000 Delete type=3 #7 +2026/08/11-10:11:58.120916 1742b3000 Delete type=0 #9 diff --git a/packs/slice/LOG.old b/packs/slice/LOG.old index 39b83ea..cf54a47 100644 --- a/packs/slice/LOG.old +++ b/packs/slice/LOG.old @@ -1 +1,5 @@ -2026/08/11-09:43:10.002176 173a8b000 Delete type=3 #1 +2026/08/11-10:01:07.591406 175d0b000 Recovering log #6 +2026/08/11-10:01:07.591579 175d0b000 Level-0 table #8: started +2026/08/11-10:01:07.591796 175d0b000 Level-0 table #8: 17462 bytes OK +2026/08/11-10:01:07.592037 175d0b000 Delete type=0 #6 +2026/08/11-10:01:07.592183 175d0b000 Delete type=3 #4 diff --git a/packs/slice/MANIFEST-000004 b/packs/slice/MANIFEST-000004 deleted file mode 100644 index 0552c3a..0000000 Binary files a/packs/slice/MANIFEST-000004 and /dev/null differ diff --git a/packs/slice/MANIFEST-000010 b/packs/slice/MANIFEST-000010 new file mode 100644 index 0000000..4b65ede Binary files /dev/null and b/packs/slice/MANIFEST-000010 differ diff --git a/packs/tables/000006.log b/packs/tables/000006.log deleted file mode 100644 index d5e06f3..0000000 Binary files a/packs/tables/000006.log and /dev/null differ diff --git a/packs/tables/000008.ldb b/packs/tables/000008.ldb new file mode 100644 index 0000000..465e211 Binary files /dev/null and b/packs/tables/000008.ldb differ diff --git a/packs/tables/000011.log b/packs/tables/000011.log new file mode 100644 index 0000000..e69de29 diff --git a/packs/tables/CURRENT b/packs/tables/CURRENT index cacca75..3051f81 100644 --- a/packs/tables/CURRENT +++ b/packs/tables/CURRENT @@ -1 +1 @@ -MANIFEST-000004 +MANIFEST-000010 diff --git a/packs/tables/LOG b/packs/tables/LOG index 925bb72..0d21302 100644 --- a/packs/tables/LOG +++ b/packs/tables/LOG @@ -1,5 +1,3 @@ -2026/08/11-09:44:12.203885 1737fb000 Recovering log #3 -2026/08/11-09:44:12.204195 1737fb000 Level-0 table #5: started -2026/08/11-09:44:12.204288 1737fb000 Level-0 table #5: 3739 bytes OK -2026/08/11-09:44:12.204494 1737fb000 Delete type=0 #3 -2026/08/11-09:44:12.204520 1737fb000 Delete type=3 #2 +2026/08/11-10:11:58.122039 1752cb000 Recovering log #9 +2026/08/11-10:11:58.122569 1752cb000 Delete type=3 #7 +2026/08/11-10:11:58.122614 1752cb000 Delete type=0 #9 diff --git a/packs/tables/LOG.old b/packs/tables/LOG.old index c707369..eb761e9 100644 --- a/packs/tables/LOG.old +++ b/packs/tables/LOG.old @@ -1 +1,5 @@ -2026/08/11-09:43:10.000153 172267000 Delete type=3 #1 +2026/08/11-10:01:07.593261 17752f000 Recovering log #6 +2026/08/11-10:01:07.593387 17752f000 Level-0 table #8: started +2026/08/11-10:01:07.593525 17752f000 Level-0 table #8: 4143 bytes OK +2026/08/11-10:01:07.593758 17752f000 Delete type=0 #6 +2026/08/11-10:01:07.593895 17752f000 Delete type=3 #4 diff --git a/packs/tables/MANIFEST-000004 b/packs/tables/MANIFEST-000004 deleted file mode 100644 index 004ff30..0000000 Binary files a/packs/tables/MANIFEST-000004 and /dev/null differ diff --git a/packs/tables/MANIFEST-000010 b/packs/tables/MANIFEST-000010 new file mode 100644 index 0000000..174d1a5 Binary files /dev/null and b/packs/tables/MANIFEST-000010 differ diff --git a/packs/talents/000006.log b/packs/talents/000006.log deleted file mode 100644 index 29003f7..0000000 Binary files a/packs/talents/000006.log and /dev/null differ diff --git a/packs/talents/000008.ldb b/packs/talents/000008.ldb new file mode 100644 index 0000000..4b44900 Binary files /dev/null and b/packs/talents/000008.ldb differ diff --git a/packs/talents/000011.log b/packs/talents/000011.log new file mode 100644 index 0000000..e69de29 diff --git a/packs/talents/CURRENT b/packs/talents/CURRENT index cacca75..3051f81 100644 --- a/packs/talents/CURRENT +++ b/packs/talents/CURRENT @@ -1 +1 @@ -MANIFEST-000004 +MANIFEST-000010 diff --git a/packs/talents/LOG b/packs/talents/LOG index 7c30526..84f806e 100644 --- a/packs/talents/LOG +++ b/packs/talents/LOG @@ -1,5 +1,3 @@ -2026/08/11-09:44:12.191930 172fef000 Recovering log #3 -2026/08/11-09:44:12.192079 172fef000 Level-0 table #5: started -2026/08/11-09:44:12.192222 172fef000 Level-0 table #5: 5770 bytes OK -2026/08/11-09:44:12.192448 172fef000 Delete type=0 #3 -2026/08/11-09:44:12.192478 172fef000 Delete type=3 #2 +2026/08/11-10:11:58.110071 175ad7000 Recovering log #9 +2026/08/11-10:11:58.110287 175ad7000 Delete type=3 #7 +2026/08/11-10:11:58.110314 175ad7000 Delete type=0 #9 diff --git a/packs/talents/LOG.old b/packs/talents/LOG.old index f94ab50..16f0e0e 100644 --- a/packs/talents/LOG.old +++ b/packs/talents/LOG.old @@ -1 +1,5 @@ -2026/08/11-09:43:09.976561 172267000 Delete type=3 #1 +2026/08/11-10:01:07.576370 175d0b000 Recovering log #6 +2026/08/11-10:01:07.576741 175d0b000 Level-0 table #8: started +2026/08/11-10:01:07.576905 175d0b000 Level-0 table #8: 6447 bytes OK +2026/08/11-10:01:07.577157 175d0b000 Delete type=0 #6 +2026/08/11-10:01:07.577191 175d0b000 Delete type=3 #4 diff --git a/packs/talents/MANIFEST-000004 b/packs/talents/MANIFEST-000004 deleted file mode 100644 index f8c6b47..0000000 Binary files a/packs/talents/MANIFEST-000004 and /dev/null differ diff --git a/packs/talents/MANIFEST-000010 b/packs/talents/MANIFEST-000010 new file mode 100644 index 0000000..4f68d63 Binary files /dev/null and b/packs/talents/MANIFEST-000010 differ diff --git a/packs/vehicles/000006.log b/packs/vehicles/000006.log deleted file mode 100644 index 47800e2..0000000 Binary files a/packs/vehicles/000006.log and /dev/null differ diff --git a/packs/vehicles/000008.ldb b/packs/vehicles/000008.ldb new file mode 100644 index 0000000..dd545f3 Binary files /dev/null and b/packs/vehicles/000008.ldb differ diff --git a/packs/vehicles/000011.log b/packs/vehicles/000011.log new file mode 100644 index 0000000..e69de29 diff --git a/packs/vehicles/CURRENT b/packs/vehicles/CURRENT index cacca75..3051f81 100644 --- a/packs/vehicles/CURRENT +++ b/packs/vehicles/CURRENT @@ -1 +1 @@ -MANIFEST-000004 +MANIFEST-000010 diff --git a/packs/vehicles/LOG b/packs/vehicles/LOG index 659986e..0cfb8ed 100644 --- a/packs/vehicles/LOG +++ b/packs/vehicles/LOG @@ -1,5 +1,3 @@ -2026/08/11-09:44:12.199441 1737fb000 Recovering log #3 -2026/08/11-09:44:12.199690 1737fb000 Level-0 table #5: started -2026/08/11-09:44:12.199821 1737fb000 Level-0 table #5: 6939 bytes OK -2026/08/11-09:44:12.200021 1737fb000 Delete type=0 #3 -2026/08/11-09:44:12.200051 1737fb000 Delete type=3 #2 +2026/08/11-10:11:58.117614 1752cb000 Recovering log #9 +2026/08/11-10:11:58.117913 1752cb000 Delete type=3 #7 +2026/08/11-10:11:58.117935 1752cb000 Delete type=0 #9 diff --git a/packs/vehicles/LOG.old b/packs/vehicles/LOG.old index 9adb7a1..23e6547 100644 --- a/packs/vehicles/LOG.old +++ b/packs/vehicles/LOG.old @@ -1 +1,5 @@ -2026/08/11-09:43:09.983507 172267000 Delete type=3 #1 +2026/08/11-10:01:07.587264 176517000 Recovering log #6 +2026/08/11-10:01:07.587412 176517000 Level-0 table #8: started +2026/08/11-10:01:07.587590 176517000 Level-0 table #8: 8283 bytes OK +2026/08/11-10:01:07.587831 176517000 Delete type=0 #6 +2026/08/11-10:01:07.587866 176517000 Delete type=3 #4 diff --git a/packs/vehicles/MANIFEST-000004 b/packs/vehicles/MANIFEST-000004 deleted file mode 100644 index d4d73b7..0000000 Binary files a/packs/vehicles/MANIFEST-000004 and /dev/null differ diff --git a/packs/vehicles/MANIFEST-000010 b/packs/vehicles/MANIFEST-000010 new file mode 100644 index 0000000..03c9e39 Binary files /dev/null and b/packs/vehicles/MANIFEST-000010 differ diff --git a/packs/weapons/000006.log b/packs/weapons/000006.log deleted file mode 100644 index 4d427a6..0000000 Binary files a/packs/weapons/000006.log and /dev/null differ diff --git a/packs/weapons/000008.ldb b/packs/weapons/000008.ldb new file mode 100644 index 0000000..15ab040 Binary files /dev/null and b/packs/weapons/000008.ldb differ diff --git a/packs/weapons/000011.log b/packs/weapons/000011.log new file mode 100644 index 0000000..e69de29 diff --git a/packs/weapons/CURRENT b/packs/weapons/CURRENT index cacca75..3051f81 100644 --- a/packs/weapons/CURRENT +++ b/packs/weapons/CURRENT @@ -1 +1 @@ -MANIFEST-000004 +MANIFEST-000010 diff --git a/packs/weapons/LOG b/packs/weapons/LOG index 0f6fdea..0c74260 100644 --- a/packs/weapons/LOG +++ b/packs/weapons/LOG @@ -1,5 +1,3 @@ -2026/08/11-09:44:12.194742 172fef000 Recovering log #3 -2026/08/11-09:44:12.195028 172fef000 Level-0 table #5: started -2026/08/11-09:44:12.195244 172fef000 Level-0 table #5: 14767 bytes OK -2026/08/11-09:44:12.195470 172fef000 Delete type=0 #3 -2026/08/11-09:44:12.195499 172fef000 Delete type=3 #2 +2026/08/11-10:11:58.112542 175ad7000 Recovering log #9 +2026/08/11-10:11:58.112769 175ad7000 Delete type=3 #7 +2026/08/11-10:11:58.112806 175ad7000 Delete type=0 #9 diff --git a/packs/weapons/LOG.old b/packs/weapons/LOG.old index 33e5276..e426202 100644 --- a/packs/weapons/LOG.old +++ b/packs/weapons/LOG.old @@ -1 +1,5 @@ -2026/08/11-09:43:09.978238 17327f000 Delete type=3 #1 +2026/08/11-10:01:07.580288 17752f000 Recovering log #6 +2026/08/11-10:01:07.580621 17752f000 Level-0 table #8: started +2026/08/11-10:01:07.580948 17752f000 Level-0 table #8: 17963 bytes OK +2026/08/11-10:01:07.581296 17752f000 Delete type=0 #6 +2026/08/11-10:01:07.581365 17752f000 Delete type=3 #4 diff --git a/packs/weapons/MANIFEST-000004 b/packs/weapons/MANIFEST-000004 deleted file mode 100644 index 6a582af..0000000 Binary files a/packs/weapons/MANIFEST-000004 and /dev/null differ diff --git a/packs/weapons/MANIFEST-000010 b/packs/weapons/MANIFEST-000010 new file mode 100644 index 0000000..d75b089 Binary files /dev/null and b/packs/weapons/MANIFEST-000010 differ diff --git a/ringbrp.mjs b/ringbrp.mjs index 42082b4..63f2520 100644 --- a/ringbrp.mjs +++ b/ringbrp.mjs @@ -6058,6 +6058,12 @@ async function resolveLegDialog(expedition) { Hooks.once("init", () => { console.log("RingBRP | initialising"); + // The figure is drawn in three places — combat, anatomy, and the header thumbnail. + // One partial, so a location cannot be present in one of them and missing from + // another, which is the same rule rules.mjs enforces for the formulas. + const loader = foundry?.applications?.handlebars?.loadTemplates ?? globalThis.loadTemplates; + loader?.(["systems/ringbrp/templates/partials/body-figure.hbs"]); + CONFIG.RINGBRP = RINGBRP; CONFIG.Actor.documentClass = RingBRPActor; CONFIG.Item.documentClass = RingBRPItem; diff --git a/styles/ringbrp.css b/styles/ringbrp.css index da51b29..1b2de5b 100644 --- a/styles/ringbrp.css +++ b/styles/ringbrp.css @@ -416,8 +416,76 @@ .rb-strong { font-weight: 700; color: var(--rb-white); } .rb-dim { color: var(--rb-muted); font-size: 12px; } .rb-empty { color: var(--rb-muted); font-style: italic; text-align: center; padding: 26px; } -.rb-equip { color: var(--rb-muted); } -.rb-equip.on { color: var(--rb-yellow); } +/* `.ringbrp-sheet a` is more specific than a lone class, so the unequipped state was + being painted white and read as "on". Both toggles — armour and weapons — depend + on the off state actually looking off. */ +.ringbrp-sheet .rb-equip { color: var(--rb-muted); } +.ringbrp-sheet .rb-equip:hover { color: var(--rb-white); } +.ringbrp-sheet .rb-equip.on { color: var(--rb-yellow); } + +/* ============================================================ + Weapons — the first thing on the combat tab, and it should look it + ============================================================ */ + +.rb-ready-hint { margin: 0 0 8px; } +.rb-weapontable .rb-col-ready { width: 40px; text-align: center; } +.rb-weapontable td { vertical-align: middle; } +.rb-weapontable .rb-equip { font-size: 15px; } +.rb-weapon-icon { + width: 40px; height: 40px; margin-right: 9px; + border: 1px solid var(--rb-hairline); background: var(--rb-void); + vertical-align: middle; +} +.rb-weapon-name { + font-family: var(--rb-display); font-size: 15px; font-weight: 700; + letter-spacing: .02em; vertical-align: middle; +} +.rb-weapon-dmg { font-size: 15px; font-weight: 700; font-variant-numeric: tabular-nums; } +/* A readied weapon is marked in the table too, so the strip and the list agree. */ +.rb-wrow-ready { background: rgba(255, 214, 0, .06); } +.rb-wrow-ready .rb-weapon-icon { border-color: var(--rb-yellow-dim); } +.rb-wrow-ready .rb-weapon-name { color: var(--rb-yellow); } + +/* ============================================================ + The figure, small — every location and the armour over it + ============================================================ */ + +/* The vitals row is a flex of equal-height boxes; this one must not be allowed to + set that height. .rb-body-svg is declared further down the file with max-width + 180px, so the mini needs the compound selector to win rather than a later one. */ +.rb-minibody { + display: flex; align-items: center; gap: 9px; + padding: 5px 9px; border: 1px solid var(--rb-line); background: var(--rb-void); + flex: 0 0 auto; +} +.rb-vitals > .rb-minibody { min-width: 0; text-align: left; flex-direction: row; } +.rb-body-svg.rb-body-mini { + width: 34px; max-width: 34px; height: auto; flex: 0 0 auto; +} +.rb-minilocs { + list-style: none; margin: 0; padding: 0; + display: grid; grid-template-columns: repeat(2, auto); gap: 0 12px; + font-family: var(--rb-mono); font-size: 9px; line-height: 1.45; +} +.rb-miniloc { display: flex; gap: 5px; align-items: baseline; white-space: nowrap; } +.rb-miniloc-name { color: var(--rb-muted); min-width: 52px; } +.rb-miniloc-hp { color: var(--rb-white); font-variant-numeric: tabular-nums; } +.rb-miniloc-ap { + color: var(--rb-yellow); font-weight: 700; min-width: 12px; text-align: right; +} +.rb-miniloc-noap { color: var(--rb-line); } +.rb-miniloc-grazed .rb-miniloc-hp { color: var(--rb-yellow); } +.rb-miniloc-hurt .rb-miniloc-hp { color: var(--rb-danger); } +.rb-miniloc-disabled .rb-miniloc-name, +.rb-miniloc-destroyed .rb-miniloc-name { color: var(--rb-danger); text-decoration: line-through; } + +/* Armour reads on the figure itself, at any size. */ +.rb-part-armoured { stroke-width: 2.5px; } + +/* Anatomy tab: the same figure, beside the full table. */ +.rb-anatblock { display: grid; grid-template-columns: minmax(0, 200px) minmax(0, 1fr); gap: 18px; align-items: start; } +.rb-anatside { min-width: 0; } +@media (max-width: 620px) { .rb-anatblock { grid-template-columns: 1fr; } } .rb-block { margin: 12px 0 4px; border-top: 1px solid var(--rb-hairline); padding-top: 7px; } .rb-wounds li { border-left: 3px solid var(--rb-danger); padding-left: 8px; } diff --git a/templates/character-sheet.hbs b/templates/character-sheet.hbs index afdeb4c..ef02d50 100644 --- a/templates/character-sheet.hbs +++ b/templates/character-sheet.hbs @@ -44,6 +44,19 @@ {{sys.armourPoints}} {{#if armourUnworn.length}}{{localize "RINGBRP.Sheet.NotWorn"}}{{/if}} +
{{localize "RINGBRP.Sheet.ReadyHint"}}
+| {{localize "RINGBRP.Sheet.Ready"}} | +{{localize "RINGBRP.Sheet.Weapon"}} | {{localize "RINGBRP.Sheet.Damage"}} | +{{localize "RINGBRP.Sheet.Range"}} | {{localize "RINGBRP.Sheet.Ammo"}} | +{{localize "RINGBRP.Sheet.Mass"}} | + |
|---|---|---|---|---|---|---|
| + + | +{{#if (rbEq w.system.damage.mode "byBand")}}{{w.system.damage.short}}/{{w.system.damage.medium}}/{{w.system.damage.long}}{{else}}{{w.system.damage.formula}}{{/if}} | +{{w.system.rangeSummary}} | +{{#if w.system.ammo.capacity}}{{w.system.ammo.loaded}}/{{w.system.ammo.capacity}}{{/if}} | +{{w.system.massKg}} kg | ++ + + | +
| {{localize "RINGBRP.Sheet.Locations"}} | -{{localize "RINGBRP.Loc.Melee"}} | -{{localize "RINGBRP.Loc.Ranged"}} | -{{localize "RINGBRP.Loc.Taken"}} | -{{localize "RINGBRP.Sheet.Armour"}} | -
|---|---|---|---|---|
| {{localize l.label}} | -{{l.melee}} | -{{l.ranged}} | -{{l.taken}}/{{l.max}} | -{{l.armour}} | -
{{localize "RINGBRP.Sheet.NoWounds"}}
- {{/if}} -{{localize "RINGBRP.React.RailHint"}}
| {{localize "RINGBRP.Sheet.Weapon"}} | {{localize "RINGBRP.Sheet.Damage"}} | -{{localize "RINGBRP.Sheet.Range"}} | {{localize "RINGBRP.Sheet.Ammo"}} | -{{localize "RINGBRP.Sheet.Mass"}} | - |
|---|---|---|---|---|---|
| {{#if (rbEq w.system.damage.mode "byBand")}}{{w.system.damage.short}}/{{w.system.damage.medium}}/{{w.system.damage.long}}{{else}}{{w.system.damage.formula}}{{/if}} | -{{w.system.rangeSummary}} | -{{#if w.system.ammo.capacity}}{{w.system.ammo.loaded}}/{{w.system.ammo.capacity}}{{/if}} | -{{w.system.massKg}} kg | -- - - | -
| {{localize "RINGBRP.Sheet.Locations"}} | +{{localize "RINGBRP.Loc.Melee"}} | +{{localize "RINGBRP.Loc.Ranged"}} | +{{localize "RINGBRP.Loc.Taken"}} | +{{localize "RINGBRP.Sheet.Armour"}} | +
|---|---|---|---|---|
| {{localize l.label}} | +{{l.melee}} | +{{l.ranged}} | +{{l.taken}}/{{l.max}} | +{{l.armour}} | +
{{localize "RINGBRP.Sheet.NoWounds"}}
+ {{/if}} +| {{localize "RINGBRP.Sheet.Locations"}} | @@ -514,6 +532,8 @@ {{/each}}
|---|
{{localize "RINGBRP.Sheet.LocationNote"}}