Implements HP loss HUD button
All checks were successful
Release Creation / build (release) Successful in 54s
All checks were successful
Release Creation / build (release) Successful in 54s
This commit is contained in:
parent
a043117ec7
commit
157163672c
1
assets/icons/broken-heart.svg
Normal file
1
assets/icons/broken-heart.svg
Normal file
@ -0,0 +1 @@
|
||||
<svg style="height: 512px; width: 512px;" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><g class="" style="" transform="translate(0,0)"><path d="M373.47 25.5c-33.475-.064-67.614 13.444-94.44 43.156l37.22 145.156-33.437.032 35.343 132.093-116.718-188.375 50.03 5.375L202.5 47.312C120.437-1.43 4.756 40.396 8.5 158.156c4.402 138.44 191.196 184.6 247.406 331.625 59.376-147.035 251.26-184.33 246.656-331.624-2.564-82.042-64.6-132.532-129.093-132.656z" fill="#fff" fill-opacity="1"></path></g></svg>
|
After Width: | Height: | Size: 506 B |
@ -2070,22 +2070,31 @@ i.lethalfantasy {
|
||||
font-size: calc(var(--font-size-standard) * 1);
|
||||
text-shadow: 0 0 10px var(--color-shadow-primary);
|
||||
}
|
||||
#lethalfantasy-application-manager {
|
||||
display: flex;
|
||||
font-family: var(--font-primary);
|
||||
font-size: calc(var(--font-size-standard) * 1);
|
||||
color: var(--color-dark-1);
|
||||
#token-hud .hp-loss-wrap {
|
||||
position: absolute;
|
||||
left: 75px;
|
||||
display: none;
|
||||
top: 50%;
|
||||
transform: translate(-200%, -50%);
|
||||
width: 48px;
|
||||
text-align: start;
|
||||
overflow-y: auto;
|
||||
}
|
||||
#token-hud .hp-loss-hud-active {
|
||||
display: block;
|
||||
}
|
||||
#token-hud .hp-loss-hud-disabled {
|
||||
display: none;
|
||||
}
|
||||
#token-hud .hud-loss-hp-button-select {
|
||||
max-width: 40px;
|
||||
background-image: var(--background-image-base);
|
||||
background-repeat: no-repeat;
|
||||
background-size: 100% 100%;
|
||||
}
|
||||
#lethalfantasy-application-manager .lethalfantasy-table {
|
||||
margin: 1rem;
|
||||
background: none;
|
||||
padding: 0;
|
||||
padding-top: 0;
|
||||
padding-bottom: 0;
|
||||
width: max-content;
|
||||
margin: 0;
|
||||
text-align: center;
|
||||
}
|
||||
#lethalfantasy-application-manager .lethalfantasy-table .player {
|
||||
font-size: calc(var(--font-size-standard) * 1);
|
||||
#token-hud .hp-loss-wrap .hud-loss-hp-button-select {
|
||||
padding-left: 8px;
|
||||
font-size: 0.7rem;
|
||||
}
|
||||
|
@ -89,6 +89,7 @@ Hooks.once("init", function () {
|
||||
|
||||
setupTextEnrichers()
|
||||
LethalFantasyUtils.registerHandlebarsHelpers()
|
||||
LethalFantasyUtils.setHookListeners( )
|
||||
|
||||
console.info("LETHAL FANTASY | System Initialized")
|
||||
})
|
||||
@ -117,6 +118,7 @@ Hooks.once("ready", function () {
|
||||
if (!SYSTEM.DEV_MODE) {
|
||||
registerWorldCount("lethalFantasy")
|
||||
}
|
||||
|
||||
_showUserGuide()
|
||||
|
||||
/**
|
||||
@ -152,7 +154,7 @@ Hooks.on("renderChatMessage", (message, html, data) => {
|
||||
}
|
||||
})
|
||||
|
||||
Hooks.on("getCombatTrackerEntryContext", (html, options) => {
|
||||
Hooks.on("getCombatTrackerEntryContext", (html, options) => {
|
||||
LethalFantasyUtils.pushCombatOptions(html, options);
|
||||
});
|
||||
|
||||
@ -181,4 +183,4 @@ async function registerWorldCount(registerKey) {
|
||||
console.log("No usage log ")
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
@ -69,6 +69,15 @@ export default class LethalFantasyActor extends Actor {
|
||||
return goodSkill
|
||||
}
|
||||
|
||||
/* *************************************************/
|
||||
async applyDamage(hpLoss) {
|
||||
let hp = this.system.hp.value + hpLoss
|
||||
if (hp < 0) {
|
||||
hp = 0
|
||||
}
|
||||
this.update({ "system.hp.value": hp })
|
||||
}
|
||||
|
||||
/* *************************************************/
|
||||
async prepareRoll(rollType, rollKey, rollDice ) {
|
||||
console.log("Preparing roll", rollType, rollKey, rollDice)
|
||||
|
@ -18,6 +18,37 @@ export default class LethalFantasyUtils {
|
||||
options.push({ name: "Reset Progression", condition: true, icon: '<i class="fas fa-rotate-right"></i>', callback: target => { game.combat.resetProgression(target.data('combatant-id')); } })
|
||||
}
|
||||
|
||||
/* -------------------------------------------- */
|
||||
static setHookListeners() {
|
||||
|
||||
Hooks.on('renderTokenHUD', async (hud, html, token) => {
|
||||
const lossHPButton = await renderTemplate('systems/fvtt-lethal-fantasy/templates/loss-hp-hud.hbs', {} )
|
||||
html.find('div.left').append(lossHPButton);
|
||||
html.find('img.lethal-hp-loss-hud').click((event) => {
|
||||
event.preventDefault();
|
||||
let hpMenu = html.find('.hp-loss-wrap')[0]
|
||||
if (hpMenu.classList.contains("hp-loss-hud-disabled")) {
|
||||
html.find('.hp-loss-wrap')[0].classList.add('hp-loss-hud-active');
|
||||
html.find('.hp-loss-wrap')[0].classList.remove('hp-loss-hud-disabled');
|
||||
} else {
|
||||
html.find('.hp-loss-wrap')[0].classList.remove('hp-loss-hud-active');
|
||||
html.find('.hp-loss-wrap')[0].classList.add('hp-loss-hud-disabled');
|
||||
}
|
||||
})
|
||||
html.find('.loss-hp-hud-click').click((event) => {
|
||||
event.preventDefault();
|
||||
let hpLoss = event.currentTarget.dataset.hpValue;
|
||||
if (token) {
|
||||
let actor = game.actors.get(token.actorId);
|
||||
actor.applyDamage(Number(hpLoss));
|
||||
html.find('.hp-loss-wrap')[0].classList.remove('hp-loss-hud-active');
|
||||
html.find('.hp-loss-wrap')[0].classList.add('hp-loss-hud-disabled');
|
||||
}
|
||||
})
|
||||
})
|
||||
}
|
||||
|
||||
/* -------------------------------------------- */
|
||||
static handleSocketEvent(msg = {}) {
|
||||
console.log(`handleSocketEvent !`, msg)
|
||||
let actor
|
||||
|
0
packs-system/lf-equipment/000271.log
Normal file
0
packs-system/lf-equipment/000271.log
Normal file
@ -1 +1 @@
|
||||
MANIFEST-000261
|
||||
MANIFEST-000269
|
||||
|
@ -1,8 +1,8 @@
|
||||
2025/04/25-21:22:26.619523 7fa7f51fa6c0 Recovering log #259
|
||||
2025/04/25-21:22:26.629405 7fa7f51fa6c0 Delete type=3 #257
|
||||
2025/04/25-21:22:26.629471 7fa7f51fa6c0 Delete type=0 #259
|
||||
2025/04/25-21:28:11.794720 7fa7eebff6c0 Level-0 table #264: started
|
||||
2025/04/25-21:28:11.794743 7fa7eebff6c0 Level-0 table #264: 0 bytes OK
|
||||
2025/04/25-21:28:11.828838 7fa7eebff6c0 Delete type=0 #262
|
||||
2025/04/25-21:28:11.872804 7fa7eebff6c0 Manual compaction at level-0 from '!folders!ATr9wZhg5uTVTksM' @ 72057594037927935 : 1 .. '!items!znm6T1ef4qQI8BX7' @ 0 : 0; will stop at (end)
|
||||
2025/04/25-21:28:11.872877 7fa7eebff6c0 Manual compaction at level-1 from '!folders!ATr9wZhg5uTVTksM' @ 72057594037927935 : 1 .. '!items!znm6T1ef4qQI8BX7' @ 0 : 0; will stop at (end)
|
||||
2025/04/27-22:10:37.047400 7fa7f51fa6c0 Recovering log #267
|
||||
2025/04/27-22:10:37.058458 7fa7f51fa6c0 Delete type=3 #265
|
||||
2025/04/27-22:10:37.058538 7fa7f51fa6c0 Delete type=0 #267
|
||||
2025/04/27-22:10:52.614770 7fa7eebff6c0 Level-0 table #272: started
|
||||
2025/04/27-22:10:52.614791 7fa7eebff6c0 Level-0 table #272: 0 bytes OK
|
||||
2025/04/27-22:10:52.622121 7fa7eebff6c0 Delete type=0 #270
|
||||
2025/04/27-22:10:52.628504 7fa7eebff6c0 Manual compaction at level-0 from '!folders!ATr9wZhg5uTVTksM' @ 72057594037927935 : 1 .. '!items!znm6T1ef4qQI8BX7' @ 0 : 0; will stop at (end)
|
||||
2025/04/27-22:10:52.628572 7fa7eebff6c0 Manual compaction at level-1 from '!folders!ATr9wZhg5uTVTksM' @ 72057594037927935 : 1 .. '!items!znm6T1ef4qQI8BX7' @ 0 : 0; will stop at (end)
|
||||
|
@ -1,8 +1,8 @@
|
||||
2025/04/25-21:12:25.063567 7fa7f49f96c0 Recovering log #255
|
||||
2025/04/25-21:12:25.123483 7fa7f49f96c0 Delete type=3 #253
|
||||
2025/04/25-21:12:25.123549 7fa7f49f96c0 Delete type=0 #255
|
||||
2025/04/25-21:21:41.663813 7fa7eebff6c0 Level-0 table #260: started
|
||||
2025/04/25-21:21:41.663837 7fa7eebff6c0 Level-0 table #260: 0 bytes OK
|
||||
2025/04/25-21:21:41.670063 7fa7eebff6c0 Delete type=0 #258
|
||||
2025/04/25-21:21:41.683068 7fa7eebff6c0 Manual compaction at level-0 from '!folders!ATr9wZhg5uTVTksM' @ 72057594037927935 : 1 .. '!items!znm6T1ef4qQI8BX7' @ 0 : 0; will stop at (end)
|
||||
2025/04/25-21:21:41.683094 7fa7eebff6c0 Manual compaction at level-1 from '!folders!ATr9wZhg5uTVTksM' @ 72057594037927935 : 1 .. '!items!znm6T1ef4qQI8BX7' @ 0 : 0; will stop at (end)
|
||||
2025/04/27-21:05:46.502959 7fa7f51fa6c0 Recovering log #263
|
||||
2025/04/27-21:05:46.514114 7fa7f51fa6c0 Delete type=3 #261
|
||||
2025/04/27-21:05:46.514266 7fa7f51fa6c0 Delete type=0 #263
|
||||
2025/04/27-22:10:01.755996 7fa7eebff6c0 Level-0 table #268: started
|
||||
2025/04/27-22:10:01.756038 7fa7eebff6c0 Level-0 table #268: 0 bytes OK
|
||||
2025/04/27-22:10:01.762014 7fa7eebff6c0 Delete type=0 #266
|
||||
2025/04/27-22:10:01.787708 7fa7eebff6c0 Manual compaction at level-0 from '!folders!ATr9wZhg5uTVTksM' @ 72057594037927935 : 1 .. '!items!znm6T1ef4qQI8BX7' @ 0 : 0; will stop at (end)
|
||||
2025/04/27-22:10:01.787755 7fa7eebff6c0 Manual compaction at level-1 from '!folders!ATr9wZhg5uTVTksM' @ 72057594037927935 : 1 .. '!items!znm6T1ef4qQI8BX7' @ 0 : 0; will stop at (end)
|
||||
|
Binary file not shown.
0
packs-system/lf-gifts/000270.log
Normal file
0
packs-system/lf-gifts/000270.log
Normal file
@ -1 +1 @@
|
||||
MANIFEST-000260
|
||||
MANIFEST-000268
|
||||
|
@ -1,8 +1,8 @@
|
||||
2025/04/25-21:22:26.632055 7fa7ef7fe6c0 Recovering log #258
|
||||
2025/04/25-21:22:26.642442 7fa7ef7fe6c0 Delete type=3 #256
|
||||
2025/04/25-21:22:26.642504 7fa7ef7fe6c0 Delete type=0 #258
|
||||
2025/04/25-21:28:11.762447 7fa7eebff6c0 Level-0 table #263: started
|
||||
2025/04/25-21:28:11.762488 7fa7eebff6c0 Level-0 table #263: 0 bytes OK
|
||||
2025/04/25-21:28:11.794608 7fa7eebff6c0 Delete type=0 #261
|
||||
2025/04/25-21:28:11.872774 7fa7eebff6c0 Manual compaction at level-0 from '!folders!yPWGvxHJbDNHVSnY' @ 72057594037927935 : 1 .. '!items!zjvGljrLk5SshC9D' @ 0 : 0; will stop at (end)
|
||||
2025/04/25-21:28:11.872860 7fa7eebff6c0 Manual compaction at level-1 from '!folders!yPWGvxHJbDNHVSnY' @ 72057594037927935 : 1 .. '!items!zjvGljrLk5SshC9D' @ 0 : 0; will stop at (end)
|
||||
2025/04/27-22:10:37.060842 7fa7f49f96c0 Recovering log #266
|
||||
2025/04/27-22:10:37.071585 7fa7f49f96c0 Delete type=3 #264
|
||||
2025/04/27-22:10:37.071676 7fa7f49f96c0 Delete type=0 #266
|
||||
2025/04/27-22:10:52.602346 7fa7eebff6c0 Level-0 table #271: started
|
||||
2025/04/27-22:10:52.602391 7fa7eebff6c0 Level-0 table #271: 0 bytes OK
|
||||
2025/04/27-22:10:52.608549 7fa7eebff6c0 Delete type=0 #269
|
||||
2025/04/27-22:10:52.628463 7fa7eebff6c0 Manual compaction at level-0 from '!folders!yPWGvxHJbDNHVSnY' @ 72057594037927935 : 1 .. '!items!zjvGljrLk5SshC9D' @ 0 : 0; will stop at (end)
|
||||
2025/04/27-22:10:52.628540 7fa7eebff6c0 Manual compaction at level-1 from '!folders!yPWGvxHJbDNHVSnY' @ 72057594037927935 : 1 .. '!items!zjvGljrLk5SshC9D' @ 0 : 0; will stop at (end)
|
||||
|
@ -1,8 +1,8 @@
|
||||
2025/04/25-21:12:25.126076 7fa7ef7fe6c0 Recovering log #254
|
||||
2025/04/25-21:12:25.194012 7fa7ef7fe6c0 Delete type=3 #252
|
||||
2025/04/25-21:12:25.194129 7fa7ef7fe6c0 Delete type=0 #254
|
||||
2025/04/25-21:21:41.677033 7fa7eebff6c0 Level-0 table #259: started
|
||||
2025/04/25-21:21:41.677055 7fa7eebff6c0 Level-0 table #259: 0 bytes OK
|
||||
2025/04/25-21:21:41.682956 7fa7eebff6c0 Delete type=0 #257
|
||||
2025/04/25-21:21:41.683087 7fa7eebff6c0 Manual compaction at level-0 from '!folders!yPWGvxHJbDNHVSnY' @ 72057594037927935 : 1 .. '!items!zjvGljrLk5SshC9D' @ 0 : 0; will stop at (end)
|
||||
2025/04/25-21:21:41.683125 7fa7eebff6c0 Manual compaction at level-1 from '!folders!yPWGvxHJbDNHVSnY' @ 72057594037927935 : 1 .. '!items!zjvGljrLk5SshC9D' @ 0 : 0; will stop at (end)
|
||||
2025/04/27-21:05:46.517584 7fa7effff6c0 Recovering log #262
|
||||
2025/04/27-21:05:46.527926 7fa7effff6c0 Delete type=3 #260
|
||||
2025/04/27-21:05:46.527986 7fa7effff6c0 Delete type=0 #262
|
||||
2025/04/27-22:10:01.762226 7fa7eebff6c0 Level-0 table #267: started
|
||||
2025/04/27-22:10:01.762289 7fa7eebff6c0 Level-0 table #267: 0 bytes OK
|
||||
2025/04/27-22:10:01.768728 7fa7eebff6c0 Delete type=0 #265
|
||||
2025/04/27-22:10:01.787724 7fa7eebff6c0 Manual compaction at level-0 from '!folders!yPWGvxHJbDNHVSnY' @ 72057594037927935 : 1 .. '!items!zjvGljrLk5SshC9D' @ 0 : 0; will stop at (end)
|
||||
2025/04/27-22:10:01.787762 7fa7eebff6c0 Manual compaction at level-1 from '!folders!yPWGvxHJbDNHVSnY' @ 72057594037927935 : 1 .. '!items!zjvGljrLk5SshC9D' @ 0 : 0; will stop at (end)
|
||||
|
Binary file not shown.
BIN
packs-system/lf-gifts/MANIFEST-000268
Normal file
BIN
packs-system/lf-gifts/MANIFEST-000268
Normal file
Binary file not shown.
0
packs-system/lf-skills/000270.log
Normal file
0
packs-system/lf-skills/000270.log
Normal file
@ -1 +1 @@
|
||||
MANIFEST-000260
|
||||
MANIFEST-000268
|
||||
|
@ -1,8 +1,8 @@
|
||||
2025/04/25-21:22:26.603891 7fa7f49f96c0 Recovering log #258
|
||||
2025/04/25-21:22:26.613982 7fa7f49f96c0 Delete type=3 #256
|
||||
2025/04/25-21:22:26.614103 7fa7f49f96c0 Delete type=0 #258
|
||||
2025/04/25-21:28:11.828962 7fa7eebff6c0 Level-0 table #263: started
|
||||
2025/04/25-21:28:11.828987 7fa7eebff6c0 Level-0 table #263: 0 bytes OK
|
||||
2025/04/25-21:28:11.872564 7fa7eebff6c0 Delete type=0 #261
|
||||
2025/04/25-21:28:11.872823 7fa7eebff6c0 Manual compaction at level-0 from '!folders!7j8H7DbmBb9Uza2X' @ 72057594037927935 : 1 .. '!items!zt8s7564ep1La4XQ' @ 0 : 0; will stop at (end)
|
||||
2025/04/25-21:28:11.872896 7fa7eebff6c0 Manual compaction at level-1 from '!folders!7j8H7DbmBb9Uza2X' @ 72057594037927935 : 1 .. '!items!zt8s7564ep1La4XQ' @ 0 : 0; will stop at (end)
|
||||
2025/04/27-22:10:37.034836 7fa7ef7fe6c0 Recovering log #266
|
||||
2025/04/27-22:10:37.044865 7fa7ef7fe6c0 Delete type=3 #264
|
||||
2025/04/27-22:10:37.044923 7fa7ef7fe6c0 Delete type=0 #266
|
||||
2025/04/27-22:10:52.622268 7fa7eebff6c0 Level-0 table #271: started
|
||||
2025/04/27-22:10:52.622297 7fa7eebff6c0 Level-0 table #271: 0 bytes OK
|
||||
2025/04/27-22:10:52.628287 7fa7eebff6c0 Delete type=0 #269
|
||||
2025/04/27-22:10:52.628521 7fa7eebff6c0 Manual compaction at level-0 from '!folders!7j8H7DbmBb9Uza2X' @ 72057594037927935 : 1 .. '!items!zt8s7564ep1La4XQ' @ 0 : 0; will stop at (end)
|
||||
2025/04/27-22:10:52.628588 7fa7eebff6c0 Manual compaction at level-1 from '!folders!7j8H7DbmBb9Uza2X' @ 72057594037927935 : 1 .. '!items!zt8s7564ep1La4XQ' @ 0 : 0; will stop at (end)
|
||||
|
@ -1,8 +1,8 @@
|
||||
2025/04/25-21:12:25.004274 7fa7f51fa6c0 Recovering log #254
|
||||
2025/04/25-21:12:25.060536 7fa7f51fa6c0 Delete type=3 #252
|
||||
2025/04/25-21:12:25.060709 7fa7f51fa6c0 Delete type=0 #254
|
||||
2025/04/25-21:21:41.670183 7fa7eebff6c0 Level-0 table #259: started
|
||||
2025/04/25-21:21:41.670208 7fa7eebff6c0 Level-0 table #259: 0 bytes OK
|
||||
2025/04/25-21:21:41.676916 7fa7eebff6c0 Delete type=0 #257
|
||||
2025/04/25-21:21:41.683078 7fa7eebff6c0 Manual compaction at level-0 from '!folders!7j8H7DbmBb9Uza2X' @ 72057594037927935 : 1 .. '!items!zt8s7564ep1La4XQ' @ 0 : 0; will stop at (end)
|
||||
2025/04/25-21:21:41.683166 7fa7eebff6c0 Manual compaction at level-1 from '!folders!7j8H7DbmBb9Uza2X' @ 72057594037927935 : 1 .. '!items!zt8s7564ep1La4XQ' @ 0 : 0; will stop at (end)
|
||||
2025/04/27-21:05:46.488098 7fa7ef7fe6c0 Recovering log #262
|
||||
2025/04/27-21:05:46.498191 7fa7ef7fe6c0 Delete type=3 #260
|
||||
2025/04/27-21:05:46.498387 7fa7ef7fe6c0 Delete type=0 #262
|
||||
2025/04/27-22:10:01.768851 7fa7eebff6c0 Level-0 table #267: started
|
||||
2025/04/27-22:10:01.768881 7fa7eebff6c0 Level-0 table #267: 0 bytes OK
|
||||
2025/04/27-22:10:01.775516 7fa7eebff6c0 Delete type=0 #265
|
||||
2025/04/27-22:10:01.787735 7fa7eebff6c0 Manual compaction at level-0 from '!folders!7j8H7DbmBb9Uza2X' @ 72057594037927935 : 1 .. '!items!zt8s7564ep1La4XQ' @ 0 : 0; will stop at (end)
|
||||
2025/04/27-22:10:01.787771 7fa7eebff6c0 Manual compaction at level-1 from '!folders!7j8H7DbmBb9Uza2X' @ 72057594037927935 : 1 .. '!items!zt8s7564ep1La4XQ' @ 0 : 0; will stop at (end)
|
||||
|
Binary file not shown.
BIN
packs-system/lf-skills/MANIFEST-000268
Normal file
BIN
packs-system/lf-skills/MANIFEST-000268
Normal file
Binary file not shown.
0
packs-system/lf-vulnerabilities/000270.log
Normal file
0
packs-system/lf-vulnerabilities/000270.log
Normal file
@ -1 +1 @@
|
||||
MANIFEST-000260
|
||||
MANIFEST-000268
|
||||
|
@ -1,8 +1,8 @@
|
||||
2025/04/25-21:22:26.644388 7fa7effff6c0 Recovering log #258
|
||||
2025/04/25-21:22:26.654206 7fa7effff6c0 Delete type=3 #256
|
||||
2025/04/25-21:22:26.654257 7fa7effff6c0 Delete type=0 #258
|
||||
2025/04/25-21:28:11.724988 7fa7eebff6c0 Level-0 table #263: started
|
||||
2025/04/25-21:28:11.725025 7fa7eebff6c0 Level-0 table #263: 0 bytes OK
|
||||
2025/04/25-21:28:11.762266 7fa7eebff6c0 Delete type=0 #261
|
||||
2025/04/25-21:28:11.872740 7fa7eebff6c0 Manual compaction at level-0 from '!folders!mnO9OzE7BEE2KDfh' @ 72057594037927935 : 1 .. '!items!zkK6ixtCsCw3RH9X' @ 0 : 0; will stop at (end)
|
||||
2025/04/25-21:28:11.872841 7fa7eebff6c0 Manual compaction at level-1 from '!folders!mnO9OzE7BEE2KDfh' @ 72057594037927935 : 1 .. '!items!zkK6ixtCsCw3RH9X' @ 0 : 0; will stop at (end)
|
||||
2025/04/27-22:10:37.074061 7fa7effff6c0 Recovering log #266
|
||||
2025/04/27-22:10:37.085221 7fa7effff6c0 Delete type=3 #264
|
||||
2025/04/27-22:10:37.085303 7fa7effff6c0 Delete type=0 #266
|
||||
2025/04/27-22:10:52.608683 7fa7eebff6c0 Level-0 table #271: started
|
||||
2025/04/27-22:10:52.608708 7fa7eebff6c0 Level-0 table #271: 0 bytes OK
|
||||
2025/04/27-22:10:52.614653 7fa7eebff6c0 Delete type=0 #269
|
||||
2025/04/27-22:10:52.628484 7fa7eebff6c0 Manual compaction at level-0 from '!folders!mnO9OzE7BEE2KDfh' @ 72057594037927935 : 1 .. '!items!zkK6ixtCsCw3RH9X' @ 0 : 0; will stop at (end)
|
||||
2025/04/27-22:10:52.628557 7fa7eebff6c0 Manual compaction at level-1 from '!folders!mnO9OzE7BEE2KDfh' @ 72057594037927935 : 1 .. '!items!zkK6ixtCsCw3RH9X' @ 0 : 0; will stop at (end)
|
||||
|
@ -1,8 +1,8 @@
|
||||
2025/04/25-21:12:25.197251 7fa7effff6c0 Recovering log #254
|
||||
2025/04/25-21:12:25.252610 7fa7effff6c0 Delete type=3 #252
|
||||
2025/04/25-21:12:25.252672 7fa7effff6c0 Delete type=0 #254
|
||||
2025/04/25-21:21:41.657695 7fa7eebff6c0 Level-0 table #259: started
|
||||
2025/04/25-21:21:41.657740 7fa7eebff6c0 Level-0 table #259: 0 bytes OK
|
||||
2025/04/25-21:21:41.663703 7fa7eebff6c0 Delete type=0 #257
|
||||
2025/04/25-21:21:41.683056 7fa7eebff6c0 Manual compaction at level-0 from '!folders!mnO9OzE7BEE2KDfh' @ 72057594037927935 : 1 .. '!items!zkK6ixtCsCw3RH9X' @ 0 : 0; will stop at (end)
|
||||
2025/04/25-21:21:41.683109 7fa7eebff6c0 Manual compaction at level-1 from '!folders!mnO9OzE7BEE2KDfh' @ 72057594037927935 : 1 .. '!items!zkK6ixtCsCw3RH9X' @ 0 : 0; will stop at (end)
|
||||
2025/04/27-21:05:46.531008 7fa7f49f96c0 Recovering log #262
|
||||
2025/04/27-21:05:46.541095 7fa7f49f96c0 Delete type=3 #260
|
||||
2025/04/27-21:05:46.541154 7fa7f49f96c0 Delete type=0 #262
|
||||
2025/04/27-22:10:01.787868 7fa7eebff6c0 Level-0 table #267: started
|
||||
2025/04/27-22:10:01.787899 7fa7eebff6c0 Level-0 table #267: 0 bytes OK
|
||||
2025/04/27-22:10:01.793677 7fa7eebff6c0 Delete type=0 #265
|
||||
2025/04/27-22:10:01.812628 7fa7eebff6c0 Manual compaction at level-0 from '!folders!mnO9OzE7BEE2KDfh' @ 72057594037927935 : 1 .. '!items!zkK6ixtCsCw3RH9X' @ 0 : 0; will stop at (end)
|
||||
2025/04/27-22:10:01.812698 7fa7eebff6c0 Manual compaction at level-1 from '!folders!mnO9OzE7BEE2KDfh' @ 72057594037927935 : 1 .. '!items!zkK6ixtCsCw3RH9X' @ 0 : 0; will stop at (end)
|
||||
|
Binary file not shown.
@ -1,21 +0,0 @@
|
||||
#lethalfantasy-application-manager {
|
||||
display: flex;
|
||||
|
||||
font-family: var(--font-primary);
|
||||
font-size: calc(var(--font-size-standard) * 1);
|
||||
color: var(--color-dark-1);
|
||||
background-image: var(--background-image-base);
|
||||
background-repeat: no-repeat;
|
||||
background-size: 100% 100%;
|
||||
|
||||
.lethalfantasy-table {
|
||||
margin: 1rem;
|
||||
background: none;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
text-align: center;
|
||||
.player {
|
||||
font-size: calc(var(--font-size-standard) * 1);
|
||||
}
|
||||
}
|
||||
}
|
@ -10,7 +10,7 @@
|
||||
@import "weapon.less";
|
||||
@import "armor.less";
|
||||
@import "spell.less";
|
||||
@import "vulnerability.less";
|
||||
@import "vulnerability.less";
|
||||
@import "chat.less";
|
||||
@import "equipment.less";
|
||||
@import "shield.less";
|
||||
@ -18,4 +18,4 @@
|
||||
}
|
||||
|
||||
@import "roll.less";
|
||||
@import "application-manager.less";
|
||||
@import "hud.less";
|
||||
|
32
styles/hud.less
Normal file
32
styles/hud.less
Normal file
@ -0,0 +1,32 @@
|
||||
#token-hud .hp-loss-wrap {
|
||||
position: absolute;
|
||||
left: 75px;
|
||||
display: none;
|
||||
top: 50%;
|
||||
transform: translate(-200%, -50%);
|
||||
width: 48px;
|
||||
text-align: start;
|
||||
overflow-y: auto;
|
||||
}
|
||||
|
||||
#token-hud .hp-loss-hud-active {
|
||||
display: block;
|
||||
}
|
||||
|
||||
#token-hud .hp-loss-hud-disabled {
|
||||
display: none;
|
||||
}
|
||||
|
||||
#token-hud .hud-loss-hp-button-select {
|
||||
max-width: 40px;
|
||||
background-image: var(--background-image-base);
|
||||
padding-top: 0;
|
||||
padding-bottom: 0;
|
||||
width: max-content;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
#token-hud .hp-loss-wrap .hud-loss-hp-button-select {
|
||||
padding-left: 8px;
|
||||
font-size: 0.7rem;
|
||||
}
|
13
templates/loss-hp-hud.hbs
Normal file
13
templates/loss-hp-hud.hbs
Normal file
@ -0,0 +1,13 @@
|
||||
<div class="control-icon" data-action="lethal-loss-hp-hud">
|
||||
<img class="lethal-hp-loss-hud" src="systems/fvtt-lethal-fantasy/assets/icons/broken-heart.svg"
|
||||
width="36" height="36" title="Open token journal" />
|
||||
|
||||
<div class="hp-loss-wrap hp-loss-hud-disabled">
|
||||
{{#for -10 0 1}}
|
||||
<button class="hud-loss-hp-button-select loss-hp-hud-click " data-hp-value="{{this}}" >
|
||||
<span class="">{{this}}</span>
|
||||
</button>
|
||||
{{/for}}
|
||||
</div>
|
||||
|
||||
</div>
|
Loading…
x
Reference in New Issue
Block a user