From 3feb786fc6cdb520e30e2f261614dfa5e9b2bba5 Mon Sep 17 00:00:00 2001 From: WBHarry <89362246+WBHarry@users.noreply.github.com> Date: Sat, 30 May 2026 23:04:00 +0200 Subject: [PATCH] Updated Module Builder Information (markdown) --- Module-Builder-Information.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) 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: