asacolips-projects / 13th-age

13th Age system for Foundry VTT
4 stars 1 forks source link

[FEATURE] Syntax for embedding active effects into power descriptions #453

Open ben opened 2 months ago

ben commented 2 months ago

Currently the system does some NLP to figure out if ongoing damage should get a draggable tag in a chat message, and encodes what to do with it when it's dragged. Maybe it would be better if we could register an HtmlEditor enricher in CONFIG.TextEditor.enrichers that could interpret a syntax to make these things more explicit and allow for things that don't work now.

Some examples where this could be handy:

LegoFed3 commented 3 weeks ago

I'd argue between the on-drop duration dialog, embedded macros and embedded AEs this is as supported as it can be in 1.31.0 - weird durations like "until you are next missed" or strange conditions aren't supported, but it's not due to lacking a syntax to express them, it's because we don't have the necessary events or context and so have to rely on the human.