first commit

This commit is contained in:
2024-06-27 13:32:19 -05:00
commit b7d49fda65
8 changed files with 217 additions and 0 deletions

19
src/scripts/newspaper.js Normal file
View File

@@ -0,0 +1,19 @@
class Newspaper extends JournalSheet {
static get defaultOptions() {
return foundry.utils.mergeObject(super.defaultOptions, {
classes: [...super.defaultOptions.classes, "newspaper"],
});
}
}
Hooks.on("init", (documentTypes) => {
console.log("Custom Journals | Registering the module's sheets.");
DocumentSheetConfig.registerSheet(Journal, "asc-newsaer-style-journal", Newspaper, {
label: "Newspaper",
types: ["base"],
makeDefault: false
});
console.log("Custom Journals | Ready.")
});