Skip to content

Conversation

@schultzp2020
Copy link

This adds clickable cross-reference links to the encyclopedia, allowing users to Ctrl+Click on entity names to navigate directly to their encyclopedia entries.

A new LinkableLabelWidget extends the standard label widget to support two link syntaxes: [[actorName]] which displays the actor's tooltip name, and [[Display Text|actorName]] for custom display text. Links are validated against encyclopedia entries and only highlighted when valid. The widget supports customizable link colors, hover states, and fonts via YAML configuration.

The encyclopedia logic now builds lookup tables at initialization for fast actor name resolution and faction-aware prerequisite linking. When viewing a building's prerequisites, clicking on a requirement like "Refinery" navigates to the correct faction-specific entry rather than a generic one. The system handles actors that belong to multiple factions by checking all category paths.

2026-01-04.17-13-13.mp4

darkademic and others added 30 commits December 26, 2025 11:04
- Deliverance Co-op low power announcement fix.
…vision.

- Fixed Marauder not firing from Battle Fortress.
Signed-off-by: Paul Schultz <pschultz@pobox.com>
Signed-off-by: Paul Schultz <pschultz@pobox.com>
@darkademic darkademic force-pushed the dev branch 4 times, most recently from f76e1da to c7882b3 Compare January 10, 2026 11:38
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.

2 participants