Rework organization

This commit is contained in:
2024-07-26 12:52:10 +02:00
parent 115fcc4f18
commit 9148f35b97
93 changed files with 0 additions and 0 deletions

26
module/controls.js vendored Normal file
View File

@@ -0,0 +1,26 @@
export function registerGetSceneControlButtonsHook() {
Hooks.on("getSceneControlButtons", getSceneControlButtons);
}
function getSceneControlButtons(controls) {
if (canvas == null) {
return;
}
controls.push({
name: "rmss",
title: "Rolemaster Standard System",
icon: "fas fa-r",
layer: "ControlsLayer",
tools: [
{
name: "rmmsdiceroller",
title: "Dice Roller",
icon: "fas fa-dice",
onClick: () => { return new game.rmss.applications.RMSSToolsDiceRoller().render(true); },
button: true
}
],
activeTool: "rmmsdiceroller"
});
}