This commit is contained in:
@@ -1,7 +1,8 @@
|
|||||||
export class TeDeumMaladieSchema extends foundry.abstract.TypeDataModel {
|
export class TeDeumSimpleSchema extends foundry.abstract.TypeDataModel {
|
||||||
static defineSchema() {
|
static defineSchema() {
|
||||||
const fields = foundry.data.fields;
|
const fields = foundry.data.fields;
|
||||||
const requiredInteger = { required: true, nullable: false, integer: true };
|
const requiredInteger = { required: true, nullable: false, integer: true };
|
||||||
|
const requiredDouble = { required: true, nullable: false, integer: false };
|
||||||
const schema = {};
|
const schema = {};
|
||||||
|
|
||||||
schema.difficulteEndurance = new fields.StringField({required:true, initial:"aucun"});
|
schema.difficulteEndurance = new fields.StringField({required:true, initial:"aucun"});
|
||||||
|
|||||||
@@ -21,6 +21,7 @@ import { TeDeumEducationSchema } from "./data/tedeum-schema-education.js";
|
|||||||
import { TeDeumGraceSchema } from "./data/tedeum-schema-grace.js";
|
import { TeDeumGraceSchema } from "./data/tedeum-schema-grace.js";
|
||||||
import { TeDeumBlessureSchema } from "./data/tedeum-schema-blessure.js";
|
import { TeDeumBlessureSchema } from "./data/tedeum-schema-blessure.js";
|
||||||
import { TeDeumMaladieSchema } from "./data/tedeum-schema-maladie.js";
|
import { TeDeumMaladieSchema } from "./data/tedeum-schema-maladie.js";
|
||||||
|
import { TeDeumSimpleSchema } from "./data/tedeum-schema-simple.js";
|
||||||
|
|
||||||
import { TeDeumItem } from "./items/tedeum-item.js";
|
import { TeDeumItem } from "./items/tedeum-item.js";
|
||||||
import { TeDeumItemSheet } from "./items/tedeum-item-sheet.js";
|
import { TeDeumItemSheet } from "./items/tedeum-item-sheet.js";
|
||||||
@@ -78,6 +79,7 @@ Hooks.once("init", async function () {
|
|||||||
grace: TeDeumGraceSchema,
|
grace: TeDeumGraceSchema,
|
||||||
blessure: TeDeumBlessureSchema,
|
blessure: TeDeumBlessureSchema,
|
||||||
maladie: TeDeumMaladieSchema,
|
maladie: TeDeumMaladieSchema,
|
||||||
|
simple: TeDeumSimpleSchema,
|
||||||
};
|
};
|
||||||
|
|
||||||
console.log("TeDeum RPG | Ready");
|
console.log("TeDeum RPG | Ready");
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user