Skip to content

Convert roll requests into bespoke system sub-type. - #7285

Open
Fyorl wants to merge 1 commit into
chat/concentrationfrom
chat/prompt
Open

Convert roll requests into bespoke system sub-type.#7285
Fyorl wants to merge 1 commit into
chat/concentrationfrom
chat/prompt

Conversation

@Fyorl

@Fyorl Fyorl commented Jul 28, 2026

Copy link
Copy Markdown
Contributor

No migration for this one. Roll requests didn't write a roll.type flag and I didn't want a heuristic check, so I think these cards will just remain unmigrated and eventually their click handlers will stop being applied but I don't foresee that being a problem for these types of cards.

I also opted for prompt over rollRequest partly because I am biased against camelCase property names in general, and partly because we had co-opted this message type for the end concentration prompt, which is not a request for a roll. I figured it might be more generally useful to have a card that will accept extensible data for prompting for various game actions.

I also considered whether this should be unified with the request card in some way, since they can both request rolls, but the request card has specific targets rather being broadcast for anyone to optionally roll, and it is also stateful, unlike this card.

@Fyorl
Fyorl requested a review from arbron July 28, 2026 00:19
@Fyorl Fyorl self-assigned this Jul 28, 2026
Comment thread module/documents/actor/actor.mjs
@arbron arbron added this to the D&D5E 6.0.0 milestone Jul 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants