mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-18 16:09:03 +01:00
Added LinkedItems for class. Added autoremoval of features and linkeditems when the related item is removed.
This commit is contained in:
parent
6336f2a60f
commit
df8b96e9bc
16 changed files with 202 additions and 118 deletions
|
|
@ -1311,7 +1311,7 @@ export const featureTypes = {
|
|||
}
|
||||
};
|
||||
|
||||
export const featureSubTypes = {
|
||||
export const itemLinkFeatureTypes = {
|
||||
primary: 'primary',
|
||||
secondary: 'secondary',
|
||||
hope: 'hope',
|
||||
|
|
@ -1321,6 +1321,20 @@ export const featureSubTypes = {
|
|||
mastery: 'mastery'
|
||||
};
|
||||
|
||||
export const itemLinkItemTypes = {
|
||||
primaryWeapon: 'primaryWeapon',
|
||||
secondaryWeapon: 'secondaryWeapon',
|
||||
armor: 'armor',
|
||||
choiceA: 'choiceA',
|
||||
choiceB: 'choiceB',
|
||||
take: 'take'
|
||||
};
|
||||
|
||||
export const itemLinkTypes = {
|
||||
...itemLinkFeatureTypes,
|
||||
...itemLinkItemTypes
|
||||
};
|
||||
|
||||
export const actionTypes = {
|
||||
passive: {
|
||||
id: 'passive',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue