Add relic stats for Bone Flute #145

Closed
opened 2026-04-28 00:11:21 -07:00 by nelsong6 · 2 comments
nelsong6 commented 2026-04-28 00:11:21 -07:00 (Migrated from github.com)

Parent inventory: #133

Goal

Port the RelicTracker stat behavior for Bone Flute into SpireLens.

RelicTracker source reference: https://github.com/rmac-silva/RelicTracker (Code/RelicPatches/BoneFlute.cs). Use this as a behavior reference only; do not copy source code, structure, tooltip strings, or formatting.

Stats To Track

Track Bone Flute's defensive contribution:

  • Block gained

For the first pass, keep the behavior focused on the RelicTracker-facing stat. Do not expand the scope unless it is required to produce this stat.

Implementation Notes

  • Resolve the current STS2 relic id/name with MCP catalog or live game evidence before implementing.
  • Hook the current game behavior that causes this relic stat.
  • Persist the stat through the existing relic stats model, extending it only as needed.
  • Show the stat in the relic tooltip, following the existing relic tooltip pattern where appropriate.
  • Use the RelicTracker source only to understand the behavior and likely hook point.

Acceptance Criteria

  • The relic tooltip shows Bone Flute's tracked stat after the relevant relic behavior occurs.
  • The stat persists into run data using the current schema/update pattern.
  • Focused tests cover stat update, persistence, and presentation where practical.
  • Live in-run evidence includes get_game_state evidence for the resolved relic id/name plus at least one screenshot showing the relic tooltip stat working.
Parent inventory: #133 ## Goal Port the RelicTracker stat behavior for Bone Flute into SpireLens. RelicTracker source reference: https://github.com/rmac-silva/RelicTracker (Code/RelicPatches/BoneFlute.cs). Use this as a behavior reference only; do not copy source code, structure, tooltip strings, or formatting. ## Stats To Track Track Bone Flute's defensive contribution: - Block gained For the first pass, keep the behavior focused on the RelicTracker-facing stat. Do not expand the scope unless it is required to produce this stat. ## Implementation Notes - Resolve the current STS2 relic id/name with MCP catalog or live game evidence before implementing. - Hook the current game behavior that causes this relic stat. - Persist the stat through the existing relic stats model, extending it only as needed. - Show the stat in the relic tooltip, following the existing relic tooltip pattern where appropriate. - Use the RelicTracker source only to understand the behavior and likely hook point. ## Acceptance Criteria - The relic tooltip shows Bone Flute's tracked stat after the relevant relic behavior occurs. - The stat persists into run data using the current schema/update pattern. - Focused tests cover stat update, persistence, and presentation where practical. - Live in-run evidence includes get_game_state evidence for the resolved relic id/name plus at least one screenshot showing the relic tooltip stat working.
github-actions[bot] commented 2026-04-28 00:32:35 -07:00 (Migrated from github.com)
Issue-agent run started: https://github.com/nelsong6/spirelens/actions/runs/25039968608
nelsong6 commented 2026-07-05 15:26:10 -07:00 (Migrated from github.com)

Closing as implemented on main: relic aggregate/tracking, tooltip rows, schema coverage, and tests are present. Validation: full SpireLens.Core.Tests suite passed (467 tests) and Core hot-reload completed cleanly.

Closing as implemented on main: relic aggregate/tracking, tooltip rows, schema coverage, and tests are present. Validation: full SpireLens.Core.Tests suite passed (467 tests) and Core hot-reload completed cleanly.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
romaine-life/spirelens#145
No description provided.