ditch typhon in favor of doing it raw

This commit is contained in:
iamBadgers committed 2025-07-11 20:26:57 -07:00
1 parent b7948d18d7
commit fcb1b25cec
17 files changed
+40 -6400

No files matched your search

View File
Whitespace-only changes.
View File
Whitespace-only changes.
+4
View File
@@ -0,0 +1,4 @@
export const MODULE_ID = "rush-character-archive-foundry-module";
export const URI_SETTING_NAME = "uri_setting";
+20
View 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);
});
+12
View File
@@ -0,0 +1,12 @@
import {MODULE_ID, URI_SETTING_NAME} from "./common.js"
export function initializeSettings() {
game.settings.register(MODULE_ID, URI_SETTING_NAME, {
name: "Archive Server URI",
hint: "Address of the character archive server.",
scope: "world",
config: true,
default: "https://chararchive.cyberpunkrush.com",
type: String,
});
}