Modify note or access bestiary entry to track resources #418
-
I'm looking for a way to track the resources (spell slots, items, abilities with charges) of a monster (for the sake of simplicity, assume a unique monster like a named NPC) through the rendered statblock. For example, I can render a checkbox for an ability with 2 charges using a JavaScript block. When clicked, the rendered checkbox updates the I can think of two ways to achieve this in principle:
Is either way achievable with the plugin's current capabilities or with an additional plugin like Dataview? Does anyone have pointers on how this could be done? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
A rendered stay block will listen for changes to the creature in the bestiary and re-render. You could use something like metabind to update a creature defined in frontmatter. The plugin will re-parse the frontmatter within the next 2 seconds after and then update the view. |
Beta Was this translation helpful? Give feedback.
A rendered stay block will listen for changes to the creature in the bestiary and re-render. You could use something like metabind to update a creature defined in frontmatter. The plugin will re-parse the frontmatter within the next 2 seconds after and then update the view.