Add quantity to the Ammo form

This commit is contained in:
Oliver-Akins 2025-01-26 15:47:29 -07:00
parent 683ba9e69d
commit 1bdaa958ad

View file

@ -16,7 +16,16 @@ export class AmmoData extends CommonItemData {
// #region Sheet Data // #region Sheet Data
getFormFields(_ctx) { getFormFields(_ctx) {
const fields = []; const fields = [
{
id: `quantity`,
type: `integer`,
label: `RipCrypt.common.quantity`,
path: `system.quantity`,
value: this.quantity,
min: 0,
},
];
return fields; return fields;
}; };
// #endregion // #endregion