Add quantity field for all items
Release Creation / build (release) Successful in 2m8s

This commit is contained in:
2026-06-06 09:21:01 +02:00
parent 0d3cc5bbe0
commit 58db55d1ad
20 changed files with 276 additions and 87 deletions
+1
View File
@@ -5,6 +5,7 @@ export default class PrismRPGLoot extends foundry.abstract.TypeDataModel {
const schema = {}
schema.description = new fields.HTMLField({ required: true, textSearch: true })
schema.quantity = new fields.NumberField({ ...requiredInteger, initial: 1, min: 1 })
schema.encLoad = new fields.NumberField({ ...requiredInteger, initial: 0, min: 0 })
schema.cost = new fields.NumberField({ ...requiredInteger, initial: 0, min: 0 })
schema.notes = new fields.HTMLField({ required: true })