Begin work on the fate path dropdown

This commit is contained in:
Oliver-Akins 2024-12-22 00:23:29 -07:00
parent edd4e49f62
commit f6ca694dcc
10 changed files with 82 additions and 21 deletions

View file

@ -1,4 +1,4 @@
import { FatePath } from "../../gameTerms.mjs";
import { gameTerms } from "../../gameTerms.mjs";
const { fields } = foundry.data;
@ -61,7 +61,7 @@ export class HeroData extends foundry.abstract.TypeDataModel {
trim: true,
nullable: false,
choices: () => {
return Object.values(FatePath).concat(``);
return gameTerms.FatePath.concat(``);
},
}),
level: new fields.SchemaField({