ditch typhon in favor of doing it raw
This commit is contained in:
20
scripts/index.js
Normal file
20
scripts/index.js
Normal file
@@ -0,0 +1,20 @@
|
||||
import { initializeSettings } from "./settings.js";
|
||||
|
||||
Hooks.on('init', async function () {
|
||||
initializeSettings();
|
||||
});
|
||||
|
||||
Hooks.on("getActorSheetHeaderButtons", (app, buttons) => {
|
||||
let theatreButtons = [];
|
||||
|
||||
theatreButtons.push({
|
||||
label: "Archive",
|
||||
class: "send-to-archive",
|
||||
icon: "fas fa-mask",
|
||||
onclick: (ev) => {
|
||||
console.log("ARCHIVE ME!");
|
||||
}
|
||||
});
|
||||
|
||||
buttons.unshift(...theatreButtons);
|
||||
});
|
||||
Reference in New Issue
Block a user