Compare commits

...

3 Commits

Author SHA1 Message Date
51a457ebf6 Foundry v13 migration 2025-05-02 08:34:22 +02:00
2e9c558027 Ajout arts obscurs 2024-11-17 22:46:52 +01:00
bcd0758328 Ajout arts obscurs 2024-11-17 22:45:48 +01:00
102 changed files with 717 additions and 292 deletions

BIN
assets/icons/sort.webp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 88 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.4 KiB

View File

@@ -17,7 +17,8 @@
"fee": "Fée", "fee": "Fée",
"pouvoir": "Pouvoir", "pouvoir": "Pouvoir",
"profil": "Profil", "profil": "Profil",
"protection": "Protection" "protection": "Protection",
"sort": "Sort"
} }
} }
} }

View File

@@ -6,7 +6,7 @@
import { HeritiersUtility } from "./heritiers-utility.js"; import { HeritiersUtility } from "./heritiers-utility.js";
/* -------------------------------------------- */ /* -------------------------------------------- */
export class HeritiersActorSheet extends ActorSheet { export class HeritiersActorSheet extends foundry.appv1.sheets.ActorSheet {
/** @override */ /** @override */
static get defaultOptions() { static get defaultOptions() {
@@ -57,12 +57,13 @@ export class HeritiersActorSheet extends ActorSheet {
pvMalus: this.actor.getPvMalus(), pvMalus: this.actor.getPvMalus(),
heritage: game.settings.get("fvtt-les-heritiers", "heritiers-heritage"), heritage: game.settings.get("fvtt-les-heritiers", "heritiers-heritage"),
initiative: this.actor.getFlag("world", "last-initiative") || -1, initiative: this.actor.getFlag("world", "last-initiative") || -1,
description: await TextEditor.enrichHTML(this.object.system.biodata.description, {async: true}), description: await foundry.applications.ux.TextEditor.implementation.enrichHTML(this.object.system.biodata.description, {async: true}),
revesetranges: await TextEditor.enrichHTML(this.object.system.biodata.revesetranges, {async: true}), revesetranges: await foundry.applications.ux.TextEditor.implementation.enrichHTML(this.object.system.biodata.revesetranges, {async: true}),
secretsdecouverts: await TextEditor.enrichHTML(this.object.system.biodata.secretsdecouverts, {async: true}), secretsdecouverts: await foundry.applications.ux.TextEditor.implementation.enrichHTML(this.object.system.biodata.secretsdecouverts, {async: true}),
questions: await TextEditor.enrichHTML(this.object.system.biodata.questions, {async: true}), questions: await foundry.applications.ux.TextEditor.implementation.enrichHTML(this.object.system.biodata.questions, {async: true}),
habitat: await TextEditor.enrichHTML(this.object.system.biodata.habitat, {async: true}), habitat: await foundry.applications.ux.TextEditor.implementation.enrichHTML(this.object.system.biodata.habitat, {async: true}),
playernotes: await TextEditor.enrichHTML(this.object.system.biodata.playernotes, {async: true}), playernotes: await foundry.applications.ux.TextEditor.implementation.enrichHTML(this.object.system.biodata.playernotes, {async: true}),
magieList: this.actor.prepareMagie(),
options: this.options, options: this.options,
owner: this.document.isOwner, owner: this.document.isOwner,
editScore: this.options.editScore, editScore: this.options.editScore,
@@ -177,6 +178,11 @@ export class HeritiersActorSheet extends ActorSheet {
let compId = li.data("item-id") let compId = li.data("item-id")
this.actor.rollCompetence(compId) this.actor.rollCompetence(compId)
}) })
html.find('.roll-sort').click((event) => {
const li = $(event.currentTarget).parents(".item")
let sortId = li.data("item-id")
this.actor.rollSort(sortId)
})
html.find('.roll-attaque-arme').click((event) => { html.find('.roll-attaque-arme').click((event) => {
const li = $(event.currentTarget).parents(".item") const li = $(event.currentTarget).parents(".item")
let armeId = li.data("item-id") let armeId = li.data("item-id")

View File

@@ -41,7 +41,7 @@ export class HeritiersActor extends Actor {
const skills = await HeritiersUtility.loadCompendium("fvtt-les-heritiers.competences") const skills = await HeritiersUtility.loadCompendium("fvtt-les-heritiers.competences")
data.items = [] data.items = []
for (let skill of skills) { for (let skill of skills) {
if (skill.system.categorie == "utile") { if (skill.system.categorie == "utile" && skill.system.profil != "magie") {
data.items.push(skill.toObject()) data.items.push(skill.toObject())
} }
} }
@@ -146,6 +146,38 @@ export class HeritiersActor extends Actor {
HeritiersUtility.sortArrayObjectsByName(pouvoirs) HeritiersUtility.sortArrayObjectsByName(pouvoirs)
return pouvoirs return pouvoirs
} }
getSorts() {
return this.getItemSorted(["sort"])
}
getCompetencesMagie() {
let comp = []
for (let item of this.items) {
if (item.type == "competence" && item.system.profil == "magie") {
let itemObj = foundry.utils.duplicate(item)
comp.push(itemObj)
}
}
HeritiersUtility.sortArrayObjectsByName(comp)
return comp
}
prepareMagie() {
let magieList = []
for (let item of this.items) {
if (item.type == "competence" && item.system.profil == "magie") {
let magie = {}
magie.name = item.name
magie.competence = foundry.utils.duplicate(item)
magie.sorts = []
for (let sort of this.items) {
if (sort.type == "sort" && sort.system.competence == item.name) {
magie.sorts.push(sort)
}
}
magieList.push(magie)
}
}
return magieList
}
/* -------------------------------------------- */ /* -------------------------------------------- */
getSkills() { getSkills() {
@@ -258,12 +290,37 @@ export class HeritiersActor extends Actor {
/* -------------------------------------------- */ /* -------------------------------------------- */
async prepareData() { async prepareData() {
super.prepareData();
let pvMax = (this.system.caracteristiques.con.rang * 3) + 9 + this.system.pv.mod let pvMax = (this.system.caracteristiques.con.rang * 3) + 9 + this.system.pv.mod
if (this.system.pv.max != pvMax) { if (this.system.pv.max != pvMax) {
this.update({ 'system.pv.max': pvMax }) this.update({ 'system.pv.max': pvMax })
} }
if (this.system.biodata.magie || this.type == "pnj") {
let pointsAmes = this.system.caracteristiques.esp.rang + this.system.caracteristiques.san.rang + this.getMaxRangMagie()
if (this.system.magie.pointsame.max != pointsAmes) {
this.update({ 'system.magie.pointsame.max': pointsAmes })
}
}
super.prepareData();
}
/* -------------------------------------------- */
getMaxRangMagie() {
let niv = 0
let bestMagie
for (let comp of this.items) {
if (comp.type == "competence" && comp.system.profil == "magie") {
if (comp.system.niveau > niv) {
bestMagie = comp
niv = comp.system.niveau
}
}
}
if (bestMagie) {
return Math.round(bestMagie.system.niveau / 2)
}
return 0
} }
/* -------------------------------------------- */ /* -------------------------------------------- */
@@ -627,6 +684,26 @@ export class HeritiersActor extends Actor {
rollDialog.render(true) rollDialog.render(true)
} }
/* -------------------------------------------- */
async rollSort(sortId) {
let sort = this.items.get(sortId)
let comp = this.items.find(it => it.type =="competence" && it.name.toLowerCase() == sort.system.competence.toLowerCase())
if (!comp) {
ui.notifications.warn("Compétence de magie associée non trouvée !")
return
}
let rollData = this.getCommonRollData(comp.id)
rollData.mode = "sort"
rollData.sort = foundry.utils.duplicate(sort)
rollData.sdValue = HeritiersUtility.getSDSortValue(sort.system.niveau)
rollData.sortPointsAme = sort.system.niveau
rollData.caracKey = sort.system.carac
console.log("RollData", rollData)
let rollDialog = await HeritiersRollDialog.create(this, rollData)
rollDialog.render(true)
}
/* -------------------------------------------- */ /* -------------------------------------------- */
async rollAttaqueArme(armeId) { async rollAttaqueArme(armeId) {
let arme = this.items.get(armeId) let arme = this.items.get(armeId)
@@ -727,7 +804,7 @@ export class HeritiersActor extends Actor {
callback: () => { callback: () => {
rollData.pouvoirPointsUsage = 1; rollData.pouvoirPointsUsage = 1;
HeritiersUtility.rollHeritiers(rollData); HeritiersUtility.rollHeritiers(rollData);
} }
}, },
two: { two: {
icon: '<i class="fas fa-check"></i>', icon: '<i class="fas fa-check"></i>',
@@ -735,7 +812,7 @@ export class HeritiersActor extends Actor {
callback: () => { callback: () => {
rollData.pouvoirPointsUsage = 2; rollData.pouvoirPointsUsage = 2;
HeritiersUtility.rollHeritiers(rollData); HeritiersUtility.rollHeritiers(rollData);
} }
}, },
three: { three: {
icon: '<i class="fas fa-check"></i>', icon: '<i class="fas fa-check"></i>',
@@ -743,7 +820,7 @@ export class HeritiersActor extends Actor {
callback: () => { callback: () => {
rollData.pouvoirPointsUsage = 3; rollData.pouvoirPointsUsage = 3;
HeritiersUtility.rollHeritiers(rollData); HeritiersUtility.rollHeritiers(rollData);
} }
}, },
four: { four: {
icon: '<i class="fas fa-check"></i>', icon: '<i class="fas fa-check"></i>',
@@ -751,13 +828,13 @@ export class HeritiersActor extends Actor {
callback: () => { callback: () => {
rollData.pouvoirPointsUsage = 4; rollData.pouvoirPointsUsage = 4;
HeritiersUtility.rollHeritiers(rollData); HeritiersUtility.rollHeritiers(rollData);
} }
}, },
close: { close: {
icon: '<i class="fas fa-times"></i>', icon: '<i class="fas fa-times"></i>',
label: "Annuler", label: "Annuler",
callback: () => { callback: () => {
} }
} }
}, },
default: "one", default: "one",
@@ -788,7 +865,7 @@ export class HeritiersActor extends Actor {
if (pouvoir.system.istest && !pouvoir.system.carac) { if (pouvoir.system.istest && !pouvoir.system.carac) {
ui.notifications.warn("Le pouvoir actif " + pouvoir.name + " n'a pas de caractéristique associée") ui.notifications.warn("Le pouvoir actif " + pouvoir.name + " n'a pas de caractéristique associée")
} }
if ( pouvoir.system.istest) { if (pouvoir.system.istest) {
rollData.carac = foundry.utils.duplicate(this.system.caracteristiques[pouvoir.system.carac]) rollData.carac = foundry.utils.duplicate(this.system.caracteristiques[pouvoir.system.carac])
rollData.caracKey = pouvoir.system.carac rollData.caracKey = pouvoir.system.carac
} else { } else {

View File

@@ -30,7 +30,8 @@ export const HERITIERS_CONFIG = {
"combattant": {kind: "physical",name:"Combattant"}, "combattant": {kind: "physical",name:"Combattant"},
"erudit": {kind: "mental",name:"Erudit"}, "erudit": {kind: "mental",name:"Erudit"},
"savant": {kind: "mental",name:"Savant"}, "savant": {kind: "mental",name:"Savant"},
"gentleman": {kind: "mental",name:"Gentleman"} "gentleman": {kind: "mental",name:"Gentleman"},
"magie": {kind: "magical", name: "Magie"},
}, },
baseTestPouvoir: { baseTestPouvoir: {
"feerie": "Féerie", "feerie": "Féerie",
@@ -193,6 +194,12 @@ export const HERITIERS_CONFIG = {
{value: "5", label: "+5"}, {value: "5", label: "+5"},
{value: "6", label: "+6"} {value: "6", label: "+6"}
], ],
listNiveauSort: {
"1" : "1",
"2" : "2",
"3" : "3",
"4" : "4"
},
listNiveau: { listNiveau: {
"0": "0", "0": "0",
"1": "1", "1": "1",

View File

@@ -4,7 +4,7 @@ import { HeritiersUtility } from "./heritiers-utility.js";
* Extend the basic ItemSheet with some very simple modifications * Extend the basic ItemSheet with some very simple modifications
* @extends {ItemSheet} * @extends {ItemSheet}
*/ */
export class HeritiersItemSheet extends ItemSheet { export class HeritiersItemSheet extends foundry.appv1.sheets.ItemSheet {
/** @override */ /** @override */
static get defaultOptions() { static get defaultOptions() {
@@ -63,7 +63,7 @@ export class HeritiersItemSheet extends ItemSheet {
owner: this.document.isOwner, owner: this.document.isOwner,
config: game.system.lesheritiers.config, config: game.system.lesheritiers.config,
isArmeMelee: HeritiersUtility.isArmeMelee(this.object), isArmeMelee: HeritiersUtility.isArmeMelee(this.object),
description: await TextEditor.enrichHTML(this.object.system.description, {async: true}), description: await foundry.applications.ux.TextEditor.implementation.enrichHTML(this.object.system.description, {async: true}),
mr: (this.object.type == 'specialisation'), mr: (this.object.type == 'specialisation'),
isGM: game.user.isGM, isGM: game.user.isGM,
usageMax: -1 usageMax: -1
@@ -76,6 +76,10 @@ export class HeritiersItemSheet extends ItemSheet {
this.object.system.pointsusagecourant = formData.usageMax this.object.system.pointsusagecourant = formData.usageMax
} }
} }
if (this.object.type == 'sort' ) {
formData.competencesMagie = HeritiersUtility.getCompetencesMagie()
}
//this.options.editable = !(this.object.origin == "embeddedItem"); //this.options.editable = !(this.object.origin == "embeddedItem");
console.log("ITEM DATA", formData, this); console.log("ITEM DATA", formData, this);

View File

@@ -18,6 +18,7 @@ export const defaultItemImg = {
fee: "systems/fvtt-les-heritiers/assets/icons/faery_type.webp", fee: "systems/fvtt-les-heritiers/assets/icons/faery_type.webp",
profil: "systems/fvtt-les-heritiers/assets/icons/profil.webp", profil: "systems/fvtt-les-heritiers/assets/icons/profil.webp",
equipement: "systems/fvtt-les-heritiers/assets/icons/equipement.webp", equipement: "systems/fvtt-les-heritiers/assets/icons/equipement.webp",
sort: "systems/fvtt-les-heritiers/assets/icons/sort.webp",
} }
/** /**

View File

@@ -55,12 +55,12 @@ Hooks.once("init", async function () {
/* -------------------------------------------- */ /* -------------------------------------------- */
// Register sheet application classes // Register sheet application classes
Actors.unregisterSheet("core", ActorSheet); foundry.documents.collections.Actors.unregisterSheet("core", foundry.appv1.sheets.ActorSheet);
Actors.registerSheet("fvtt-les-heritiers", HeritiersActorSheet, { types: ["personnage"], makeDefault: true }) foundry.documents.collections.Actors.registerSheet("fvtt-les-heritiers", HeritiersActorSheet, { types: ["personnage"], makeDefault: true })
Actors.registerSheet("fvtt-les-heritiers", HeritiersActorPNJSheet, { types: ["pnj"], makeDefault: true }) foundry.documents.collections.Actors.registerSheet("fvtt-les-heritiers", HeritiersActorPNJSheet, { types: ["pnj"], makeDefault: true })
Items.unregisterSheet("core", ItemSheet); foundry.documents.collections.Items.unregisterSheet("core", foundry.appv1.sheets.ItemSheet);
Items.registerSheet("fvtt-les-heritiers", HeritiersItemSheet, { makeDefault: true }) foundry.documents.collections.Items.registerSheet("fvtt-les-heritiers", HeritiersItemSheet, { makeDefault: true })
HeritiersUtility.init() HeritiersUtility.init()
@@ -131,4 +131,3 @@ Hooks.on("chatMessage", (html, content, msg) => {
} }
return true; return true;
}); });

View File

@@ -6,7 +6,7 @@ export class HeritiersRollDialog extends Dialog {
static async create(actor, rollData) { static async create(actor, rollData) {
let options = { classes: ["HeritiersDialog"], width: 420, height: 'fit-content', 'z-index': 99999 }; let options = { classes: ["HeritiersDialog"], width: 420, height: 'fit-content', 'z-index': 99999 };
let html = await renderTemplate('systems/fvtt-les-heritiers/templates/roll-dialog-generic.html', rollData); let html = await foundry.applications.handlebars.renderTemplate('systems/fvtt-les-heritiers/templates/roll-dialog-generic.html', rollData);
return new HeritiersRollDialog(actor, rollData, html, options); return new HeritiersRollDialog(actor, rollData, html, options);
} }
@@ -109,7 +109,6 @@ export class HeritiersRollDialog extends Dialog {
activateListeners(html) { activateListeners(html) {
super.activateListeners(html); super.activateListeners(html);
var dialog = this;
function onLoad() { function onLoad() {
} }
$(function () { onLoad(); }); $(function () { onLoad(); });

View File

@@ -48,7 +48,7 @@ export class HeritiersUtility {
/* -------------------------------------------- */ /* -------------------------------------------- */
static async init() { static async init() {
Hooks.on('renderChatLog', (log, html, data) => HeritiersUtility.chatListeners(html)) Hooks.on('renderChatLog', (log, html, data) => HeritiersUtility.chatListeners(html))
Hooks.on("getChatLogEntryContext", (html, options) => HeritiersUtility.chatRollMenu(html, options)) /* Unused for Heitiers : Hooks.on("getChatMessageContextOptions", (html, options) => HeritiersUtility.chatRollMenu(html, options))*/
this.rollDataStore = {} this.rollDataStore = {}
this.defenderStore = {} this.defenderStore = {}
@@ -104,6 +104,8 @@ export class HeritiersUtility {
const skills = await HeritiersUtility.loadCompendium("fvtt-les-heritiers.competences") const skills = await HeritiersUtility.loadCompendium("fvtt-les-heritiers.competences")
this.skills = skills.map(i => i.toObject()) this.skills = skills.map(i => i.toObject())
this.competencesMagie = this.skills.filter(s => s.system.profil == "magie")
game.settings.register("fvtt-les-heritiers", "heritiers-heritage", { game.settings.register("fvtt-les-heritiers", "heritiers-heritage", {
name: "Points d'héritage", name: "Points d'héritage",
hint: "Points d'héritage du groupe", hint: "Points d'héritage du groupe",
@@ -114,6 +116,19 @@ export class HeritiersUtility {
}) })
} }
/* -------------------------------------------- */
static getSDSortValue(niveau) {
if (niveau <= 2) return 12;
if (niveau <= 4) return 14;
if (niveau <= 6) return 16;
return 18;
}
/* -------------------------------------------- */
static getCompetencesMagie() {
return this.competencesMagie
}
/* -------------------------------------------- */ /* -------------------------------------------- */
static async loadCompendiumData(compendium) { static async loadCompendiumData(compendium) {
const pack = game.packs.get(compendium); const pack = game.packs.get(compendium);
@@ -133,7 +148,7 @@ export class HeritiersUtility {
/* -------------------------------------------- */ /* -------------------------------------------- */
static async chatListeners(html) { static async chatListeners(html) {
html.on("click", '.predilection-reroll', async event => { $(html).on("click", '.predilection-reroll', async event => {
let predIdx = $(event.currentTarget).data("predilection-index") let predIdx = $(event.currentTarget).data("predilection-index")
let messageId = HeritiersUtility.findChatMessageId(event.currentTarget) let messageId = HeritiersUtility.findChatMessageId(event.currentTarget)
let message = game.messages.get(messageId) let message = game.messages.get(messageId)
@@ -144,7 +159,7 @@ export class HeritiersUtility {
HeritiersUtility.rollHeritiers(rollData) HeritiersUtility.rollHeritiers(rollData)
}) })
html.on("click", '.roll-tricherie-2', async event => { $(html).on("click", '.roll-tricherie-2', async event => {
let messageId = HeritiersUtility.findChatMessageId(event.currentTarget) let messageId = HeritiersUtility.findChatMessageId(event.currentTarget)
let message = game.messages.get(messageId) let message = game.messages.get(messageId)
let rollData = message.getFlag("world", "heritiers-roll") let rollData = message.getFlag("world", "heritiers-roll")
@@ -155,7 +170,7 @@ export class HeritiersUtility {
} }
}) })
html.on("click", '.roll-chat-degat', async event => { $(html).on("click", '.roll-chat-degat', async event => {
let messageId = HeritiersUtility.findChatMessageId(event.currentTarget) let messageId = HeritiersUtility.findChatMessageId(event.currentTarget)
let message = game.messages.get(messageId) let message = game.messages.get(messageId)
let rollData = message.getFlag("world", "heritiers-roll") let rollData = message.getFlag("world", "heritiers-roll")
@@ -174,7 +189,7 @@ export class HeritiersUtility {
'systems/fvtt-les-heritiers/templates/partial-item-nav.html', 'systems/fvtt-les-heritiers/templates/partial-item-nav.html',
'systems/fvtt-les-heritiers/templates/partial-utile-skills.html' 'systems/fvtt-les-heritiers/templates/partial-utile-skills.html'
] ]
return loadTemplates(templatePaths); return foundry.applications.handlebars.loadTemplates(templatePaths);
} }
/* -------------------------------------------- */ /* -------------------------------------------- */
@@ -450,7 +465,7 @@ export class HeritiersUtility {
this.computeArmeDegats(rollData, actor) this.computeArmeDegats(rollData, actor)
} }
this.createChatWithRollMode(rollData.alias, { this.createChatWithRollMode(rollData.alias, {
content: await renderTemplate(`systems/fvtt-les-heritiers/templates/chat-cc-result.html`, rollData) content: await foundry.applications.handlebars.renderTemplate(`systems/fvtt-les-heritiers/templates/chat-cc-result.html`, rollData)
}, rollData, "selfroll") }, rollData, "selfroll")
} }
/* -------------------------------------------- */ /* -------------------------------------------- */
@@ -462,7 +477,7 @@ export class HeritiersUtility {
this.computeMarge(rollData, valeurDefense) this.computeMarge(rollData, valeurDefense)
rollData.dureeAssommer = (rollData.marge) ? rollData.marge * 2 : 1 rollData.dureeAssommer = (rollData.marge) ? rollData.marge * 2 : 1
this.createChatWithRollMode(rollData.alias, { this.createChatWithRollMode(rollData.alias, {
content: await renderTemplate(`systems/fvtt-les-heritiers/templates/chat-assommer-result.html`, rollData) content: await foundry.applications.handlebars.renderTemplate(`systems/fvtt-les-heritiers/templates/chat-assommer-result.html`, rollData)
}, rollData, "selfroll") }, rollData, "selfroll")
} }
/* -------------------------------------------- */ /* -------------------------------------------- */
@@ -554,7 +569,7 @@ export class HeritiersUtility {
} }
this.createChatWithRollMode(rollData.alias, { this.createChatWithRollMode(rollData.alias, {
content: await renderTemplate(`systems/fvtt-les-heritiers/templates/chat-generic-result.html`, rollData) content: await foundry.applications.handlebars.renderTemplate(`systems/fvtt-les-heritiers/templates/chat-generic-result.html`, rollData)
}, rollData) }, rollData)
// Gestion attaque standard // Gestion attaque standard
@@ -592,7 +607,7 @@ export class HeritiersUtility {
this.computeResult(rollData) this.computeResult(rollData)
this.createChatWithRollMode(rollData.alias, { this.createChatWithRollMode(rollData.alias, {
content: await renderTemplate(`systems/fvtt-les-heritiers/templates/chat-generic-result.html`, rollData) content: await foundry.applications.handlebars.renderTemplate(`systems/fvtt-les-heritiers/templates/chat-generic-result.html`, rollData)
}, rollData) }, rollData)
} }
@@ -765,13 +780,13 @@ export class HeritiersUtility {
static chatRollMenu(html, options) { static chatRollMenu(html, options) {
let canApply = li => canvas.tokens.controlled.length && li.find(".heritiers-roll").length let canApply = li => canvas.tokens.controlled.length && li.find(".heritiers-roll").length
let canApplyBA = function (li) { let canApplyBA = function (li) {
let message = game.messages.get(li.attr("data-message-id")) let message = game.messages.get($(li).attr("data-message-id"))
let rollData = message.getFlag("world", "heritiers-roll") let rollData = message.getFlag("world", "heritiers-roll")
let actor = this.getActorFromRollData(rollData) let actor = this.getActorFromRollData(rollData)
return (!rollData.isReroll && actor.getBonneAventure() > 0) return (!rollData.isReroll && actor.getBonneAventure() > 0)
} }
let canApplyPE = function (li) { let canApplyPE = function (li) {
let message = game.messages.get(li.attr("data-message-id")) let message = game.messages.get($(li).attr("data-message-id"))
let rollData = message.getFlag("world", "heritiers-roll") let rollData = message.getFlag("world", "heritiers-roll")
let actor = this.getActorFromRollData(rollData) let actor = this.getActorFromRollData(rollData)
return (!rollData.isReroll && actor.getEclat() > 0) return (!rollData.isReroll && actor.getEclat() > 0)
@@ -806,11 +821,11 @@ export class HeritiersUtility {
/* -------------------------------------------- */ /* -------------------------------------------- */
static async confirmDelete(actorSheet, li) { static async confirmDelete(actorSheet, li) {
let itemId = li.data("item-id"); let itemId = li.data("item-id");
let msgTxt = "<p>Are you sure to remove this Item ?"; let msgTxt = "<p>Certain de supprimer cet item ?";
let buttons = { let buttons = {
delete: { delete: {
icon: '<i class="fas fa-check"></i>', icon: '<i class="fas fa-check"></i>',
label: "Yes, remove it", label: "Oui !",
callback: () => { callback: () => {
actorSheet.actor.deleteEmbeddedDocuments("Item", [itemId]); actorSheet.actor.deleteEmbeddedDocuments("Item", [itemId]);
li.slideUp(200, () => actorSheet.render(false)); li.slideUp(200, () => actorSheet.render(false));
@@ -818,12 +833,12 @@ export class HeritiersUtility {
}, },
cancel: { cancel: {
icon: '<i class="fas fa-times"></i>', icon: '<i class="fas fa-times"></i>',
label: "Cancel" label: "Non !"
} }
} }
msgTxt += "</p>"; msgTxt += "</p>";
let d = new Dialog({ let d = new Dialog({
title: "Confirm removal", title: "Confirmer la suppression",
content: msgTxt, content: msgTxt,
buttons: buttons, buttons: buttons,
default: "cancel" default: "cancel"
@@ -831,21 +846,4 @@ export class HeritiersUtility {
d.render(true); d.render(true);
} }
/************************************************************************************/
static async __create_talents_table() {
let compName = "fvtt-les-heritiers.talents-cellule"
const compData = await HeritiersUtility.loadCompendium(compName)
let talents = compData.map(i => i.toObject())
let htmlTab = "<table border='1'><tbody>";
for (let entryData of talents) {
console.log(entryData)
htmlTab += `<tr><td>@UUID[Compendium.${compName}.${entryData._id}]{${entryData.name}}</td>`
htmlTab += `<td>${entryData.system.description}</td>`;
//htmlTab += `<td>${entryData.system.resumebonus}</td>`;
htmlTab += "</tr>\n";
}
htmlTab += "</table>";
await JournalEntry.create({ name: 'Liste des Talents de Cellule', content: htmlTab });
}
} }

Binary file not shown.

Binary file not shown.

View File

@@ -1 +1 @@
MANIFEST-000147 MANIFEST-000175

View File

@@ -1,8 +1,15 @@
2024/08/11-14:35:37.830180 7f47842006c0 Recovering log #145 2025/05/02-08:12:38.578482 7f4168bf96c0 Recovering log #173
2024/08/11-14:35:37.841219 7f47842006c0 Delete type=3 #143 2025/05/02-08:12:38.589780 7f4168bf96c0 Delete type=3 #171
2024/08/11-14:35:37.841349 7f47842006c0 Delete type=0 #145 2025/05/02-08:12:38.589884 7f4168bf96c0 Delete type=0 #173
2024/08/11-14:39:33.791107 7f4782e006c0 Level-0 table #150: started 2025/05/02-08:32:33.547850 7f4162bff6c0 Level-0 table #178: started
2024/08/11-14:39:33.791244 7f4782e006c0 Level-0 table #150: 0 bytes OK 2025/05/02-08:32:33.552846 7f4162bff6c0 Level-0 table #178: 76976 bytes OK
2024/08/11-14:39:33.797592 7f4782e006c0 Delete type=0 #148 2025/05/02-08:32:33.560090 7f4162bff6c0 Delete type=0 #176
2024/08/11-14:39:33.818175 7f4782e006c0 Manual compaction at level-0 from '!items!1NhJH4IJpxsGmLB8' @ 72057594037927935 : 1 .. '!items!y1yOenfAJTsb3r6e' @ 0 : 0; will stop at (end) 2025/05/02-08:32:33.575866 7f4162bff6c0 Manual compaction at level-0 from '!items!1NhJH4IJpxsGmLB8' @ 72057594037927935 : 1 .. '!items!y1yOenfAJTsb3r6e' @ 0 : 0; will stop at (end)
2024/08/11-14:39:33.818252 7f4782e006c0 Manual compaction at level-1 from '!items!1NhJH4IJpxsGmLB8' @ 72057594037927935 : 1 .. '!items!y1yOenfAJTsb3r6e' @ 0 : 0; will stop at (end) 2025/05/02-08:32:33.601802 7f4162bff6c0 Manual compaction at level-1 from '!items!1NhJH4IJpxsGmLB8' @ 72057594037927935 : 1 .. '!items!y1yOenfAJTsb3r6e' @ 0 : 0; will stop at '!items!y1yOenfAJTsb3r6e' @ 93 : 1
2025/05/02-08:32:33.601825 7f4162bff6c0 Compacting 1@1 + 1@2 files
2025/05/02-08:32:33.607383 7f4162bff6c0 Generated table #179@1: 31 keys, 76976 bytes
2025/05/02-08:32:33.607418 7f4162bff6c0 Compacted 1@1 + 1@2 files => 76976 bytes
2025/05/02-08:32:33.613654 7f4162bff6c0 compacted to: files[ 0 0 1 0 0 0 0 ]
2025/05/02-08:32:33.613823 7f4162bff6c0 Delete type=2 #106
2025/05/02-08:32:33.614198 7f4162bff6c0 Delete type=2 #178
2025/05/02-08:32:33.630595 7f4162bff6c0 Manual compaction at level-1 from '!items!y1yOenfAJTsb3r6e' @ 93 : 1 .. '!items!y1yOenfAJTsb3r6e' @ 0 : 0; will stop at (end)

View File

@@ -1,8 +1,8 @@
2024/08/06-21:52:34.084831 7fbe516006c0 Recovering log #141 2024/11/17-22:48:43.433551 7f1d08bf96c0 Recovering log #169
2024/08/06-21:52:34.094922 7fbe516006c0 Delete type=3 #139 2024/11/17-22:48:43.443811 7f1d08bf96c0 Delete type=3 #167
2024/08/06-21:52:34.095027 7fbe516006c0 Delete type=0 #141 2024/11/17-22:48:43.443896 7f1d08bf96c0 Delete type=0 #169
2024/08/06-23:00:31.976722 7fbe50c006c0 Level-0 table #146: started 2024/11/17-22:50:28.249266 7f1d027ff6c0 Level-0 table #174: started
2024/08/06-23:00:31.976743 7fbe50c006c0 Level-0 table #146: 0 bytes OK 2024/11/17-22:50:28.249291 7f1d027ff6c0 Level-0 table #174: 0 bytes OK
2024/08/06-23:00:32.009094 7fbe50c006c0 Delete type=0 #144 2024/11/17-22:50:28.255594 7f1d027ff6c0 Delete type=0 #172
2024/08/06-23:00:32.009385 7fbe50c006c0 Manual compaction at level-0 from '!items!1NhJH4IJpxsGmLB8' @ 72057594037927935 : 1 .. '!items!y1yOenfAJTsb3r6e' @ 0 : 0; will stop at (end) 2024/11/17-22:50:28.274735 7f1d027ff6c0 Manual compaction at level-0 from '!items!1NhJH4IJpxsGmLB8' @ 72057594037927935 : 1 .. '!items!y1yOenfAJTsb3r6e' @ 0 : 0; will stop at (end)
2024/08/06-23:00:32.009440 7fbe50c006c0 Manual compaction at level-1 from '!items!1NhJH4IJpxsGmLB8' @ 72057594037927935 : 1 .. '!items!y1yOenfAJTsb3r6e' @ 0 : 0; will stop at (end) 2024/11/17-22:50:28.274768 7f1d027ff6c0 Manual compaction at level-1 from '!items!1NhJH4IJpxsGmLB8' @ 72057594037927935 : 1 .. '!items!y1yOenfAJTsb3r6e' @ 0 : 0; will stop at (end)

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@@ -1 +1 @@
MANIFEST-000147 MANIFEST-000175

View File

@@ -1,8 +1,15 @@
2024/08/11-14:35:37.866313 7f4784c006c0 Recovering log #145 2025/05/02-08:12:38.625683 7f41693fa6c0 Recovering log #173
2024/08/11-14:35:37.876628 7f4784c006c0 Delete type=3 #143 2025/05/02-08:12:38.636729 7f41693fa6c0 Delete type=3 #171
2024/08/11-14:35:37.876748 7f4784c006c0 Delete type=0 #145 2025/05/02-08:12:38.636867 7f41693fa6c0 Delete type=0 #173
2024/08/11-14:39:33.811252 7f4782e006c0 Level-0 table #150: started 2025/05/02-08:32:33.536656 7f4162bff6c0 Level-0 table #178: started
2024/08/11-14:39:33.811312 7f4782e006c0 Level-0 table #150: 0 bytes OK 2025/05/02-08:32:33.540777 7f4162bff6c0 Level-0 table #178: 18161 bytes OK
2024/08/11-14:39:33.818015 7f4782e006c0 Delete type=0 #148 2025/05/02-08:32:33.547563 7f4162bff6c0 Delete type=0 #176
2024/08/11-14:39:33.818222 7f4782e006c0 Manual compaction at level-0 from '!items!1ETVaPBtjDtzelK1' @ 72057594037927935 : 1 .. '!items!zbsVCsWxRzkzzG1N' @ 0 : 0; will stop at (end) 2025/05/02-08:32:33.575848 7f4162bff6c0 Manual compaction at level-0 from '!items!1ETVaPBtjDtzelK1' @ 72057594037927935 : 1 .. '!items!zbsVCsWxRzkzzG1N' @ 0 : 0; will stop at (end)
2024/08/11-14:39:33.818265 7f4782e006c0 Manual compaction at level-1 from '!items!1ETVaPBtjDtzelK1' @ 72057594037927935 : 1 .. '!items!zbsVCsWxRzkzzG1N' @ 0 : 0; will stop at (end) 2025/05/02-08:32:33.589023 7f4162bff6c0 Manual compaction at level-1 from '!items!1ETVaPBtjDtzelK1' @ 72057594037927935 : 1 .. '!items!zbsVCsWxRzkzzG1N' @ 0 : 0; will stop at '!items!zbsVCsWxRzkzzG1N' @ 216 : 1
2025/05/02-08:32:33.589042 7f4162bff6c0 Compacting 1@1 + 1@2 files
2025/05/02-08:32:33.593271 7f4162bff6c0 Generated table #179@1: 72 keys, 18161 bytes
2025/05/02-08:32:33.593306 7f4162bff6c0 Compacted 1@1 + 1@2 files => 18161 bytes
2025/05/02-08:32:33.600921 7f4162bff6c0 compacted to: files[ 0 0 1 0 0 0 0 ]
2025/05/02-08:32:33.601153 7f4162bff6c0 Delete type=2 #106
2025/05/02-08:32:33.601536 7f4162bff6c0 Delete type=2 #178
2025/05/02-08:32:33.630581 7f4162bff6c0 Manual compaction at level-1 from '!items!zbsVCsWxRzkzzG1N' @ 216 : 1 .. '!items!zbsVCsWxRzkzzG1N' @ 0 : 0; will stop at (end)

View File

@@ -1,8 +1,8 @@
2024/08/06-21:52:34.116385 7fbe534006c0 Recovering log #141 2024/11/17-22:48:43.459868 7f1d093fa6c0 Recovering log #169
2024/08/06-21:52:34.126061 7fbe534006c0 Delete type=3 #139 2024/11/17-22:48:43.470425 7f1d093fa6c0 Delete type=3 #167
2024/08/06-21:52:34.126143 7fbe534006c0 Delete type=0 #141 2024/11/17-22:48:43.470517 7f1d093fa6c0 Delete type=0 #169
2024/08/06-23:00:31.939443 7fbe50c006c0 Level-0 table #146: started 2024/11/17-22:50:28.262661 7f1d027ff6c0 Level-0 table #174: started
2024/08/06-23:00:31.939481 7fbe50c006c0 Level-0 table #146: 0 bytes OK 2024/11/17-22:50:28.262685 7f1d027ff6c0 Level-0 table #174: 0 bytes OK
2024/08/06-23:00:31.976609 7fbe50c006c0 Delete type=0 #144 2024/11/17-22:50:28.268581 7f1d027ff6c0 Delete type=0 #172
2024/08/06-23:00:32.009370 7fbe50c006c0 Manual compaction at level-0 from '!items!1ETVaPBtjDtzelK1' @ 72057594037927935 : 1 .. '!items!zbsVCsWxRzkzzG1N' @ 0 : 0; will stop at (end) 2024/11/17-22:50:28.274758 7f1d027ff6c0 Manual compaction at level-0 from '!items!1ETVaPBtjDtzelK1' @ 72057594037927935 : 1 .. '!items!zbsVCsWxRzkzzG1N' @ 0 : 0; will stop at (end)
2024/08/06-23:00:32.009427 7fbe50c006c0 Manual compaction at level-1 from '!items!1ETVaPBtjDtzelK1' @ 72057594037927935 : 1 .. '!items!zbsVCsWxRzkzzG1N' @ 0 : 0; will stop at (end) 2024/11/17-22:50:28.274792 7f1d027ff6c0 Manual compaction at level-1 from '!items!1ETVaPBtjDtzelK1' @ 72057594037927935 : 1 .. '!items!zbsVCsWxRzkzzG1N' @ 0 : 0; will stop at (end)

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@@ -1 +1 @@
MANIFEST-000147 MANIFEST-000175

View File

@@ -1,8 +1,15 @@
2024/08/11-14:35:37.810719 7f47856006c0 Recovering log #145 2025/05/02-08:12:38.561663 7f41637fe6c0 Recovering log #173
2024/08/11-14:35:37.822942 7f47856006c0 Delete type=3 #143 2025/05/02-08:12:38.572350 7f41637fe6c0 Delete type=3 #171
2024/08/11-14:35:37.823030 7f47856006c0 Delete type=0 #145 2025/05/02-08:12:38.572464 7f41637fe6c0 Delete type=0 #173
2024/08/11-14:39:33.797833 7f4782e006c0 Level-0 table #150: started 2025/05/02-08:32:33.524401 7f4162bff6c0 Level-0 table #178: started
2024/08/11-14:39:33.797891 7f4782e006c0 Level-0 table #150: 0 bytes OK 2025/05/02-08:32:33.529756 7f4162bff6c0 Level-0 table #178: 61883 bytes OK
2024/08/11-14:39:33.804238 7f4782e006c0 Delete type=0 #148 2025/05/02-08:32:33.536322 7f4162bff6c0 Delete type=0 #176
2024/08/11-14:39:33.818194 7f4782e006c0 Manual compaction at level-0 from '!items!0fPXtA5LkLgG8uDj' @ 72057594037927935 : 1 .. '!items!zvtBlG6KCIn0oCVk' @ 0 : 0; will stop at (end) 2025/05/02-08:32:33.575825 7f4162bff6c0 Manual compaction at level-0 from '!items!0fPXtA5LkLgG8uDj' @ 72057594037927935 : 1 .. '!items!zvtBlG6KCIn0oCVk' @ 0 : 0; will stop at (end)
2024/08/11-14:39:33.818278 7f4782e006c0 Manual compaction at level-1 from '!items!0fPXtA5LkLgG8uDj' @ 72057594037927935 : 1 .. '!items!zvtBlG6KCIn0oCVk' @ 0 : 0; will stop at (end) 2025/05/02-08:32:33.575912 7f4162bff6c0 Manual compaction at level-1 from '!items!0fPXtA5LkLgG8uDj' @ 72057594037927935 : 1 .. '!items!zvtBlG6KCIn0oCVk' @ 0 : 0; will stop at '!items!zvtBlG6KCIn0oCVk' @ 459 : 1
2025/05/02-08:32:33.575922 7f4162bff6c0 Compacting 1@1 + 1@2 files
2025/05/02-08:32:33.581216 7f4162bff6c0 Generated table #179@1: 153 keys, 61883 bytes
2025/05/02-08:32:33.581273 7f4162bff6c0 Compacted 1@1 + 1@2 files => 61883 bytes
2025/05/02-08:32:33.588098 7f4162bff6c0 compacted to: files[ 0 0 1 0 0 0 0 ]
2025/05/02-08:32:33.588368 7f4162bff6c0 Delete type=2 #106
2025/05/02-08:32:33.588802 7f4162bff6c0 Delete type=2 #178
2025/05/02-08:32:33.630551 7f4162bff6c0 Manual compaction at level-1 from '!items!zvtBlG6KCIn0oCVk' @ 459 : 1 .. '!items!zvtBlG6KCIn0oCVk' @ 0 : 0; will stop at (end)

View File

@@ -1,8 +1,8 @@
2024/08/06-21:52:34.069717 7fbe52a006c0 Recovering log #141 2024/11/17-22:48:43.420896 7f1d03fff6c0 Recovering log #169
2024/08/06-21:52:34.079875 7fbe52a006c0 Delete type=3 #139 2024/11/17-22:48:43.431112 7f1d03fff6c0 Delete type=3 #167
2024/08/06-21:52:34.079931 7fbe52a006c0 Delete type=0 #141 2024/11/17-22:48:43.431187 7f1d03fff6c0 Delete type=0 #169
2024/08/06-23:00:31.870139 7fbe50c006c0 Level-0 table #146: started 2024/11/17-22:50:28.236628 7f1d027ff6c0 Level-0 table #174: started
2024/08/06-23:00:31.870173 7fbe50c006c0 Level-0 table #146: 0 bytes OK 2024/11/17-22:50:28.236663 7f1d027ff6c0 Level-0 table #174: 0 bytes OK
2024/08/06-23:00:31.904478 7fbe50c006c0 Delete type=0 #144 2024/11/17-22:50:28.242846 7f1d027ff6c0 Delete type=0 #172
2024/08/06-23:00:32.009329 7fbe50c006c0 Manual compaction at level-0 from '!items!0fPXtA5LkLgG8uDj' @ 72057594037927935 : 1 .. '!items!zvtBlG6KCIn0oCVk' @ 0 : 0; will stop at (end) 2024/11/17-22:50:28.249127 7f1d027ff6c0 Manual compaction at level-0 from '!items!0fPXtA5LkLgG8uDj' @ 72057594037927935 : 1 .. '!items!zvtBlG6KCIn0oCVk' @ 0 : 0; will stop at (end)
2024/08/06-23:00:32.009400 7fbe50c006c0 Manual compaction at level-1 from '!items!0fPXtA5LkLgG8uDj' @ 72057594037927935 : 1 .. '!items!zvtBlG6KCIn0oCVk' @ 0 : 0; will stop at (end) 2024/11/17-22:50:28.249160 7f1d027ff6c0 Manual compaction at level-1 from '!items!0fPXtA5LkLgG8uDj' @ 72057594037927935 : 1 .. '!items!zvtBlG6KCIn0oCVk' @ 0 : 0; will stop at (end)

Binary file not shown.

Binary file not shown.

BIN
packs/avantages/000179.ldb Normal file

Binary file not shown.

View File

@@ -1 +1 @@
MANIFEST-000147 MANIFEST-000175

View File

@@ -1,8 +1,15 @@
2024/08/11-14:35:37.752147 7f47842006c0 Recovering log #145 2025/05/02-08:12:38.502811 7f41637fe6c0 Recovering log #173
2024/08/11-14:35:37.763231 7f47842006c0 Delete type=3 #143 2025/05/02-08:12:38.513277 7f41637fe6c0 Delete type=3 #171
2024/08/11-14:35:37.763321 7f47842006c0 Delete type=0 #145 2025/05/02-08:12:38.513388 7f41637fe6c0 Delete type=0 #173
2024/08/11-14:39:33.762051 7f4782e006c0 Level-0 table #150: started 2025/05/02-08:32:33.465976 7f4162bff6c0 Level-0 table #178: started
2024/08/11-14:39:33.762167 7f4782e006c0 Level-0 table #150: 0 bytes OK 2025/05/02-08:32:33.470234 7f4162bff6c0 Level-0 table #178: 27421 bytes OK
2024/08/11-14:39:33.768978 7f4782e006c0 Delete type=0 #148 2025/05/02-08:32:33.477187 7f4162bff6c0 Delete type=0 #176
2024/08/11-14:39:33.790765 7f4782e006c0 Manual compaction at level-0 from '!items!0EAAt0qSzcD9VRBH' @ 72057594037927935 : 1 .. '!items!zfpjROW9LDAlXUkN' @ 0 : 0; will stop at (end) 2025/05/02-08:32:33.477436 7f4162bff6c0 Manual compaction at level-0 from '!items!0EAAt0qSzcD9VRBH' @ 72057594037927935 : 1 .. '!items!zfpjROW9LDAlXUkN' @ 0 : 0; will stop at (end)
2024/08/11-14:39:33.790869 7f4782e006c0 Manual compaction at level-1 from '!items!0EAAt0qSzcD9VRBH' @ 72057594037927935 : 1 .. '!items!zfpjROW9LDAlXUkN' @ 0 : 0; will stop at (end) 2025/05/02-08:32:33.512028 7f4162bff6c0 Manual compaction at level-1 from '!items!0EAAt0qSzcD9VRBH' @ 72057594037927935 : 1 .. '!items!zfpjROW9LDAlXUkN' @ 0 : 0; will stop at '!items!zfpjROW9LDAlXUkN' @ 189 : 1
2025/05/02-08:32:33.512048 7f4162bff6c0 Compacting 1@1 + 1@2 files
2025/05/02-08:32:33.516387 7f4162bff6c0 Generated table #179@1: 63 keys, 27421 bytes
2025/05/02-08:32:33.516430 7f4162bff6c0 Compacted 1@1 + 1@2 files => 27421 bytes
2025/05/02-08:32:33.523531 7f4162bff6c0 compacted to: files[ 0 0 1 0 0 0 0 ]
2025/05/02-08:32:33.523711 7f4162bff6c0 Delete type=2 #106
2025/05/02-08:32:33.523938 7f4162bff6c0 Delete type=2 #178
2025/05/02-08:32:33.524156 7f4162bff6c0 Manual compaction at level-1 from '!items!zfpjROW9LDAlXUkN' @ 189 : 1 .. '!items!zfpjROW9LDAlXUkN' @ 0 : 0; will stop at (end)

View File

@@ -1,8 +1,8 @@
2024/08/06-21:52:34.016780 7fbe516006c0 Recovering log #141 2024/11/17-22:48:43.382022 7f1d08bf96c0 Recovering log #169
2024/08/06-21:52:34.027353 7fbe516006c0 Delete type=3 #139 2024/11/17-22:48:43.392929 7f1d08bf96c0 Delete type=3 #167
2024/08/06-21:52:34.027446 7fbe516006c0 Delete type=0 #141 2024/11/17-22:48:43.392989 7f1d08bf96c0 Delete type=0 #169
2024/08/06-23:00:31.729942 7fbe50c006c0 Level-0 table #146: started 2024/11/17-22:50:28.229453 7f1d027ff6c0 Level-0 table #174: started
2024/08/06-23:00:31.730003 7fbe50c006c0 Level-0 table #146: 0 bytes OK 2024/11/17-22:50:28.229478 7f1d027ff6c0 Level-0 table #174: 0 bytes OK
2024/08/06-23:00:31.768395 7fbe50c006c0 Delete type=0 #144 2024/11/17-22:50:28.236445 7f1d027ff6c0 Delete type=0 #172
2024/08/06-23:00:31.869947 7fbe50c006c0 Manual compaction at level-0 from '!items!0EAAt0qSzcD9VRBH' @ 72057594037927935 : 1 .. '!items!zfpjROW9LDAlXUkN' @ 0 : 0; will stop at (end) 2024/11/17-22:50:28.249116 7f1d027ff6c0 Manual compaction at level-0 from '!items!0EAAt0qSzcD9VRBH' @ 72057594037927935 : 1 .. '!items!zfpjROW9LDAlXUkN' @ 0 : 0; will stop at (end)
2024/08/06-23:00:31.870007 7fbe50c006c0 Manual compaction at level-1 from '!items!0EAAt0qSzcD9VRBH' @ 72057594037927935 : 1 .. '!items!zfpjROW9LDAlXUkN' @ 0 : 0; will stop at (end) 2024/11/17-22:50:28.249151 7f1d027ff6c0 Manual compaction at level-1 from '!items!0EAAt0qSzcD9VRBH' @ 72057594037927935 : 1 .. '!items!zfpjROW9LDAlXUkN' @ 0 : 0; will stop at (end)

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
packs/capacites/000179.ldb Normal file

Binary file not shown.

View File

@@ -1 +1 @@
MANIFEST-000147 MANIFEST-000175

View File

@@ -1,8 +1,15 @@
2024/08/11-14:35:37.792985 7f4784c006c0 Recovering log #145 2025/05/02-08:12:38.545135 7f4163fff6c0 Recovering log #173
2024/08/11-14:35:37.804663 7f4784c006c0 Delete type=3 #143 2025/05/02-08:12:38.556273 7f4163fff6c0 Delete type=3 #171
2024/08/11-14:35:37.804793 7f4784c006c0 Delete type=0 #145 2025/05/02-08:12:38.556450 7f4163fff6c0 Delete type=0 #173
2024/08/11-14:39:33.769225 7f4782e006c0 Level-0 table #150: started 2025/05/02-08:32:33.455447 7f4162bff6c0 Level-0 table #178: started
2024/08/11-14:39:33.769288 7f4782e006c0 Level-0 table #150: 0 bytes OK 2025/05/02-08:32:33.459276 7f4162bff6c0 Level-0 table #178: 24174 bytes OK
2024/08/11-14:39:33.776053 7f4782e006c0 Delete type=0 #148 2025/05/02-08:32:33.465795 7f4162bff6c0 Delete type=0 #176
2024/08/11-14:39:33.790785 7f4782e006c0 Manual compaction at level-0 from '!items!0cNSRJVPk3GbvxfD' @ 72057594037927935 : 1 .. '!items!yWDg2KlXEz33TSmZ' @ 0 : 0; will stop at (end) 2025/05/02-08:32:33.477419 7f4162bff6c0 Manual compaction at level-0 from '!items!0cNSRJVPk3GbvxfD' @ 72057594037927935 : 1 .. '!items!yWDg2KlXEz33TSmZ' @ 0 : 0; will stop at (end)
2024/08/11-14:39:33.790919 7f4782e006c0 Manual compaction at level-1 from '!items!0cNSRJVPk3GbvxfD' @ 72057594037927935 : 1 .. '!items!yWDg2KlXEz33TSmZ' @ 0 : 0; will stop at (end) 2025/05/02-08:32:33.500781 7f4162bff6c0 Manual compaction at level-1 from '!items!0cNSRJVPk3GbvxfD' @ 72057594037927935 : 1 .. '!items!yWDg2KlXEz33TSmZ' @ 0 : 0; will stop at '!items!yWDg2KlXEz33TSmZ' @ 108 : 1
2025/05/02-08:32:33.500794 7f4162bff6c0 Compacting 1@1 + 1@2 files
2025/05/02-08:32:33.504939 7f4162bff6c0 Generated table #179@1: 36 keys, 24174 bytes
2025/05/02-08:32:33.504980 7f4162bff6c0 Compacted 1@1 + 1@2 files => 24174 bytes
2025/05/02-08:32:33.511393 7f4162bff6c0 compacted to: files[ 0 0 1 0 0 0 0 ]
2025/05/02-08:32:33.511579 7f4162bff6c0 Delete type=2 #106
2025/05/02-08:32:33.511848 7f4162bff6c0 Delete type=2 #178
2025/05/02-08:32:33.524138 7f4162bff6c0 Manual compaction at level-1 from '!items!yWDg2KlXEz33TSmZ' @ 108 : 1 .. '!items!yWDg2KlXEz33TSmZ' @ 0 : 0; will stop at (end)

View File

@@ -1,8 +1,8 @@
2024/08/06-21:52:34.054034 7fbe534006c0 Recovering log #141 2024/11/17-22:48:43.408818 7f1d093fa6c0 Recovering log #169
2024/08/06-21:52:34.065082 7fbe534006c0 Delete type=3 #139 2024/11/17-22:48:43.418583 7f1d093fa6c0 Delete type=3 #167
2024/08/06-21:52:34.065180 7fbe534006c0 Delete type=0 #141 2024/11/17-22:48:43.418635 7f1d093fa6c0 Delete type=0 #169
2024/08/06-23:00:31.802367 7fbe50c006c0 Level-0 table #146: started 2024/11/17-22:50:28.268699 7f1d027ff6c0 Level-0 table #174: started
2024/08/06-23:00:31.802389 7fbe50c006c0 Level-0 table #146: 0 bytes OK 2024/11/17-22:50:28.268724 7f1d027ff6c0 Level-0 table #174: 0 bytes OK
2024/08/06-23:00:31.832600 7fbe50c006c0 Delete type=0 #144 2024/11/17-22:50:28.274639 7f1d027ff6c0 Delete type=0 #172
2024/08/06-23:00:31.869974 7fbe50c006c0 Manual compaction at level-0 from '!items!0cNSRJVPk3GbvxfD' @ 72057594037927935 : 1 .. '!items!yWDg2KlXEz33TSmZ' @ 0 : 0; will stop at (end) 2024/11/17-22:50:28.274776 7f1d027ff6c0 Manual compaction at level-0 from '!items!0cNSRJVPk3GbvxfD' @ 72057594037927935 : 1 .. '!items!yWDg2KlXEz33TSmZ' @ 0 : 0; will stop at (end)
2024/08/06-23:00:31.869999 7fbe50c006c0 Manual compaction at level-1 from '!items!0cNSRJVPk3GbvxfD' @ 72057594037927935 : 1 .. '!items!yWDg2KlXEz33TSmZ' @ 0 : 0; will stop at (end) 2024/11/17-22:50:28.274799 7f1d027ff6c0 Manual compaction at level-1 from '!items!0cNSRJVPk3GbvxfD' @ 72057594037927935 : 1 .. '!items!yWDg2KlXEz33TSmZ' @ 0 : 0; will stop at (end)

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@@ -1 +1 @@
MANIFEST-000147 MANIFEST-000176

View File

@@ -1,8 +1,15 @@
2024/08/11-14:35:37.734005 7f47856006c0 Recovering log #145 2025/05/02-08:12:38.486843 7f4163fff6c0 Recovering log #174
2024/08/11-14:35:37.745943 7f47856006c0 Delete type=3 #143 2025/05/02-08:12:38.497823 7f4163fff6c0 Delete type=3 #172
2024/08/11-14:35:37.746038 7f47856006c0 Delete type=0 #145 2025/05/02-08:12:38.497971 7f4163fff6c0 Delete type=0 #174
2024/08/11-14:39:33.776285 7f4782e006c0 Level-0 table #150: started 2025/05/02-08:32:33.432014 7f4162bff6c0 Level-0 table #179: started
2024/08/11-14:39:33.776344 7f4782e006c0 Level-0 table #150: 0 bytes OK 2025/05/02-08:32:33.436580 7f4162bff6c0 Level-0 table #179: 30205 bytes OK
2024/08/11-14:39:33.783086 7f4782e006c0 Delete type=0 #148 2025/05/02-08:32:33.443380 7f4162bff6c0 Delete type=0 #177
2024/08/11-14:39:33.790801 7f4782e006c0 Manual compaction at level-0 from '!items!0V86n4TU8NegrR2B' @ 72057594037927935 : 1 .. '!items!zEl2NQsnCpELVWzh' @ 0 : 0; will stop at (end) 2025/05/02-08:32:33.477388 7f4162bff6c0 Manual compaction at level-0 from '!items!0V86n4TU8NegrR2B' @ 72057594037927935 : 1 .. '!items!zEl2NQsnCpELVWzh' @ 0 : 0; will stop at (end)
2024/08/11-14:39:33.790907 7f4782e006c0 Manual compaction at level-1 from '!items!0V86n4TU8NegrR2B' @ 72057594037927935 : 1 .. '!items!zEl2NQsnCpELVWzh' @ 0 : 0; will stop at (end) 2025/05/02-08:32:33.477460 7f4162bff6c0 Manual compaction at level-1 from '!items!0V86n4TU8NegrR2B' @ 72057594037927935 : 1 .. '!items!zEl2NQsnCpELVWzh' @ 0 : 0; will stop at '!items!zEl2NQsnCpELVWzh' @ 285 : 1
2025/05/02-08:32:33.477471 7f4162bff6c0 Compacting 1@1 + 1@2 files
2025/05/02-08:32:33.481585 7f4162bff6c0 Generated table #180@1: 74 keys, 30205 bytes
2025/05/02-08:32:33.481642 7f4162bff6c0 Compacted 1@1 + 1@2 files => 30205 bytes
2025/05/02-08:32:33.488072 7f4162bff6c0 compacted to: files[ 0 0 1 0 0 0 0 ]
2025/05/02-08:32:33.488265 7f4162bff6c0 Delete type=2 #159
2025/05/02-08:32:33.488483 7f4162bff6c0 Delete type=2 #179
2025/05/02-08:32:33.524098 7f4162bff6c0 Manual compaction at level-1 from '!items!zEl2NQsnCpELVWzh' @ 285 : 1 .. '!items!zEl2NQsnCpELVWzh' @ 0 : 0; will stop at (end)

View File

@@ -1,8 +1,8 @@
2024/08/06-21:52:34.001824 7fbe52a006c0 Recovering log #141 2024/11/17-22:48:43.369953 7f1d03fff6c0 Recovering log #170
2024/08/06-21:52:34.012892 7fbe52a006c0 Delete type=3 #139 2024/11/17-22:48:43.379524 7f1d03fff6c0 Delete type=3 #168
2024/08/06-21:52:34.012951 7fbe52a006c0 Delete type=0 #141 2024/11/17-22:48:43.379589 7f1d03fff6c0 Delete type=0 #170
2024/08/06-23:00:31.832758 7fbe50c006c0 Level-0 table #146: started 2024/11/17-22:50:28.223060 7f1d027ff6c0 Level-0 table #175: started
2024/08/06-23:00:31.832813 7fbe50c006c0 Level-0 table #146: 0 bytes OK 2024/11/17-22:50:28.223138 7f1d027ff6c0 Level-0 table #175: 0 bytes OK
2024/08/06-23:00:31.869708 7fbe50c006c0 Delete type=0 #144 2024/11/17-22:50:28.229321 7f1d027ff6c0 Delete type=0 #173
2024/08/06-23:00:31.869983 7fbe50c006c0 Manual compaction at level-0 from '!items!0V86n4TU8NegrR2B' @ 72057594037927935 : 1 .. '!items!zEl2NQsnCpELVWzh' @ 0 : 0; will stop at (end) 2024/11/17-22:50:28.249101 7f1d027ff6c0 Manual compaction at level-0 from '!items!0V86n4TU8NegrR2B' @ 72057594037927935 : 1 .. '!items!zEl2NQsnCpELVWzh' @ 0 : 0; will stop at (end)
2024/08/06-23:00:31.870021 7fbe50c006c0 Manual compaction at level-1 from '!items!0V86n4TU8NegrR2B' @ 72057594037927935 : 1 .. '!items!zEl2NQsnCpELVWzh' @ 0 : 0; will stop at (end) 2024/11/17-22:50:28.249144 7f1d027ff6c0 Manual compaction at level-1 from '!items!0V86n4TU8NegrR2B' @ 72057594037927935 : 1 .. '!items!zEl2NQsnCpELVWzh' @ 0 : 0; will stop at (end)

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@@ -1 +1 @@
MANIFEST-000147 MANIFEST-000175

View File

@@ -1,8 +1,15 @@
2024/08/11-14:35:37.768123 7f47838006c0 Recovering log #145 2025/05/02-08:12:38.518058 7f41693fa6c0 Recovering log #173
2024/08/11-14:35:37.780266 7f47838006c0 Delete type=3 #143 2025/05/02-08:12:38.529950 7f41693fa6c0 Delete type=3 #171
2024/08/11-14:35:37.780376 7f47838006c0 Delete type=0 #145 2025/05/02-08:12:38.530055 7f41693fa6c0 Delete type=0 #173
2024/08/11-14:39:33.783340 7f4782e006c0 Level-0 table #150: started 2025/05/02-08:32:33.443582 7f4162bff6c0 Level-0 table #178: started
2024/08/11-14:39:33.783403 7f4782e006c0 Level-0 table #150: 0 bytes OK 2025/05/02-08:32:33.448404 7f4162bff6c0 Level-0 table #178: 31582 bytes OK
2024/08/11-14:39:33.790567 7f4782e006c0 Delete type=0 #148 2025/05/02-08:32:33.455254 7f4162bff6c0 Delete type=0 #176
2024/08/11-14:39:33.790815 7f4782e006c0 Manual compaction at level-0 from '!items!2QqvtClSVnh5ejXu' @ 72057594037927935 : 1 .. '!items!xzRJ6JP1HqoqxLdj' @ 0 : 0; will stop at (end) 2025/05/02-08:32:33.477406 7f4162bff6c0 Manual compaction at level-0 from '!items!2QqvtClSVnh5ejXu' @ 72057594037927935 : 1 .. '!items!xzRJ6JP1HqoqxLdj' @ 0 : 0; will stop at (end)
2024/08/11-14:39:33.790893 7f4782e006c0 Manual compaction at level-1 from '!items!2QqvtClSVnh5ejXu' @ 72057594037927935 : 1 .. '!items!xzRJ6JP1HqoqxLdj' @ 0 : 0; will stop at (end) 2025/05/02-08:32:33.488601 7f4162bff6c0 Manual compaction at level-1 from '!items!2QqvtClSVnh5ejXu' @ 72057594037927935 : 1 .. '!items!xzRJ6JP1HqoqxLdj' @ 0 : 0; will stop at '!items!xzRJ6JP1HqoqxLdj' @ 195 : 1
2025/05/02-08:32:33.488624 7f4162bff6c0 Compacting 1@1 + 1@2 files
2025/05/02-08:32:33.493136 7f4162bff6c0 Generated table #179@1: 65 keys, 31582 bytes
2025/05/02-08:32:33.493174 7f4162bff6c0 Compacted 1@1 + 1@2 files => 31582 bytes
2025/05/02-08:32:33.500214 7f4162bff6c0 compacted to: files[ 0 0 1 0 0 0 0 ]
2025/05/02-08:32:33.500377 7f4162bff6c0 Delete type=2 #106
2025/05/02-08:32:33.500642 7f4162bff6c0 Delete type=2 #178
2025/05/02-08:32:33.524120 7f4162bff6c0 Manual compaction at level-1 from '!items!xzRJ6JP1HqoqxLdj' @ 195 : 1 .. '!items!xzRJ6JP1HqoqxLdj' @ 0 : 0; will stop at (end)

View File

@@ -1,8 +1,8 @@
2024/08/06-21:52:34.031942 7fbe520006c0 Recovering log #141 2024/11/17-22:48:43.395898 7f1d037fe6c0 Recovering log #169
2024/08/06-21:52:34.041612 7fbe520006c0 Delete type=3 #139 2024/11/17-22:48:43.406363 7f1d037fe6c0 Delete type=3 #167
2024/08/06-21:52:34.041667 7fbe520006c0 Delete type=0 #141 2024/11/17-22:48:43.406473 7f1d037fe6c0 Delete type=0 #169
2024/08/06-23:00:31.768505 7fbe50c006c0 Level-0 table #146: started 2024/11/17-22:50:28.242967 7f1d027ff6c0 Level-0 table #174: started
2024/08/06-23:00:31.768526 7fbe50c006c0 Level-0 table #146: 0 bytes OK 2024/11/17-22:50:28.242990 7f1d027ff6c0 Level-0 table #174: 0 bytes OK
2024/08/06-23:00:31.802256 7fbe50c006c0 Delete type=0 #144 2024/11/17-22:50:28.248975 7f1d027ff6c0 Delete type=0 #172
2024/08/06-23:00:31.869963 7fbe50c006c0 Manual compaction at level-0 from '!items!2QqvtClSVnh5ejXu' @ 72057594037927935 : 1 .. '!items!xzRJ6JP1HqoqxLdj' @ 0 : 0; will stop at (end) 2024/11/17-22:50:28.249136 7f1d027ff6c0 Manual compaction at level-0 from '!items!2QqvtClSVnh5ejXu' @ 72057594037927935 : 1 .. '!items!xzRJ6JP1HqoqxLdj' @ 0 : 0; will stop at (end)
2024/08/06-23:00:31.870013 7fbe50c006c0 Manual compaction at level-1 from '!items!2QqvtClSVnh5ejXu' @ 72057594037927935 : 1 .. '!items!xzRJ6JP1HqoqxLdj' @ 0 : 0; will stop at (end) 2024/11/17-22:50:28.249166 7f1d027ff6c0 Manual compaction at level-1 from '!items!2QqvtClSVnh5ejXu' @ 72057594037927935 : 1 .. '!items!xzRJ6JP1HqoqxLdj' @ 0 : 0; will stop at (end)

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
packs/pouvoirs/000180.ldb Normal file

Binary file not shown.

View File

@@ -1 +1 @@
MANIFEST-000148 MANIFEST-000176

View File

@@ -1,8 +1,15 @@
2024/08/11-14:35:37.846774 7f47838006c0 Recovering log #146 2025/05/02-08:12:38.599663 7f4163fff6c0 Recovering log #174
2024/08/11-14:35:37.859344 7f47838006c0 Delete type=3 #144 2025/05/02-08:12:38.610256 7f4163fff6c0 Delete type=3 #172
2024/08/11-14:35:37.859473 7f47838006c0 Delete type=0 #146 2025/05/02-08:12:38.610386 7f4163fff6c0 Delete type=0 #174
2024/08/11-14:39:33.804398 7f4782e006c0 Level-0 table #151: started 2025/05/02-08:32:33.560393 7f4162bff6c0 Level-0 table #179: started
2024/08/11-14:39:33.804435 7f4782e006c0 Level-0 table #151: 0 bytes OK 2025/05/02-08:32:33.568946 7f4162bff6c0 Level-0 table #179: 279479 bytes OK
2024/08/11-14:39:33.811039 7f4782e006c0 Delete type=0 #149 2025/05/02-08:32:33.575435 7f4162bff6c0 Delete type=0 #177
2024/08/11-14:39:33.818208 7f4782e006c0 Manual compaction at level-0 from '!items!19r9ijZUyvnlIqgm' @ 72057594037927935 : 1 .. '!items!zON0h5SjFyANjPnA' @ 0 : 0; will stop at (end) 2025/05/02-08:32:33.575893 7f4162bff6c0 Manual compaction at level-0 from '!items!19r9ijZUyvnlIqgm' @ 72057594037927935 : 1 .. '!items!zON0h5SjFyANjPnA' @ 0 : 0; will stop at (end)
2024/08/11-14:39:33.818290 7f4782e006c0 Manual compaction at level-1 from '!items!19r9ijZUyvnlIqgm' @ 72057594037927935 : 1 .. '!items!zON0h5SjFyANjPnA' @ 0 : 0; will stop at (end) 2025/05/02-08:32:33.614470 7f4162bff6c0 Manual compaction at level-1 from '!items!19r9ijZUyvnlIqgm' @ 72057594037927935 : 1 .. '!items!zON0h5SjFyANjPnA' @ 0 : 0; will stop at '!items!zON0h5SjFyANjPnA' @ 540 : 1
2025/05/02-08:32:33.614491 7f4162bff6c0 Compacting 1@1 + 1@2 files
2025/05/02-08:32:33.623438 7f4162bff6c0 Generated table #180@1: 135 keys, 279479 bytes
2025/05/02-08:32:33.623477 7f4162bff6c0 Compacted 1@1 + 1@2 files => 279479 bytes
2025/05/02-08:32:33.629748 7f4162bff6c0 compacted to: files[ 0 0 1 0 0 0 0 ]
2025/05/02-08:32:33.629951 7f4162bff6c0 Delete type=2 #139
2025/05/02-08:32:33.630303 7f4162bff6c0 Delete type=2 #179
2025/05/02-08:32:33.630622 7f4162bff6c0 Manual compaction at level-1 from '!items!zON0h5SjFyANjPnA' @ 540 : 1 .. '!items!zON0h5SjFyANjPnA' @ 0 : 0; will stop at (end)

View File

@@ -1,8 +1,8 @@
2024/08/06-21:52:34.099478 7fbe520006c0 Recovering log #142 2024/11/17-22:48:43.446368 7f1d037fe6c0 Recovering log #170
2024/08/06-21:52:34.110385 7fbe520006c0 Delete type=3 #140 2024/11/17-22:48:43.456501 7f1d037fe6c0 Delete type=3 #168
2024/08/06-21:52:34.110514 7fbe520006c0 Delete type=0 #142 2024/11/17-22:48:43.456578 7f1d037fe6c0 Delete type=0 #170
2024/08/06-23:00:31.904657 7fbe50c006c0 Level-0 table #147: started 2024/11/17-22:50:28.255715 7f1d027ff6c0 Level-0 table #175: started
2024/08/06-23:00:31.904695 7fbe50c006c0 Level-0 table #147: 0 bytes OK 2024/11/17-22:50:28.255743 7f1d027ff6c0 Level-0 table #175: 0 bytes OK
2024/08/06-23:00:31.939251 7fbe50c006c0 Delete type=0 #145 2024/11/17-22:50:28.262546 7f1d027ff6c0 Delete type=0 #173
2024/08/06-23:00:32.009353 7fbe50c006c0 Manual compaction at level-0 from '!items!19r9ijZUyvnlIqgm' @ 72057594037927935 : 1 .. '!items!zON0h5SjFyANjPnA' @ 0 : 0; will stop at (end) 2024/11/17-22:50:28.274749 7f1d027ff6c0 Manual compaction at level-0 from '!items!19r9ijZUyvnlIqgm' @ 72057594037927935 : 1 .. '!items!zON0h5SjFyANjPnA' @ 0 : 0; will stop at (end)
2024/08/06-23:00:32.009413 7fbe50c006c0 Manual compaction at level-1 from '!items!19r9ijZUyvnlIqgm' @ 72057594037927935 : 1 .. '!items!zON0h5SjFyANjPnA' @ 0 : 0; will stop at (end) 2024/11/17-22:50:28.274785 7f1d027ff6c0 Manual compaction at level-1 from '!items!19r9ijZUyvnlIqgm' @ 72057594037927935 : 1 .. '!items!zON0h5SjFyANjPnA' @ 0 : 0; will stop at (end)

Binary file not shown.

Binary file not shown.

View File

@@ -1 +1 @@
MANIFEST-000146 MANIFEST-000174

View File

@@ -1,7 +1,7 @@
2024/08/11-14:35:37.883245 7f47856006c0 Recovering log #144 2025/05/02-08:12:38.642095 7f4168bf96c0 Recovering log #172
2024/08/11-14:35:37.895329 7f47856006c0 Delete type=3 #142 2025/05/02-08:12:38.652987 7f4168bf96c0 Delete type=3 #170
2024/08/11-14:35:37.895444 7f47856006c0 Delete type=0 #144 2025/05/02-08:12:38.653107 7f4168bf96c0 Delete type=0 #172
2024/08/11-14:39:33.836949 7f4782e006c0 Level-0 table #149: started 2025/05/02-08:32:33.630766 7f4162bff6c0 Level-0 table #177: started
2024/08/11-14:39:33.837017 7f4782e006c0 Level-0 table #149: 0 bytes OK 2025/05/02-08:32:33.630831 7f4162bff6c0 Level-0 table #177: 0 bytes OK
2024/08/11-14:39:33.844766 7f4782e006c0 Delete type=0 #147 2025/05/02-08:32:33.637591 7f4162bff6c0 Delete type=0 #175
2024/08/11-14:39:33.851315 7f4782e006c0 Manual compaction at level-0 from 'undefined' @ 72057594037927935 : 1 .. 'undefined' @ 0 : 0; will stop at (end) 2025/05/02-08:32:33.669383 7f4162bff6c0 Manual compaction at level-0 from 'undefined' @ 72057594037927935 : 1 .. 'undefined' @ 0 : 0; will stop at (end)

View File

@@ -1,7 +1,7 @@
2024/08/06-21:52:34.132281 7fbe52a006c0 Recovering log #140 2024/11/17-22:48:43.473498 7f1d093fa6c0 Recovering log #168
2024/08/06-21:52:34.142883 7fbe52a006c0 Delete type=3 #138 2024/11/17-22:48:43.483301 7f1d093fa6c0 Delete type=3 #166
2024/08/06-21:52:34.142989 7fbe52a006c0 Delete type=0 #140 2024/11/17-22:48:43.483362 7f1d093fa6c0 Delete type=0 #168
2024/08/06-23:00:32.009525 7fbe50c006c0 Level-0 table #145: started 2024/11/17-22:50:28.281429 7f1d027ff6c0 Level-0 table #173: started
2024/08/06-23:00:32.009564 7fbe50c006c0 Level-0 table #145: 0 bytes OK 2024/11/17-22:50:28.281470 7f1d027ff6c0 Level-0 table #173: 0 bytes OK
2024/08/06-23:00:32.046125 7fbe50c006c0 Delete type=0 #143 2024/11/17-22:50:28.288046 7f1d027ff6c0 Delete type=0 #171
2024/08/06-23:00:32.165305 7fbe50c006c0 Manual compaction at level-0 from 'undefined' @ 72057594037927935 : 1 .. 'undefined' @ 0 : 0; will stop at (end) 2024/11/17-22:50:28.300645 7f1d027ff6c0 Manual compaction at level-0 from 'undefined' @ 72057594037927935 : 1 .. 'undefined' @ 0 : 0; will stop at (end)

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
packs/scenes/000148.ldb Normal file

Binary file not shown.

View File

@@ -1 +1 @@
MANIFEST-000116 MANIFEST-000144

View File

@@ -1,8 +1,15 @@
2024/08/11-14:35:37.899642 7f47842006c0 Recovering log #114 2025/05/02-08:12:38.657367 7f41637fe6c0 Recovering log #142
2024/08/11-14:35:37.910975 7f47842006c0 Delete type=3 #112 2025/05/02-08:12:38.668877 7f41637fe6c0 Delete type=3 #140
2024/08/11-14:35:37.911099 7f47842006c0 Delete type=0 #114 2025/05/02-08:12:38.668996 7f41637fe6c0 Delete type=0 #142
2024/08/11-14:39:33.844932 7f4782e006c0 Level-0 table #119: started 2025/05/02-08:32:33.658042 7f4162bff6c0 Level-0 table #147: started
2024/08/11-14:39:33.844982 7f4782e006c0 Level-0 table #119: 0 bytes OK 2025/05/02-08:32:33.662480 7f4162bff6c0 Level-0 table #147: 4682 bytes OK
2024/08/11-14:39:33.851094 7f4782e006c0 Delete type=0 #117 2025/05/02-08:32:33.669142 7f4162bff6c0 Delete type=0 #145
2024/08/11-14:39:33.851332 7f4782e006c0 Manual compaction at level-0 from '!scenes!8DjkNeeujp2qff1N' @ 72057594037927935 : 1 .. '!scenes!ypDutqjqZcr7lx6I' @ 0 : 0; will stop at (end) 2025/05/02-08:32:33.669454 7f4162bff6c0 Manual compaction at level-0 from '!scenes!8DjkNeeujp2qff1N' @ 72057594037927935 : 1 .. '!scenes!ypDutqjqZcr7lx6I' @ 0 : 0; will stop at (end)
2024/08/11-14:39:33.863651 7f4782e006c0 Manual compaction at level-1 from '!scenes!8DjkNeeujp2qff1N' @ 72057594037927935 : 1 .. '!scenes!ypDutqjqZcr7lx6I' @ 0 : 0; will stop at (end) 2025/05/02-08:32:33.669512 7f4162bff6c0 Manual compaction at level-1 from '!scenes!8DjkNeeujp2qff1N' @ 72057594037927935 : 1 .. '!scenes!ypDutqjqZcr7lx6I' @ 0 : 0; will stop at '!scenes!ypDutqjqZcr7lx6I' @ 16 : 1
2025/05/02-08:32:33.669532 7f4162bff6c0 Compacting 1@1 + 1@2 files
2025/05/02-08:32:33.673201 7f4162bff6c0 Generated table #148@1: 4 keys, 2992 bytes
2025/05/02-08:32:33.673241 7f4162bff6c0 Compacted 1@1 + 1@2 files => 2992 bytes
2025/05/02-08:32:33.681539 7f4162bff6c0 compacted to: files[ 0 0 1 0 0 0 0 ]
2025/05/02-08:32:33.681688 7f4162bff6c0 Delete type=2 #87
2025/05/02-08:32:33.681917 7f4162bff6c0 Delete type=2 #147
2025/05/02-08:32:33.707107 7f4162bff6c0 Manual compaction at level-1 from '!scenes!ypDutqjqZcr7lx6I' @ 16 : 1 .. '!scenes!ypDutqjqZcr7lx6I' @ 0 : 0; will stop at (end)

View File

@@ -1,8 +1,8 @@
2024/08/06-21:52:34.146274 7fbe516006c0 Recovering log #110 2024/11/17-22:48:43.485905 7f1d08bf96c0 Recovering log #138
2024/08/06-21:52:34.157668 7fbe516006c0 Delete type=3 #108 2024/11/17-22:48:43.496531 7f1d08bf96c0 Delete type=3 #136
2024/08/06-21:52:34.157768 7fbe516006c0 Delete type=0 #110 2024/11/17-22:48:43.496608 7f1d08bf96c0 Delete type=0 #138
2024/08/06-23:00:32.098671 7fbe50c006c0 Level-0 table #115: started 2024/11/17-22:50:28.294362 7f1d027ff6c0 Level-0 table #143: started
2024/08/06-23:00:32.098750 7fbe50c006c0 Level-0 table #115: 0 bytes OK 2024/11/17-22:50:28.294392 7f1d027ff6c0 Level-0 table #143: 0 bytes OK
2024/08/06-23:00:32.127456 7fbe50c006c0 Delete type=0 #113 2024/11/17-22:50:28.300492 7f1d027ff6c0 Delete type=0 #141
2024/08/06-23:00:32.165357 7fbe50c006c0 Manual compaction at level-0 from '!scenes!8DjkNeeujp2qff1N' @ 72057594037927935 : 1 .. '!scenes!ypDutqjqZcr7lx6I' @ 0 : 0; will stop at (end) 2024/11/17-22:50:28.300663 7f1d027ff6c0 Manual compaction at level-0 from '!scenes!8DjkNeeujp2qff1N' @ 72057594037927935 : 1 .. '!scenes!ypDutqjqZcr7lx6I' @ 0 : 0; will stop at (end)
2024/08/06-23:00:32.212632 7fbe50c006c0 Manual compaction at level-1 from '!scenes!8DjkNeeujp2qff1N' @ 72057594037927935 : 1 .. '!scenes!ypDutqjqZcr7lx6I' @ 0 : 0; will stop at (end) 2024/11/17-22:50:28.300690 7f1d027ff6c0 Manual compaction at level-1 from '!scenes!8DjkNeeujp2qff1N' @ 72057594037927935 : 1 .. '!scenes!ypDutqjqZcr7lx6I' @ 0 : 0; will stop at (end)

Binary file not shown.

Binary file not shown.

View File

@@ -482,15 +482,15 @@ table {border: 1px solid #7a7971;}
line-height: 1.5rem; line-height: 1.5rem;
border-top: 0 none; border-top: 0 none;
border-bottom: 0 none; border-bottom: 0 none;
/*background-color:#2e5561;*/
color: #cbdaa3; color: #cbdaa3;
background-image: url("../assets/ui/bandeau_01.webp"); background-image: url("../assets/ui/bandeau_01.webp");
} }
/* background: rgb(245,245,240) url("../images/ui/fond4.webp") repeat left top;*/ nav.sheet-tabs a,
nav.sheet-tabs .item { nav.sheet-tabs .item {
position: relative; position: relative;
padding: 0 0.25rem; padding: 0 0.25rem;
color: beige;
} }
nav.sheet-tabs .item:after { nav.sheet-tabs .item:after {
@@ -500,7 +500,6 @@ nav.sheet-tabs .item:after {
right: 0; right: 0;
height: 2rem; height: 2rem;
width: 1px; width: 1px;
/*border-right: 1px dashed rgba(52, 52, 52, 0.25);*/
} }
.sheet .tab[data-tab] { .sheet .tab[data-tab] {
@@ -1243,6 +1242,7 @@ h4.entry-name.document-name {
padding: 1px 1px 0px 1px; padding: 1px 1px 0px 1px;
text-decoration: none; text-decoration: none;
text-shadow: 0px 1px 0px #4d3534; text-shadow: 0px 1px 0px #4d3534;
color: beige;
} }
.button-sheet-roll:active { .button-sheet-roll:active {
position:relative; position:relative;
@@ -1427,6 +1427,12 @@ h4.entry-name.document-name {
max-width: 4rem; max-width: 4rem;
min-width: 4rem; min-width: 4rem;
} }
.item-field-label-short-num {
padding-top: 6px;
flex-grow:1;
max-width: 2rem;
min-width: 2rem;
}
.item-field-label-medium { .item-field-label-medium {
padding-top: 6px; padding-top: 6px;
flex-grow:1; flex-grow:1;

View File

@@ -1,7 +1,7 @@
{ {
"id": "fvtt-les-heritiers", "id": "fvtt-les-heritiers",
"description": "Les Héritiers pour FoundryVTT", "description": "Les Héritiers pour FoundryVTT",
"version": "12.0.4", "version": "13.0.0",
"authors": [ "authors": [
{ {
"name": "Uberwald/LeRatierBretonnien", "name": "Uberwald/LeRatierBretonnien",
@@ -21,7 +21,7 @@
}, },
"license": "LICENSE.txt", "license": "LICENSE.txt",
"manifest": "https://www.uberwald.me/gitea/public/fvtt-les-heritiers/raw/branch/master/system.json", "manifest": "https://www.uberwald.me/gitea/public/fvtt-les-heritiers/raw/branch/master/system.json",
"download": "https://www.uberwald.me/gitea/public/fvtt-les-heritiers/archive/fvtt-les-heritiers-12.0.4.zip", "download": "https://www.uberwald.me/gitea/public/fvtt-les-heritiers/archive/fvtt-les-heritiers-13.0.0.zip",
"languages": [ "languages": [
{ {
"lang": "fr", "lang": "fr",
@@ -199,7 +199,7 @@
"url": "https://www.uberwald.me/gitea/public/fvtt-les-heritiers", "url": "https://www.uberwald.me/gitea/public/fvtt-les-heritiers",
"background": "systems/fvtt-les-heritiers/assets/ui/wallpaper_foundry2.webp", "background": "systems/fvtt-les-heritiers/assets/ui/wallpaper_foundry2.webp",
"compatibility": { "compatibility": {
"minimum": "11", "minimum": "13",
"verified": "12" "verified": "13"
} }
} }

View File

@@ -37,7 +37,8 @@
"notes": "", "notes": "",
"statut": "", "statut": "",
"playernotes":"", "playernotes":"",
"gmnotes": "" "gmnotes": "",
"magie": false
} }
}, },
"core": { "core": {
@@ -183,6 +184,12 @@
"pp": 0 "pp": 0
} }
}, },
"magie": {
"pointsame": {
"value": 0,
"max": 0
}
},
"experience": { "experience": {
"value": 0, "value": 0,
"pourtricher": 0 "pourtricher": 0
@@ -267,7 +274,8 @@
"fee", "fee",
"pouvoir", "pouvoir",
"profil", "profil",
"protection" "protection",
"sort"
], ],
"profil": { "profil": {
"profiltype": "majeur", "profiltype": "majeur",
@@ -337,6 +345,7 @@
"niveau": 0, "niveau": 0,
"predilection": false, "predilection": false,
"specialites": [], "specialites": [],
"ismagie": false,
"description": "" "description": ""
}, },
"equipement": { "equipement": {
@@ -345,6 +354,19 @@
"basequip" "basequip"
] ]
}, },
"sort": {
"niveau": "novice",
"competence": "Druidisme",
"carac": "esp",
"duree": "",
"portee": "",
"concentration": "",
"critique": "",
"ingredients": "",
"resistance": "",
"coutactivation": "",
"description": ""
},
"arme": { "arme": {
"categorie": "", "categorie": "",
"armetype": "", "armetype": "",

View File

@@ -127,6 +127,68 @@
</ul> </ul>
</div> </div>
<li class="item flexrow " >
<h2>Magie</h3>
</li>
<div class="flexrow">
<ul>
<li class="flexrow item">
<label class="item-field-label-medium roll-style"><a class="item-field-label-short"
data-rang-key="feerie">Point d'Ame</a></label>
<input type="text" class="item-field-label-short" name="system.magie.pointsame.value"
value="{{system.magie.pointsame.value}}" data-dtype="Number" />
<input type="text" class="item-field-label-short" name="system.magie.pointsame.max"
value="{{system.magie.pointsame.max}}" data-dtype="Number" {{#if issGM}} {{else}} disabled {{/if}} />
</li>
</ul>
</div>
{{#each magieList as |magie idx|}}
<li class="item flexrow " data-item-id="{{magie.competence._id}}" data-item-type="competence">
<h2 class="flexrow"><label class="items-title-text "><a class="roll-competence item-field-label-short"
data-attr-key="tochoose">{{magie.name}} {{magie.competence.system.niveau}} </a> </label>
<div class="item-controls item-controls-fixed">
<a class="item-control item-edit" title="Editer l'item"><i class="fas fa-edit"></i></a>
<a class="item-control item-delete" title="Supprimer l'item"><i class="fas fa-trash"></i></a>
</div>
</h2>
</li>
<div class="sheet-box color-bg-archetype">
<ul class="item-list alternate-list">
<li class="item flexrow list-item items-title-bg">
<span class="item-name-label-header item-field-label-long2-img">
<h3><label class="items-title-text">Nom du sort</label></h3>
</span>
<span class="item-field-label-medium">
<label class="short-label">Niveau</label>
</span>
<div class="item-filler">&nbsp;</div>
<div class="item-controls item-controls-fixed">
<a class="item-control item-add" data-type="sort" title="Ajouter un sort"><i
class="fas fa-plus"></i></a>
</div>
</li>
{{#each sorts as |sort key|}}
<li class="item flexrow " data-item-id="{{sort._id}}" data-item-type="sort">
<img class="item-name-img" src="{{sort.img}}" />
<span class="item-field-label-long2 roll-style"><a class="roll-sort">{{sort.name}}</a></span>
<span class="item-field-label-medium">{{upperFirst sort.system.niveau}}</span>
<div class="item-filler">&nbsp;</div>
<div class="item-controls item-controls-fixed">
<a class="item-control item-edit" title="Editer l'item"><i class="fas fa-edit"></i></a>
<a class="item-control item-delete" title="Supprimer l'item"><i class="fas fa-trash"></i></a>
</div>
</li>
{{/each}}
</ul>
</div>
{{/each}}
</div> </div>
</div> </div>

View File

@@ -63,9 +63,9 @@
<span>&nbsp;&nbsp;</span> <span>&nbsp;&nbsp;</span>
<label class="item-field-label-short">Tricherie</label> <label class="item-field-label-short">Tricherie</label>
<input type="text" class="item-field-label-short" name="system.rang.tricherie.value" <input type="text" class="item-field-label-short-num" name="system.rang.tricherie.value"
value="{{system.rang.tricherie.value}}" data-dtype="Number" /> value="{{system.rang.tricherie.value}}" data-dtype="Number" />
<input type="text" class="item-field-label-short" name="system.rang.tricherie.max" <input type="text" class="item-field-label-short-num" name="system.rang.tricherie.max"
value="{{system.rang.tricherie.max}}" data-dtype="Number" /> value="{{system.rang.tricherie.max}}" data-dtype="Number" />
</div> </div>
@@ -77,6 +77,9 @@
<nav class="sheet-tabs tabs" data-group="primary"> <nav class="sheet-tabs tabs" data-group="primary">
<a class="item" data-tab="competences">Compétences</a> <a class="item" data-tab="competences">Compétences</a>
<a class="item" data-tab="fee">Fée</a> <a class="item" data-tab="fee">Fée</a>
{{#if system.biodata.magie}}
<a class="item" data-tab="magie">Magie</a>
{{/if}}
<a class="item" data-tab="combat">Combat</a> <a class="item" data-tab="combat">Combat</a>
<a class="item" data-tab="equipement">Equipement</a> <a class="item" data-tab="equipement">Equipement</a>
<a class="item" data-tab="contact">Contacts</a> <a class="item" data-tab="contact">Contacts</a>
@@ -483,6 +486,68 @@
</div> </div>
{{!-- Magie Tab --}}
<div class="tab magie" data-group="primary" data-tab="magie">
<div class="flexrow">
<ul>
<li class="flexrow item">
<label class="item-field-label-medium roll-style"><a class="item-field-label-short"
data-rang-key="feerie">Point d'Ame</a></label>
<input type="text" class="item-field-label-short" name="system.magie.pointsame.value"
value="{{system.magie.pointsame.value}}" data-dtype="Number" />
<input type="text" class="item-field-label-short" name="system.magie.pointsame.max"
value="{{system.magie.pointsame.max}}" data-dtype="Number" {{#if issGM}} {{else}} disabled {{/if}} />
</li>
</ul>
</div>
{{#each magieList as |magie idx|}}
<li class="item flexrow " data-item-id="{{magie.competence._id}}" data-item-type="competence">
<h2 class="flexrow"><label class="items-title-text "><a class="roll-competence item-field-label-short"
data-attr-key="tochoose">{{magie.name}} {{magie.competence.system.niveau}} </a> </label>
<div class="item-controls item-controls-fixed">
<a class="item-control item-edit" title="Editer l'item"><i class="fas fa-edit"></i></a>
<a class="item-control item-delete" title="Supprimer l'item"><i class="fas fa-trash"></i></a>
</div>
</h2>
</li>
<div class="sheet-box color-bg-archetype">
<ul class="item-list alternate-list">
<li class="item flexrow list-item items-title-bg">
<span class="item-name-label-header item-field-label-long2-img">
<h3><label class="items-title-text">Nom du sort</label></h3>
</span>
<span class="item-field-label-medium">
<label class="short-label">Niveau</label>
</span>
<div class="item-filler">&nbsp;</div>
<div class="item-controls item-controls-fixed">
<a class="item-control item-add" data-type="sort" title="Ajouter un sort"><i
class="fas fa-plus"></i></a>
</div>
</li>
{{#each sorts as |sort key|}}
<li class="item flexrow " data-item-id="{{sort._id}}" data-item-type="sort">
<img class="item-name-img" src="{{sort.img}}" />
<span class="item-field-label-long2 roll-style"><a class="roll-sort">{{sort.name}}</a></span>
<span class="item-field-label-medium">{{upperFirst sort.system.niveau}}</span>
<div class="item-filler">&nbsp;</div>
<div class="item-controls item-controls-fixed">
<a class="item-control item-edit" title="Editer l'item"><i class="fas fa-edit"></i></a>
<a class="item-control item-delete" title="Supprimer l'item"><i class="fas fa-trash"></i></a>
</div>
</li>
{{/each}}
</ul>
</div>
{{/each}}
</div>
{{!-- Equipement Tab --}} {{!-- Equipement Tab --}}
<div class="tab equipement" data-group="primary" data-tab="equipement"> <div class="tab equipement" data-group="primary" data-tab="equipement">
@@ -647,6 +712,13 @@
<input type="text" class="" name="system.biodata.age" value="{{system.biodata.age}}" <input type="text" class="" name="system.biodata.age" value="{{system.biodata.age}}"
data-dtype="String" /> data-dtype="String" />
</li> </li>
{{#if isGM}}
<li class="item flexrow">
<label class="generic-label">Fiche de Magie ?</label>
<input type="checkbox" class="item-field-label-short edit-item-data" name="system.biodata.magie" {{checked
system.biodata.magie}} />
</li>
{{/if}}
</ul> </ul>
</div> </div>
<div> <div>

View File

@@ -44,6 +44,11 @@
<li>Points d'usage consommés : {{pouvoirPointsUsage}}</li> <li>Points d'usage consommés : {{pouvoirPointsUsage}}</li>
{{/if}} {{/if}}
{{#if sort}}
<li>Sort : {{sort.name}}</li>
<li>Cout en Points d'âmes : {{sortPointsAme}}</li>
{{/if}}
{{#if forcedValue}} {{#if forcedValue}}
<li>Vous dépense 2 points de Tricherie et utilisé une face adjacente du dé !</li> <li>Vous dépense 2 points de Tricherie et utilisé une face adjacente du dé !</li>
{{/if}} {{/if}}

View File

@@ -12,8 +12,6 @@
<div class="tab details" data-group="primary" data-tab="details"> <div class="tab details" data-group="primary" data-tab="details">
<ul class="item-list alternate-list"> <ul class="item-list alternate-list">
</ul> </ul>
</div> </div>

View File

@@ -0,0 +1,88 @@
<form class="{{cssClass}}" autocomplete="off">
{{> systems/fvtt-les-heritiers/templates/partial-item-header.html}}
{{> systems/fvtt-les-heritiers/templates/partial-item-nav.html}}
{{!-- Sheet Body --}}
<section class="sheet-body">
{{> systems/fvtt-les-heritiers/templates/partial-item-description.html}}
<div class="tab details" data-group="primary" data-tab="details">
<ul class="item-list alternate-list">
{{log this}}
<li class="flexrow item">
<label class="generic-label item-field-label-long2">Compétence de Magie </label>
<select class="status-small-label color-class-common item-field-label-long" type="text"
name="system.competence" value="{{system.competence}}" data-dtype="String">
{{selectOptions competencesMagie selected=system.competence valueAttr="name" labelAttr="name"}}
</select>
</li>
<li class="flexrow item">
<label class="generic-label item-field-label-long2">Carac </label>
<select class="status-small-label color-class-common item-field-label-long" type="text" name="system.carac"
value="{{system.carac}}" data-dtype="string">
{{selectOptions config.caracList selected=system.carac}}
</select>
</li>
<li class="flexrow item">
<label class="generic-label item-field-label-long2">Niveau </label>
<select class="status-small-label color-class-common item-field-label-long" type="text" name="system.niveau"
value="{{system.niveau}}" data-dtype="string">
{{selectOptions config.listNiveauSort selected=system.niveau}}
</select>
</li>
<li class="flexrow item">
<label class="generic-label item-field-label-long2">Durée </label>
<input type="text" class="padd-right status-small-label color-class-common item-field-label-long3"
name="system.duree" value="{{system.duree}}" data-dtype="String" />
</li>
<li class="flexrow item">
<label class="generic-label item-field-label-long2">Portée </label>
<input type="text" class="padd-right status-small-label color-class-common item-field-label-long3"
name="system.portee" value="{{system.portee}}" data-dtype="String" />
</li>
<li class="flexrow item">
<label class="generic-label item-field-label-long2">Concentration </label>
<input type="text" class="padd-right status-small-label color-class-common item-field-label-long3"
name="system.concentration" value="{{system.concentration}}" data-dtype="String" />
</li>
<li class="flexrow item">
<label class="generic-label item-field-label-long2">Résistance</label>
<input type="text" class="padd-right status-small-label color-class-common item-field-label-long3"
name="system.resistance" value="{{system.resistance}}" data-dtype="String" />
</select>
</li>
<li class="flexrow item">
<label class="generic-label item-field-label-long2">Critique</label>
<input type="text" class="padd-right status-small-label color-class-common item-field-label-long3"
name="system.critique" value="{{system.critique}}" data-dtype="String" />
</select>
</li>
<li class="flexrow item">
<label class="generic-label item-field-label-long2">Ingrédients</label>
<input type="text" class="padd-right status-small-label color-class-common item-field-label-long3"
name="system.ingredients" value="{{system.ingredients}}" data-dtype="String" />
</select>
</li>
<li class="flexrow item">
<label class="generic-label item-field-label-long2">Cout spécial d'activation</label>
<input type="text" class="padd-right status-small-label color-class-common item-field-label-long3"
name="system.coutactivation" value="{{system.coutactivation}}" data-dtype="String" />
</li>
</ul>
</div>
</section>
</form>

Some files were not shown because too many files have changed in this diff Show More