Advancement Hooks
@kandashi @ccjmk and anyone else who is currently working on modules that would interact with the Advancement process for a character (i.e. levelup)
I've created an issue to discuss some hooks that might be useful to implement as we work on the advancement UI and I would like your input:
https://gitlab.com/foundrynet/dnd5e/-/issues/1361
GitLab
Advancement Hooks (#1361) · Issues · Foundry Network / Foundry VTT ...
We should consider adding some hooks that allow modules to inject themselves into the advancement process. There are several modules today which interact with the levelup...
DT
Daniel Thorp•885d ago
It's just a nitpick, but I noticed that the hooks are PascalCase instead of the usual camelCase...
C
ccjmk•885d ago
Looks good to me, I just left a comment on the related issue about how advancement will be resolved
If I understood the idea correctly, that might fall on a little pitfall I fell for last time hahah
Want results from more Discord servers?
More PostsAPI doc topicsGive me some ideas for what areas of the foundry core API would benefit from a wiki documentation paDiscord Permission IssueOh, I think you also need a Typescript roleDevelopment-APIA new section of the Wiki was created today: `development/api`
This section is dedicated to documentitem to actors scriptI have this macro for updating actors in a compendium with spells from a compendium of spells (i.e. Primary and Embedded UpdatesTIL how to update embedded documents at the same time as parent documents.
```
game.actors.getName(compendium errors upgrading to v9hmm im not entirely sure how this will work though.. because I did just a quick smell test to my modBlind Chat MessagesAnyone have good examples of creating a chat message that should only be visible to a connected GM, compendium shennaneginsTIL about `CompendiumContent.getDocuments` taking nedb queries.
```
game.packs.get('dnd5e.heroes').g