Files
jpmschweitzerandClaude Opus 4.6 03ff3c5fef feat(ui): entity-anchored dialogue log with keyboard selection
Log entries store entity IDs and resolve display names at render
time from _entity_display lookup — enables retroactive name update
when player learns an NPC's real name. Color index from server
replaces name-hash coloring for stable NPC colors.

Dialogue options: switched RichTextLabel to Label (fixes stacking
bug), added 1/2/3 number key selection, numbered option labels.

Interaction list: added background panel, mouse hover highlighting,
click-to-interact, pointing hand cursor.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-21 13:43:08 +01:00

48 lines
1.6 KiB
YAML

# Dialogue Log Theme — The Settled Reach
#
# Ticket: #535 | Sprint: 14
# Colors and timing for the unified dialogue log panel.
# Loaded by dialogue_box.gd at runtime.
# ============================================================
# PLAYER COLOR
# Fixed color for the player's name in dialogue log entries.
# ============================================================
player_color: "#e0e8ff"
# ============================================================
# NPC COLOR PALETTE
# 8 distinct colors for NPC names. Indexed by hash(npc_name) % 8.
# Must be readable on a dark semi-transparent panel background.
# ============================================================
npc_colors:
0: "#4a9ebb" # teal
1: "#6bc9a6" # green
2: "#e8c547" # amber
3: "#d49e5d" # warm orange
4: "#b586d4" # lavender
5: "#d45d5d" # muted red
6: "#5daa7d" # forest
7: "#7daccc" # sky blue
# ============================================================
# TEXT COLORS
# Arrow separator and speech text color.
# ============================================================
arrow_color: "#8890a0"
speech_color: "#c8d0e0"
# ============================================================
# PASSIVE (OVERHEARD) OPACITY
# Base opacity multiplier for non-player-centric lines.
# 1.0 = full opacity, 0.0 = invisible.
# ============================================================
passive_opacity: 0.9
# ============================================================
# ENTRY TIMING
# All entry types share the same lifetime and fade duration.
# ============================================================
entry_lifetime_seconds: 45.0
entry_fade_seconds: 5.0