Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create Prosemirror enrichers #233

Open
zithith opened this issue Feb 11, 2025 · 0 comments · May be fixed by #240
Open

Create Prosemirror enrichers #233

zithith opened this issue Feb 11, 2025 · 0 comments · May be fixed by #240
Assignees
Labels
data models Data model related issue homebrewing Features that will make the system friendly to people adding their own homebrew content ui User interface related issue ux User experience related issue
Milestone

Comments

@zithith
Copy link
Contributor

zithith commented Feb 11, 2025

What needs changing?
Add basic enrichers for object data lookup, and potentially some roll options and condition reference.
Use the 5e system as an example.
Lookup enricher format: [[lookup @field]] | [[lookup @field option:1]]{fallback text}}

Fields to Include:

  • Item
    • Name
    • Charges
  • Linked Actor
    • Name
    • Stats & derived values
    • Type (humanoid/animal/etc)
  • Token Name
  • Stretch Goal - Target Name
  • Out of scope, post 1.0 - obfuscating names?

This will mostly be useful for data entry in the premium modules that provide pre-built Foundry objects. But anything that might need these dynamic fields will benefit (e.g. homebrew).

Describe alternatives you've considered
We could not and just make do with hard coded values and the static descriptions from the book, but this doesn't make for a very "Value-added" product

@zithith zithith added data models Data model related issue homebrewing Features that will make the system friendly to people adding their own homebrew content ui User interface related issue ux User experience related issue labels Feb 11, 2025
@zithith zithith added this to the Release 0.3.0 milestone Feb 11, 2025
@zithith zithith self-assigned this Feb 11, 2025
@zithith zithith moved this to In progress in Cosmere RPG System 0.3.0 Feb 11, 2025
@zithith zithith linked a pull request Feb 12, 2025 that will close this issue
8 tasks
@zithith zithith linked a pull request Feb 12, 2025 that will close this issue
8 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
data models Data model related issue homebrewing Features that will make the system friendly to people adding their own homebrew content ui User interface related issue ux User experience related issue
Projects
Status: In progress
1 participant