mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-04-21 23:13:39 +02:00
Refactor resources selection and data prep (#1721)
* Move resources select to scrolly text and accept actor object * Convert isReversed to prepared data and add label * Removed unused imports --------- Co-authored-by: WBHarry <williambjrklund@gmail.com>
This commit is contained in:
parent
a4a7b8e7ca
commit
cb0f63208e
9 changed files with 25 additions and 24 deletions
|
|
@ -140,18 +140,6 @@ export const companionResources = {
|
|||
...companionBaseResources
|
||||
};
|
||||
|
||||
export const getScrollingTextResources = actorType => ({
|
||||
armor: {
|
||||
label: 'DAGGERHEART.GENERAL.armor',
|
||||
reverse: true
|
||||
},
|
||||
...(actorType === 'character'
|
||||
? characterResources
|
||||
: actorType === 'adversary'
|
||||
? adversaryResources
|
||||
: companionResources)
|
||||
});
|
||||
|
||||
export const featureProperties = {
|
||||
agility: {
|
||||
name: 'DAGGERHEART.CONFIG.Traits.agility.name',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue