264 - Action Feature Swap (#265)

* Removed action fields on Adversary/Environment in favor of using Feature Items

* Added drag/drop for features onto adversary/environment settings

* Added Drag of features from Adversary/Environment settings to anywhere in Foundry

* Updated all item types except Class/Subclass

* Added for Class/Subclass

* Items now copy over their features to Character

* Corrected back to actions for right items

* Fixed adversary/environment features display

* PR Fixes
This commit is contained in:
WBHarry 2025-07-05 22:35:05 +02:00 committed by GitHub
parent eac58c1386
commit e9ad9c539a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
58 changed files with 1146 additions and 1114 deletions

View file

@ -656,31 +656,47 @@ export const weaponFeatures = {
export const featureTypes = {
ancestry: {
id: 'ancestry',
label: 'DAGGERHEART.Feature.Type.ancestry'
label: 'TYPES.Item.ancestry'
},
community: {
id: 'community',
label: 'DAGGERHEART.Feature.Type.community'
label: 'TYPES.Item.community'
},
companion: {
id: 'companion',
label: 'TYPES.Actor.companion'
},
class: {
id: 'class',
label: 'DAGGERHEART.Feature.Type.class'
label: 'TYPES.Item.class'
},
subclass: {
id: 'subclass',
label: 'DAGGERHEART.Feature.Type.subclass'
},
classHope: {
id: 'classHope',
label: 'DAGGERHEART.Feature.Type.classHope'
label: 'TYPES.Item.subclass'
},
domainCard: {
id: 'domainCard',
label: 'DAGGERHEART.Feature.Type.domainCard'
label: 'TYPES.Item.domainCard'
},
equipment: {
id: 'equipment',
label: 'DAGGERHEART.Feature.Type.equipment'
armor: {
id: 'armor',
label: 'TYPES.Item.armor'
},
weapon: {
id: 'weapon',
label: 'TYPES.Item.weapon'
},
consumable: {
id: 'consumable',
label: 'TYPES.Item.consumable'
},
miscellaneous: {
id: 'miscellaneous',
label: 'TYPES.Item.miscellaneous'
},
beastform: {
if: 'beastform',
label: 'TYPES.Item.beastform'
}
};