Added LinkedItems for class. Added autoremoval of features and linkeditems when the related item is removed.

This commit is contained in:
WBHarry 2025-07-22 04:48:21 +02:00
parent 6336f2a60f
commit df8b96e9bc
16 changed files with 202 additions and 118 deletions

View file

@ -6,7 +6,7 @@ export default class ItemLinksField extends foundry.data.fields.TypedObjectField
constructor(options, context) {
super(
new foundry.data.fields.StringField({
choices: CONFIG.DH.ITEM.featureSubTypes,
choices: CONFIG.DH.ITEM.itemLinkTypes,
nullable: true,
initial: null
}),