ajout pose et logos
This commit is contained in:
1
LICENSE.md
Normal file
1
LICENSE.md
Normal file
@@ -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.
|
||||
6
README.md
Normal file
6
README.md
Normal file
@@ -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.
|
||||
BIN
assets/logos/oath_hammer_pause_logo.webp
Normal file
BIN
assets/logos/oath_hammer_pause_logo.webp
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 73 KiB |
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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() })
|
||||
|
||||
@@ -56,7 +56,7 @@
|
||||
<span class="party-slots-sep">/</span>
|
||||
<input class="party-slots-max" type="number" name="system.maxSlots" value="{{system.maxSlots}}" min="0" {{#if isPlayMode}}disabled{{/if}} />
|
||||
<span class="party-renown-label">{{localize "OATHHAMMER.Label.Renown"}}</span>
|
||||
<input class="party-renown-value" type="number" name="system.renown" value="{{system.renown}}" min="0" />
|
||||
<input class="party-renown-value" type="number" name="system.renown" value="{{system.renown}}" min="0" {{#if isPlayMode}}disabled{{/if}} />
|
||||
</div>
|
||||
</div><!-- /party-header-body -->
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user