import { BaseItemDataModel } from "./base-item.mjs"

export default class PouvoirCompagnieDataModel extends BaseItemDataModel {
  static defineSchema() {
    const fields = foundry.data.fields
    return {
      ...this.defineBaseSchema(),
      scope: new fields.StringField({ initial: "compagnie" }),
      effectMode: new fields.StringField({ initial: "" }),
      ruleText: new fields.HTMLField({ initial: "" }),
      limitedUses: new fields.StringField({ initial: "" }),
      resourceImpact: new fields.StringField({ initial: "" }),
      activationCondition: new fields.StringField({ initial: "À portée de vue du capitaine" }),
      captainVisible: new fields.BooleanField({ initial: true }),
      captainNeedsWitness: new fields.BooleanField({ initial: true }),
    }
  }
}
