diff --git a/modules/app/ecryme-summary-app.js b/modules/app/ecryme-summary-app.js index 052f033..4edc82a 100644 --- a/modules/app/ecryme-summary-app.js +++ b/modules/app/ecryme-summary-app.js @@ -1,8 +1,32 @@ /* -------------------------------------------- */ -import { EcrymeUtility } from "../common/ecryme-utility.js"; +const { HandlebarsApplicationMixin } = foundry.applications.api /* -------------------------------------------- */ -export class EcrymeCharacterSummary extends Application { +export class EcrymeCharacterSummary extends HandlebarsApplicationMixin(foundry.applications.api.ApplicationV2) { + + /* -------------------------------------------- */ + static DEFAULT_OPTIONS = { + id: "ecryme-character-summary", + classes: ["fvtt-ecryme", "dialog"], + position: { width: 920 }, + window: { title: "ECRY.ui.charactersummary", resizable: true }, + actions: { + actorOpen: EcrymeCharacterSummary.#onActorOpen, + summaryRoll: EcrymeCharacterSummary.#onSummaryRoll, + actorDelete: EcrymeCharacterSummary.#onActorDelete, + }, + } + + /* -------------------------------------------- */ + static PARTS = { + content: { template: "systems/fvtt-ecryme/templates/dialogs/character-summary.hbs" }, + } + + /* -------------------------------------------- */ + constructor(options = {}) { + super(options) + this.settings = game.settings.get("fvtt-ecryme", "character-summary-data") + } /* -------------------------------------------- */ static displayPCSummary() { @@ -16,18 +40,13 @@ export class EcrymeCharacterSummary extends Application { /* -------------------------------------------- */ updatePCSummary() { if (this.rendered) { - this.render(true) + this.render() } } - /* -------------------------------------------- */ - static createSummaryPos() { - return { top: 200, left: 200 }; - } - /* -------------------------------------------- */ static ready() { - if (!game.user.isGM) { // Uniquement si GM + if (!game.user.isGM) { return } let charSummary = new EcrymeCharacterSummary() @@ -35,100 +54,81 @@ export class EcrymeCharacterSummary extends Application { } /* -------------------------------------------- */ - constructor() { - super(); - //game.settings.set("world", "character-summary-data", {npcList: [], x:0, y:0}) - //this.settings = game.settings.get("world", "character-summary-data") - } - - /* -------------------------------------------- */ - static get defaultOptions() { - return foundry.utils.mergeObject(super.defaultOptions, { - template: "systems/fvtt-ecryme/templates/dialogs/character-summary.hbs", - popOut: true, - resizable: true, - dragDrop: [{ dragSelector: ".items-list .item", dropSelector: null }], - classes: ["bol", "dialog"], width: 920, height: 'fit-content' - }) - } - - /* -------------------------------------------- */ - getData() { - let formData = super.getData(); - - formData.pcs = game.actors.filter(ac => ac.type == "personnage" && ac.hasPlayerOwner) - formData.npcs = [] + async _prepareContext() { + let pcs = game.actors.filter(ac => ac.type == "pc" && ac.hasPlayerOwner) + let npcs = [] let newList = [] let toUpdate = false for (let actorId of this.settings.npcList) { let actor = game.actors.get(actorId) if (actor) { - formData.npcs.push(actor) + npcs.push(actor) newList.push(actorId) } else { toUpdate = true } } - formData.config = game.system.ecryme.config - if (toUpdate) { this.settings.npcList = newList - //console.log("Going to update ...", this.settings) - game.settings.set("world", "character-summary-data", this.settings) + game.settings.set("fvtt-ecryme", "character-summary-data", this.settings) + } + return { + pcs, + npcs, + config: game.system.ecryme.config, } - - return formData } /* -------------------------------------------- */ updateNPC() { - game.settings.set("world", "character-summary-data", game.system.ecryme.charSummary.settings) - game.system.ecryme.charSummary.close() - setTimeout(function () { game.system.ecryme.charSummary.render(true) }, 500) + game.settings.set("fvtt-ecryme", "character-summary-data", this.settings) + this.close() + setTimeout(() => this.render(true), 500) } /* -------------------------------------------- */ - async _onDrop(event) { - //console.log("Dragged data are : ", dragData) - let data = event.dataTransfer.getData('text/plain') - let dataItem = JSON.parse(data) - let actor = fromUuidSync(dataItem.uuid) - if (actor) { - game.system.ecryme.charSummary.settings.npcList.push(actor.id) - game.system.ecryme.charSummary.updateNPC() + _onDragOver(event) { + event.preventDefault() + } + /* -------------------------------------------- */ + _onDrop(event) { + let data + try { data = JSON.parse(event.dataTransfer.getData('text/plain')) } catch(e) { return } + let actor = fromUuidSync(data.uuid) + if (actor) { + this.settings.npcList.push(actor.id) + this.updateNPC() } else { ui.notifications.warn("Pas d'acteur trouvé") } } /* -------------------------------------------- */ - /** @override */ - async activateListeners(html) { - super.activateListeners(html); + _onRender(context, options) { + super._onRender(context, options) + this.element.addEventListener("dragover", this._onDragOver.bind(this)) + this.element.addEventListener("drop", this._onDrop.bind(this)) + } - html.find('.actor-open').click((event) => { - const li = $(event.currentTarget).parents(".item") - const actor = game.actors.get(li.data("actor-id")) - actor.sheet.render(true) - }) + /* -------------------------------------------- */ + static #onActorOpen(event, target) { + const actorId = target.closest("[data-actor-id]").dataset.actorId + game.actors.get(actorId)?.sheet.render(true) + } - html.find('.summary-roll').click((event) => { - const li = $(event.currentTarget).parents(".item") - const actor = game.actors.get(li.data("actor-id")) - let type = $(event.currentTarget).data("type") - let key = $(event.currentTarget).data("key") - actor.rollAttribut(key) - }) - - html.find('.actor-delete').click(event => { - const li = $(event.currentTarget).parents(".item"); - let actorId = li.data("actor-id") - let newList = game.system.ecryme.charSummary.settings.npcList.filter(id => id != actorId) - game.system.ecryme.charSummary.settings.npcList = newList - game.system.ecryme.charSummary.updateNPC() - }) + /* -------------------------------------------- */ + static #onSummaryRoll(event, target) { + const actorId = target.closest("[data-actor-id]").dataset.actorId + const key = target.dataset.key + game.actors.get(actorId)?.rollAttribut(key) + } + /* -------------------------------------------- */ + static #onActorDelete(event, target) { + const actorId = target.closest("[data-actor-id]").dataset.actorId + this.settings.npcList = this.settings.npcList.filter(id => id !== actorId) + this.updateNPC() } } \ No newline at end of file diff --git a/modules/common/ecryme-utility.js b/modules/common/ecryme-utility.js index 428442d..38c044f 100644 --- a/modules/common/ecryme-utility.js +++ b/modules/common/ecryme-utility.js @@ -101,6 +101,13 @@ export class EcrymeUtility { restricted: true }) + game.settings.register("fvtt-ecryme", "character-summary-data", { + scope: 'world', + config: false, + type: Object, + default: { npcList: [] } + }) + this.buildSkillConfig() } diff --git a/packs/equipment/000289.log b/packs/equipment/000293.log similarity index 100% rename from packs/equipment/000289.log rename to packs/equipment/000293.log diff --git a/packs/equipment/CURRENT b/packs/equipment/CURRENT index 3b48cae..15d9120 100644 --- a/packs/equipment/CURRENT +++ b/packs/equipment/CURRENT @@ -1 +1 @@ -MANIFEST-000287 +MANIFEST-000291 diff --git a/packs/equipment/LOG b/packs/equipment/LOG index c6b6808..feb3a33 100644 --- a/packs/equipment/LOG +++ b/packs/equipment/LOG @@ -1,7 +1,7 @@ -2026/02/25-15:53:13.691886 7f821effd6c0 Recovering log #285 -2026/02/25-15:53:13.751659 7f821effd6c0 Delete type=3 #283 -2026/02/25-15:53:13.751724 7f821effd6c0 Delete type=0 #285 -2026/02/25-15:53:35.823463 7f821d8d46c0 Level-0 table #290: started -2026/02/25-15:53:35.823484 7f821d8d46c0 Level-0 table #290: 0 bytes OK -2026/02/25-15:53:35.829592 7f821d8d46c0 Delete type=0 #288 -2026/02/25-15:53:35.836554 7f821d8d46c0 Manual compaction at level-0 from '!folders!1GrTlI1xWvaxdKRI' @ 72057594037927935 : 1 .. '!items!zs7krgXhDRndtqbl' @ 0 : 0; will stop at (end) +2026/02/26-13:35:49.720275 7f821e7fc6c0 Recovering log #289 +2026/02/26-13:35:49.730573 7f821e7fc6c0 Delete type=0 #289 +2026/02/26-13:35:49.730637 7f821e7fc6c0 Delete type=3 #287 +2026/02/26-13:45:04.206270 7f821d8d46c0 Level-0 table #294: started +2026/02/26-13:45:04.206300 7f821d8d46c0 Level-0 table #294: 0 bytes OK +2026/02/26-13:45:04.212252 7f821d8d46c0 Delete type=0 #292 +2026/02/26-13:45:04.225396 7f821d8d46c0 Manual compaction at level-0 from '!folders!1GrTlI1xWvaxdKRI' @ 72057594037927935 : 1 .. '!items!zs7krgXhDRndtqbl' @ 0 : 0; will stop at (end) diff --git a/packs/equipment/LOG.old b/packs/equipment/LOG.old index 50ae24b..c6b6808 100644 --- a/packs/equipment/LOG.old +++ b/packs/equipment/LOG.old @@ -1,7 +1,7 @@ -2026/02/25-15:50:34.600919 7f821f7fe6c0 Recovering log #281 -2026/02/25-15:50:34.610892 7f821f7fe6c0 Delete type=3 #279 -2026/02/25-15:50:34.610949 7f821f7fe6c0 Delete type=0 #281 -2026/02/25-15:50:42.114392 7f821d8d46c0 Level-0 table #286: started -2026/02/25-15:50:42.114447 7f821d8d46c0 Level-0 table #286: 0 bytes OK -2026/02/25-15:50:42.121344 7f821d8d46c0 Delete type=0 #284 -2026/02/25-15:50:42.142455 7f821d8d46c0 Manual compaction at level-0 from '!folders!1GrTlI1xWvaxdKRI' @ 72057594037927935 : 1 .. '!items!zs7krgXhDRndtqbl' @ 0 : 0; will stop at (end) +2026/02/25-15:53:13.691886 7f821effd6c0 Recovering log #285 +2026/02/25-15:53:13.751659 7f821effd6c0 Delete type=3 #283 +2026/02/25-15:53:13.751724 7f821effd6c0 Delete type=0 #285 +2026/02/25-15:53:35.823463 7f821d8d46c0 Level-0 table #290: started +2026/02/25-15:53:35.823484 7f821d8d46c0 Level-0 table #290: 0 bytes OK +2026/02/25-15:53:35.829592 7f821d8d46c0 Delete type=0 #288 +2026/02/25-15:53:35.836554 7f821d8d46c0 Manual compaction at level-0 from '!folders!1GrTlI1xWvaxdKRI' @ 72057594037927935 : 1 .. '!items!zs7krgXhDRndtqbl' @ 0 : 0; will stop at (end) diff --git a/packs/equipment/MANIFEST-000287 b/packs/equipment/MANIFEST-000291 similarity index 71% rename from packs/equipment/MANIFEST-000287 rename to packs/equipment/MANIFEST-000291 index f123870..f71ec9f 100644 Binary files a/packs/equipment/MANIFEST-000287 and b/packs/equipment/MANIFEST-000291 differ diff --git a/packs/help/000226.log b/packs/help/000230.log similarity index 100% rename from packs/help/000226.log rename to packs/help/000230.log diff --git a/packs/help/CURRENT b/packs/help/CURRENT index 4d5019e..0cbc144 100644 --- a/packs/help/CURRENT +++ b/packs/help/CURRENT @@ -1 +1 @@ -MANIFEST-000224 +MANIFEST-000228 diff --git a/packs/help/LOG b/packs/help/LOG index 3cfdb67..138fd31 100644 --- a/packs/help/LOG +++ b/packs/help/LOG @@ -1,8 +1,8 @@ -2026/02/25-15:53:13.932310 7f821ffff6c0 Recovering log #222 -2026/02/25-15:53:13.985670 7f821ffff6c0 Delete type=3 #220 -2026/02/25-15:53:13.985727 7f821ffff6c0 Delete type=0 #222 -2026/02/25-15:53:35.850326 7f821d8d46c0 Level-0 table #227: started -2026/02/25-15:53:35.850379 7f821d8d46c0 Level-0 table #227: 0 bytes OK -2026/02/25-15:53:35.856311 7f821d8d46c0 Delete type=0 #225 -2026/02/25-15:53:35.863092 7f821d8d46c0 Manual compaction at level-0 from '!journal!wooTFYjEwh83FwgT' @ 72057594037927935 : 1 .. '!journal.pages!wooTFYjEwh83FwgT.xhc7hqoL8kdW6lrD' @ 0 : 0; will stop at (end) -2026/02/25-15:53:35.863120 7f821d8d46c0 Manual compaction at level-1 from '!journal!wooTFYjEwh83FwgT' @ 72057594037927935 : 1 .. '!journal.pages!wooTFYjEwh83FwgT.xhc7hqoL8kdW6lrD' @ 0 : 0; will stop at (end) +2026/02/26-13:35:49.774903 7f821ffff6c0 Recovering log #226 +2026/02/26-13:35:49.785514 7f821ffff6c0 Delete type=0 #226 +2026/02/26-13:35:49.785596 7f821ffff6c0 Delete type=3 #224 +2026/02/26-13:45:04.243562 7f821d8d46c0 Level-0 table #231: started +2026/02/26-13:45:04.243597 7f821d8d46c0 Level-0 table #231: 0 bytes OK +2026/02/26-13:45:04.249861 7f821d8d46c0 Delete type=0 #229 +2026/02/26-13:45:04.250001 7f821d8d46c0 Manual compaction at level-0 from '!journal!wooTFYjEwh83FwgT' @ 72057594037927935 : 1 .. '!journal.pages!wooTFYjEwh83FwgT.xhc7hqoL8kdW6lrD' @ 0 : 0; will stop at (end) +2026/02/26-13:45:04.250031 7f821d8d46c0 Manual compaction at level-1 from '!journal!wooTFYjEwh83FwgT' @ 72057594037927935 : 1 .. '!journal.pages!wooTFYjEwh83FwgT.xhc7hqoL8kdW6lrD' @ 0 : 0; will stop at (end) diff --git a/packs/help/LOG.old b/packs/help/LOG.old index 1d496fb..3cfdb67 100644 --- a/packs/help/LOG.old +++ b/packs/help/LOG.old @@ -1,8 +1,8 @@ -2026/02/25-15:50:34.651524 7f821e7fc6c0 Recovering log #218 -2026/02/25-15:50:34.661646 7f821e7fc6c0 Delete type=3 #216 -2026/02/25-15:50:34.661750 7f821e7fc6c0 Delete type=0 #218 -2026/02/25-15:50:42.142608 7f821d8d46c0 Level-0 table #223: started -2026/02/25-15:50:42.142633 7f821d8d46c0 Level-0 table #223: 0 bytes OK -2026/02/25-15:50:42.148721 7f821d8d46c0 Delete type=0 #221 -2026/02/25-15:50:42.168777 7f821d8d46c0 Manual compaction at level-0 from '!journal!wooTFYjEwh83FwgT' @ 72057594037927935 : 1 .. '!journal.pages!wooTFYjEwh83FwgT.xhc7hqoL8kdW6lrD' @ 0 : 0; will stop at (end) -2026/02/25-15:50:42.168835 7f821d8d46c0 Manual compaction at level-1 from '!journal!wooTFYjEwh83FwgT' @ 72057594037927935 : 1 .. '!journal.pages!wooTFYjEwh83FwgT.xhc7hqoL8kdW6lrD' @ 0 : 0; will stop at (end) +2026/02/25-15:53:13.932310 7f821ffff6c0 Recovering log #222 +2026/02/25-15:53:13.985670 7f821ffff6c0 Delete type=3 #220 +2026/02/25-15:53:13.985727 7f821ffff6c0 Delete type=0 #222 +2026/02/25-15:53:35.850326 7f821d8d46c0 Level-0 table #227: started +2026/02/25-15:53:35.850379 7f821d8d46c0 Level-0 table #227: 0 bytes OK +2026/02/25-15:53:35.856311 7f821d8d46c0 Delete type=0 #225 +2026/02/25-15:53:35.863092 7f821d8d46c0 Manual compaction at level-0 from '!journal!wooTFYjEwh83FwgT' @ 72057594037927935 : 1 .. '!journal.pages!wooTFYjEwh83FwgT.xhc7hqoL8kdW6lrD' @ 0 : 0; will stop at (end) +2026/02/25-15:53:35.863120 7f821d8d46c0 Manual compaction at level-1 from '!journal!wooTFYjEwh83FwgT' @ 72057594037927935 : 1 .. '!journal.pages!wooTFYjEwh83FwgT.xhc7hqoL8kdW6lrD' @ 0 : 0; will stop at (end) diff --git a/packs/help/MANIFEST-000224 b/packs/help/MANIFEST-000228 similarity index 56% rename from packs/help/MANIFEST-000224 rename to packs/help/MANIFEST-000228 index b70aee3..bbe9665 100644 Binary files a/packs/help/MANIFEST-000224 and b/packs/help/MANIFEST-000228 differ diff --git a/packs/maneuvers/000289.log b/packs/maneuvers/000293.log similarity index 100% rename from packs/maneuvers/000289.log rename to packs/maneuvers/000293.log diff --git a/packs/maneuvers/CURRENT b/packs/maneuvers/CURRENT index 3b48cae..15d9120 100644 --- a/packs/maneuvers/CURRENT +++ b/packs/maneuvers/CURRENT @@ -1 +1 @@ -MANIFEST-000287 +MANIFEST-000291 diff --git a/packs/maneuvers/LOG b/packs/maneuvers/LOG index 4087598..58160ac 100644 --- a/packs/maneuvers/LOG +++ b/packs/maneuvers/LOG @@ -1,7 +1,7 @@ -2026/02/25-15:53:13.876847 7f821e7fc6c0 Recovering log #285 -2026/02/25-15:53:13.930449 7f821e7fc6c0 Delete type=3 #283 -2026/02/25-15:53:13.930523 7f821e7fc6c0 Delete type=0 #285 -2026/02/25-15:53:35.829708 7f821d8d46c0 Level-0 table #290: started -2026/02/25-15:53:35.829729 7f821d8d46c0 Level-0 table #290: 0 bytes OK -2026/02/25-15:53:35.836306 7f821d8d46c0 Delete type=0 #288 -2026/02/25-15:53:35.836570 7f821d8d46c0 Manual compaction at level-0 from '!items!13IYF6BPUTivFZzB' @ 72057594037927935 : 1 .. '!items!oSutlbe9wyBZccmf' @ 0 : 0; will stop at (end) +2026/02/26-13:35:49.760218 7f821f7fe6c0 Recovering log #289 +2026/02/26-13:35:49.771084 7f821f7fe6c0 Delete type=0 #289 +2026/02/26-13:35:49.771134 7f821f7fe6c0 Delete type=3 #287 +2026/02/26-13:45:04.225531 7f821d8d46c0 Level-0 table #294: started +2026/02/26-13:45:04.225558 7f821d8d46c0 Level-0 table #294: 0 bytes OK +2026/02/26-13:45:04.231385 7f821d8d46c0 Delete type=0 #292 +2026/02/26-13:45:04.249963 7f821d8d46c0 Manual compaction at level-0 from '!items!13IYF6BPUTivFZzB' @ 72057594037927935 : 1 .. '!items!oSutlbe9wyBZccmf' @ 0 : 0; will stop at (end) diff --git a/packs/maneuvers/LOG.old b/packs/maneuvers/LOG.old index add7d93..4087598 100644 --- a/packs/maneuvers/LOG.old +++ b/packs/maneuvers/LOG.old @@ -1,7 +1,7 @@ -2026/02/25-15:50:34.639642 7f821effd6c0 Recovering log #281 -2026/02/25-15:50:34.649510 7f821effd6c0 Delete type=3 #279 -2026/02/25-15:50:34.649589 7f821effd6c0 Delete type=0 #281 -2026/02/25-15:50:42.134887 7f821d8d46c0 Level-0 table #286: started -2026/02/25-15:50:42.134921 7f821d8d46c0 Level-0 table #286: 0 bytes OK -2026/02/25-15:50:42.142305 7f821d8d46c0 Delete type=0 #284 -2026/02/25-15:50:42.142488 7f821d8d46c0 Manual compaction at level-0 from '!items!13IYF6BPUTivFZzB' @ 72057594037927935 : 1 .. '!items!oSutlbe9wyBZccmf' @ 0 : 0; will stop at (end) +2026/02/25-15:53:13.876847 7f821e7fc6c0 Recovering log #285 +2026/02/25-15:53:13.930449 7f821e7fc6c0 Delete type=3 #283 +2026/02/25-15:53:13.930523 7f821e7fc6c0 Delete type=0 #285 +2026/02/25-15:53:35.829708 7f821d8d46c0 Level-0 table #290: started +2026/02/25-15:53:35.829729 7f821d8d46c0 Level-0 table #290: 0 bytes OK +2026/02/25-15:53:35.836306 7f821d8d46c0 Delete type=0 #288 +2026/02/25-15:53:35.836570 7f821d8d46c0 Manual compaction at level-0 from '!items!13IYF6BPUTivFZzB' @ 72057594037927935 : 1 .. '!items!oSutlbe9wyBZccmf' @ 0 : 0; will stop at (end) diff --git a/packs/maneuvers/MANIFEST-000287 b/packs/maneuvers/MANIFEST-000291 similarity index 73% rename from packs/maneuvers/MANIFEST-000287 rename to packs/maneuvers/MANIFEST-000291 index 2de9968..7245e6e 100644 Binary files a/packs/maneuvers/MANIFEST-000287 and b/packs/maneuvers/MANIFEST-000291 differ diff --git a/packs/scenes/000175.log b/packs/scenes/000179.log similarity index 100% rename from packs/scenes/000175.log rename to packs/scenes/000179.log diff --git a/packs/scenes/CURRENT b/packs/scenes/CURRENT index 66eb30a..0e27482 100644 --- a/packs/scenes/CURRENT +++ b/packs/scenes/CURRENT @@ -1 +1 @@ -MANIFEST-000173 +MANIFEST-000177 diff --git a/packs/scenes/LOG b/packs/scenes/LOG index c71b3fb..0ac33a7 100644 --- a/packs/scenes/LOG +++ b/packs/scenes/LOG @@ -1,8 +1,8 @@ -2026/02/25-15:53:13.816260 7f821ffff6c0 Recovering log #171 -2026/02/25-15:53:13.873719 7f821ffff6c0 Delete type=3 #169 -2026/02/25-15:53:13.873802 7f821ffff6c0 Delete type=0 #171 -2026/02/25-15:53:35.810175 7f821d8d46c0 Level-0 table #176: started -2026/02/25-15:53:35.810225 7f821d8d46c0 Level-0 table #176: 0 bytes OK -2026/02/25-15:53:35.817237 7f821d8d46c0 Delete type=0 #174 -2026/02/25-15:53:35.836504 7f821d8d46c0 Manual compaction at level-0 from '!scenes!DDibQQLAvyIq9y09' @ 72057594037927935 : 1 .. '!scenes!zvY1RwBhTfwdZIBa' @ 0 : 0; will stop at (end) -2026/02/25-15:53:35.836580 7f821d8d46c0 Manual compaction at level-1 from '!scenes!DDibQQLAvyIq9y09' @ 72057594037927935 : 1 .. '!scenes!zvY1RwBhTfwdZIBa' @ 0 : 0; will stop at (end) +2026/02/26-13:35:49.748189 7f821e7fc6c0 Recovering log #175 +2026/02/26-13:35:49.757710 7f821e7fc6c0 Delete type=0 #175 +2026/02/26-13:35:49.757752 7f821e7fc6c0 Delete type=3 #173 +2026/02/26-13:45:04.218556 7f821d8d46c0 Level-0 table #180: started +2026/02/26-13:45:04.218583 7f821d8d46c0 Level-0 table #180: 0 bytes OK +2026/02/26-13:45:04.225239 7f821d8d46c0 Delete type=0 #178 +2026/02/26-13:45:04.225420 7f821d8d46c0 Manual compaction at level-0 from '!scenes!DDibQQLAvyIq9y09' @ 72057594037927935 : 1 .. '!scenes!zvY1RwBhTfwdZIBa' @ 0 : 0; will stop at (end) +2026/02/26-13:45:04.225458 7f821d8d46c0 Manual compaction at level-1 from '!scenes!DDibQQLAvyIq9y09' @ 72057594037927935 : 1 .. '!scenes!zvY1RwBhTfwdZIBa' @ 0 : 0; will stop at (end) diff --git a/packs/scenes/LOG.old b/packs/scenes/LOG.old index 742e6e7..c71b3fb 100644 --- a/packs/scenes/LOG.old +++ b/packs/scenes/LOG.old @@ -1,8 +1,8 @@ -2026/02/25-15:50:34.626081 7f821e7fc6c0 Recovering log #167 -2026/02/25-15:50:34.636822 7f821e7fc6c0 Delete type=3 #165 -2026/02/25-15:50:34.636891 7f821e7fc6c0 Delete type=0 #167 -2026/02/25-15:50:42.162300 7f821d8d46c0 Level-0 table #172: started -2026/02/25-15:50:42.162331 7f821d8d46c0 Level-0 table #172: 0 bytes OK -2026/02/25-15:50:42.168591 7f821d8d46c0 Delete type=0 #170 -2026/02/25-15:50:42.168824 7f821d8d46c0 Manual compaction at level-0 from '!scenes!DDibQQLAvyIq9y09' @ 72057594037927935 : 1 .. '!scenes!zvY1RwBhTfwdZIBa' @ 0 : 0; will stop at (end) -2026/02/25-15:50:42.168857 7f821d8d46c0 Manual compaction at level-1 from '!scenes!DDibQQLAvyIq9y09' @ 72057594037927935 : 1 .. '!scenes!zvY1RwBhTfwdZIBa' @ 0 : 0; will stop at (end) +2026/02/25-15:53:13.816260 7f821ffff6c0 Recovering log #171 +2026/02/25-15:53:13.873719 7f821ffff6c0 Delete type=3 #169 +2026/02/25-15:53:13.873802 7f821ffff6c0 Delete type=0 #171 +2026/02/25-15:53:35.810175 7f821d8d46c0 Level-0 table #176: started +2026/02/25-15:53:35.810225 7f821d8d46c0 Level-0 table #176: 0 bytes OK +2026/02/25-15:53:35.817237 7f821d8d46c0 Delete type=0 #174 +2026/02/25-15:53:35.836504 7f821d8d46c0 Manual compaction at level-0 from '!scenes!DDibQQLAvyIq9y09' @ 72057594037927935 : 1 .. '!scenes!zvY1RwBhTfwdZIBa' @ 0 : 0; will stop at (end) +2026/02/25-15:53:35.836580 7f821d8d46c0 Manual compaction at level-1 from '!scenes!DDibQQLAvyIq9y09' @ 72057594037927935 : 1 .. '!scenes!zvY1RwBhTfwdZIBa' @ 0 : 0; will stop at (end) diff --git a/packs/scenes/MANIFEST-000173 b/packs/scenes/MANIFEST-000177 similarity index 60% rename from packs/scenes/MANIFEST-000173 rename to packs/scenes/MANIFEST-000177 index ca50c13..754459e 100644 Binary files a/packs/scenes/MANIFEST-000173 and b/packs/scenes/MANIFEST-000177 differ diff --git a/packs/specialisation/000289.log b/packs/specialisation/000293.log similarity index 100% rename from packs/specialisation/000289.log rename to packs/specialisation/000293.log diff --git a/packs/specialisation/CURRENT b/packs/specialisation/CURRENT index 3b48cae..15d9120 100644 --- a/packs/specialisation/CURRENT +++ b/packs/specialisation/CURRENT @@ -1 +1 @@ -MANIFEST-000287 +MANIFEST-000291 diff --git a/packs/specialisation/LOG b/packs/specialisation/LOG index b16678e..10c8010 100644 --- a/packs/specialisation/LOG +++ b/packs/specialisation/LOG @@ -1,7 +1,7 @@ -2026/02/25-15:53:13.612255 7f821ffff6c0 Recovering log #285 -2026/02/25-15:53:13.689314 7f821ffff6c0 Delete type=3 #283 -2026/02/25-15:53:13.689394 7f821ffff6c0 Delete type=0 #285 -2026/02/25-15:53:35.836645 7f821d8d46c0 Level-0 table #290: started -2026/02/25-15:53:35.836668 7f821d8d46c0 Level-0 table #290: 0 bytes OK -2026/02/25-15:53:35.843158 7f821d8d46c0 Delete type=0 #288 -2026/02/25-15:53:35.863066 7f821d8d46c0 Manual compaction at level-0 from '!folders!00Hn2nNarlL7b0DR' @ 72057594037927935 : 1 .. '!items!yozTUjNuc2rEGjFK' @ 0 : 0; will stop at (end) +2026/02/26-13:35:49.707150 7f821ffff6c0 Recovering log #289 +2026/02/26-13:35:49.716871 7f821ffff6c0 Delete type=0 #289 +2026/02/26-13:35:49.716971 7f821ffff6c0 Delete type=3 #287 +2026/02/26-13:45:04.212361 7f821d8d46c0 Level-0 table #294: started +2026/02/26-13:45:04.212394 7f821d8d46c0 Level-0 table #294: 0 bytes OK +2026/02/26-13:45:04.218471 7f821d8d46c0 Delete type=0 #292 +2026/02/26-13:45:04.225409 7f821d8d46c0 Manual compaction at level-0 from '!folders!00Hn2nNarlL7b0DR' @ 72057594037927935 : 1 .. '!items!yozTUjNuc2rEGjFK' @ 0 : 0; will stop at (end) diff --git a/packs/specialisation/LOG.old b/packs/specialisation/LOG.old index 5ab5b9c..b16678e 100644 --- a/packs/specialisation/LOG.old +++ b/packs/specialisation/LOG.old @@ -1,7 +1,7 @@ -2026/02/25-15:50:34.587424 7f821e7fc6c0 Recovering log #281 -2026/02/25-15:50:34.597587 7f821e7fc6c0 Delete type=3 #279 -2026/02/25-15:50:34.597685 7f821e7fc6c0 Delete type=0 #281 -2026/02/25-15:50:42.121525 7f821d8d46c0 Level-0 table #286: started -2026/02/25-15:50:42.121550 7f821d8d46c0 Level-0 table #286: 0 bytes OK -2026/02/25-15:50:42.128357 7f821d8d46c0 Delete type=0 #284 -2026/02/25-15:50:42.142466 7f821d8d46c0 Manual compaction at level-0 from '!folders!00Hn2nNarlL7b0DR' @ 72057594037927935 : 1 .. '!items!yozTUjNuc2rEGjFK' @ 0 : 0; will stop at (end) +2026/02/25-15:53:13.612255 7f821ffff6c0 Recovering log #285 +2026/02/25-15:53:13.689314 7f821ffff6c0 Delete type=3 #283 +2026/02/25-15:53:13.689394 7f821ffff6c0 Delete type=0 #285 +2026/02/25-15:53:35.836645 7f821d8d46c0 Level-0 table #290: started +2026/02/25-15:53:35.836668 7f821d8d46c0 Level-0 table #290: 0 bytes OK +2026/02/25-15:53:35.843158 7f821d8d46c0 Delete type=0 #288 +2026/02/25-15:53:35.863066 7f821d8d46c0 Manual compaction at level-0 from '!folders!00Hn2nNarlL7b0DR' @ 72057594037927935 : 1 .. '!items!yozTUjNuc2rEGjFK' @ 0 : 0; will stop at (end) diff --git a/packs/specialisation/MANIFEST-000287 b/packs/specialisation/MANIFEST-000291 similarity index 71% rename from packs/specialisation/MANIFEST-000287 rename to packs/specialisation/MANIFEST-000291 index ae15f3f..ade63ab 100644 Binary files a/packs/specialisation/MANIFEST-000287 and b/packs/specialisation/MANIFEST-000291 differ diff --git a/packs/traits/000289.log b/packs/traits/000293.log similarity index 100% rename from packs/traits/000289.log rename to packs/traits/000293.log diff --git a/packs/traits/CURRENT b/packs/traits/CURRENT index 3b48cae..15d9120 100644 --- a/packs/traits/CURRENT +++ b/packs/traits/CURRENT @@ -1 +1 @@ -MANIFEST-000287 +MANIFEST-000291 diff --git a/packs/traits/LOG b/packs/traits/LOG index 049ee90..8eaf15c 100644 --- a/packs/traits/LOG +++ b/packs/traits/LOG @@ -1,7 +1,7 @@ -2026/02/25-15:53:13.754329 7f821e7fc6c0 Recovering log #285 -2026/02/25-15:53:13.814025 7f821e7fc6c0 Delete type=3 #283 -2026/02/25-15:53:13.814092 7f821e7fc6c0 Delete type=0 #285 -2026/02/25-15:53:35.817353 7f821d8d46c0 Level-0 table #290: started -2026/02/25-15:53:35.817380 7f821d8d46c0 Level-0 table #290: 0 bytes OK -2026/02/25-15:53:35.823347 7f821d8d46c0 Delete type=0 #288 -2026/02/25-15:53:35.836533 7f821d8d46c0 Manual compaction at level-0 from '!folders!DiwHbtGAkTYxtshX' @ 72057594037927935 : 1 .. '!items!zgNI2haxhBxBDBdl' @ 0 : 0; will stop at (end) +2026/02/26-13:35:49.734045 7f821f7fe6c0 Recovering log #289 +2026/02/26-13:35:49.744259 7f821f7fe6c0 Delete type=0 #289 +2026/02/26-13:35:49.744317 7f821f7fe6c0 Delete type=3 #287 +2026/02/26-13:45:04.200106 7f821d8d46c0 Level-0 table #294: started +2026/02/26-13:45:04.200155 7f821d8d46c0 Level-0 table #294: 0 bytes OK +2026/02/26-13:45:04.206134 7f821d8d46c0 Delete type=0 #292 +2026/02/26-13:45:04.225380 7f821d8d46c0 Manual compaction at level-0 from '!folders!DiwHbtGAkTYxtshX' @ 72057594037927935 : 1 .. '!items!zgNI2haxhBxBDBdl' @ 0 : 0; will stop at (end) diff --git a/packs/traits/LOG.old b/packs/traits/LOG.old index e148c38..049ee90 100644 --- a/packs/traits/LOG.old +++ b/packs/traits/LOG.old @@ -1,7 +1,7 @@ -2026/02/25-15:50:34.614119 7f821ffff6c0 Recovering log #281 -2026/02/25-15:50:34.623965 7f821ffff6c0 Delete type=3 #279 -2026/02/25-15:50:34.624023 7f821ffff6c0 Delete type=0 #281 -2026/02/25-15:50:42.128491 7f821d8d46c0 Level-0 table #286: started -2026/02/25-15:50:42.128510 7f821d8d46c0 Level-0 table #286: 0 bytes OK -2026/02/25-15:50:42.134699 7f821d8d46c0 Delete type=0 #284 -2026/02/25-15:50:42.142479 7f821d8d46c0 Manual compaction at level-0 from '!folders!DiwHbtGAkTYxtshX' @ 72057594037927935 : 1 .. '!items!zgNI2haxhBxBDBdl' @ 0 : 0; will stop at (end) +2026/02/25-15:53:13.754329 7f821e7fc6c0 Recovering log #285 +2026/02/25-15:53:13.814025 7f821e7fc6c0 Delete type=3 #283 +2026/02/25-15:53:13.814092 7f821e7fc6c0 Delete type=0 #285 +2026/02/25-15:53:35.817353 7f821d8d46c0 Level-0 table #290: started +2026/02/25-15:53:35.817380 7f821d8d46c0 Level-0 table #290: 0 bytes OK +2026/02/25-15:53:35.823347 7f821d8d46c0 Delete type=0 #288 +2026/02/25-15:53:35.836533 7f821d8d46c0 Manual compaction at level-0 from '!folders!DiwHbtGAkTYxtshX' @ 72057594037927935 : 1 .. '!items!zgNI2haxhBxBDBdl' @ 0 : 0; will stop at (end) diff --git a/packs/traits/MANIFEST-000287 b/packs/traits/MANIFEST-000291 similarity index 72% rename from packs/traits/MANIFEST-000287 rename to packs/traits/MANIFEST-000291 index 0ed1931..4c0f005 100644 Binary files a/packs/traits/MANIFEST-000287 and b/packs/traits/MANIFEST-000291 differ diff --git a/templates/dialogs/character-summary.hbs b/templates/dialogs/character-summary.hbs index 8dd88c7..ef782ce 100644 --- a/templates/dialogs/character-summary.hbs +++ b/templates/dialogs/character-summary.hbs @@ -17,24 +17,24 @@ {{#each pcs as |pc key|}}
  • - {{pc.name}} + {{pc.name}}
    {{#each pc.system.attributs as |attr key|}}
    - {{attr.value}} + {{attr.value}}
    {{/each}}
    - {{pc.system.pointdestin}} + {{pc.system.pointdestin}}
    - {{pc.system.fluide}} + {{pc.system.fluide}}
    - {{pc.system.mpmb}} + {{pc.system.mpmb}}
    - {{pc.system.mpmn}} + {{pc.system.mpmn}}
  • @@ -55,28 +55,28 @@ {{#each npcs as |pc key|}}
  • - {{pc.name}} + {{pc.name}}
    {{#each pc.system.attributs as |attr key|}}
    - {{attr.value}} + {{attr.value}}
    {{/each}}
    - {{pc.system.pointdestin}} + {{pc.system.pointdestin}}
    - {{pc.system.fluide}} + {{pc.system.fluide}}
    - {{pc.system.mpmb}} + {{pc.system.mpmb}}
    - {{pc.system.mpmn}} + {{pc.system.mpmn}}
    - +
  • {{/each}}