Improve accessory equipment icon silhouettes

This commit is contained in:
2026-07-10 00:32:17 +09:00
parent 2aedbdd71c
commit 72253a44d0
4 changed files with 246 additions and 73 deletions

View File

@@ -0,0 +1,34 @@
# Accessory Equipment Icon Pass
Generated after the accessory icon rework in `src/game/scenes/BootScene.ts`.
## Scope
- `peach-charm`
- `war-manual`
- `mountain-guide-scroll`
- `bravery-token`
- `grain-pouch`
- `yellow-scarf-charm`
- `wind-quiver`
## Before and After
| item id | previous helper | current helper | previous primitives | current primitives | audit concerns |
| --- | --- | --- | ---: | ---: | --- |
| `bravery-token` | `drawTokenIcon` | `drawBraveryTokenIcon` | 4 | 19 | none |
| `mountain-guide-scroll` | `drawMapScrollIcon` | `drawMountainGuideScrollIcon` | 13 | 23 | none |
| `peach-charm` | `drawCharmIcon` | `drawPeachCharmIcon` | 4 | 22 | none |
| `war-manual` | `drawBookIcon` | `drawWarManualIcon` | 7 | 20 | none |
| `wind-quiver` | `drawQuiverIcon` | `drawWindQuiverIcon` | 8 | 24 | none |
| `grain-pouch` | `drawPouchIcon` | `drawGrainPouchIcon` | 7 | 22 | none |
| `yellow-scarf-charm` | `drawCharmIcon` | `drawYellowScarfCharmIcon` | 4 | 25 | none |
## Browser QA
![Sortie prep accessory icon QA](./equipment-icon-accessory-sortie-prep.png)
- URL checked: `http://127.0.0.1:4200/heros_web/?debug&debugSortiePrep&renderer=canvas`
- Result: sortie prep opened on a desktop 1280x720 canvas and rendered the generated accessory textures in roster, slot, and detail surfaces.
- Browser console warnings/errors: none observed.
- Follow-up target from the updated audit: remaining low-detail equipment icons.

Binary file not shown.

After

Width:  |  Height:  |  Size: 118 KiB

View File

@@ -28,22 +28,24 @@ Generated by `scripts/audit-equipment-icon-quality.mjs`.
- The previous shared spear/polearm silhouettes now use item-specific helper shapes with enough primitive detail for 20px and 30px equipment UI reads.
- armor silhouettes: `oath-robe`, `reinforced-lamellar`, `cloth-armor`, `lamellar-armor`, `rebel-vest`
- The previous shared armor and robe silhouettes now use item-specific helper shapes with stronger outer contours and material cues.
- accessory charms and tokens: `bravery-token`, `mountain-guide-scroll`, `peach-charm`, `war-manual`, `wind-quiver`, `grain-pouch`, `yellow-scarf-charm`
- Accessory icons now use distinct badge, scroll, charm, pouch, manual, and quiver silhouettes at small camp UI sizes.
## Next Improvement Target
- Target: accessory charms and tokens
- Item ids: `bravery-token`, `mountain-guide-scroll`, `peach-charm`, `war-manual`, `wind-quiver`, `grain-pouch`, `yellow-scarf-charm`
- Reason: Accessories are the smallest UI read and several use compact badge-like shapes.
- Target: remaining low-detail equipment icons
- Item ids: `leader-axe`, `training-sword`, `yellow-turban-saber`
- Reason: All named batches are complete; remaining work should be selected from the low-detail inventory rows.
## Highest-Risk Shared Silhouette Groups
| score | signature | slots | ranks | items |
| ---: | --- | --- | --- | --- |
| 8 | `drawCharmIcon` | accessory | common, treasure | `peach-charm`, `yellow-scarf-charm` |
| 6 | `drawAxeIcon` | weapon | common | `leader-axe` |
| 6 | `drawSaberIcon` | weapon | common | `yellow-turban-saber` |
| 6 | `drawSwordIcon` | weapon | common | `training-sword` |
| 5 | `drawFanIcon` | weapon | treasure | `white-feather-fan` |
| 5 | `drawGreenDragonGlaiveIcon` | weapon | treasure | `green-dragon-glaive` |
## Full Item Inventory
@@ -65,18 +67,18 @@ Generated by `scripts/audit-equipment-icon-quality.mjs`.
| `cloth-armor` | armor | common | `drawClothArmorIcon` | 1 | 24 | 6 | none |
| `lamellar-armor` | armor | common | `drawLamellarArmorIcon` | 1 | 23 | 4 | none |
| `rebel-vest` | armor | common | `drawRebelVestIcon` | 1 | 24 | 7 | none |
| `bravery-token` | accessory | treasure | `drawTokenIcon` | 1 | 4 | 2 | low primitive detail |
| `mountain-guide-scroll` | accessory | treasure | `drawMapScrollIcon` | 1 | 13 | 5 | low primitive detail |
| `peach-charm` | accessory | treasure | `drawCharmIcon` | 1 | 4 | 2 | shared helper silhouette<br>low primitive detail |
| `war-manual` | accessory | treasure | `drawBookIcon` | 1 | 7 | 3 | low primitive detail |
| `wind-quiver` | accessory | treasure | `drawQuiverIcon` | 1 | 8 | 2 | low primitive detail |
| `grain-pouch` | accessory | common | `drawPouchIcon` | 1 | 7 | 2 | low primitive detail |
| `yellow-scarf-charm` | accessory | common | `drawCharmIcon` | 1 | 4 | 2 | shared helper silhouette<br>low primitive detail |
| `bravery-token` | accessory | treasure | `drawBraveryTokenIcon` | 1 | 19 | 5 | none |
| `mountain-guide-scroll` | accessory | treasure | `drawMountainGuideScrollIcon` | 1 | 23 | 7 | none |
| `peach-charm` | accessory | treasure | `drawPeachCharmIcon` | 1 | 22 | 5 | none |
| `war-manual` | accessory | treasure | `drawWarManualIcon` | 1 | 20 | 7 | none |
| `wind-quiver` | accessory | treasure | `drawWindQuiverIcon` | 1 | 24 | 6 | none |
| `grain-pouch` | accessory | common | `drawGrainPouchIcon` | 1 | 22 | 5 | none |
| `yellow-scarf-charm` | accessory | common | `drawYellowScarfCharmIcon` | 1 | 25 | 5 | none |
## Recommended Next Batch Definition
- Scope: improve accessory charms and tokens while keeping `item-${itemId}` texture keys stable.
- Item ids: `bravery-token`, `mountain-guide-scroll`, `peach-charm`, `war-manual`, `wind-quiver`, `grain-pouch`, `yellow-scarf-charm`
- Success criteria: Each accessory should keep a compact footprint while gaining a distinct readable prop shape at 20px and 30px.
- Scope: improve remaining low-detail equipment icons while keeping `item-${itemId}` texture keys stable.
- Item ids: `leader-axe`, `training-sword`, `yellow-turban-saber`
- Success criteria: Clear remaining low-detail concerns without changing stable texture keys.
- Keep the existing 64px texture size unless a UI-wide equipment icon pass is planned.
- Add before/after contact sheets and verify the sortie equipment list and equipment swap panel in a desktop browser.