Skip to content

Add the authored lotro_unknown.png placeholder (#3) - #9

Merged
avandenberghe merged 1 commit into
mainfrom
issue-3-unknown-icon
Sep 24, 2026
Merged

avandenberghe merged 1 commit into
mainfrom
issue-3-unknown-icon

Conversation

@avandenberghe

Copy link
Copy Markdown
Collaborator

Refs #3 — the lotro_unknown.png the issue lists as missing. Adds it to class_images/ at 48x48, matching the set as normalised in #8.

Style note: race_images/lotro_unknown.png already existed (a grey ? on the race set's gold plate) and is part of what the glyph design here follows.

Still open on #3: lotro_brawler and lotro_mariner class icons, lotro_hobbit_river race icon, and the 10 classes with no roster_classes/ artwork.

Why authored rather than sourced

class_id 0 — what a character gets when a sync cannot map its class — has always seeded this imagename with no file behind it. avathar/bbguild#389 added a fallback chain that ends at <game>_unknown.png, so without this file its last step could never fire.

No wiki or API has a generic "unknown class" icon, which is exactly why avathar/bbguild#391 singles these out as the one part of the icon backlog where authored placeholders are the right answer rather than a stopgap. This follows the roadmap's sourcing policy (avathar/bbguild#393): authored placeholders where no provenance exists.

Design

A ? glyph, matching what the family already does here — bbguildwow's wow_unknown is a red ? on a plate, bbguildlotro's race unknown a grey ? on gold. Warm gold with a dark outline so it stays legible on both light prosilver and dark styles (pbwow3), drawn at 8x and downsampled.

Test

The new *_icon_coverage_test parses the installer's seeded imagename values and asserts both icon directories cover them, listing the remaining gaps explicitly — so a new gap fails CI instead of going unnoticed, and the known ones are documented in code rather than only in tickets.

🤖 Generated with Claude Code

class_id 0 — the class a character gets when a sync cannot map it — has
always seeded this imagename with no file behind it, so it rendered as a
broken image until avathar/bbguild#389 added a fallback chain. That
chain ends at <game>_unknown.png, so without this file its last step
could never fire.

Authored rather than sourced: no wiki or API has a generic "unknown
class" icon, which is why avathar/bbguild#391 calls these out as the one
part of the icon backlog that placeholders are the right answer for.
A '?' glyph matches what the family already does here (bbguildwow's
wow_unknown is a red '?' on a plate, bbguildlotro's race unknown a grey
'?' on gold). Warm gold with a dark outline, so it stays legible on both
light prosilver and dark styles; drawn at 8x and downsampled; 48x48 to
match the set.

lotro_icon_coverage_test parses the installer's seeded
imagename values and asserts both icon directories cover them, with the
remaining gaps listed explicitly — so a new gap fails CI instead of
going unnoticed.

Refs #3

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@avandenberghe
avandenberghe merged commit 042c312 into main Sep 24, 2026
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant