import { TEMPLATE_DESCRIPTION, TEMPLATE_INVENTAIRE } from "../../common/_module.mjs";
import { ITEM_TYPES } from "../../constants.js";
import { CommonAppreciable } from "../../common/appreciable.mjs";
import RdDItemBaseSheet from "./common-item-sheet.mjs";

const TEMPLATE_APPRECIABLE = new CommonAppreciable();

export default class RdDNourritureBoissonSheet extends RdDItemBaseSheet {
  static get ITEM_TYPE() { return ITEM_TYPES.nourritureboisson; }
  static get TEMPLATES() { return [TEMPLATE_DESCRIPTION, TEMPLATE_INVENTAIRE, TEMPLATE_APPRECIABLE]; }

  static DEFAULT_OPTIONS = Object.assign({},
    RdDItemBaseSheet.DEFAULT_OPTIONS,
    {
      classes: ["fvtt-rdd", "item", "nourritureboisson"],
      position: { width: 448 },
      window: { contentClasses: ["nourritureboisson-content"] },
    });

  static PARTS = {
    main: {
      template: "systems/foundryvtt-reve-de-dragon/templates/sheets/item/nourritureboisson.hbs",
    },
  };

}
