Add quantity to the Ammo form
This commit is contained in:
parent
683ba9e69d
commit
1bdaa958ad
1 changed files with 10 additions and 1 deletions
|
|
@ -16,7 +16,16 @@ export class AmmoData extends CommonItemData {
|
|||
|
||||
// #region Sheet Data
|
||||
getFormFields(_ctx) {
|
||||
const fields = [];
|
||||
const fields = [
|
||||
{
|
||||
id: `quantity`,
|
||||
type: `integer`,
|
||||
label: `RipCrypt.common.quantity`,
|
||||
path: `system.quantity`,
|
||||
value: this.quantity,
|
||||
min: 0,
|
||||
},
|
||||
];
|
||||
return fields;
|
||||
};
|
||||
// #endregion
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue