RC-93 | Group Input
This commit is contained in:
parent
f39c1b7721
commit
e2297daa5d
6 changed files with 87 additions and 2 deletions
|
|
@ -58,6 +58,20 @@ export class SkillData extends foundry.abstract.TypeDataModel {
|
|||
value: ability,
|
||||
})),
|
||||
},
|
||||
{
|
||||
type: `group`,
|
||||
title: `RipCrypt.common.advances`,
|
||||
paddingTop: `20px`,
|
||||
fields: Object.values(gameTerms.Rank).map(rank => {
|
||||
return {
|
||||
id: `advance-${rank}`,
|
||||
type: `text`,
|
||||
label: `RipCrypt.common.rankNames.${rank}`,
|
||||
path: `system.advances.${rank}`,
|
||||
value: this.advances[rank] ?? ``,
|
||||
};
|
||||
}),
|
||||
},
|
||||
];
|
||||
return fields;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue