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

Missing "Damage context" field #2

Open
KJTailor opened this issue Mar 23, 2024 · 7 comments
Open

Missing "Damage context" field #2

KJTailor opened this issue Mar 23, 2024 · 7 comments
Labels
enhancement New feature or request

Comments

@KJTailor
Copy link

Is your feature request related to a problem? Please describe.
the DnD 5e system has fields in which you can write context for damage or other formulae. However it seems these context fields are missing from psionic power sheets (see screenshot with a power on the left and a regular spell on the right)

Describe the solution you'd like
Would it be possible to get these context fields coded into the power sheets?

Describe alternatives you've considered
So far I have left out the context for different rolls, but sometimes that can slow down the game.

Additional context
image

@KJTailor KJTailor added the enhancement New feature or request label Mar 23, 2024
@JPMeehan
Copy link
Owner

These fields are added by some other module you have installed. Do you know what module? I could look into what needs to happen for compatibility - I'm not doing anything fancy

@KJTailor
Copy link
Author

Time to "find the culprit" and figure out what it is. I could have sworn it would be core, so it just be a module I already installed ages ago.

@KJTailor
Copy link
Author

KJTailor commented Jun 2, 2024

After some investigation I found that the module in question is Ready Set Roll for DND 5e
image

Do you want me to reach our to MangoVTT, or are you happy to initiate the collaboration, or what is required?

@JPMeehan
Copy link
Owner

Hi @KJTailor finally got around to taking a look at this. It seems as though either one of us could do the integration; it's a little awkward on mine for how the hooks work, but it's certainly doable. Would you be willing to test something? In a world script, add this bit of code. This should make it work for you without any further integration needed.

Hooks.once("setup", () => {
  CONFIG.rsr5e.validItemTypes.push('talent-psionics.power')
});

@KJTailor
Copy link
Author

Happy to test it out, just please give me a little instruction in world scripts, so I don't screw anything up

@JPMeehan
Copy link
Owner

Happy to test it out, just please give me a little instruction in world scripts, so I don't screw anything up

The dnd5e system wiki has full details.

@KJTailor
Copy link
Author

Apologies for the delay, world scripts took a moment to figure out, especially because I'm using the Forge to host, so the world.json was not easily accessible.

anyways, I tried implementing your code in a script using the "world scripter" module, but I am not sure whether I did it correctly, or if it is not working.
Anyways, here is what I get on my screen:

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants