Skip to content

🐛 Render psionic focus and modes in template; resolves #839#861

Merged
ebullient merged 1 commit into
mainfrom
claude/gracious-meninsky
Mar 25, 2026
Merged

🐛 Render psionic focus and modes in template; resolves #839#861
ebullient merged 1 commit into
mainfrom
claude/gracious-meninsky

Conversation

@ebullient
Copy link
Copy Markdown
Owner

@ebullient ebullient commented Mar 25, 2026

Summary

  • The psionic2md.txt template was missing focus and modes rendering — all psionic mode descriptions were silently dropped in the generated output
  • Fixed focus field to use replaceTextFrom (handles {@...} markup; returns empty string when absent so the template conditional works correctly)
  • Added Giddy sample psionic file to homebrew test sources to exercise the fix

Test plan

  • Run ./mvnw test -Dtest=Tools5eDataConvertTest#testLiveData_homebrewmastery-of-mastery.md should contain a Psionic Focus. line and a ## Modes section with ***Masterful Activation (1-8 psi).***
  • predict.md (no focus or modes) should render without those sections

Closes #839

🤖 Generated with Claude Code

The psionic2md.txt template was missing focus and modes rendering,
causing all mode descriptions to be silently dropped in generated output.

- Add Psionic Focus and Modes sections to psionic2md.txt
- Fix focus field to use replaceTextFrom (handles {@...} markup, returns
  empty string when absent so template conditional works correctly)
- Add Giddy sample psionic to homebrew test sources

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@ebullient ebullient merged commit bac6a4b into main Mar 25, 2026
5 of 6 checks passed
@ebullient ebullient deleted the claude/gracious-meninsky branch March 25, 2026 11:13
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.

🐛 The Talent Psionics (and other psionics) don't generate descriptions

1 participant