Surface trigger-concept wording on Make It So tooltip (#78) #79

Closed
github-actions[bot] wants to merge 1 commit from issue-78-make-it-so-trigger-wording into main
github-actions[bot] commented 2026-04-25 00:50:15 -07:00 (Migrated from github.com)

Summary

Addresses #78. Tightens the Make It So tooltip wording to use direct trigger-concept language instead of implementation-shaped labels.

What changed

Core/Patches/CardHoverTooltipPatch.cs

  • Skill counter → Trigger progress — the X/Y progress row now names what the player is tracking (closeness to triggering) rather than an internal mechanism label.
  • Summoned to hand → Triggered — the total count row now names the observable event (the card triggered) rather than the implementation detail (the card was summoned to hand).

Tests/SpireLens.Core.Tests/MakeItSoTooltipTests.cs

Expanded from 3 to 5 focused facts:

Test What it proves
AppendMakeItSoStats_RendersTriggerProgress Full view shows Trigger progress 2/3
AppendMakeItSoStats_CompactView_RendersTriggerProgress Compact hand-hover also shows Trigger progress 1/3
AppendMakeItSoStats_NoCounter_OmitsTriggerProgressRow Outside combat (no live counter) the row is absent
AppendMakeItSoStats_FullView_RendersTriggeredCount Full deck-view shows Triggered 2
AppendMakeItSoStats_CompactView_SkipsTriggeredCount Compact hand-hover suppresses the triggered count

All 5 pass.

No schema changes needed

The underlying data field (TimesSummonedToHand) is unchanged. Only the display label differs, so no schema version bump, fixture update, or SchemaLoadingTests change is required.

Test-case summary

Setup: AppendMakeItSoStats called directly via reflection with controlled CardAggregate fixtures and live-counter arguments.

Exercised:

  • Full-view (compact=false) with counter 2/3 → Trigger progress row present
  • Compact-view (compact=true) with counter 1/3 → Trigger progress row present
  • Full-view with no counter (outside combat) → Trigger progress row absent
  • Full-view with 2 triggered → Triggered row present
  • Compact-view with 2 triggered → Triggered row absent

Screenshot / artifact note: The updated DLL (SpireLens.Core.dll) was built and deployed to the mods folder during this run. The game process was already running at the main menu with no active run, and the MCP surface does not expose a start-run action, so an in-game tooltip screenshot of the new wording requires a game restart. The sts2-screenshots/sts2-window2.png artifact shows the game is running. Test results confirming the new labels are in sts2-artifacts/make-it-so-test-results.txt.

## Summary Addresses #78. Tightens the Make It So tooltip wording to use direct trigger-concept language instead of implementation-shaped labels. ## What changed ### `Core/Patches/CardHoverTooltipPatch.cs` - **`Skill counter` → `Trigger progress`** — the X/Y progress row now names what the player is tracking (closeness to triggering) rather than an internal mechanism label. - **`Summoned to hand` → `Triggered`** — the total count row now names the observable event (the card triggered) rather than the implementation detail (the card was summoned to hand). ### `Tests/SpireLens.Core.Tests/MakeItSoTooltipTests.cs` Expanded from 3 to 5 focused facts: | Test | What it proves | |------|----------------| | `AppendMakeItSoStats_RendersTriggerProgress` | Full view shows `Trigger progress 2/3` | | `AppendMakeItSoStats_CompactView_RendersTriggerProgress` | Compact hand-hover also shows `Trigger progress 1/3` | | `AppendMakeItSoStats_NoCounter_OmitsTriggerProgressRow` | Outside combat (no live counter) the row is absent | | `AppendMakeItSoStats_FullView_RendersTriggeredCount` | Full deck-view shows `Triggered 2` | | `AppendMakeItSoStats_CompactView_SkipsTriggeredCount` | Compact hand-hover suppresses the triggered count | All 5 pass. ## No schema changes needed The underlying data field (`TimesSummonedToHand`) is unchanged. Only the display label differs, so no schema version bump, fixture update, or `SchemaLoadingTests` change is required. ## Test-case summary **Setup:** `AppendMakeItSoStats` called directly via reflection with controlled `CardAggregate` fixtures and live-counter arguments. **Exercised:** - Full-view (compact=false) with counter 2/3 → `Trigger progress` row present - Compact-view (compact=true) with counter 1/3 → `Trigger progress` row present - Full-view with no counter (outside combat) → `Trigger progress` row absent - Full-view with 2 triggered → `Triggered` row present - Compact-view with 2 triggered → `Triggered` row absent **Screenshot / artifact note:** The updated DLL (`SpireLens.Core.dll`) was built and deployed to the mods folder during this run. The game process was already running at the main menu with no active run, and the MCP surface does not expose a start-run action, so an in-game tooltip screenshot of the new wording requires a game restart. The `sts2-screenshots/sts2-window2.png` artifact shows the game is running. Test results confirming the new labels are in `sts2-artifacts/make-it-so-test-results.txt`.
nelsong6 commented 2026-04-26 20:23:09 -07:00 (Migrated from github.com)

Closing this PR because it does not meet the current evidence bar: there is no target-visible STS2 screenshot attached to the PR, and the body explicitly notes only a non-useful game-running/main-menu artifact. The source issue should be rerun through the updated phase-job issue-agent workflow so verification can produce real screenshot evidence.

Closing this PR because it does not meet the current evidence bar: there is no target-visible STS2 screenshot attached to the PR, and the body explicitly notes only a non-useful game-running/main-menu artifact. The source issue should be rerun through the updated phase-job issue-agent workflow so verification can produce real screenshot evidence.

Pull request closed

Sign in to join this conversation.
No reviewers
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!79
No description provided.