Compare commits

..

No commits in common. "master" and "fvtt-les-heritiers-11.0.9" have entirely different histories.

107 changed files with 1060 additions and 748 deletions

View File

@ -2,7 +2,8 @@
"TYPES": { "TYPES": {
"Actor": { "Actor": {
"personnage": "Personnage", "personnage": "Personnage",
"pnj": "PNJ" "PNJ": "PNJ"
}
}, },
"Item": { "Item": {
"accessoire": "Accessoire", "accessoire": "Accessoire",
@ -19,5 +20,4 @@
"profil": "Profil", "profil": "Profil",
"protection": "Protection" "protection": "Protection"
} }
}
} }

View File

@ -12,7 +12,7 @@ export class HeritiersActorPNJSheet extends HeritiersActorSheet {
/** @override */ /** @override */
static get defaultOptions() { static get defaultOptions() {
return foundry.utils.mergeObject(super.defaultOptions, { return mergeObject(super.defaultOptions, {
classes: ["fvtt-les-heritiers", "sheet", "actor"], classes: ["fvtt-les-heritiers", "sheet", "actor"],
template: "systems/fvtt-les-heritiers/templates/actor-pnj-sheet.html", template: "systems/fvtt-les-heritiers/templates/actor-pnj-sheet.html",
width: 780, width: 780,

View File

@ -11,7 +11,7 @@ export class HeritiersActorSheet extends ActorSheet {
/** @override */ /** @override */
static get defaultOptions() { static get defaultOptions() {
return foundry.utils.mergeObject(super.defaultOptions, { return mergeObject(super.defaultOptions, {
classes: ["fvtt-les-heritiers", "sheet", "actor"], classes: ["fvtt-les-heritiers", "sheet", "actor"],
template: "systems/fvtt-les-heritiers/templates/actor-sheet.html", template: "systems/fvtt-les-heritiers/templates/actor-sheet.html",
width: 780, width: 780,
@ -24,7 +24,7 @@ export class HeritiersActorSheet extends ActorSheet {
/* -------------------------------------------- */ /* -------------------------------------------- */
async getData() { async getData() {
const objectData = foundry.utils.duplicate(this.object) const objectData = duplicate(this.object)
let formData = { let formData = {
title: this.title, title: this.title,
@ -42,18 +42,18 @@ export class HeritiersActorSheet extends ActorSheet {
utileSkillsPhysical :this.actor.organizeUtileSkills("physical"), utileSkillsPhysical :this.actor.organizeUtileSkills("physical"),
futileSkills :this.actor.organizeFutileSkills(), futileSkills :this.actor.organizeFutileSkills(),
contacts: this.actor.organizeContacts(), contacts: this.actor.organizeContacts(),
armes: foundry.utils.duplicate(this.actor.getWeapons()), armes: duplicate(this.actor.getWeapons()),
monnaies: foundry.utils.duplicate(this.actor.getMonnaies()), monnaies: duplicate(this.actor.getMonnaies()),
pouvoirs: foundry.utils.duplicate(this.actor.getPouvoirs()), pouvoirs: duplicate(this.actor.getPouvoirs()),
fee: foundry.utils.duplicate(this.actor.getFee() || {} ), fee: duplicate(this.actor.getFee() || {} ),
protections: foundry.utils.duplicate(this.actor.getArmors()), protections: duplicate(this.actor.getArmors()),
combat: this.actor.getCombatValues(), combat: this.actor.getCombatValues(),
equipements: foundry.utils.duplicate(this.actor.getEquipments()), equipements: duplicate(this.actor.getEquipments()),
avantages: foundry.utils.duplicate(this.actor.getAvantages()), avantages: duplicate(this.actor.getAvantages()),
atouts: foundry.utils.duplicate(this.actor.getAtouts()), atouts: duplicate(this.actor.getAtouts()),
capacites: foundry.utils.duplicate(this.actor.getCapacites()), capacites: duplicate(this.actor.getCapacites()),
desavantages: foundry.utils.duplicate(this.actor.getDesavantages()), desavantages: duplicate(this.actor.getDesavantages()),
profils: foundry.utils.duplicate(this.actor.getProfils()), profils: duplicate(this.actor.getProfils()),
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,

View File

@ -54,7 +54,7 @@ export class HeritiersActor extends Actor {
/* -------------------------------------------- */ /* -------------------------------------------- */
prepareArme(arme) { prepareArme(arme) {
arme = foundry.utils.duplicate(arme) arme = duplicate(arme)
arme.system.isMelee = HeritiersUtility.isArmeMelee(arme) arme.system.isMelee = HeritiersUtility.isArmeMelee(arme)
return arme return arme
} }
@ -86,7 +86,7 @@ export class HeritiersActor extends Actor {
/* ----------------------- --------------------- */ /* ----------------------- --------------------- */
addMember(actorId) { addMember(actorId) {
let members = foundry.utils.duplicate(this.system.members) let members = duplicate(this.system.members)
members.push({ id: actorId }) members.push({ id: actorId })
this.update({ 'system.members': members }) this.update({ 'system.members': members })
} }
@ -138,7 +138,7 @@ export class HeritiersActor extends Actor {
let pouvoirs = [] let pouvoirs = []
for (let item of this.items) { for (let item of this.items) {
if (item.type == "pouvoir") { if (item.type == "pouvoir") {
let itemObj = foundry.utils.duplicate(item) let itemObj = duplicate(item)
itemObj.maxUsage = this.getPouvoirUsageMax(item) itemObj.maxUsage = this.getPouvoirUsageMax(item)
pouvoirs.push(itemObj) pouvoirs.push(itemObj)
} }
@ -151,7 +151,7 @@ export class HeritiersActor extends Actor {
getSkills() { getSkills() {
let comp = [] let comp = []
for (let item of this.items) { for (let item of this.items) {
item = foundry.utils.duplicate(item) item = duplicate(item)
if (item.type == "competence") { if (item.type == "competence") {
comp.push(item) comp.push(item)
} }
@ -259,11 +259,6 @@ export class HeritiersActor extends Actor {
/* -------------------------------------------- */ /* -------------------------------------------- */
async prepareData() { async prepareData() {
super.prepareData(); super.prepareData();
let pvMax = (this.system.caracteristiques.con.rang * 3) + 9 + this.system.pv.mod
if (this.system.pv.max != pvMax) {
this.update({ 'system.pv.max': pvMax })
}
} }
/* -------------------------------------------- */ /* -------------------------------------------- */
@ -285,7 +280,7 @@ export class HeritiersActor extends Actor {
getItemById(id) { getItemById(id) {
let item = this.items.find(item => item.id == id); let item = this.items.find(item => item.id == id);
if (item) { if (item) {
item = foundry.utils.duplicate(item) item = duplicate(item)
} }
return item; return item;
} }
@ -343,7 +338,7 @@ export class HeritiersActor extends Actor {
/* -------------------------------------------- */ /* -------------------------------------------- */
getCarac(attrKey) { getCarac(attrKey) {
return foundry.utils.duplicate(this.system.caracteristiques) return duplicate(this.system.caracteristiques)
} }
/* -------------------------------------------- */ /* -------------------------------------------- */
@ -364,13 +359,13 @@ export class HeritiersActor extends Actor {
getSubActors() { getSubActors() {
let subActors = []; let subActors = [];
for (let id of this.system.subactors) { for (let id of this.system.subactors) {
subActors.push(foundry.utils.duplicate(game.actors.get(id))); subActors.push(duplicate(game.actors.get(id)));
} }
return subActors; return subActors;
} }
/* -------------------------------------------- */ /* -------------------------------------------- */
async addSubActor(subActorId) { async addSubActor(subActorId) {
let subActors = foundry.utils.duplicate(this.system.subactors); let subActors = duplicate(this.system.subactors);
subActors.push(subActorId); subActors.push(subActorId);
await this.update({ 'system.subactors': subActors }); await this.update({ 'system.subactors': subActors });
} }
@ -392,7 +387,7 @@ export class HeritiersActor extends Actor {
/* -------------------------------------------- */ /* -------------------------------------------- */
async incDecAdversite(adv, incDec = 0) { async incDecAdversite(adv, incDec = 0) {
let adversite = foundry.utils.duplicate(this.system.adversite) let adversite = duplicate(this.system.adversite)
adversite[adv] += Number(incDec) adversite[adv] += Number(incDec)
adversite[adv] = Math.max(adversite[adv], 0) adversite[adv] = Math.max(adversite[adv], 0)
this.update({ 'system.adversite': adversite }) this.update({ 'system.adversite': adversite })
@ -439,7 +434,7 @@ export class HeritiersActor extends Actor {
/* -------------------------------------------- */ /* -------------------------------------------- */
async setPredilectionUsed(compId, predIdx) { async setPredilectionUsed(compId, predIdx) {
let comp = this.items.get(compId) let comp = this.items.get(compId)
let pred = foundry.utils.duplicate(comp.system.predilections) let pred = duplicate(comp.system.predilections)
pred[predIdx].used = true pred[predIdx].used = true
await this.updateEmbeddedDocuments('Item', [{ _id: compId, 'system.predilections': pred }]) await this.updateEmbeddedDocuments('Item', [{ _id: compId, 'system.predilections': pred }])
} }
@ -461,7 +456,7 @@ export class HeritiersActor extends Actor {
} }
if (arme.system.totalDefensif > maxDef) { if (arme.system.totalDefensif > maxDef) {
maxDef = arme.system.totalDefensif maxDef = arme.system.totalDefensif
bestArme = foundry.utils.duplicate(arme) bestArme = duplicate(arme)
} }
} }
return bestArme return bestArme
@ -476,7 +471,7 @@ export class HeritiersActor extends Actor {
for (let auto of talent.system.automations) { for (let auto of talent.system.automations) {
if (auto.eventtype === "prepare-roll") { if (auto.eventtype === "prepare-roll") {
if (auto.competence.toLowerCase() == competence.name.toLowerCase()) { if (auto.competence.toLowerCase() == competence.name.toLowerCase()) {
talent = foundry.utils.duplicate(talent) talent = duplicate(talent)
talent.system.bonus = auto.bonus talent.system.bonus = auto.bonus
talent.system.baCost = auto.baCost talent.system.baCost = auto.baCost
talents.push(talent) talents.push(talent)
@ -538,7 +533,6 @@ export class HeritiersActor extends Actor {
} }
return undefined return undefined
} }
/* -------------------------------------------- */ /* -------------------------------------------- */
getCommonRollData(compId = undefined, compName = undefined) { getCommonRollData(compId = undefined, compName = undefined) {
let rollData = HeritiersUtility.getBasicRollData() let rollData = HeritiersUtility.getBasicRollData()
@ -558,12 +552,12 @@ export class HeritiersActor extends Actor {
rollData.rulesMalus.push(this.getPvMalus()) rollData.rulesMalus.push(this.getPvMalus())
if (compId) { if (compId) {
rollData.competence = foundry.utils.duplicate(this.items.get(compId) || {}) rollData.competence = duplicate(this.items.get(compId) || {})
this.prepareUtileSkill(rollData.competence) this.prepareUtileSkill(rollData.competence)
rollData.actionImg = rollData.competence?.img rollData.actionImg = rollData.competence?.img
} }
if (compName) { if (compName) {
rollData.competence = foundry.utils.duplicate(this.items.find(item => item.name.toLowerCase() == compName.toLowerCase()) || {}) rollData.competence = duplicate(this.items.find(item => item.name.toLowerCase() == compName.toLowerCase()) || {})
if (rollData.competence?.name) { if (rollData.competence?.name) {
this.prepareUtileSkill(rollData.competence) this.prepareUtileSkill(rollData.competence)
rollData.actionImg = rollData.competence?.img rollData.actionImg = rollData.competence?.img
@ -631,7 +625,7 @@ export class HeritiersActor extends Actor {
async rollAttaqueArme(armeId) { async rollAttaqueArme(armeId) {
let arme = this.items.get(armeId) let arme = this.items.get(armeId)
if (arme) { if (arme) {
arme = foundry.utils.duplicate(arme) arme = duplicate(arme)
arme.system.isMelee = HeritiersUtility.isArmeMelee(arme) arme.system.isMelee = HeritiersUtility.isArmeMelee(arme)
let competenceName = "Tir" let competenceName = "Tir"
let key = "prec" let key = "prec"
@ -664,7 +658,7 @@ export class HeritiersActor extends Actor {
let rollData = this.getCommonRollData(undefined, competenceName) let rollData = this.getCommonRollData(undefined, competenceName)
rollData.carac = this.system.caracteristiques[key] rollData.carac = this.system.caracteristiques[key]
rollData.caracKey = key rollData.caracKey = key
rollData.arme = foundry.utils.duplicate(arme) rollData.arme = duplicate(arme)
rollData.mode = "attaquebrutale" rollData.mode = "attaquebrutale"
rollData.armes = this.getOtherMeleeWeapons(arme) rollData.armes = this.getOtherMeleeWeapons(arme)
rollData.rulesMalus.push({ name: "Attaque brutale", value: -2 }) rollData.rulesMalus.push({ name: "Attaque brutale", value: -2 })
@ -682,7 +676,7 @@ export class HeritiersActor extends Actor {
let rollData = this.getCommonRollData(undefined, pireCompetence.name) let rollData = this.getCommonRollData(undefined, pireCompetence.name)
rollData.carac = this.system.caracteristiques[key] rollData.carac = this.system.caracteristiques[key]
rollData.caracKey = key rollData.caracKey = key
rollData.arme = foundry.utils.duplicate(arme) rollData.arme = duplicate(arme)
rollData.armes = this.getOtherMeleeWeapons(arme) rollData.armes = this.getOtherMeleeWeapons(arme)
rollData.mode = "attaquecharge" rollData.mode = "attaquecharge"
let rollDialog = await HeritiersRollDialog.create(this, rollData) let rollDialog = await HeritiersRollDialog.create(this, rollData)
@ -699,7 +693,7 @@ export class HeritiersActor extends Actor {
let rollData = this.getCommonRollData(undefined, competenceName) let rollData = this.getCommonRollData(undefined, competenceName)
rollData.carac = this.system.caracteristiques["agi"] rollData.carac = this.system.caracteristiques["agi"]
rollData.caracKey = "agi" rollData.caracKey = "agi"
rollData.arme = foundry.utils.duplicate(arme) rollData.arme = duplicate(arme)
rollData.mode = "assommer" rollData.mode = "assommer"
if (rollData.defenderTokenId) { if (rollData.defenderTokenId) {
rollData.cacheDifficulte = true rollData.cacheDifficulte = true
@ -709,96 +703,20 @@ export class HeritiersActor extends Actor {
} }
} }
/* -------------------------------------------- */
pouvoirPassifDialog(pouvoir) {
let rollData = this.getCommonRollData()
rollData.pouvoir = pouvoir
rollData.mode = "pouvoirpassif"
rollData.pouvoirPointsUsage = 0
rollData.noRoll = true
let d = new Dialog({
title: "Activer le pouvoir passif " + pouvoir.name,
content: "<p>Choisissez le nombre de Points d'Usage</p>",
buttons: {
one: {
icon: '<i class="fas fa-check"></i>',
label: "1 Point d'Usage",
callback: () => {
rollData.pouvoirPointsUsage = 1;
HeritiersUtility.rollHeritiers(rollData);
}
},
two: {
icon: '<i class="fas fa-check"></i>',
label: "2 Points d'Usage",
callback: () => {
rollData.pouvoirPointsUsage = 2;
HeritiersUtility.rollHeritiers(rollData);
}
},
three: {
icon: '<i class="fas fa-check"></i>',
label: "3 Points d'Usage",
callback: () => {
rollData.pouvoirPointsUsage = 3;
HeritiersUtility.rollHeritiers(rollData);
}
},
four: {
icon: '<i class="fas fa-check"></i>',
label: "4 Points d'Usage",
callback: () => {
rollData.pouvoirPointsUsage = 4;
HeritiersUtility.rollHeritiers(rollData);
}
},
close: {
icon: '<i class="fas fa-times"></i>',
label: "Annuler",
callback: () => {
}
}
},
default: "one",
render: html => console.log("Pouvoir passif"),
close: html => console.log("No option")
});
d.render(true);
}
/* -------------------------------------------- */ /* -------------------------------------------- */
async rollPouvoir(pouvoirId) { async rollPouvoir(pouvoirId) {
let pouvoir = this.items.get(pouvoirId) let pouvoir = this.items.get(pouvoirId)
if (pouvoir) { if (pouvoir) {
if (pouvoir.system.pouvoirtype == "passif") {
this.pouvoirPassifDialog(pouvoir)
return
}
let rollData = this.getCommonRollData(undefined, undefined) let rollData = this.getCommonRollData(undefined, undefined)
rollData.pouvoirMaxUsage = this.getPouvoirUsageMax(pouvoir)
rollData.pouvoir = foundry.utils.duplicate(pouvoir)
rollData.mode = "pouvoir"
if (pouvoir.system.feeriemasque != "autre") { if (pouvoir.system.feeriemasque != "autre") {
rollData.pouvoirBase = foundry.utils.duplicate(this.system.rang[pouvoir.system.feeriemasque.toLowerCase()]) rollData.pouvoirBase = duplicate(this.system.rang[pouvoir.system.feeriemasque.toLowerCase()])
rollData.pouvoirBase.label = "Féerie" rollData.pouvoirBase.label = "Féerie"
if (pouvoir.system.istest && !pouvoir.system.carac) { rollData.carac = duplicate(this.system.caracteristiques[pouvoir.system.carac])
ui.notifications.warn("Le pouvoir actif " + pouvoir.name + " n'a pas de caractéristique associée")
}
if ( pouvoir.system.istest) {
rollData.carac = foundry.utils.duplicate(this.system.caracteristiques[pouvoir.system.carac])
rollData.caracKey = pouvoir.system.carac rollData.caracKey = pouvoir.system.carac
} else {
rollData.noRoll = true
HeritiersUtility.rollHeritiers(rollData);
return;
//this.incDecPointsUsage(pouvoir.id, -rollData.pouvoirPointsUsage)
//ui.notifications.warn("Le pouvoir actif " + pouvoir.name + " a été utilisé, dépense de " + pouvoirPointsUsage + " points d'usage")
}
} }
rollData.pouvoirMaxUsage = this.getPouvoirUsageMax(pouvoir)
rollData.pouvoir = duplicate(pouvoir)
rollData.mode = "pouvoir"
let rollDialog = await HeritiersRollDialog.create(this, rollData) let rollDialog = await HeritiersRollDialog.create(this, rollData)
rollDialog.render(true) rollDialog.render(true)
} }

View File

@ -65,32 +65,32 @@ export const HERITIERS_CONFIG = {
}, },
seuilsDifficulte: { seuilsDifficulte: {
"-1": "Aucun/Non applicable", "-1": "Aucun/Non applicable",
"5": "Enfantine (5)", "5": "Enfantine",
"6": "Triviale (6)", "6": "Triviale",
"7": "Moins Triviale (7)", "7": "Moins Triviale",
"8": "Aisée (8)", "8": "Aisée",
"9": "Moins Aisée (9)", "7": "Moins Aisée",
"10": "Normale (10)", "10": "Normale",
"11": "Moins Normale (11)", "11": "Moins Normale",
"12": "Compliquée (12)", "12": "Compliquée",
"13": "Plus Compliquée (13)", "13": "Plus Compliquée",
"14": "Difficile (14)", "14": "Difficile",
"15": "Plus Difficile (15)", "15": "Plus Difficile",
"16": "Très Difficile (16)", "16": "Très Difficile",
"17": "Très Très Difficile (17)", "17": "Très Très Difficile",
"18": "Critique (18)", "18": "Critique",
"19": "Plus Critique (19)", "19": "Plus Critique",
"20": "Insurmontable (20)", "20": "Insurmontable",
"21": "Très Insurmontable (21)", "20": "Très Insurmontable",
"22": "Surhumaine (22)", "22": "Surhumaine",
"23": "Très Surhumaine (23)", "23": "Très Surhumaine",
"24": "Epique (24)", "24": "Epique",
"25": "Plus Epique (25)", "25": "Plus Epique",
"26": "Légendaire (26)", "26": "Légendaire",
"27": "Très Légendaire (27)", "26": "Très Légendaire",
"28": "Mythique (28)", "28": "Mythique",
"29": "Plus Mythique (29)", "29": "Plus Mythique",
"30": "Divine (30)" "30": "Divine"
}, },
attaqueCible: { attaqueCible: {
@ -145,66 +145,7 @@ export const HERITIERS_CONFIG = {
"traditionnelle": "Traditionnelle", "traditionnelle": "Traditionnelle",
"moderne": "Moderne", "moderne": "Moderne",
"orientale": "Orientale" "orientale": "Orientale"
}, }
typeContact: {
"contact": "Contact",
"allie": "Allié",
"ennemi": "Ennemi",
"interet": "Personne d'interêt"
},
niveauContact: {
"1": "1",
"2": "2",
"3": "3",
},
pointsUsageList: {
"1": "1",
"2": "2",
"3": "3",
"4": "4",
},
attaquePlusieursList : {
"0": "0",
"1": "+1",
"2": "+2",
},
attaque2ArmesListe: [
{value: "0", label: "Aucun"},
{value: "-4", label: "Deux armes à 1 main"},
{value: "-2", label: "Deux armes naturelles"},
{value: "-2", label: "Avec spécialisation \"Mauvaise Main\""}
],
typeProfil: {
"mineur": "Mineur",
"majeur": "Majeur",
},
bonusMalusContext: [
{value: "-6", label: "-6"},
{value: "-5", label: "-5"},
{value: "-4", label: "-4"},
{value: "-3", label: "-3"},
{value: "-2", label: "-2"},
{value: "-1", label: "-1"},
{value: "0", label: "0"},
{value: "1", label: "+1"},
{value: "2", label: "+2"},
{value: "3", label: "+3"},
{value: "4", label: "+4"},
{value: "5", label: "+5"},
{value: "6", label: "+6"}
],
listNiveau: {
"0": "0",
"1": "1",
"2": "2",
"3": "3",
"4": "4",
"5": "5",
"6": "6",
"7": "7",
"8": "8",
"9": "9",
"10": "10"
},
} }

View File

@ -0,0 +1,25 @@
/**
* Extend the basic ActorSheet with some very simple modifications
* @extends {ActorSheet}
*/
import { HeritiersActorSheet } from "./heritiers-actor-sheet.js";
import { HeritiersUtility } from "./heritiers-utility.js";
/* -------------------------------------------- */
export class HeritiersCreatureSheet extends HeritiersActorSheet {
/** @override */
static get defaultOptions() {
return mergeObject(super.defaultOptions, {
classes: ["fvtt-les-heritiers", "sheet", "actor"],
template: "systems/fvtt-les-heritiers/templates/creature-sheet.html",
width: 640,
height: 720,
tabs: [{ navSelector: ".sheet-tabs", contentSelector: ".sheet-body", initial: "stats" }],
dragDrop: [{ dragSelector: ".item-list .item", dropSelector: null }],
editScore: false
})
}
}

View File

@ -9,7 +9,7 @@ export class HeritiersItemSheet extends ItemSheet {
/** @override */ /** @override */
static get defaultOptions() { static get defaultOptions() {
return foundry.utils.mergeObject(super.defaultOptions, { return mergeObject(super.defaultOptions, {
classes: ["fvtt-les-heritiers", "sheet", "item"], classes: ["fvtt-les-heritiers", "sheet", "item"],
template: "systems/fvtt-les-heritiers/templates/item-sheet.html", template: "systems/fvtt-les-heritiers/templates/item-sheet.html",
dragDrop: [{ dragSelector: null, dropSelector: null }], dragDrop: [{ dragSelector: null, dropSelector: null }],
@ -48,7 +48,7 @@ export class HeritiersItemSheet extends ItemSheet {
/* -------------------------------------------- */ /* -------------------------------------------- */
async getData() { async getData() {
const objectData = foundry.utils.duplicate(this.object) const objectData = duplicate(this.object)
let formData = { let formData = {
title: this.title, title: this.title,
id: this.id, id: this.id,
@ -96,7 +96,7 @@ export class HeritiersItemSheet extends ItemSheet {
/* -------------------------------------------- */ /* -------------------------------------------- */
postItem() { postItem() {
let chatData = foundry.utils.duplicate(HeritiersUtility.data(this.item)); let chatData = duplicate(HeritiersUtility.data(this.item));
if (this.actor) { if (this.actor) {
chatData.actor = { id: this.actor.id }; chatData.actor = { id: this.actor.id };
} }
@ -138,52 +138,52 @@ export class HeritiersItemSheet extends ItemSheet {
}) })
html.find('#add-specialite').click(ev => { html.find('#add-specialite').click(ev => {
let spec = foundry.utils.duplicate(this.object.system.specialites) let spec = duplicate(this.object.system.specialites)
spec.push( { name: "Nouvelle Spécialité", id: foundry.utils.randomID(16), used: false }) spec.push( { name: "Nouvelle Spécialité", id: randomID(16), used: false })
this.object.update( { 'system.specialites': spec }) this.object.update( { 'system.specialites': spec })
}) })
html.find('.delete-specialite').click(ev => { html.find('.delete-specialite').click(ev => {
const li = $(ev.currentTarget).parents(".specialite-item") const li = $(ev.currentTarget).parents(".specialite-item")
let index = li.data("specialite-index") let index = li.data("specialite-index")
let spec = foundry.utils.duplicate(this.object.system.specialites) let spec = duplicate(this.object.system.specialites)
spec.splice(index,1) spec.splice(index,1)
this.object.update( { 'system.specialites': spec }) this.object.update( { 'system.specialites': spec })
}) })
html.find('.edit-specialite').change(ev => { html.find('.edit-specialite').change(ev => {
const li = $(ev.currentTarget).parents(".specialite-item") const li = $(ev.currentTarget).parents(".specialite-item")
let index = li.data("specialite-index") let index = li.data("specialite-index")
let spec = foundry.utils.duplicate(this.object.system.specialites) let spec = duplicate(this.object.system.specialites)
spec[index].name = ev.currentTarget.value spec[index].name = ev.currentTarget.value
spec[index].id = spec[index].id || foundry.utils.randomID(16) spec[index].id = spec[index].id || randomID(16)
this.object.update( { 'system.specialites': spec }) this.object.update( { 'system.specialites': spec })
}) })
html.find('.edit-specialite-description').change(ev => { html.find('.edit-specialite-description').change(ev => {
const li = $(ev.currentTarget).parents(".specialite-item") const li = $(ev.currentTarget).parents(".specialite-item")
let index = li.data("specialite-index") let index = li.data("specialite-index")
let spec = foundry.utils.duplicate(this.object.system.specialites) let spec = duplicate(this.object.system.specialites)
spec[index].description = ev.currentTarget.value spec[index].description = ev.currentTarget.value
spec[index].id = spec[index].id || foundry.utils.randomID(16) spec[index].id = spec[index].id || randomID(16)
this.object.update( { 'system.specialites': spec }) this.object.update( { 'system.specialites': spec })
}) })
html.find('#add-automation').click(ev => { html.find('#add-automation').click(ev => {
let autom = foundry.utils.duplicate(this.object.system.automations) let autom = duplicate(this.object.system.automations)
autom.push( { eventtype: "on-drop", name: "Automatisation 1", competence: "", minLevel: 0, id: foundry.utils.randomID(16) }) autom.push( { eventtype: "on-drop", name: "Automatisation 1", competence: "", minLevel: 0, id: randomID(16) })
this.object.update( { 'system.automations': autom }) this.object.update( { 'system.automations': autom })
}) })
html.find('.delete-automation').click(ev => { html.find('.delete-automation').click(ev => {
const li = $(ev.currentTarget).parents(".automation-item") const li = $(ev.currentTarget).parents(".automation-item")
let index = li.data("automation-index") let index = li.data("automation-index")
let autom = foundry.utils.duplicate(this.object.system.automations) let autom = duplicate(this.object.system.automations)
autom.splice(index,1) autom.splice(index,1)
this.object.update( { 'system.automations': autom }) this.object.update( { 'system.automations': autom })
}) })
html.find('.automation-edit-field').change(ev => { html.find('.automation-edit-field').change(ev => {
let index = $(ev.currentTarget).data("automation-index") let index = $(ev.currentTarget).data("automation-index")
let field = $(ev.currentTarget).data("automation-field") let field = $(ev.currentTarget).data("automation-field")
let auto = foundry.utils.duplicate(this.object.system.automations) let auto = duplicate(this.object.system.automations)
auto[index][field] = ev.currentTarget.value auto[index][field] = ev.currentTarget.value
auto[index].id = auto[index].id || foundry.utils.randomID(16) auto[index].id = auto[index].id || randomID(16)
this.object.update( { 'system.automations': auto }) this.object.update( { 'system.automations': auto })
}) })

View File

@ -12,6 +12,7 @@ import { HeritiersActor } from "./heritiers-actor.js";
import { HeritiersItemSheet } from "./heritiers-item-sheet.js"; import { HeritiersItemSheet } from "./heritiers-item-sheet.js";
import { HeritiersActorSheet } from "./heritiers-actor-sheet.js"; import { HeritiersActorSheet } from "./heritiers-actor-sheet.js";
import { HeritiersActorPNJSheet } from "./heritiers-actor-pnj-sheet.js"; import { HeritiersActorPNJSheet } from "./heritiers-actor-pnj-sheet.js";
import { HeritiersCreatureSheet } from "./heritiers-creature-sheet.js";
import { HeritiersUtility } from "./heritiers-utility.js"; import { HeritiersUtility } from "./heritiers-utility.js";
import { HeritiersCombat } from "./heritiers-combat.js"; import { HeritiersCombat } from "./heritiers-combat.js";
import { HeritiersItem } from "./heritiers-item.js"; import { HeritiersItem } from "./heritiers-item.js";
@ -46,8 +47,6 @@ Hooks.once("init", async function () {
CONFIG.Combat.documentClass = HeritiersCombat CONFIG.Combat.documentClass = HeritiersCombat
CONFIG.Actor.documentClass = HeritiersActor CONFIG.Actor.documentClass = HeritiersActor
CONFIG.Item.documentClass = HeritiersItem CONFIG.Item.documentClass = HeritiersItem
// Create an object of bonus/malus from -6 to +6 signed
HERITIERS_CONFIG.bonusMalus = Array.from({ length: 7 }, (v, k) => toString(k - 6))
game.system.lesheritiers = { game.system.lesheritiers = {
HeritiersUtility, HeritiersUtility,
config: HERITIERS_CONFIG config: HERITIERS_CONFIG

View File

@ -22,10 +22,10 @@ export class HeritiersRollDialog extends Dialog {
} }
let enableD10 = false let enableD10 = false
let enableD12 = false let enableD12 = false
if (rollData.mode == "pouvoir" || rollData.competence?.system.niveau > 0) { if (rollData.competence?.system.niveau > 0) {
enableD10 = true enableD10 = true
} }
if (rollData.mode == "pouvoir" || rollData.competence?.system.niveau > 1) { if (rollData.competence?.system.niveau > 1) {
enableD12 = true enableD12 = true
} }
if (enableD10) { if (enableD10) {
@ -118,7 +118,6 @@ export class HeritiersRollDialog extends Dialog {
this.rollData.sdValue = Number(event.currentTarget.value) this.rollData.sdValue = Number(event.currentTarget.value)
}) })
html.find('#caracKey').change(async (event) => { html.find('#caracKey').change(async (event) => {
//console.log("caracKey", event.currentTarget.value)
this.rollData.caracKey = String(event.currentTarget.value) this.rollData.caracKey = String(event.currentTarget.value)
}) })
html.find('#bonus-malus-context').change((event) => { html.find('#bonus-malus-context').change((event) => {

View File

@ -140,7 +140,7 @@ export class HeritiersUtility {
let rollData = message.getFlag("world", "heritiers-roll") let rollData = message.getFlag("world", "heritiers-roll")
let actor = this.getActorFromRollData(rollData) let actor = this.getActorFromRollData(rollData)
await actor.setPredilectionUsed(rollData.competence._id, predIdx) await actor.setPredilectionUsed(rollData.competence._id, predIdx)
rollData.competence = foundry.utils.duplicate(actor.getCompetence(rollData.competence._id)) rollData.competence = duplicate(actor.getCompetence(rollData.competence._id))
HeritiersUtility.rollHeritiers(rollData) HeritiersUtility.rollHeritiers(rollData)
}) })
@ -172,7 +172,8 @@ export class HeritiersUtility {
'systems/fvtt-les-heritiers/templates/partial-item-header.html', 'systems/fvtt-les-heritiers/templates/partial-item-header.html',
'systems/fvtt-les-heritiers/templates/partial-item-description.html', 'systems/fvtt-les-heritiers/templates/partial-item-description.html',
'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',
'systems/fvtt-les-heritiers/templates/partial-list-niveau.html'
] ]
return loadTemplates(templatePaths); return loadTemplates(templatePaths);
} }
@ -251,7 +252,7 @@ export class HeritiersUtility {
let id = rollData.rollId; let id = rollData.rollId;
let oldRollData = this.rollDataStore[id] || {}; let oldRollData = this.rollDataStore[id] || {};
let newRollData = foundry.utils.mergeObject(oldRollData, rollData); let newRollData = mergeObject(oldRollData, rollData);
this.rollDataStore[id] = newRollData; this.rollDataStore[id] = newRollData;
} }
/* -------------------------------------------- */ /* -------------------------------------------- */
@ -390,7 +391,7 @@ export class HeritiersUtility {
} }
} }
if ( !rollData.forcedValue) { if ( !rollData.forcedValue) {
rollData.adjacentFaces = foundry.utils.duplicate(__facesAdjacentes[rollData.mainDice][rollData.diceValue]) rollData.adjacentFaces = duplicate(__facesAdjacentes[rollData.mainDice][rollData.diceValue])
} }
} }
} }
@ -476,8 +477,7 @@ export class HeritiersUtility {
} }
//rollData.actionImg = "systems/fvtt-les-heritiers/assets/icons/" + actor.system.attributs[rollData.attrKey].labelnorm + ".webp" //rollData.actionImg = "systems/fvtt-les-heritiers/assets/icons/" + actor.system.attributs[rollData.attrKey].labelnorm + ".webp"
if (rollData.caracKey == "pre") rollData.caracKey = "pres"; // Patch tomanage wrong carac key rollData.carac = duplicate(actor.system.caracteristiques[rollData.caracKey])
rollData.carac = foundry.utils.duplicate(actor.system.caracteristiques[rollData.caracKey])
if (rollData.forcedValue) { if (rollData.forcedValue) {
rollData.diceFormula = rollData.forcedValue rollData.diceFormula = rollData.forcedValue
@ -535,21 +535,20 @@ export class HeritiersUtility {
} }
} }
if ( !rollData.noRoll) {
let myRoll = await new Roll(rollData.diceFormula).roll() let myRoll = new Roll(rollData.diceFormula).roll({ async: false })
await this.showDiceSoNice(myRoll, game.settings.get("core", "rollMode")) await this.showDiceSoNice(myRoll, game.settings.get("core", "rollMode"))
rollData.roll = foundry.utils.duplicate(myRoll) rollData.roll = duplicate(myRoll)
console.log(">>>> ", myRoll) console.log(">>>> ", myRoll)
this.computeResult(actor, rollData) this.computeResult(actor, rollData)
this.computeMarge(rollData, rollData.sdValue) // Calcul de la marge si seuil présent this.computeMarge(rollData, rollData.sdValue) // Calcul de la marge si seuil présent
}
if (rollData.mode == "init") { if (rollData.mode == "init") {
actor.setFlag("world", "last-initiative", rollData.finalResult) actor.setFlag("world", "last-initiative", rollData.finalResult)
} }
// Gestion pouvoir et points d'usage // Gestion pouvoir et points d'usage
if (rollData.mode == "pouvoir" || rollData.mode == "pouvoirpassif") { if (rollData.mode == "pouvoir") {
actor.incDecPointsUsage(rollData.pouvoir._id, -rollData.pouvoirPointsUsage) actor.incDecPointsUsage(rollData.pouvoir._id, -rollData.pouvoirPointsUsage)
} }
@ -583,9 +582,9 @@ export class HeritiersUtility {
static async bonusRollHeritiers(rollData) { static async bonusRollHeritiers(rollData) {
rollData.bonusFormula = rollData.addedBonus rollData.bonusFormula = rollData.addedBonus
let bonusRoll = await new Roll(rollData.bonusFormula).roll() let bonusRoll = new Roll(rollData.bonusFormula).roll({ async: false })
await this.showDiceSoNice(bonusRoll, game.settings.get("core", "rollMode")); await this.showDiceSoNice(bonusRoll, game.settings.get("core", "rollMode"));
rollData.bonusRoll = foundry.utils.duplicate(bonusRoll) rollData.bonusRoll = duplicate(bonusRoll)
rollData.finalResult += rollData.bonusRoll.total rollData.finalResult += rollData.bonusRoll.total
@ -623,7 +622,7 @@ export class HeritiersUtility {
/* -------------------------------------------- */ /* -------------------------------------------- */
static blindMessageToGM(chatOptions) { static blindMessageToGM(chatOptions) {
let chatGM = foundry.utils.duplicate(chatOptions); let chatGM = duplicate(chatOptions);
chatGM.whisper = this.getUsers(user => user.isGM); chatGM.whisper = this.getUsers(user => user.isGM);
chatGM.content = "Blinde message of " + game.user.name + "<br>" + chatOptions.content; chatGM.content = "Blinde message of " + game.user.name + "<br>" + chatOptions.content;
console.log("blindMessageToGM", chatGM); console.log("blindMessageToGM", chatGM);
@ -687,7 +686,7 @@ export class HeritiersUtility {
/* -------------------------------------------- */ /* -------------------------------------------- */
static getBasicRollData() { static getBasicRollData() {
let rollData = { let rollData = {
rollId: foundry.utils.randomID(16), rollId: randomID(16),
rollMode: game.settings.get("core", "rollMode"), rollMode: game.settings.get("core", "rollMode"),
sdList: game.system.lesheritiers.config.seuilsDifficulte, sdList: game.system.lesheritiers.config.seuilsDifficulte,
sdValue: -1, sdValue: -1,

Binary file not shown.

Binary file not shown.

View File

@ -1 +1 @@
MANIFEST-000147 MANIFEST-000050

View File

@ -1,8 +1,8 @@
2024/08/11-14:35:37.830180 7f47842006c0 Recovering log #145 2024/03/23-10:48:02.571733 7fed73e006c0 Recovering log #48
2024/08/11-14:35:37.841219 7f47842006c0 Delete type=3 #143 2024/03/23-10:48:02.582541 7fed73e006c0 Delete type=3 #46
2024/08/11-14:35:37.841349 7f47842006c0 Delete type=0 #145 2024/03/23-10:48:02.582617 7fed73e006c0 Delete type=0 #48
2024/08/11-14:39:33.791107 7f4782e006c0 Level-0 table #150: started 2024/03/23-11:37:00.840004 7fed720006c0 Level-0 table #53: started
2024/08/11-14:39:33.791244 7f4782e006c0 Level-0 table #150: 0 bytes OK 2024/03/23-11:37:00.840024 7fed720006c0 Level-0 table #53: 0 bytes OK
2024/08/11-14:39:33.797592 7f4782e006c0 Delete type=0 #148 2024/03/23-11:37:00.846784 7fed720006c0 Delete type=0 #51
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) 2024/03/23-11:37:00.846952 7fed720006c0 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) 2024/03/23-11:37:00.846980 7fed720006c0 Manual compaction at level-1 from '!items!1NhJH4IJpxsGmLB8' @ 72057594037927935 : 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/03/23-10:36:32.618548 7fed73e006c0 Recovering log #44
2024/08/06-21:52:34.094922 7fbe516006c0 Delete type=3 #139 2024/03/23-10:36:32.628885 7fed73e006c0 Delete type=3 #42
2024/08/06-21:52:34.095027 7fbe516006c0 Delete type=0 #141 2024/03/23-10:36:32.628941 7fed73e006c0 Delete type=0 #44
2024/08/06-23:00:31.976722 7fbe50c006c0 Level-0 table #146: started 2024/03/23-10:47:49.111695 7fed720006c0 Level-0 table #49: started
2024/08/06-23:00:31.976743 7fbe50c006c0 Level-0 table #146: 0 bytes OK 2024/03/23-10:47:49.111718 7fed720006c0 Level-0 table #49: 0 bytes OK
2024/08/06-23:00:32.009094 7fbe50c006c0 Delete type=0 #144 2024/03/23-10:47:49.117669 7fed720006c0 Delete type=0 #47
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/03/23-10:47:49.124617 7fed720006c0 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/03/23-10:47:49.124645 7fed720006c0 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-000050

View File

@ -1,8 +1,8 @@
2024/08/11-14:35:37.866313 7f4784c006c0 Recovering log #145 2024/03/23-10:48:02.597243 7fed73e006c0 Recovering log #48
2024/08/11-14:35:37.876628 7f4784c006c0 Delete type=3 #143 2024/03/23-10:48:02.607708 7fed73e006c0 Delete type=3 #46
2024/08/11-14:35:37.876748 7f4784c006c0 Delete type=0 #145 2024/03/23-10:48:02.607775 7fed73e006c0 Delete type=0 #48
2024/08/11-14:39:33.811252 7f4782e006c0 Level-0 table #150: started 2024/03/23-11:37:00.827007 7fed720006c0 Level-0 table #53: started
2024/08/11-14:39:33.811312 7f4782e006c0 Level-0 table #150: 0 bytes OK 2024/03/23-11:37:00.827057 7fed720006c0 Level-0 table #53: 0 bytes OK
2024/08/11-14:39:33.818015 7f4782e006c0 Delete type=0 #148 2024/03/23-11:37:00.833771 7fed720006c0 Delete type=0 #51
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) 2024/03/23-11:37:00.846910 7fed720006c0 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) 2024/03/23-11:37:00.846959 7fed720006c0 Manual compaction at level-1 from '!items!1ETVaPBtjDtzelK1' @ 72057594037927935 : 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/03/23-10:36:32.649726 7fed73e006c0 Recovering log #44
2024/08/06-21:52:34.126061 7fbe534006c0 Delete type=3 #139 2024/03/23-10:36:32.660737 7fed73e006c0 Delete type=3 #42
2024/08/06-21:52:34.126143 7fbe534006c0 Delete type=0 #141 2024/03/23-10:36:32.660854 7fed73e006c0 Delete type=0 #44
2024/08/06-23:00:31.939443 7fbe50c006c0 Level-0 table #146: started 2024/03/23-10:47:49.138231 7fed720006c0 Level-0 table #49: started
2024/08/06-23:00:31.939481 7fbe50c006c0 Level-0 table #146: 0 bytes OK 2024/03/23-10:47:49.138277 7fed720006c0 Level-0 table #49: 0 bytes OK
2024/08/06-23:00:31.976609 7fbe50c006c0 Delete type=0 #144 2024/03/23-10:47:49.144999 7fed720006c0 Delete type=0 #47
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/03/23-10:47:49.151672 7fed720006c0 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/03/23-10:47:49.151719 7fed720006c0 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-000050

View File

@ -1,8 +1,8 @@
2024/08/11-14:35:37.810719 7f47856006c0 Recovering log #145 2024/03/23-10:48:02.559259 7fed734006c0 Recovering log #48
2024/08/11-14:35:37.822942 7f47856006c0 Delete type=3 #143 2024/03/23-10:48:02.569488 7fed734006c0 Delete type=3 #46
2024/08/11-14:35:37.823030 7f47856006c0 Delete type=0 #145 2024/03/23-10:48:02.569553 7fed734006c0 Delete type=0 #48
2024/08/11-14:39:33.797833 7f4782e006c0 Level-0 table #150: started 2024/03/23-11:37:00.820791 7fed720006c0 Level-0 table #53: started
2024/08/11-14:39:33.797891 7f4782e006c0 Level-0 table #150: 0 bytes OK 2024/03/23-11:37:00.820819 7fed720006c0 Level-0 table #53: 0 bytes OK
2024/08/11-14:39:33.804238 7f4782e006c0 Delete type=0 #148 2024/03/23-11:37:00.826839 7fed720006c0 Delete type=0 #51
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) 2024/03/23-11:37:00.846901 7fed720006c0 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) 2024/03/23-11:37:00.846946 7fed720006c0 Manual compaction at level-1 from '!items!0fPXtA5LkLgG8uDj' @ 72057594037927935 : 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/03/23-10:36:32.605189 7fed78a006c0 Recovering log #44
2024/08/06-21:52:34.079875 7fbe52a006c0 Delete type=3 #139 2024/03/23-10:36:32.615490 7fed78a006c0 Delete type=3 #42
2024/08/06-21:52:34.079931 7fbe52a006c0 Delete type=0 #141 2024/03/23-10:36:32.615554 7fed78a006c0 Delete type=0 #44
2024/08/06-23:00:31.870139 7fbe50c006c0 Level-0 table #146: started 2024/03/23-10:47:49.098509 7fed720006c0 Level-0 table #49: started
2024/08/06-23:00:31.870173 7fbe50c006c0 Level-0 table #146: 0 bytes OK 2024/03/23-10:47:49.098542 7fed720006c0 Level-0 table #49: 0 bytes OK
2024/08/06-23:00:31.904478 7fbe50c006c0 Delete type=0 #144 2024/03/23-10:47:49.104751 7fed720006c0 Delete type=0 #47
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/03/23-10:47:49.124594 7fed720006c0 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/03/23-10:47:49.124632 7fed720006c0 Manual compaction at level-1 from '!items!0fPXtA5LkLgG8uDj' @ 72057594037927935 : 1 .. '!items!zvtBlG6KCIn0oCVk' @ 0 : 0; will stop at (end)

Binary file not shown.

BIN
packs/avantages/000005.ldb Normal file

Binary file not shown.

Binary file not shown.

View File

@ -1 +1 @@
MANIFEST-000147 MANIFEST-000050

View File

@ -1,8 +1,8 @@
2024/08/11-14:35:37.752147 7f47842006c0 Recovering log #145 2024/03/23-10:48:02.521231 7fed73e006c0 Recovering log #48
2024/08/11-14:35:37.763231 7f47842006c0 Delete type=3 #143 2024/03/23-10:48:02.532005 7fed73e006c0 Delete type=3 #46
2024/08/11-14:35:37.763321 7f47842006c0 Delete type=0 #145 2024/03/23-10:48:02.532101 7fed73e006c0 Delete type=0 #48
2024/08/11-14:39:33.762051 7f4782e006c0 Level-0 table #150: started 2024/03/23-11:37:00.801358 7fed720006c0 Level-0 table #53: started
2024/08/11-14:39:33.762167 7f4782e006c0 Level-0 table #150: 0 bytes OK 2024/03/23-11:37:00.801380 7fed720006c0 Level-0 table #53: 0 bytes OK
2024/08/11-14:39:33.768978 7f4782e006c0 Delete type=0 #148 2024/03/23-11:37:00.807396 7fed720006c0 Delete type=0 #51
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) 2024/03/23-11:37:00.820567 7fed720006c0 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) 2024/03/23-11:37:00.820617 7fed720006c0 Manual compaction at level-1 from '!items!0EAAt0qSzcD9VRBH' @ 72057594037927935 : 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/03/23-10:36:32.565243 7fed73e006c0 Recovering log #44
2024/08/06-21:52:34.027353 7fbe516006c0 Delete type=3 #139 2024/03/23-10:36:32.575390 7fed73e006c0 Delete type=3 #42
2024/08/06-21:52:34.027446 7fbe516006c0 Delete type=0 #141 2024/03/23-10:36:32.575442 7fed73e006c0 Delete type=0 #44
2024/08/06-23:00:31.729942 7fbe50c006c0 Level-0 table #146: started 2024/03/23-10:47:49.091958 7fed720006c0 Level-0 table #49: started
2024/08/06-23:00:31.730003 7fbe50c006c0 Level-0 table #146: 0 bytes OK 2024/03/23-10:47:49.092014 7fed720006c0 Level-0 table #49: 0 bytes OK
2024/08/06-23:00:31.768395 7fbe50c006c0 Delete type=0 #144 2024/03/23-10:47:49.098272 7fed720006c0 Delete type=0 #47
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/03/23-10:47:49.098402 7fed720006c0 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/03/23-10:47:49.098427 7fed720006c0 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.

BIN
packs/capacites/000005.ldb Normal file

Binary file not shown.

Binary file not shown.

View File

@ -1 +1 @@
MANIFEST-000147 MANIFEST-000050

View File

@ -1,8 +1,8 @@
2024/08/11-14:35:37.792985 7f4784c006c0 Recovering log #145 2024/03/23-10:48:02.547542 7fed73e006c0 Recovering log #48
2024/08/11-14:35:37.804663 7f4784c006c0 Delete type=3 #143 2024/03/23-10:48:02.557329 7fed73e006c0 Delete type=3 #46
2024/08/11-14:35:37.804793 7f4784c006c0 Delete type=0 #145 2024/03/23-10:48:02.557386 7fed73e006c0 Delete type=0 #48
2024/08/11-14:39:33.769225 7f4782e006c0 Level-0 table #150: started 2024/03/23-11:37:00.807508 7fed720006c0 Level-0 table #53: started
2024/08/11-14:39:33.769288 7f4782e006c0 Level-0 table #150: 0 bytes OK 2024/03/23-11:37:00.807530 7fed720006c0 Level-0 table #53: 0 bytes OK
2024/08/11-14:39:33.776053 7f4782e006c0 Delete type=0 #148 2024/03/23-11:37:00.813725 7fed720006c0 Delete type=0 #51
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) 2024/03/23-11:37:00.820593 7fed720006c0 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) 2024/03/23-11:37:00.820630 7fed720006c0 Manual compaction at level-1 from '!items!0cNSRJVPk3GbvxfD' @ 72057594037927935 : 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/03/23-10:36:32.591905 7fed73e006c0 Recovering log #44
2024/08/06-21:52:34.065082 7fbe534006c0 Delete type=3 #139 2024/03/23-10:36:32.601706 7fed73e006c0 Delete type=3 #42
2024/08/06-21:52:34.065180 7fbe534006c0 Delete type=0 #141 2024/03/23-10:36:32.601822 7fed73e006c0 Delete type=0 #44
2024/08/06-23:00:31.802367 7fbe50c006c0 Level-0 table #146: started 2024/03/23-10:47:49.104862 7fed720006c0 Level-0 table #49: started
2024/08/06-23:00:31.802389 7fbe50c006c0 Level-0 table #146: 0 bytes OK 2024/03/23-10:47:49.104884 7fed720006c0 Level-0 table #49: 0 bytes OK
2024/08/06-23:00:31.832600 7fbe50c006c0 Delete type=0 #144 2024/03/23-10:47:49.111582 7fed720006c0 Delete type=0 #47
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/03/23-10:47:49.124607 7fed720006c0 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/03/23-10:47:49.124638 7fed720006c0 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-000050

View File

@ -1,8 +1,8 @@
2024/08/11-14:35:37.734005 7f47856006c0 Recovering log #145 2024/03/23-10:48:02.509092 7fed734006c0 Recovering log #48
2024/08/11-14:35:37.745943 7f47856006c0 Delete type=3 #143 2024/03/23-10:48:02.519097 7fed734006c0 Delete type=3 #46
2024/08/11-14:35:37.746038 7f47856006c0 Delete type=0 #145 2024/03/23-10:48:02.519155 7fed734006c0 Delete type=0 #48
2024/08/11-14:39:33.776285 7f4782e006c0 Level-0 table #150: started 2024/03/23-11:37:00.794140 7fed720006c0 Level-0 table #53: started
2024/08/11-14:39:33.776344 7f4782e006c0 Level-0 table #150: 0 bytes OK 2024/03/23-11:37:00.794164 7fed720006c0 Level-0 table #53: 0 bytes OK
2024/08/11-14:39:33.783086 7f4782e006c0 Delete type=0 #148 2024/03/23-11:37:00.801230 7fed720006c0 Delete type=0 #51
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) 2024/03/23-11:37:00.807497 7fed720006c0 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) 2024/03/23-11:37:00.820584 7fed720006c0 Manual compaction at level-1 from '!items!0V86n4TU8NegrR2B' @ 72057594037927935 : 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/03/23-10:36:32.552707 7fed78a006c0 Recovering log #44
2024/08/06-21:52:34.012892 7fbe52a006c0 Delete type=3 #139 2024/03/23-10:36:32.562757 7fed78a006c0 Delete type=3 #42
2024/08/06-21:52:34.012951 7fbe52a006c0 Delete type=0 #141 2024/03/23-10:36:32.562811 7fed78a006c0 Delete type=0 #44
2024/08/06-23:00:31.832758 7fbe50c006c0 Level-0 table #146: started 2024/03/23-10:47:49.078056 7fed720006c0 Level-0 table #49: started
2024/08/06-23:00:31.832813 7fbe50c006c0 Level-0 table #146: 0 bytes OK 2024/03/23-10:47:49.078086 7fed720006c0 Level-0 table #49: 0 bytes OK
2024/08/06-23:00:31.869708 7fbe50c006c0 Delete type=0 #144 2024/03/23-10:47:49.084141 7fed720006c0 Delete type=0 #47
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/03/23-10:47:49.098382 7fed720006c0 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/03/23-10:47:49.098433 7fed720006c0 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-000050

View File

@ -1,8 +1,8 @@
2024/08/11-14:35:37.768123 7f47838006c0 Recovering log #145 2024/03/23-10:48:02.534354 7fed734006c0 Recovering log #48
2024/08/11-14:35:37.780266 7f47838006c0 Delete type=3 #143 2024/03/23-10:48:02.545488 7fed734006c0 Delete type=3 #46
2024/08/11-14:35:37.780376 7f47838006c0 Delete type=0 #145 2024/03/23-10:48:02.545545 7fed734006c0 Delete type=0 #48
2024/08/11-14:39:33.783340 7f4782e006c0 Level-0 table #150: started 2024/03/23-11:37:00.813815 7fed720006c0 Level-0 table #53: started
2024/08/11-14:39:33.783403 7f4782e006c0 Level-0 table #150: 0 bytes OK 2024/03/23-11:37:00.813835 7fed720006c0 Level-0 table #53: 0 bytes OK
2024/08/11-14:39:33.790567 7f4782e006c0 Delete type=0 #148 2024/03/23-11:37:00.820461 7fed720006c0 Delete type=0 #51
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) 2024/03/23-11:37:00.820601 7fed720006c0 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) 2024/03/23-11:37:00.820624 7fed720006c0 Manual compaction at level-1 from '!items!2QqvtClSVnh5ejXu' @ 72057594037927935 : 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/03/23-10:36:32.577869 7fed78a006c0 Recovering log #44
2024/08/06-21:52:34.041612 7fbe520006c0 Delete type=3 #139 2024/03/23-10:36:32.588845 7fed78a006c0 Delete type=3 #42
2024/08/06-21:52:34.041667 7fbe520006c0 Delete type=0 #141 2024/03/23-10:36:32.588930 7fed78a006c0 Delete type=0 #44
2024/08/06-23:00:31.768505 7fbe50c006c0 Level-0 table #146: started 2024/03/23-10:47:49.084257 7fed720006c0 Level-0 table #49: started
2024/08/06-23:00:31.768526 7fbe50c006c0 Level-0 table #146: 0 bytes OK 2024/03/23-10:47:49.084286 7fed720006c0 Level-0 table #49: 0 bytes OK
2024/08/06-23:00:31.802256 7fbe50c006c0 Delete type=0 #144 2024/03/23-10:47:49.091721 7fed720006c0 Delete type=0 #47
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/03/23-10:47:49.098393 7fed720006c0 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/03/23-10:47:49.098420 7fed720006c0 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.

BIN
packs/pouvoirs/000005.ldb Normal file

Binary file not shown.

Binary file not shown.

View File

@ -1 +1 @@
MANIFEST-000148 MANIFEST-000050

View File

@ -1,8 +1,8 @@
2024/08/11-14:35:37.846774 7f47838006c0 Recovering log #146 2024/03/23-10:48:02.584567 7fed734006c0 Recovering log #48
2024/08/11-14:35:37.859344 7f47838006c0 Delete type=3 #144 2024/03/23-10:48:02.594353 7fed734006c0 Delete type=3 #46
2024/08/11-14:35:37.859473 7f47838006c0 Delete type=0 #146 2024/03/23-10:48:02.594417 7fed734006c0 Delete type=0 #48
2024/08/11-14:39:33.804398 7f4782e006c0 Level-0 table #151: started 2024/03/23-11:37:00.833866 7fed720006c0 Level-0 table #53: started
2024/08/11-14:39:33.804435 7f4782e006c0 Level-0 table #151: 0 bytes OK 2024/03/23-11:37:00.833890 7fed720006c0 Level-0 table #53: 0 bytes OK
2024/08/11-14:39:33.811039 7f4782e006c0 Delete type=0 #149 2024/03/23-11:37:00.839913 7fed720006c0 Delete type=0 #51
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) 2024/03/23-11:37:00.846918 7fed720006c0 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) 2024/03/23-11:37:00.846966 7fed720006c0 Manual compaction at level-1 from '!items!19r9ijZUyvnlIqgm' @ 72057594037927935 : 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/03/23-10:36:32.634942 7fed78a006c0 Recovering log #44
2024/08/06-21:52:34.110385 7fbe520006c0 Delete type=3 #140 2024/03/23-10:36:32.645370 7fed78a006c0 Delete type=3 #42
2024/08/06-21:52:34.110514 7fbe520006c0 Delete type=0 #142 2024/03/23-10:36:32.645438 7fed78a006c0 Delete type=0 #44
2024/08/06-23:00:31.904657 7fbe50c006c0 Level-0 table #147: started 2024/03/23-10:47:49.117785 7fed720006c0 Level-0 table #49: started
2024/08/06-23:00:31.904695 7fbe50c006c0 Level-0 table #147: 0 bytes OK 2024/03/23-10:47:49.117808 7fed720006c0 Level-0 table #49: 0 bytes OK
2024/08/06-23:00:31.939251 7fbe50c006c0 Delete type=0 #145 2024/03/23-10:47:49.124476 7fed720006c0 Delete type=0 #47
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/03/23-10:47:49.124625 7fed720006c0 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/03/23-10:47:49.124651 7fed720006c0 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-000050

View File

@ -1,7 +1,7 @@
2024/08/11-14:35:37.883245 7f47856006c0 Recovering log #144 2024/03/23-10:48:02.609984 7fed734006c0 Recovering log #48
2024/08/11-14:35:37.895329 7f47856006c0 Delete type=3 #142 2024/03/23-10:48:02.619777 7fed734006c0 Delete type=3 #46
2024/08/11-14:35:37.895444 7f47856006c0 Delete type=0 #144 2024/03/23-10:48:02.619840 7fed734006c0 Delete type=0 #48
2024/08/11-14:39:33.836949 7f4782e006c0 Level-0 table #149: started 2024/03/23-11:37:00.847087 7fed720006c0 Level-0 table #53: started
2024/08/11-14:39:33.837017 7f4782e006c0 Level-0 table #149: 0 bytes OK 2024/03/23-11:37:00.847153 7fed720006c0 Level-0 table #53: 0 bytes OK
2024/08/11-14:39:33.844766 7f4782e006c0 Delete type=0 #147 2024/03/23-11:37:00.853979 7fed720006c0 Delete type=0 #51
2024/08/11-14:39:33.851315 7f4782e006c0 Manual compaction at level-0 from 'undefined' @ 72057594037927935 : 1 .. 'undefined' @ 0 : 0; will stop at (end) 2024/03/23-11:37:00.867118 7fed720006c0 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/03/23-10:36:32.663217 7fed78a006c0 Recovering log #44
2024/08/06-21:52:34.142883 7fbe52a006c0 Delete type=3 #138 2024/03/23-10:36:32.673264 7fed78a006c0 Delete type=3 #42
2024/08/06-21:52:34.142989 7fbe52a006c0 Delete type=0 #140 2024/03/23-10:36:32.673319 7fed78a006c0 Delete type=0 #44
2024/08/06-23:00:32.009525 7fbe50c006c0 Level-0 table #145: started 2024/03/23-10:47:49.131076 7fed720006c0 Level-0 table #49: started
2024/08/06-23:00:32.009564 7fbe50c006c0 Level-0 table #145: 0 bytes OK 2024/03/23-10:47:49.131099 7fed720006c0 Level-0 table #49: 0 bytes OK
2024/08/06-23:00:32.046125 7fbe50c006c0 Delete type=0 #143 2024/03/23-10:47:49.137951 7fed720006c0 Delete type=0 #47
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/03/23-10:47:49.151656 7fed720006c0 Manual compaction at level-0 from 'undefined' @ 72057594037927935 : 1 .. 'undefined' @ 0 : 0; will stop at (end)

Binary file not shown.

Binary file not shown.

BIN
packs/scenes/000005.ldb Normal file

Binary file not shown.

Binary file not shown.

View File

@ -1 +1 @@
MANIFEST-000116 MANIFEST-000018

View File

@ -1,8 +1,8 @@
2024/08/11-14:35:37.899642 7f47842006c0 Recovering log #114 2024/03/23-10:48:02.622403 7fed73e006c0 Recovering log #16
2024/08/11-14:35:37.910975 7f47842006c0 Delete type=3 #112 2024/03/23-10:48:02.632700 7fed73e006c0 Delete type=3 #14
2024/08/11-14:35:37.911099 7f47842006c0 Delete type=0 #114 2024/03/23-10:48:02.632756 7fed73e006c0 Delete type=0 #16
2024/08/11-14:39:33.844932 7f4782e006c0 Level-0 table #119: started 2024/03/23-11:37:00.854073 7fed720006c0 Level-0 table #21: started
2024/08/11-14:39:33.844982 7f4782e006c0 Level-0 table #119: 0 bytes OK 2024/03/23-11:37:00.854095 7fed720006c0 Level-0 table #21: 0 bytes OK
2024/08/11-14:39:33.851094 7f4782e006c0 Delete type=0 #117 2024/03/23-11:37:00.860110 7fed720006c0 Delete type=0 #19
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) 2024/03/23-11:37:00.867128 7fed720006c0 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) 2024/03/23-11:37:00.867164 7fed720006c0 Manual compaction at level-1 from '!scenes!8DjkNeeujp2qff1N' @ 72057594037927935 : 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/03/23-10:36:32.675856 7fed73e006c0 Recovering log #12
2024/08/06-21:52:34.157668 7fbe516006c0 Delete type=3 #108 2024/03/23-10:36:32.687073 7fed73e006c0 Delete type=3 #10
2024/08/06-21:52:34.157768 7fbe516006c0 Delete type=0 #110 2024/03/23-10:36:32.687168 7fed73e006c0 Delete type=0 #12
2024/08/06-23:00:32.098671 7fbe50c006c0 Level-0 table #115: started 2024/03/23-10:47:49.124780 7fed720006c0 Level-0 table #17: started
2024/08/06-23:00:32.098750 7fbe50c006c0 Level-0 table #115: 0 bytes OK 2024/03/23-10:47:49.124802 7fed720006c0 Level-0 table #17: 0 bytes OK
2024/08/06-23:00:32.127456 7fbe50c006c0 Delete type=0 #113 2024/03/23-10:47:49.130952 7fed720006c0 Delete type=0 #15
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/03/23-10:47:49.151626 7fed720006c0 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/03/23-10:47:49.151703 7fed720006c0 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

@ -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": "11.0.9",
"authors": [ "authors": [
{ {
"name": "Uberwald/LeRatierBretonnien", "name": "Uberwald/LeRatierBretonnien",
@ -15,13 +15,11 @@
"esmodules": [ "esmodules": [
"modules/heritiers-main.js" "modules/heritiers-main.js"
], ],
"grid": { "gridDistance": 5,
"distance": 5, "gridUnits": "m",
"units": "m"
},
"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-11.0.9.zip",
"languages": [ "languages": [
{ {
"lang": "fr", "lang": "fr",
@ -199,7 +197,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": "10",
"verified": "12" "verified": "11"
} }
} }

View File

@ -100,7 +100,7 @@
"pres": { "pres": {
"label": "Prestance", "label": "Prestance",
"labelnorm": "prestance", "labelnorm": "prestance",
"abbrev": "pres", "abbrev": "pre",
"kind": "mental", "kind": "mental",
"value": 1, "value": 1,
"rang": 0, "rang": 0,
@ -142,8 +142,7 @@
}, },
"pv": { "pv": {
"value": 0, "value": 0,
"max": 0, "max": 0
"mod": 0
}, },
"competences": { "competences": {
"aventurier": { "aventurier": {

View File

@ -52,7 +52,11 @@
<span>&nbsp;&nbsp;</span> <span>&nbsp;&nbsp;</span>
<select class="item-field-label-medium" type="text" name="system.statutmasque" value="{{system.statutmasque}}" data-dtype="string"> <select class="item-field-label-medium" type="text" name="system.statutmasque" value="{{system.statutmasque}}" data-dtype="string">
{{selectOptions config.statutMasque selected=system.statutmasque}} {{#select system.statutmasque}}
{{#each config.statutMasque as |categ cKey|}}
<option value="{{cKey}}">{{categ}}</option>
{{/each}}
{{/select}}
</select> </select>
<span>&nbsp;&nbsp;</span> <span>&nbsp;&nbsp;</span>
@ -115,12 +119,14 @@
<select class="item-field-label-short edit-item-data" type="text" <select class="item-field-label-short edit-item-data" type="text"
data-item-field="niveau" value="{{skill.system.niveau}}" data-dtype="Number"> data-item-field="niveau" value="{{skill.system.niveau}}" data-dtype="Number">
{{selectOptions @root.config.listNiveau selected=skill.system.niveau}} {{#select skill.system.niveau}}
{{> systems/fvtt-les-heritiers/templates/partial-list-niveau.html}}
{{/select}}
</select> </select>
<div class="item-controls item-controls-fixed"> <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-edit" title="Edit 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> <a class="item-control item-delete" title="Delete Item"><i class="fas fa-trash"></i></a>
</div> </div>
</li> </li>
{{/each}} {{/each}}
@ -215,10 +221,10 @@
<div class="item-filler">&nbsp;</div> <div class="item-filler">&nbsp;</div>
<div class="item-controls item-controls-fixed"> <div class="item-controls item-controls-fixed">
<a class="item-control item-equip" title="Equipé">{{#if arme.system.equipped}}<i <a class="item-control item-equip" title="Worn">{{#if arme.system.equipped}}<i
class="fas fa-circle"></i>{{else}}<i class="fas fa-genderless"></i>{{/if}}</a> class="fas fa-circle"></i>{{else}}<i class="fas fa-genderless"></i>{{/if}}</a>
<a class="item-control item-edit" title="Editer l'item"><i class="fas fa-edit"></i></a> <a class="item-control item-edit" title="Edit 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> <a class="item-control item-delete" title="Delete Item"><i class="fas fa-trash"></i></a>
</div> </div>
</li> </li>
{{/each}} {{/each}}
@ -236,7 +242,7 @@
</span> </span>
<div class="item-filler">&nbsp;</div> <div class="item-filler">&nbsp;</div>
<div class="item-controls item-controls-fixed"> <div class="item-controls item-controls-fixed">
<a class="item-control item-add" data-type="protection" title="Ajouter une protection"><i <a class="item-control item-add" data-type="arme" title="Ajouter une arme"><i
class="fas fa-plus"></i></a> class="fas fa-plus"></i></a>
</div> </div>
</li> </li>
@ -249,8 +255,8 @@
</span> </span>
<div class="item-filler">&nbsp;</div> <div class="item-filler">&nbsp;</div>
<div class="item-controls item-controls-fixed"> <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-edit" title="Edit 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> <a class="item-control item-delete" title="Delete Item"><i class="fas fa-trash"></i></a>
</div> </div>
</li> </li>
{{/each}} {{/each}}
@ -269,8 +275,8 @@
<span class="item-field-label-long2">{{fee.name}}</span> <span class="item-field-label-long2">{{fee.name}}</span>
<div class="item-filler">&nbsp;</div> <div class="item-filler">&nbsp;</div>
<div class="item-controls item-controls-fixed"> <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-edit" title="Edit 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> <a class="item-control item-delete" title="Delete Item"><i class="fas fa-trash"></i></a>
</div> </div>
</li> </li>
</div> </div>
@ -281,12 +287,10 @@
<label class="item-field-label-medium roll-style"><a class="roll-rang item-field-label-short" data-rang-key="feerie">Féerie</a></label> <label class="item-field-label-medium roll-style"><a class="roll-rang item-field-label-short" data-rang-key="feerie">Féerie</a></label>
<input type="text" class="item-field-label-short" name="system.rang.feerie.value" value="{{system.rang.feerie.value}}" data-dtype="Number" /> <input type="text" class="item-field-label-short" name="system.rang.feerie.value" value="{{system.rang.feerie.value}}" data-dtype="Number" />
<input type="text" class="item-field-label-short" name="system.rang.feerie.max" value="{{system.rang.feerie.max}}" data-dtype="Number" /> <input type="text" class="item-field-label-short" name="system.rang.feerie.max" value="{{system.rang.feerie.max}}" data-dtype="Number" />
<span class="item-field-label-medium"></span> <span class="item-field-label-long"></span>
<label class="item-field-label-medium roll-style"><a class="roll-rang item-field-label-short" data-rang-key="masque">Masque</a></label> <label class="item-field-label-medium roll-style"><a class="roll-rang item-field-label-short" data-rang-key="masque">Masque</a></label>
<input type="text" class="item-field-label-short" name="system.rang.masque.value" value="{{system.rang.masque.value}}" data-dtype="Number" /> <input type="text" class="item-field-label-short" name="system.rang.masque.value" value="{{system.rang.masque.value}}" data-dtype="Number" />
<input type="text" class="item-field-label-short" name="system.rang.masque.max" value="{{system.rang.masque.max}}" data-dtype="Number" /> <input type="text" class="item-field-label-short" name="system.rang.masque.max" value="{{system.rang.masque.max}}" data-dtype="Number" />
<span class="item-field-label-medium"></span>
<label class="item-field-label-long roll-style"><a class="dialog-recup-usage item-field-label-long">Récup. P. d'Usage</a></label>
</li> </li>
</ul> </ul>
</div> </div>
@ -301,8 +305,6 @@
</span> </span>
<div class="item-filler">&nbsp;</div> <div class="item-filler">&nbsp;</div>
<div class="item-controls item-controls-fixed"> <div class="item-controls item-controls-fixed">
<a class="item-control item-add" data-type="avantage" title="Ajouter un avantage"><i
class="fas fa-plus"></i></a>
</div> </div>
</li> </li>
{{#each avantages as |avantage key|}} {{#each avantages as |avantage key|}}
@ -311,8 +313,8 @@
<span class="item-field-label-long2">{{avantage.name}}</span> <span class="item-field-label-long2">{{avantage.name}}</span>
<div class="item-filler">&nbsp;</div> <div class="item-filler">&nbsp;</div>
<div class="item-controls item-controls-fixed"> <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-edit" title="Edit 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> <a class="item-control item-delete" title="Delete Item"><i class="fas fa-trash"></i></a>
</div> </div>
</li> </li>
{{/each}} {{/each}}
@ -327,8 +329,6 @@
</span> </span>
<div class="item-filler">&nbsp;</div> <div class="item-filler">&nbsp;</div>
<div class="item-controls item-controls-fixed"> <div class="item-controls item-controls-fixed">
<a class="item-control item-add" data-type="desavantage" title="Ajouter un Désavantage"><i
class="fas fa-plus"></i></a>
</div> </div>
</li> </li>
{{#each desavantages as |desavantage key|}} {{#each desavantages as |desavantage key|}}
@ -337,8 +337,8 @@
<span class="item-field-label-long2">{{desavantage.name}}</span> <span class="item-field-label-long2">{{desavantage.name}}</span>
<div class="item-filler">&nbsp;</div> <div class="item-filler">&nbsp;</div>
<div class="item-controls item-controls-fixed"> <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-edit" title="Edit 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> <a class="item-control item-delete" title="Delete Item"><i class="fas fa-trash"></i></a>
</div> </div>
</li> </li>
{{/each}} {{/each}}
@ -353,8 +353,6 @@
</span> </span>
<div class="item-filler">&nbsp;</div> <div class="item-filler">&nbsp;</div>
<div class="item-controls item-controls-fixed"> <div class="item-controls item-controls-fixed">
<a class="item-control item-add" data-type="atoutfeerique" title="Ajouter un Atout féerique"><i
class="fas fa-plus"></i></a>
</div> </div>
</li> </li>
{{#each atouts as |atout key|}} {{#each atouts as |atout key|}}
@ -363,8 +361,8 @@
<span class="item-field-label-long2">{{atout.name}}</span> <span class="item-field-label-long2">{{atout.name}}</span>
<div class="item-filler">&nbsp;</div> <div class="item-filler">&nbsp;</div>
<div class="item-controls item-controls-fixed"> <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-edit" title="Edit 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> <a class="item-control item-delete" title="Delete Item"><i class="fas fa-trash"></i></a>
</div> </div>
</li> </li>
{{/each}} {{/each}}
@ -386,34 +384,33 @@
<span class="item-field-label-medium"> <span class="item-field-label-medium">
<label class="short-label">Niveau</label> <label class="short-label">Niveau</label>
</span> </span>
<span class="item-field-label-medium">
<label class="short-label">Usage</label>
</span>
<div class="item-filler">&nbsp;</div> <div class="item-filler">&nbsp;</div>
<div class="item-controls item-controls-fixed"> <div class="item-controls item-controls-fixed">
<a class="item-control item-add" data-type="pouvoir" title="Ajouter un pouvoir"><i
class="fas fa-plus"></i></a>
</div> </div>
</li> </li>
{{#each pouvoirs as |pouvoir key|}} {{#each pouvoirs as |pouvoir key|}}
<li class="item flexrow " data-item-id="{{pouvoir._id}}" data-item-type="pouvoir"> <li class="item flexrow " data-item-id="{{pouvoir._id}}" data-item-type="pouvoir">
<img class="item-name-img" src="{{pouvoir.img}}" /> <img class="item-name-img" src="{{pouvoir.img}}" />
{{#if pouvoir.system.istest}}
<span class="item-field-label-long2 roll-style"><a class="roll-pouvoir">{{pouvoir.name}}</a></span> <span class="item-field-label-long2 roll-style"><a class="roll-pouvoir">{{pouvoir.name}}</a></span>
{{else}}
<span class="item-field-label-long2">{{pouvoir.name}}</span>
{{/if}}
<span class="item-field-label-medium">{{upperFirst pouvoir.system.masquetype}}</span> <span class="item-field-label-medium">{{upperFirst pouvoir.system.masquetype}}</span>
<span class="item-field-label-medium">{{upperFirst pouvoir.system.pouvoirtype}}</span> <span class="item-field-label-medium">{{upperFirst pouvoir.system.pouvoirtype}}</span>
<span class="item-field-label-medium">{{upperFirst pouvoir.system.niveau}}</span> <span class="item-field-label-medium">{{upperFirst pouvoir.system.niveau}}</span>
<span class="item-field-label-medium">{{pouvoir.system.pointsusagecourant}}/{{pouvoir.maxUsage}}</span>
<div class="item-filler">&nbsp;</div> <div class="item-filler">&nbsp;</div>
<div class="item-controls item-controls-fixed"> <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-edit" title="Edit 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> <a class="item-control item-delete" title="Delete Item"><i class="fas fa-trash"></i></a>
</div> </div>
</li> </li>
{{/each}} {{/each}}
</ul> </ul>
</div> </div>
<div class="sheet-box color-bg-archetype"> <div class="sheet-box color-bg-archetype">
<ul class="item-list alternate-list"> <ul class="item-list alternate-list">
<li class="item flexrow list-item items-title-bg"> <li class="item flexrow list-item items-title-bg">
@ -422,8 +419,6 @@
</span> </span>
<div class="item-filler">&nbsp;</div> <div class="item-filler">&nbsp;</div>
<div class="item-controls item-controls-fixed"> <div class="item-controls item-controls-fixed">
<a class="item-control item-add" data-type="capacitenaturelle" title="Ajouter une Capacité naturelle"><i
class="fas fa-plus"></i></a>
</div> </div>
</li> </li>
{{#each capacites as |capa key|}} {{#each capacites as |capa key|}}
@ -432,8 +427,8 @@
<span class="item-field-label-long2">{{capa.name}}</span> <span class="item-field-label-long2">{{capa.name}}</span>
<div class="item-filler">&nbsp;</div> <div class="item-filler">&nbsp;</div>
<div class="item-controls item-controls-fixed"> <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-edit" title="Edit 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> <a class="item-control item-delete" title="Delete Item"><i class="fas fa-trash"></i></a>
</div> </div>
</li> </li>
{{/each}} {{/each}}
@ -457,8 +452,8 @@
<span class="item-field-label-long2">{{equip.name}}</span> <span class="item-field-label-long2">{{equip.name}}</span>
<div class="item-filler">&nbsp;</div> <div class="item-filler">&nbsp;</div>
<div class="item-controls item-controls-fixed"> <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-edit" title="Edit 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> <a class="item-control item-delete" title="Delete Item"><i class="fas fa-trash"></i></a>
</div> </div>
</li> </li>
{{/each}} {{/each}}

View File

@ -14,8 +14,7 @@
{{#each system.caracteristiques as |carac key|}} {{#each system.caracteristiques as |carac key|}}
{{#if (eq kind "physical")}} {{#if (eq kind "physical")}}
<li class="item flexrow "> <li class="item flexrow ">
<h4 class="item-name-label competence-name roll-style"><a class="roll-carac" <h4 class="item-name-label competence-name roll-style"><a class="roll-carac" data-key="{{key}}">{{carac.label}}</a></h4>
data-key="{{key}}">{{carac.label}}</a></h4>
<input type="text" class="padd-right status-small-label color-class-common item-field-label-short" <input type="text" class="padd-right status-small-label color-class-common item-field-label-short"
name="system.caracteristiques.{{key}}.value" value="{{carac.value}}" data-dtype="Number" /> name="system.caracteristiques.{{key}}.value" value="{{carac.value}}" data-dtype="Number" />
<input type="text" class="padd-right status-small-label color-class-common item-field-label-short" <input type="text" class="padd-right status-small-label color-class-common item-field-label-short"
@ -31,8 +30,7 @@
{{#each system.caracteristiques as |carac key|}} {{#each system.caracteristiques as |carac key|}}
{{#if (eq kind "mental")}} {{#if (eq kind "mental")}}
<li class="item flexrow "> <li class="item flexrow ">
<h4 class="item-name-label competence-name roll-style"><a class="roll-carac" <h4 class="item-name-label competence-name roll-style"><a class="roll-carac" data-key="{{key}}">{{carac.label}}</a></h4>
data-key="{{key}}">{{carac.label}}</a></h4>
<input type="text" class="padd-right status-small-label color-class-common item-field-label-short" <input type="text" class="padd-right status-small-label color-class-common item-field-label-short"
name="system.caracteristiques.{{key}}.value" value="{{carac.value}}" data-dtype="Number" /> name="system.caracteristiques.{{key}}.value" value="{{carac.value}}" data-dtype="Number" />
<input type="text" class="padd-right status-small-label color-class-common item-field-label-short" <input type="text" class="padd-right status-small-label color-class-common item-field-label-short"
@ -46,27 +44,24 @@
</div> </div>
<div class="flexrow"> <div class="flexrow">
<label class="item-field-label-short">PV</label> <label class="item-field-label-short">PV</label>
<input type="text" class="item-field-label-short" name="system.pv.value" value="{{system.pv.value}}" <input type="text" class="item-field-label-short" name="system.pv.value" value="{{system.pv.value}}" data-dtype="Number" />
data-dtype="Number" /> <input type="text" class="item-field-label-short" name="system.pv.max" value="{{system.pv.max}}" data-dtype="Number" />
<input type="text" class="item-field-label-short" name="system.pv.max" value="{{system.pv.max}}" disabled
data-dtype="Number" />
<input type="text" class="item-field-label-short" name="system.pv.mod" value="{{system.pv.mod}}"
data-dtype="Number" />
<label class="item-field-label-short">Malus</label> <label class="item-field-label-short">Malus</label>
<input type="text" class="item-field-label-short" value="{{pvMalus.value}}" data-dtype="Number" disabled /> <input type="text" class="item-field-label-short" value="{{pvMalus.value}}" data-dtype="Number" disabled />
<span>&nbsp;&nbsp;</span> <span>&nbsp;&nbsp;</span>
<select class="item-field-label-medium" type="text" name="system.statutmasque" <select class="item-field-label-medium" type="text" name="system.statutmasque" value="{{system.statutmasque}}" data-dtype="string">
value="{{system.statutmasque}}" data-dtype="string"> {{#select system.statutmasque}}
{{selectOptions config.statutMasque selected=system.statutmasque}} {{#each config.statutMasque as |categ cKey|}}
<option value="{{cKey}}">{{categ}}</option>
{{/each}}
{{/select}}
</select> </select>
<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" 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" value="{{system.rang.tricherie.max}}" data-dtype="Number" />
<input type="text" class="item-field-label-short" name="system.rang.tricherie.max"
value="{{system.rang.tricherie.max}}" data-dtype="Number" />
</div> </div>
</div> </div>
@ -96,15 +91,13 @@
<div> <div>
{{#each utileSkillsPhysical as |skillDef keyProfil|}} {{#each utileSkillsPhysical as |skillDef keyProfil|}}
{{> systems/fvtt-les-heritiers/templates/partial-utile-skills.html skillDef=skillDef keyProfil=keyProfil {{> systems/fvtt-les-heritiers/templates/partial-utile-skills.html skillDef=skillDef keyProfil=keyProfil}}
config=config}}
{{/each}} {{/each}}
</div> </div>
<div> <div>
{{#each utileSkillsMental as |skillDef keyProfil|}} {{#each utileSkillsMental as |skillDef keyProfil|}}
{{> systems/fvtt-les-heritiers/templates/partial-utile-skills.html skillDef=skillDef keyProfil=keyProfil {{> systems/fvtt-les-heritiers/templates/partial-utile-skills.html skillDef=skillDef keyProfil=keyProfil}}
config=config}}
{{/each}} {{/each}}
</div> </div>
@ -120,24 +113,22 @@
<label class="short-label">Niveau</label> <label class="short-label">Niveau</label>
</span> </span>
<div class="item-filler">&nbsp;</div> <div class="item-filler">&nbsp;</div>
<div class="item-controls item-controls-fixed">
<a class="item-control item-add" data-type="competence" title="Ajouter une compétence futile"><i
class="fas fa-plus"></i></a>
</div>
</li> </li>
{{#each futileSkills as |skill key|}} {{#each futileSkills as |skill key|}}
<li class="item flexrow " data-item-id="{{skill._id}}" data-item-type="competence"> <li class="item flexrow " data-item-id="{{skill._id}}" data-item-type="competence">
<span class="item-field-label-long2 roll-style"><a class="roll-competence item-field-label-short" <span class="item-field-label-long2 roll-style"><a class="roll-competence item-field-label-short"
data-attr-key="tochoose">{{skill.name}}</a></span> data-attr-key="tochoose">{{skill.name}}</a></span>
<select class="item-field-label-short edit-item-data" type="text" data-item-field="niveau" <select class="item-field-label-short edit-item-data" type="text"
value="{{skill.system.niveau}}" data-dtype="Number"> data-item-field="niveau" value="{{skill.system.niveau}}" data-dtype="Number">
{{selectOptions @root.config.listNiveau selected=skill.system.niveau}} {{#select skill.system.niveau}}
{{> systems/fvtt-les-heritiers/templates/partial-list-niveau.html}}
{{/select}}
</select> </select>
<div class="item-controls item-controls-fixed"> <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-edit" title="Edit 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> <a class="item-control item-delete" title="Delete Item"><i class="fas fa-trash"></i></a>
</div> </div>
</li> </li>
{{/each}} {{/each}}
@ -158,41 +149,32 @@
<li class="item flexrow list-item items-title-bg"> <li class="item flexrow list-item items-title-bg">
<label class="item-field-label-medium"><strong>Esquive</strong></label> <label class="item-field-label-medium"><strong>Esquive</strong></label>
<label class="item-field-label-medium">Masquée</label> <label class="item-field-label-medium">Masquée</label>
<input type="text" class="item-field-label-short" name="system.combat.esquive.masquee" <input type="text" class="item-field-label-short" name="system.combat.esquive.masquee" value="{{system.combat.esquive.masquee}}" data-dtype="Number" />
value="{{system.combat.esquive.masquee}}" data-dtype="Number" />
<label class="item-field-label-medium">Démasquée</label> <label class="item-field-label-medium">Démasquée</label>
<input type="text" class="item-field-label-short" name="system.combat.esquive.demasquee" <input type="text" class="item-field-label-short" name="system.combat.esquive.demasquee" value="{{system.combat.esquive.demasquee}}" data-dtype="Number" />
value="{{system.combat.esquive.demasquee}}" data-dtype="Number" />
<label class="item-field-label-short">&nbsp;&nbsp;</label> <label class="item-field-label-short">&nbsp;&nbsp;</label>
<label class="item-field-label-medium"><strong>Parade</strong></label> <label class="item-field-label-medium"><strong>Parade</strong></label>
<label class="item-field-label-medium">Masquée</label> <label class="item-field-label-medium">Masquée</label>
<input type="text" class="item-field-label-short" name="system.combat.parade.masquee" <input type="text" class="item-field-label-short" name="system.combat.parade.masquee" value="{{system.combat.parade.masquee}}" data-dtype="Number" />
value="{{system.combat.parade.masquee}}" data-dtype="Number" />
<label class="item-field-label-medium">Démasquée</label> <label class="item-field-label-medium">Démasquée</label>
<input type="text" class="item-field-label-short" name="system.combat.parade.demasquee" <input type="text" class="item-field-label-short" name="system.combat.parade.demasquee" value="{{system.combat.parade.demasquee}}" data-dtype="Number" />
value="{{system.combat.parade.demasquee}}" data-dtype="Number" />
</li> </li>
<li class="item flexrow list-item items-title-bg"> <li class="item flexrow list-item items-title-bg">
<label class="item-field-label-long">Rés. physique</label> <label class="item-field-label-long">Rés. physique</label>
<input type="text" class="item-field-label-short" name="system.combat.resistancephysique.value" <input type="text" class="item-field-label-short" name="system.combat.resistancephysique.value" value="{{system.combat.resistancephysique.value}}" data-dtype="Number" />
value="{{system.combat.resistancephysique.value}}" data-dtype="Number" />
<label class="item-field-label-short">&nbsp;&nbsp;</label> <label class="item-field-label-short">&nbsp;&nbsp;</label>
<label class="item-field-label-long">Rés. psychique</label> <label class="item-field-label-long">Rés. psychique</label>
<input type="text" class="item-field-label-short" name="system.combat.resistancepsychique.value" <input type="text" class="item-field-label-short" name="system.combat.resistancepsychique.value" value="{{system.combat.resistancepsychique.value}}" data-dtype="Number" />
value="{{system.combat.resistancepsychique.value}}" data-dtype="Number" />
<label class="item-field-label-short">&nbsp;&nbsp;</label> <label class="item-field-label-short">&nbsp;&nbsp;</label>
<label class="item-field-label-medium">Protection : </label> <label class="item-field-label-medium">Protection : </label>
<input type="text" class="item-field-label-short" name="system.combat.protection.value" <input type="text" class="item-field-label-short" name="system.combat.protection.value" value="{{system.combat.protection.value}}" data-dtype="Number" />
value="{{system.combat.protection.value}}" data-dtype="Number" />
</li> </li>
<li class="item flexrow list-item items-title-bg"> <li class="item flexrow list-item items-title-bg">
<label class="item-field-label-long">Effets secondaires</label> <label class="item-field-label-long">Effets secondaires</label>
<input type="text" class="item-field-label-short" name="system.combat.effetssecondaires" <input type="text" class="item-field-label-short" name="system.combat.effetssecondaires" value="{{system.combat.effetssecondaires}}" data-dtype="String" />
value="{{system.combat.effetssecondaires}}" data-dtype="String" />
<label class="item-field-label-short">&nbsp;&nbsp;</label> <label class="item-field-label-short">&nbsp;&nbsp;</label>
<label class="item-field-label-long">Dissimulation : </label> <label class="item-field-label-long">Dissimulation : </label>
<input type="text" class="item-field-label-short" name="system.combat.dissimulation.value" <input type="text" class="item-field-label-short" name="system.combat.dissimulation.value" value="{{system.combat.dissimulation.value}}" data-dtype="Number" />
value="{{system.combat.dissimulation.value}}" data-dtype="Number" />
</li> </li>
</ul> </ul>
@ -238,17 +220,16 @@
<button class="roll-attaque-charge-arme button-sheet-roll">Charger</button> <button class="roll-attaque-charge-arme button-sheet-roll">Charger</button>
</span> </span>
<span class="item-field-label-short"> <span class="item-field-label-short">
<button class="roll-attaque-brutale-arme button-sheet-roll button-sheet-roll-long1">Attaque <button class="roll-attaque-brutale-arme button-sheet-roll button-sheet-roll-long1">Attaque brutale</button>
brutale</button>
</span> </span>
{{/if}} {{/if}}
<div class="item-filler">&nbsp;</div> <div class="item-filler">&nbsp;</div>
<div class="item-controls item-controls-fixed"> <div class="item-controls item-controls-fixed">
<a class="item-control item-equip" title="Equipé">{{#if arme.system.equipped}}<i <a class="item-control item-equip" title="Worn">{{#if arme.system.equipped}}<i
class="fas fa-circle"></i>{{else}}<i class="fas fa-genderless"></i>{{/if}}</a> class="fas fa-circle"></i>{{else}}<i class="fas fa-genderless"></i>{{/if}}</a>
<a class="item-control item-edit" title="Editer l'item"><i class="fas fa-edit"></i></a> <a class="item-control item-edit" title="Edit 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> <a class="item-control item-delete" title="Delete Item"><i class="fas fa-trash"></i></a>
</div> </div>
</li> </li>
{{/each}} {{/each}}
@ -266,7 +247,7 @@
</span> </span>
<div class="item-filler">&nbsp;</div> <div class="item-filler">&nbsp;</div>
<div class="item-controls item-controls-fixed"> <div class="item-controls item-controls-fixed">
<a class="item-control item-add" data-type="protection" title="Ajouter une protection"><i <a class="item-control item-add" data-type="arme" title="Ajouter une arme"><i
class="fas fa-plus"></i></a> class="fas fa-plus"></i></a>
</div> </div>
</li> </li>
@ -279,8 +260,8 @@
</span> </span>
<div class="item-filler">&nbsp;</div> <div class="item-filler">&nbsp;</div>
<div class="item-controls item-controls-fixed"> <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-edit" title="Edit 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> <a class="item-control item-delete" title="Delete Item"><i class="fas fa-trash"></i></a>
</div> </div>
</li> </li>
{{/each}} {{/each}}
@ -299,8 +280,8 @@
<span class="item-field-label-long2">{{fee.name}}</span> <span class="item-field-label-long2">{{fee.name}}</span>
<div class="item-filler">&nbsp;</div> <div class="item-filler">&nbsp;</div>
<div class="item-controls item-controls-fixed"> <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-edit" title="Edit 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> <a class="item-control item-delete" title="Delete Item"><i class="fas fa-trash"></i></a>
</div> </div>
</li> </li>
</div> </div>
@ -308,22 +289,15 @@
<div class="flexrow"> <div class="flexrow">
<ul> <ul>
<li class="flexrow item"> <li class="flexrow item">
<label class="item-field-label-medium roll-style"><a class="roll-rang item-field-label-short" <label class="item-field-label-medium roll-style"><a class="roll-rang item-field-label-short" data-rang-key="feerie">Féerie</a></label>
data-rang-key="feerie">Féerie</a></label> <input type="text" class="item-field-label-short" name="system.rang.feerie.value" value="{{system.rang.feerie.value}}" data-dtype="Number" />
<input type="text" class="item-field-label-short" name="system.rang.feerie.value" <input type="text" class="item-field-label-short" name="system.rang.feerie.max" value="{{system.rang.feerie.max}}" data-dtype="Number" />
value="{{system.rang.feerie.value}}" data-dtype="Number" />
<input type="text" class="item-field-label-short" name="system.rang.feerie.max"
value="{{system.rang.feerie.max}}" data-dtype="Number" />
<span class="item-field-label-medium"></span> <span class="item-field-label-medium"></span>
<label class="item-field-label-medium roll-style"><a class="roll-rang item-field-label-short" <label class="item-field-label-medium roll-style"><a class="roll-rang item-field-label-short" data-rang-key="masque">Masque</a></label>
data-rang-key="masque">Masque</a></label> <input type="text" class="item-field-label-short" name="system.rang.masque.value" value="{{system.rang.masque.value}}" data-dtype="Number" />
<input type="text" class="item-field-label-short" name="system.rang.masque.value" <input type="text" class="item-field-label-short" name="system.rang.masque.max" value="{{system.rang.masque.max}}" data-dtype="Number" />
value="{{system.rang.masque.value}}" data-dtype="Number" />
<input type="text" class="item-field-label-short" name="system.rang.masque.max"
value="{{system.rang.masque.max}}" data-dtype="Number" />
<span class="item-field-label-medium"></span> <span class="item-field-label-medium"></span>
<label class="item-field-label-long roll-style"><a class="dialog-recup-usage item-field-label-long">Récup. <label class="item-field-label-long roll-style"><a class="dialog-recup-usage item-field-label-long">Récup. P. d'Usage</a></label>
P. d'Usage</a></label>
</li> </li>
</ul> </ul>
</div> </div>
@ -338,8 +312,6 @@
</span> </span>
<div class="item-filler">&nbsp;</div> <div class="item-filler">&nbsp;</div>
<div class="item-controls item-controls-fixed"> <div class="item-controls item-controls-fixed">
<a class="item-control item-add" data-type="avantage" title="Ajouter un avantage"><i
class="fas fa-plus"></i></a>
</div> </div>
</li> </li>
{{#each avantages as |avantage key|}} {{#each avantages as |avantage key|}}
@ -348,8 +320,8 @@
<span class="item-field-label-long2">{{avantage.name}}</span> <span class="item-field-label-long2">{{avantage.name}}</span>
<div class="item-filler">&nbsp;</div> <div class="item-filler">&nbsp;</div>
<div class="item-controls item-controls-fixed"> <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-edit" title="Edit 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> <a class="item-control item-delete" title="Delete Item"><i class="fas fa-trash"></i></a>
</div> </div>
</li> </li>
{{/each}} {{/each}}
@ -364,8 +336,6 @@
</span> </span>
<div class="item-filler">&nbsp;</div> <div class="item-filler">&nbsp;</div>
<div class="item-controls item-controls-fixed"> <div class="item-controls item-controls-fixed">
<a class="item-control item-add" data-type="desavantage" title="Ajouter un désavantage"><i
class="fas fa-plus"></i></a>
</div> </div>
</li> </li>
{{#each desavantages as |desavantage key|}} {{#each desavantages as |desavantage key|}}
@ -374,8 +344,8 @@
<span class="item-field-label-long2">{{desavantage.name}}</span> <span class="item-field-label-long2">{{desavantage.name}}</span>
<div class="item-filler">&nbsp;</div> <div class="item-filler">&nbsp;</div>
<div class="item-controls item-controls-fixed"> <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-edit" title="Edit 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> <a class="item-control item-delete" title="Delete Item"><i class="fas fa-trash"></i></a>
</div> </div>
</li> </li>
{{/each}} {{/each}}
@ -390,8 +360,6 @@
</span> </span>
<div class="item-filler">&nbsp;</div> <div class="item-filler">&nbsp;</div>
<div class="item-controls item-controls-fixed"> <div class="item-controls item-controls-fixed">
<a class="item-control item-add" data-type="atoutfeerique" title="Ajouter un atout féerique"><i
class="fas fa-plus"></i></a>
</div> </div>
</li> </li>
{{#each atouts as |atout key|}} {{#each atouts as |atout key|}}
@ -400,8 +368,8 @@
<span class="item-field-label-long2">{{atout.name}}</span> <span class="item-field-label-long2">{{atout.name}}</span>
<div class="item-filler">&nbsp;</div> <div class="item-filler">&nbsp;</div>
<div class="item-controls item-controls-fixed"> <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-edit" title="Edit 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> <a class="item-control item-delete" title="Delete Item"><i class="fas fa-trash"></i></a>
</div> </div>
</li> </li>
{{/each}} {{/each}}
@ -428,14 +396,16 @@
</span> </span>
<div class="item-filler">&nbsp;</div> <div class="item-filler">&nbsp;</div>
<div class="item-controls item-controls-fixed"> <div class="item-controls item-controls-fixed">
<a class="item-control item-add" data-type="pouvoir" title="Ajouter un pouvoir"><i
class="fas fa-plus"></i></a>
</div> </div>
</li> </li>
{{#each pouvoirs as |pouvoir key|}} {{#each pouvoirs as |pouvoir key|}}
<li class="item flexrow " data-item-id="{{pouvoir._id}}" data-item-type="pouvoir"> <li class="item flexrow " data-item-id="{{pouvoir._id}}" data-item-type="pouvoir">
<img class="item-name-img" src="{{pouvoir.img}}" /> <img class="item-name-img" src="{{pouvoir.img}}" />
{{#if pouvoir.system.istest}}
<span class="item-field-label-long2 roll-style"><a class="roll-pouvoir">{{pouvoir.name}}</a></span> <span class="item-field-label-long2 roll-style"><a class="roll-pouvoir">{{pouvoir.name}}</a></span>
{{else}}
<span class="item-field-label-long2">{{pouvoir.name}}</span>
{{/if}}
<span class="item-field-label-medium">{{upperFirst pouvoir.system.masquetype}}</span> <span class="item-field-label-medium">{{upperFirst pouvoir.system.masquetype}}</span>
<span class="item-field-label-medium">{{upperFirst pouvoir.system.pouvoirtype}}</span> <span class="item-field-label-medium">{{upperFirst pouvoir.system.pouvoirtype}}</span>
<span class="item-field-label-medium">{{upperFirst pouvoir.system.niveau}}</span> <span class="item-field-label-medium">{{upperFirst pouvoir.system.niveau}}</span>
@ -443,8 +413,8 @@
<div class="item-filler">&nbsp;</div> <div class="item-filler">&nbsp;</div>
<div class="item-controls item-controls-fixed"> <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-edit" title="Edit 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> <a class="item-control item-delete" title="Delete Item"><i class="fas fa-trash"></i></a>
</div> </div>
</li> </li>
{{/each}} {{/each}}
@ -460,8 +430,6 @@
</span> </span>
<div class="item-filler">&nbsp;</div> <div class="item-filler">&nbsp;</div>
<div class="item-controls item-controls-fixed"> <div class="item-controls item-controls-fixed">
<a class="item-control item-add" data-type="capacitenaturelle" title="Ajouter une capacité naturelle"><i
class="fas fa-plus"></i></a>
</div> </div>
</li> </li>
{{#each capacites as |capa key|}} {{#each capacites as |capa key|}}
@ -470,8 +438,8 @@
<span class="item-field-label-long2">{{capa.name}}</span> <span class="item-field-label-long2">{{capa.name}}</span>
<div class="item-filler">&nbsp;</div> <div class="item-filler">&nbsp;</div>
<div class="item-controls item-controls-fixed"> <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-edit" title="Edit 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> <a class="item-control item-delete" title="Delete Item"><i class="fas fa-trash"></i></a>
</div> </div>
</li> </li>
{{/each}} {{/each}}
@ -494,8 +462,7 @@
</span> </span>
<div class="item-filler">&nbsp;</div> <div class="item-filler">&nbsp;</div>
<div class="item-controls item-controls-fixed"> <div class="item-controls item-controls-fixed">
<a class="item-control item-add" data-type="equipement" title="Créer un équipement"><i <a class="item-control item-add" data-type="equipement" title="Créer un équipement"><i class="fas fa-plus"></i></a>
class="fas fa-plus"></i></a>
</div> </div>
</li> </li>
{{#each equipements as |equip key|}} {{#each equipements as |equip key|}}
@ -504,8 +471,8 @@
<span class="item-field-label-long2">{{equip.name}}</span> <span class="item-field-label-long2">{{equip.name}}</span>
<div class="item-filler">&nbsp;</div> <div class="item-filler">&nbsp;</div>
<div class="item-controls item-controls-fixed"> <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-edit" title="Edit 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> <a class="item-control item-delete" title="Delete Item"><i class="fas fa-trash"></i></a>
</div> </div>
</li> </li>
{{/each}} {{/each}}
@ -524,8 +491,7 @@
</span> </span>
<div class="item-filler">&nbsp;</div> <div class="item-filler">&nbsp;</div>
<div class="item-controls item-controls-fixed"> <div class="item-controls item-controls-fixed">
<a class="item-control item-add" data-type="contact" title="Créer un contact"><i <a class="item-control item-add" data-type="contact" title="Créer un contact"><i class="fas fa-plus"></i></a>
class="fas fa-plus"></i></a>
</div> </div>
</li> </li>
</div> </div>
@ -539,8 +505,7 @@
</span> </span>
<div class="item-filler">&nbsp;</div> <div class="item-filler">&nbsp;</div>
<div class="item-controls item-controls-fixed"> <div class="item-controls item-controls-fixed">
<a class="item-control item-add" data-type="contact" title="Créer un contact"><i <a class="item-control item-add" data-type="contact" title="Créer un contact"><i class="fas fa-plus"></i></a>
class="fas fa-plus"></i></a>
</div> </div>
</li> </li>
{{#each contactList.list as |contact key|}} {{#each contactList.list as |contact key|}}
@ -549,8 +514,8 @@
<span class="item-field-label-long2">{{contact.name}}</span> <span class="item-field-label-long2">{{contact.name}}</span>
<div class="item-filler">&nbsp;</div> <div class="item-filler">&nbsp;</div>
<div class="item-controls item-controls-fixed"> <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-edit" title="Edit 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> <a class="item-control item-delete" title="Delete Item"><i class="fas fa-trash"></i></a>
</div> </div>
</li> </li>
{{/each}} {{/each}}
@ -583,8 +548,8 @@
<span class="item-field-label-medium">{{upperFirst profil.system.profiltype}}</span> <span class="item-field-label-medium">{{upperFirst profil.system.profiltype}}</span>
<div class="item-filler">&nbsp;</div> <div class="item-filler">&nbsp;</div>
<div class="item-controls item-controls-fixed"> <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-edit" title="Edit 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> <a class="item-control item-delete" title="Delete Item"><i class="fas fa-trash"></i></a>
</div> </div>
</li> </li>
{{/each}} {{/each}}
@ -594,37 +559,28 @@
<div class="flexrow"> <div class="flexrow">
<ul> <ul>
<li class="flexrow item"> <li class="flexrow item">
<label class="item-field-label-long2">Nom humain</label> <input type="text" class="" <label class="item-field-label-long2">Nom humain</label> <input type="text" class="" name="system.biodata.nomhumain" value="{{system.biodata.nomhumain}}" data-dtype="String" />
name="system.biodata.nomhumain" value="{{system.biodata.nomhumain}}" data-dtype="String" />
</li> </li>
<li class="flexrow item"> <li class="flexrow item">
<label class="item-field-label-long2">Activités</label> <input type="text" class="" <label class="item-field-label-long2">Activités</label> <input type="text" class="" name="system.biodata.activites" value="{{system.biodata.activites}}" data-dtype="String" />
name="system.biodata.activites" value="{{system.biodata.activites}}" data-dtype="String" />
</li> </li>
<li class="flexrow item"> <li class="flexrow item">
<label class="item-field-label-long2">Apparence masquée</label> <input type="text" class="" <label class="item-field-label-long2">Apparence masquée</label> <input type="text" class="" name="system.biodata.apparencemasquee" value="{{system.biodata.apparencemasquee}}" data-dtype="String" />
name="system.biodata.apparencemasquee" value="{{system.biodata.apparencemasquee}}" data-dtype="String" />
</li> </li>
<li class="flexrow item"> <li class="flexrow item">
<label class="item-field-label-long2">Apparence démasquée</label> <input type="text" class="" <label class="item-field-label-long2">Apparence démasquée</label> <input type="text" class="" name="system.biodata.apparencedemasquee" value="{{system.biodata.apparencedemasquee}}" data-dtype="String" />
name="system.biodata.apparencedemasquee" value="{{system.biodata.apparencedemasquee}}"
data-dtype="String" />
</li> </li>
<li class="flexrow item"> <li class="flexrow item">
<label class="item-field-label-long2">Titre et Famille</label> <input type="text" class="" <label class="item-field-label-long2">Titre et Famille</label> <input type="text" class="" name="system.biodata.titrefamille" value="{{system.biodata.titrefamille}}" data-dtype="String" />
name="system.biodata.titrefamille" value="{{system.biodata.titrefamille}}" data-dtype="String" />
</li> </li>
<li class="flexrow item"> <li class="flexrow item">
<label class="item-field-label-long2">Factions féériques</label> <input type="text" class="" <label class="item-field-label-long2">Factions féériques</label> <input type="text" class="" name="system.biodata.factionfeerique" value="{{system.biodata.factionfeerique}}" data-dtype="String" />
name="system.biodata.factionfeerique" value="{{system.biodata.factionfeerique}}" data-dtype="String" />
</li> </li>
<li class="flexrow item"> <li class="flexrow item">
<label class="item-field-label-long2">Traits de caractères dominants</label> <input type="text" class="" <label class="item-field-label-long2">Traits de caractères dominants</label> <input type="text" class="" name="system.biodata.traitscaracteres" value="{{system.biodata.traitscaracteres}}" data-dtype="String" />
name="system.biodata.traitscaracteres" value="{{system.biodata.traitscaracteres}}" data-dtype="String" />
</li> </li>
<li class="flexrow item"> <li class="flexrow item">
<label class="item-field-label-long2">Langues</label> <input type="text" class="" <label class="item-field-label-long2">Langues</label> <input type="text" class="" name="system.biodata.langues" value="{{system.biodata.langues}}" data-dtype="String" />
name="system.biodata.langues" value="{{system.biodata.langues}}" data-dtype="String" />
</li> </li>
</ul> </ul>
</div> </div>
@ -658,8 +614,8 @@
</li> </li>
<li class="item flexrow"> <li class="item flexrow">
<label class="generic-label">Taille Démasquée</label> <label class="generic-label">Taille Démasquée</label>
<input type="text" class="" name="system.biodata.tailledemasquee" <input type="text" class="" name="system.biodata.tailledemasquee" value="{{system.biodata.tailledemasquee}}"
value="{{system.biodata.tailledemasquee}}" data-dtype="String" /> data-dtype="String" />
</li> </li>
<li class="flexrow item"> <li class="flexrow item">
<label class="generic-label">Type de taille</label> <label class="generic-label">Type de taille</label>
@ -668,8 +624,7 @@
</li> </li>
<li class="flexrow item"> <li class="flexrow item">
<label class="generic-label">Points d'héritage</label> <label class="generic-label">Points d'héritage</label>
<input type="text" class="" name="system.rang.heritage.value" value="{{system.rang.heritage.value}}" <input type="text" class="" name="system.rang.heritage.value" value="{{system.rang.heritage.value}}" data-dtype="String" />
data-dtype="String" />
</li> </li>
</ul> </ul>

View File

@ -25,8 +25,7 @@
<li>Degats de l'arme : {{degatsArme}}</li> <li>Degats de l'arme : {{degatsArme}}</li>
{{#if (eq attaqueCible "membre")}} {{#if (eq attaqueCible "membre")}}
<li><strong>Cible un membre : La cible a -2 de malus sur ces actions avec ce membre (mouvement 2 si jambes)</strong> <li><strong>Cible un membre : La cible a -2 de malus sur ces actions avec ce membre (mouvement 2 si jambes)</strong></li>
</li>
{{/if}} {{/if}}
{{#if (eq attaqueCible "main")}} {{#if (eq attaqueCible "main")}}
<li><strong>Cible une main : La cible ne peut plus utiliser sa main</strong></li> <li><strong>Cible une main : La cible ne peut plus utiliser sa main</strong></li>

View File

@ -48,8 +48,6 @@
<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}}
{{#if noRoll}}
{{else}}
<li>Formule : {{diceFormula}}</li> <li>Formule : {{diceFormula}}</li>
<li>Résultat du dé : {{diceResult}} </li> <li>Résultat du dé : {{diceResult}} </li>
@ -65,7 +63,6 @@
{{#if (gt sdValue "-1")}} {{#if (gt sdValue "-1")}}
<li>Seuil de difficulté : {{sdValue}}</li>
{{#if isSuccess}} {{#if isSuccess}}
<li class="chat-success">Succès... <li class="chat-success">Succès...
</li> </li>
@ -87,7 +84,7 @@
{{#if isCriticalFailure}} {{#if isCriticalFailure}}
<li class="chat-failure">Echec Critique !!!</li> <li class="chat-failure">Echec Critique !!!</li>
{{/if}} {{/if}}
{{/if}}
</ul> </ul>
</div> </div>

View File

@ -0,0 +1,356 @@
<form class="{{cssClass}}" autocomplete="off">
{{!-- Sheet Header --}}
<header class="sheet-header">
<div class="header-fields background-sheet-header">
<div class="flexrow">
<img class="profile-img" src="{{img}}" data-edit="img" title="{{name}}" />
<div class="flexcol">
<h1 class="charname"><input name="name" type="text" value="{{name}}" placeholder="Name" /></h1>
<div class="flexrow">
<ul class="item-list alternate-list">
<li class="item flexrow ">
<h4 class="item-name-label competence-name">Ressources</h4>
<input type="text" class="padd-right status-small-label color-class-common item-field-label-short"
name="system.ressources.value" value="{{system.ressources.value}}" data-dtype="Number" />
</li>
</ul>
</div>
</div>
</div>
</header>
{{!-- Sheet Tab Navigation --}}
<nav class="sheet-tabs tabs" data-group="primary">
<a class="item" data-tab="principal">Technique</a>
<a class="item" data-tab="competences">Compétences</a>
<a class="item" data-tab="talents">Talents</a>
<a class="item" data-tab="armes">Armes</a>
<a class="item" data-tab="biodata">Bio&Notes</a>
</nav>
{{!-- Sheet Body --}}
<section class="sheet-body">
{{!-- Main Tab --}}
<div class="tab principal" data-group="primary" data-tab="principal">
<div class="grid grid-2col">
<div class="sheet-box color-bg-archetype">
<ul class="item-list alternate-list">
{{#each system.attributs as |attr key|}}
<li class="item flexrow " data-attr-key="{{key}}">
<img class="item-name-img" src="systems/fvtt-les-heritiers/assets/icons/{{attr.labelnorm}}.webp">
<span class="item-name-label competence-name item-field-label-medium"><a
class="roll-attribut">{{attr.label}}</a></span>
<select class="status-small-label color-class-common edit-item-data competence-niveau" type="text"
name="system.attributs.{{key}}.value" value="{{attr.value}}" data-dtype="Number">
{{#select attr.value}}
{{> systems/fvtt-les-heritiers/templates/partial-list-niveau.html}}
{{/select}}
</select>
</li>
{{/each}}
<li class="item flexrow">
<img class="item-name-img" src="systems/fvtt-les-heritiers/assets/icons/vitesse.webp">
<span class="item-name-label competence-name item-field-label-medium">Vitesse</span>
<input type="text" class="padd-right numeric-input item-field-label-short" name="system.vitesse.value"
value="{{system.vitesse.value}}" data-dtype="Number" />
</li>
</ul>
<h4 class="item-name-label competence-name">Santé</h4>
<ul class="item-list alternate-list">
<li class="item flexrow">
<label class="label-name item-field-label-short">Vigueur</label>
<label class="label-name item-field-label-short">{{system.sante.vigueur}}</label>
</li>
<li class="item flexrow">
<label class="label-name item-field-label-short">Etat</label>
<select class="label-name item-field-label-medium" type="text" name="system.sante.etat" value="{{system.sante.etat}}" data-dtype="Number">
{{#select system.sante.etat}}
{{> systems/fvtt-les-heritiers/templates/partial-sante-etat.html}}
{{/select}}
</select>
</li>
</ul>
<h4 class="item-name-label competence-name">Combat</h4>
<ul class="item-list alternate-list">
<li class="item flexrow">
<button class="chat-card-button roll-initiative">Initiative</button>
</li>
</ul>
</div>
<div class="sheet-box color-bg-archetype">
<h4 class="item-name-label competence-name">Adversité</h4>
<ul class="item-list alternate-list">
{{#each system.adversite as |adv key|}}
<li class="item flexrow" data-adversite="{{key}}">
<a class="adversite-modify plus-minus-button" data-adversite-value="-1">-</a>
<div class="icon-adversite-container">
<img class="icon-adversite" src="systems/fvtt-les-heritiers/assets/icons/gemme_{{key}}.webp">
<div class="adversite-text">{{adv}}</div>
</div>
<a class="adversite-modify plus-minus-button" data-adversite-value="1">+</a>
<div class="">&nbsp;</div>
<div class="">&nbsp;</div>
<div class="">&nbsp;</div>
</li>
{{/each}}
</ul>
</div>
</div>
</div>
{{!-- Competence Tab --}}
<div class="tab competences" data-group="primary" data-tab="competences">
<div class="flexrow">
<div class="sheet-box color-bg-archetype">
<ul class="item-list alternate-list">
<li class="item flexrow">
<span class="item-name-label-header">
<h3><label class="items-title-text">Compétences</label></h3>
</span>
<span class="item-field-label-short">
<label class="short-label">Niveau</label>
</span>
<div class="item-filler">&nbsp;</div>
</li>
{{#each skills as |skill key|}}
<li class="item flexrow " data-item-id="{{skill._id}}" data-item-type="competence">
<img class="item-name-img" src="{{skill.img}}" />
<span class="item-name-label competence-name"><a class="roll-competence item-field-label-short"
data-attr-key="tochoose">{{skill.name}}</a></span>
<select class="status-small-label color-class-common edit-item-data competence-niveau" type="text"
data-item-field="niveau" value="{{skill.system.niveau}}" data-dtype="Number">
{{#select skill.system.niveau}}
{{> systems/fvtt-les-heritiers/templates/partial-list-niveau.html}}
{{/select}}
</select>
{{#if (ne skill.system.attribut1 "none")}}
<button class="roll-competence button-sheet-roll" data-attr-key="{{skill.system.attribut1}}">{{upper
skill.system.attribut1}} : {{skill.system.attribut1total}}</button>
{{/if}}
{{#if (ne skill.system.attribut2 "none")}}
<button class="roll-competence button-sheet-roll" data-attr-key="{{skill.system.attribut2}}">{{upper
skill.system.attribut2}} : {{skill.system.attribut2total}}</button>
{{/if}}
{{#if (ne skill.system.attribut3 "none")}}
<button class="roll-competence button-sheet-roll" data-attr-key="{{skill.system.attribut3}}">{{upper
skill.system.attribut3}} : {{skill.system.attribut3total}}</button>
{{/if}}
<div class="item-filler">&nbsp;</div>
<div class="item-controls item-controls-fixed">
<a class="item-control item-edit" title="Edit Item"><i class="fas fa-edit"></i></a>
<a class="item-control item-delete" title="Delete Item"><i class="fas fa-trash"></i></a>
</div>
</li>
{{/each}}
</ul>
</div>
</div>
</div>
{{!-- Talents Tab --}}
<div class="tab talents" data-group="primary" data-tab="talents">
<div class="flexrow">
<div class="sheet-box color-bg-archetype">
<ul class="item-list alternate-list">
<li class="item flexrow">
<span class="item-name-label-header">
<h3><label class="items-title-text">Talents</label></h3>
</span>
<span class="item-field-label-short">
<label class="short-label">Résumé</label>
</span>
<div class="item-filler">&nbsp;</div>
</li>
{{#each talents as |talent key|}}
<li class="item flexrow " data-item-id="{{talent._id}}" data-item-type="competence">
<img class="item-name-img" src="{{talent.img}}" />
<span class="item-name-label competence-name">{{talent.name}}</span>
<span class="item-name-label item-field-label-long2">{{talent.system.resumebonus}}</span>
<div class="item-filler">&nbsp;</div>
<div class="item-controls item-controls-fixed">
<a class="item-control item-edit" title="Edit Item"><i class="fas fa-edit"></i></a>
<a class="item-control item-delete" title="Delete Item"><i class="fas fa-trash"></i></a>
</div>
</li>
{{/each}}
</ul>
</div>
</div>
<div class="flexrow">
<div class="sheet-box color-bg-archetype">
<ul class="item-list alternate-list">
<li class="item flexrow">
<span class="item-name-label-header">
<h3><label class="items-title-text">Talents de Cellule</label></h3>
</span>
<span class="item-field-label-short">
<label class="short-label">Résumé</label>
</span>
<div class="item-filler">&nbsp;</div>
</li>
{{#each talentsCell as |talent key|}}
<li class="item flexrow " data-item-id="{{talent._id}}" data-item-type="competence">
<img class="item-name-img" src="{{talent.img}}" />
<span class="item-name-label competence-name">{{talent.name}}</span>
<span class="item-name-label item-field-label-long2">{{talent.system.resumebonus}}</span>
<div class="item-filler">&nbsp;</div>
<div class="item-controls item-controls-fixed">
<a class="item-control item-edit" title="Edit Item"><i class="fas fa-edit"></i></a>
</div>
</li>
{{/each}}
</ul>
</div>
</div>
</div>
{{!-- Equipement Tab --}}
<div class="tab armes" data-group="primary" data-tab="armes">
<div class="flexcol">
<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">
<h3><label class="items-title-text">Armes</label></h3>
</span>
<span class="item-field-label-short">
<label class="short-label">Attaque</label>
</span>
<span class="item-field-label-short">
<label class="short-label">Défense</label>
</span>
<span class="item-field-label-short">
<label class="short-label">Dégats</label>
</span>
<div class="item-filler">&nbsp;</div>
<div class="item-controls item-controls-fixed">
<a class="item-control item-add" data-type="arme" title="Ajouter une arme"><i
class="fas fa-plus"></i></a>
</div>
</li>
{{#each armes as |arme key|}}
<li class="item flexrow " data-item-id="{{arme._id}}" data-item-type="arme">
<img class="item-name-img" src="{{arme.img}}" />
<span class="item-name-label competence-name">{{arme.name}}</span>
<span class="item-field-label-short">
{{#if arme.system.equipped}}
<button class="roll-arme-offensif button-sheet-roll">{{arme.system.totalOffensif}}</button>
{{else}}
<button disabled class="roll-arme-offensif button-sheet-roll">{{arme.system.totalOffensif}}</button>
{{/if}}
</span>
{{#if arme.system.isdefense}}
<span class="item-field-label-short arme-defensif item-field-label-short"><label
class="arme-defensif item-field-label-short defense-sheet">{{arme.system.totalDefensif}}</label></span>
{{else}}
<span class="item-field-label-short arme-defensif item-field-label-short"><label
class="arme-defensif item-field-label-short defense-sheet">N/A</label></span>
{{/if}}
<span class="item-field-label-short">
{{#if arme.system.equipped}}
<button class="roll-arme-degats button-sheet-roll">{{arme.system.totalDegats}}</button>
{{else}}
<button disabled class="roll-arme-degats button-sheet-roll">{{arme.system.totalDegats}}</button>
{{/if}}
</span>
<div class="item-filler">&nbsp;</div>
<div class="item-controls item-controls-fixed">
<a class="item-control item-equip" title="Worn">{{#if arme.system.equipped}}<i
class="fas fa-circle"></i>{{else}}<i class="fas fa-genderless"></i>{{/if}}</a>
<a class="item-control item-edit" title="Edit Item"><i class="fas fa-edit"></i></a>
<a class="item-control item-delete" title="Delete Item"><i class="fas fa-trash"></i></a>
</div>
</li>
{{/each}}
</ul>
</div>
<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">
<h3><label class="items-title-text">Protections</label></h3>
</span>
<span class="item-field-label-short">
<label class="short-label">Protection</label>
</span>
<div class="item-filler">&nbsp;</div>
<div class="item-controls item-controls-fixed">
<a class="item-control item-add" data-type="arme" title="Ajouter une arme"><i
class="fas fa-plus"></i></a>
</div>
</li>
{{#each protections as |protection key|}}
<li class="item flexrow " data-item-id="{{protection._id}}" data-item-type="protection">
<img class="item-name-img" src="{{protection.img}}" />
<span class="item-name-label competence-name">{{protection.name}}</span>
<span class="item-field-label-short arme-defensif"><label
class="arme-defensif">{{protection.system.protection}}</label>
</span>
<div class="item-filler">&nbsp;</div>
<div class="item-controls item-controls-fixed">
<a class="item-control item-edit" title="Edit Item"><i class="fas fa-edit"></i></a>
<a class="item-control item-delete" title="Delete Item"><i class="fas fa-trash"></i></a>
</div>
</li>
{{/each}}
</ul>
</div>
</div>
</div>
{{!-- Biography Tab --}}
<div class="tab biodata" data-group="primary" data-tab="biodata">
<span>
<h3>Description</h3>
</span>
<div class="medium-editor item-text-long-line">
{{editor description target="system.biodata.description" button=true owner=owner editable=editable}}
</div>
<span>
<h3>Habitat</h3>
</span>
<div class="medium-editor item-text-long-line">
{{editor habitat target="system.biodata.habitat" button=true owner=owner editable=editable}}
</div>
</div>
</section>
</form>

View File

@ -16,7 +16,11 @@
<label class="item-field-label-long">Catégorie : </label> <label class="item-field-label-long">Catégorie : </label>
<select class="item-field-label-long" type="text" name="system.categorie" <select class="item-field-label-long" type="text" name="system.categorie"
value="{{system.categorie}}" data-dtype="string"> value="{{system.categorie}}" data-dtype="string">
{{selectOptions config.categorieArme selected=system.categorie}} {{#select system.categorie}}
{{#each config.categorieArme as |categ key|}}
<option value="{{key}}">{{categ}}</option>
{{/each}}
{{/select}}
</select> </select>
</li> </li>
@ -24,7 +28,11 @@
<label class="item-field-label-long">Type : </label> <label class="item-field-label-long">Type : </label>
<select class="item-field-label-long" type="text" name="system.armetype" <select class="item-field-label-long" type="text" name="system.armetype"
value="{{system.armetype}}" data-dtype="string"> value="{{system.armetype}}" data-dtype="string">
{{selectOptions config.typeArme selected=system.armetype}} {{#select system.armetype}}
{{#each config.typeArme as |type key|}}
<option value="{{key}}">{{type}}</option>
{{/each}}
{{/select}}
</select> </select>
</li> </li>
@ -66,14 +74,22 @@
<label class="generic-label item-field-label-long">Légalité : </label> <label class="generic-label item-field-label-long">Légalité : </label>
<select class="item-field-label-long" type="text" name="system.legalite" <select class="item-field-label-long" type="text" name="system.legalite"
value="{{system.legalite}}" data-dtype="string"> value="{{system.legalite}}" data-dtype="string">
{{selectOptions config.armeLegalite selected=system.legalite}} {{#select system.legalite}}
{{#each config.armeLegalite as |legal key|}}
<option value="{{key}}">{{legal}}</option>
{{/each}}
{{/select}}
</select> </select>
</li> </li>
<li class="flexrow item"> <li class="flexrow item">
<label class="generic-label item-field-label-long">Dissimulation : </label> <label class="generic-label item-field-label-long">Dissimulation : </label>
<select class="item-field-label-long" type="text" name="system.dissimulation" <select class="item-field-label-long" type="text" name="system.dissimulation"
value="{{system.dissimulation}}" data-dtype="string"> value="{{system.dissimulation}}" data-dtype="string">
{{selectOptions config.armeDissimulation selected=system.dissimulation}} {{#select system.dissimulation}}
{{#each config.armeDissimulation as |diss key|}}
<option value="{{key}}">{{diss}}</option>
{{/each}}
{{/select}}
</select> </select>
</li> </li>
<li class="flexrow item"> <li class="flexrow item">

View File

@ -16,7 +16,11 @@
<label class="generic-label item-field-label-long2">Type </label> <label class="generic-label item-field-label-long2">Type </label>
<select class="status-small-label color-class-common item-field-label-long" type="text" <select class="status-small-label color-class-common item-field-label-long" type="text"
name="system.pouvoirtype" value="{{system.pouvoirtype}}" data-dtype="string"> name="system.pouvoirtype" value="{{system.pouvoirtype}}" data-dtype="string">
{{selectOptions config.typePouvoir selected=system.pouvoirtype}} {{#select system.pouvoirtype}}
{{#each config.typePouvoir as |categ cKey|}}
<option value="{{cKey}}">{{categ}}</option>
{{/each}}
{{/select}}
</select> </select>
</li> </li>
@ -48,7 +52,11 @@
<label class="generic-label item-field-label-long2">Résistance</label> <label class="generic-label item-field-label-long2">Résistance</label>
<select class="status-small-label color-class-common item-field-label-long" type="text" <select class="status-small-label color-class-common item-field-label-long" type="text"
name="system.resistance" value="{{system.resistance}}" data-dtype="string"> name="system.resistance" value="{{system.resistance}}" data-dtype="string">
{{selectOptions config.resistancePouvoir selected=system.resistance}} {{#select system.resistance}}
{{#each config.resistancePouvoir as |categ cKey|}}
<option value="{{cKey}}">{{categ}}</option>
{{/each}}
{{/select}}
</select> </select>
</li> </li>

View File

@ -16,7 +16,11 @@
<label class="generic-label item-field-label-long2">Catégorie </label> <label class="generic-label item-field-label-long2">Catégorie </label>
<select class="status-small-label color-class-common item-field-label-long" type="text" <select class="status-small-label color-class-common item-field-label-long" type="text"
name="system.categorie" value="{{system.categorie}}" data-dtype="string"> name="system.categorie" value="{{system.categorie}}" data-dtype="string">
{{selectOptions config.competenceCategorie selected=system.categorie}} {{#select system.categorie}}
{{#each config.competenceCategorie as |categ cKey|}}
<option value="{{cKey}}">{{categ}}</option>
{{/each}}
{{/select}}
</select> </select>
</li> </li>
@ -24,7 +28,11 @@
<label class="generic-label item-field-label-long2">Profil </label> <label class="generic-label item-field-label-long2">Profil </label>
<select class="status-small-label color-class-common item-field-label-long" type="text" <select class="status-small-label color-class-common item-field-label-long" type="text"
name="system.profil" value="{{system.profil}}" data-dtype="string"> name="system.profil" value="{{system.profil}}" data-dtype="string">
{{selectOptions config.competenceProfil selected=system.profil labelAttr="name"}} {{#select system.profil}}
{{#each config.competenceProfil as |profil pKey|}}
<option value="{{pKey}}">{{profil.name}}</option>
{{/each}}
{{/select}}
</select> </select>
</li> </li>

View File

@ -15,14 +15,23 @@
<li class="flexrow item"> <li class="flexrow item">
<label class="generic-label item-field-label-long">Type : </label> <label class="generic-label item-field-label-long">Type : </label>
<select class="item-field-label-long" type="text" name="system.contacttype" value="{{system.contacttype}}" data-dtype="String"> <select class="item-field-label-long" type="text" name="system.contacttype" value="{{system.contacttype}}" data-dtype="String">
{{selectOptions config.typeContact selected=system.contacttype}} {{#select system.contacttype}}
<option value="contact">Contact</option>
<option value="allie">Allié</option>
<option value="ennemi">Ennemis</option>
<option value="interet">Personne d'interêt</option>
{{/select}}
</select> </select>
</li> </li>
<li class="flexrow item"> <li class="flexrow item">
<label class="generic-label item-field-label-long">Niveau : </label> <label class="generic-label item-field-label-long">Niveau : </label>
<select class="item-field-label-long" type="text" name="system.niveau" value="{{system.niveau}}" data-dtype="Number"> <select class="item-field-label-long" type="text" name="system.niveau" value="{{system.niveau}}" data-dtype="Number">
{{selectOptions config.niveauContact selected=system.niveau}} {{#select system.niveau}}
<option value="1">1</option>
<option value="2">2</option>
<option value="3">3</option>
{{/select}}
</select> </select>
</li> </li>

View File

@ -17,7 +17,11 @@
<label class="item-field-label-long">Type de féé</label> <label class="item-field-label-long">Type de féé</label>
<select class="item-field-label-long" type="text" name="system.feetype" <select class="item-field-label-long" type="text" name="system.feetype"
value="{{system.feetype}}" data-dtype="string"> value="{{system.feetype}}" data-dtype="string">
{{selectOptions config.typeFee selected=system.feetype}} {{#select system.feetype}}
{{#each config.typeFee as |type key|}}
<option value="{{key}}">{{type}}</option>
{{/each}}
{{/select}}
</select> </select>
</li> </li>

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