mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-06-06 04:44:16 +02:00
Updated Third Party Development Details (markdown)
parent
2c035e8ca6
commit
c926ec40b0
1 changed files with 2 additions and 5 deletions
|
|
@ -1,5 +1,7 @@
|
|||
As with any Foundry system, you make a module and define a few `compendiums` to store your items, journals or other entities in to distribute them to others. There are however some extra considerations if you are adding specific homebrew, and some help on those is found below:
|
||||
|
||||
Please also check [Module-Builder-Information](Module-Builder-Information)
|
||||
|
||||
## Custom Domains
|
||||
If you are adding custom domains for your classes and domain cards, then those domains need to always be present when the module is active.
|
||||
Simply add your new domains as keys on the config path `CONFIG.DH.DOMAIN.domains` in the Foundry init hook for your module:
|
||||
|
|
@ -88,8 +90,3 @@ Hooks.once('init', () => {
|
|||
});
|
||||
```
|
||||
|
||||
## Custom Attribution Sources
|
||||
If you want to add a new attribution source to the system you can register them with `CONFIG.DH.GENERAL.attributionSources` in the Foundry init hook.
|
||||
```js
|
||||
CONFIG.DH.GENERAL.attributionSources.forevermore = { label: "Forevermore", values: [{ label: "Campaign - Forevermore" }] }
|
||||
```
|
||||
Loading…
Add table
Add a link
Reference in a new issue