This commit is contained in:
2026-04-02 20:17:51 +02:00
parent a0d88fa32a
commit 635529a416
5 changed files with 7 additions and 14 deletions

View File

@@ -320,7 +320,8 @@
font-weight: bold;
color: #084a74;
}
#pause img {
#pause > img {
content: url("../assets/logos/oath_hammer_pause_logo.webp");
animation: none;
width: 260px;
height: auto;

View File

@@ -270,7 +270,8 @@
// PAUSE OVERLAY — replace default Foundry spinner with system logo
// ============================================================
#pause {
img {
& > img {
content: url("../assets/logos/oath_hammer_pause_logo.webp");
animation: none;
width: 260px;
height: auto;

View File

@@ -5,7 +5,7 @@ const defaultItemImg = {
equipment: "systems/fvtt-oath-hammer/assets/icons/icon_equipment.svg",
spell: "systems/fvtt-oath-hammer/assets/icons/icon_spell.svg",
miracle: "systems/fvtt-oath-hammer/assets/icons/icon_miracle.svg",
"magic-item": "systems/fvtt-oath-hammer/assets/icons/icon_magic_item.svg",
"magic-item": "systems/fvtt-oath-hammer/assets/icons/icon_magicitem.svg",
trait: "systems/fvtt-oath-hammer/assets/icons/icon_ability.svg",
oath: "systems/fvtt-oath-hammer/assets/icons/icon_oath.svg",
building: "systems/fvtt-oath-hammer/assets/icons/icon_building.svg",

View File

@@ -167,12 +167,3 @@ Hooks.on("renderChatMessageHTML", (message, html) => {
// Inject Free Roll bar into the chat sidebar
Hooks.on("renderChatLog", (_chatLog, html) => injectFreeRollBar(_chatLog, html))
// Replace the Foundry pause image with the system logo
function _applyPauseLogo() {
const img = document.querySelector("#pause img")
if (!img) return
img.src = "systems/fvtt-oath-hammer/assets/logos/oath_hammer_pause_logo.webp"
img.classList.remove("fa-spin")
}
Hooks.on("pauseGame", (paused) => { if (paused) setTimeout(_applyPauseLogo, 50) })
Hooks.on("ready", () => { if (game.paused) _applyPauseLogo() })

View File

@@ -2,10 +2,10 @@
"id": "fvtt-oath-hammer",
"title": "Oath Hammer RPG",
"description": "Oath Hammer RPG System for FoundryVTT",
"version": "13.0.0",
"version": "14.0.0",
"compatibility": {
"minimum": "13",
"verified": "13"
"verified": "14"
},
"esmodules": [
"oath-hammer.mjs"