diff --git a/Module-Builder-Information.md b/Module-Builder-Information.md index 5b6a6e5..6581a85 100644 --- a/Module-Builder-Information.md +++ b/Module-Builder-Information.md @@ -1,5 +1,22 @@ Various intended ways modules can alter the system. +## Attribution Sources +You can add attribution information to mark where your adversaries, items etc. are coming from, accessed from the tree-dot context menu on the sheet. +This can be done via freeform typing it in, but when you have a lot of things it can be handy to define an Attribution Source to allow you to just pick your options in a dropdown. +You would do this in the `init` hook: +```js +Hooks.once('init', () => { + CONFIG.DH.GENERAL.attributionSources.deadlyBeasts = { + label: "Deadly Beasts", + values: [ + { label: "Deadly Beasts - Volume 1" }, + {label: "Deadly Beasts - Volume 2"} + ] + }; +}) +``` +image + ## Custom Resources In the `init` hook, you can register custom resources for characters. This is done by defining new key/object pairs on `CONFIG.DH.RESOURCE.character.custom`. The data structure is: