RC-93 | Group Input

This commit is contained in:
Oliver-Akins 2025-01-29 21:46:56 -07:00
parent f39c1b7721
commit e2297daa5d
6 changed files with 87 additions and 2 deletions

View file

@ -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;
};