Implement the most basic version of a dice pool configuration

This commit is contained in:
Oliver-Akins 2025-01-18 15:59:15 -07:00
parent c62d3cae2f
commit a95412ad2e
19 changed files with 465 additions and 30 deletions

22
module/api.mjs Normal file
View file

@ -0,0 +1,22 @@
import { CombinedHeroSheet } from "./Apps/ActorSheets/CombinedHeroSheet.mjs";
import { DicePool } from "./Apps/DicePool.mjs";
import { HeroSkillsCardV1 } from "./Apps/ActorSheets/HeroSkillsCardV1.mjs";
import { HeroSummaryCardV1 } from "./Apps/ActorSheets/HeroSummaryCardV1.mjs";
const { deepFreeze } = foundry.utils;
Object.defineProperty(
globalThis,
`ripcrypt`,
{
value: deepFreeze({
Apps: {
DicePool,
CombinedHeroSheet,
HeroSummaryCardV1,
HeroSkillsCardV1,
},
}),
writable: false,
},
);