148 - Character Setup (#151)

* Added a character setup dialog

* Added optional equipment tab

* Removed temp button to open character setup

* Cleaned up footer from commented code
This commit is contained in:
WBHarry 2025-06-18 20:57:32 +02:00 committed by GitHub
parent a0a5196825
commit f6e077b290
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
20 changed files with 1560 additions and 142 deletions

View file

@ -77,14 +77,19 @@ Hooks.once('init', () => {
Actors.registerSheet(SYSTEM.id, applications.DhpEnvironment, { types: ['environment'], makeDefault: true });
CONFIG.ActiveEffect.documentClass = documents.DhActiveEffect;
DocumentSheetConfig.unregisterSheet(
foundry.applications.apps.DocumentSheetConfig.unregisterSheet(
CONFIG.ActiveEffect.documentClass,
'core',
foundry.applications.sheets.ActiveEffectConfig
);
DocumentSheetConfig.registerSheet(CONFIG.ActiveEffect.documentClass, SYSTEM.id, applications.DhActiveEffectConfig, {
makeDefault: true
});
foundry.applications.apps.DocumentSheetConfig.registerSheet(
CONFIG.ActiveEffect.documentClass,
SYSTEM.id,
applications.DhActiveEffectConfig,
{
makeDefault: true
}
);
CONFIG.Combat.dataModels = {
base: models.DhCombat