diff --git a/LICENSE.md b/LICENSE.md new file mode 100644 index 0000000..d393c0e --- /dev/null +++ b/LICENSE.md @@ -0,0 +1 @@ +Permission is given for users to make limited derivative use of this publication for personal use on the Foundry VTT platform. No rights for any commercial use are granted. No part of this publication may be reproduced or distributed for use outside of the Foundry VTT platform. All rights are reserved with Broken Blade Publishing. \ No newline at end of file diff --git a/README.md b/README.md new file mode 100644 index 0000000..92e4fc2 --- /dev/null +++ b/README.md @@ -0,0 +1,6 @@ +Oath Hammer Official + +This work is based on Oath Hammer, a product of Broken Blade Publishing LLC. While the system provides a basic framework for playing Oath Hammer, you will need the core book to reference specific rules. This system uses trademarks and/or copyrights owned by Broken Blade Publishing LLC. Use of this material falls under the Oath Hammer Third-Party Creator License: https://thebrokenblade.com/third-party-license + + +Permission is given for users to make limited derivative use of this publication for personal use on the Foundry VTT platform. No rights for any commercial use are granted. No part of this publication may be reproduced or distributed for use outside of the Foundry VTT platform. All rights are reserved with Broken Blade Publishing. \ No newline at end of file diff --git a/assets/logos/oath_hammer_pause_logo.webp b/assets/logos/oath_hammer_pause_logo.webp new file mode 100644 index 0000000..75593cc Binary files /dev/null and b/assets/logos/oath_hammer_pause_logo.webp differ diff --git a/css/fvtt-oath-hammer.css b/css/fvtt-oath-hammer.css index f67919b..7371ab9 100644 --- a/css/fvtt-oath-hammer.css +++ b/css/fvtt-oath-hammer.css @@ -320,6 +320,20 @@ font-weight: bold; color: #084a74; } +#pause img { + animation: none; + width: 260px; + height: auto; + filter: drop-shadow(0 0 18px rgba(0, 0, 0, 0.8)); +} +#pause figcaption { + font-family: "Sherwood", "Palatino Linotype", serif; + font-size: 2rem; + font-weight: bold; + color: #c8a84b; + text-shadow: 0 0 10px rgba(0, 0, 0, 0.9), 1px 1px 2px #000; + letter-spacing: 2px; +} .application.oathhammer { border: 2px solid #c8a84b; border-radius: 6px; diff --git a/less/base.less b/less/base.less index 2310127..40b4959 100644 --- a/less/base.less +++ b/less/base.less @@ -265,3 +265,24 @@ } } } + +// ============================================================ +// PAUSE OVERLAY — replace default Foundry spinner with system logo +// ============================================================ +#pause { + img { + animation: none; + width: 260px; + height: auto; + filter: drop-shadow(0 0 18px rgba(0, 0, 0, 0.8)); + } + + figcaption { + font-family: @font-primary; + font-size: 2rem; + font-weight: bold; + color: @color-gold; + text-shadow: 0 0 10px rgba(0, 0, 0, 0.9), 1px 1px 2px #000; + letter-spacing: 2px; + } +} diff --git a/oath-hammer.mjs b/oath-hammer.mjs index 01b7720..6940d64 100644 --- a/oath-hammer.mjs +++ b/oath-hammer.mjs @@ -166,3 +166,13 @@ 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() }) diff --git a/templates/actor/party-sheet.hbs b/templates/actor/party-sheet.hbs index dc8ebf8..45bd577 100644 --- a/templates/actor/party-sheet.hbs +++ b/templates/actor/party-sheet.hbs @@ -56,7 +56,7 @@ / {{localize "OATHHAMMER.Label.Renown"}} - +