Compare commits
No commits in common. "master" and "fvtt-les-heritiers-11.0.5" have entirely different histories.
master
...
fvtt-les-h
Binary file not shown.
Before Width: | Height: | Size: 192 KiB |
43
lang/fr.json
43
lang/fr.json
|
@ -1,23 +1,30 @@
|
||||||
{
|
{
|
||||||
"TYPES": {
|
"ACTOR": {
|
||||||
"Actor": {
|
"TypePersonnage": "Personnage",
|
||||||
"personnage": "Personnage",
|
"TypePNJ": "PNJ"
|
||||||
"pnj": "PNJ"
|
|
||||||
},
|
},
|
||||||
"Item": {
|
|
||||||
"accessoire": "Accessoire",
|
"ITEM": {
|
||||||
"arme": "Arme",
|
"TypeArtefact": "Artefact",
|
||||||
"atoutfeerique": "Atout féerique",
|
"TypeArme": "Arme",
|
||||||
"avantage": "Avantage",
|
"TypeTalent": "Talent",
|
||||||
"capacitenaturelle": "Capacité naturelle",
|
"TypeHistorique": "Historique",
|
||||||
"competence": "Compétence",
|
"TypeProfil": "Profil",
|
||||||
"contact": "Contact",
|
"TypeCompetence": "Compétence",
|
||||||
"desavantage": "Désavantage",
|
"TypeProtection": "Protection",
|
||||||
"equipement": "Equipement",
|
"TypeMonnaie": "Monnaie",
|
||||||
"fee": "Fée",
|
"TypeEquipement": "Equipement",
|
||||||
"pouvoir": "Pouvoir",
|
"TypeRessource": "Ressource",
|
||||||
"profil": "Profil",
|
"TypeContact": "Contact"
|
||||||
"protection": "Protection"
|
|
||||||
|
},
|
||||||
|
|
||||||
|
"HAWKMOON": {
|
||||||
|
"ui": {
|
||||||
|
"editContact": "Modifier le contact",
|
||||||
|
"deleteContact": "Supprimer le contact",
|
||||||
|
"editTrait": "Modifier le trait",
|
||||||
|
"deleteTrait": "Supprimer le trait"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -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,
|
||||||
|
|
|
@ -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,
|
||||||
|
@ -77,42 +77,19 @@ export class HeritiersActorSheet extends ActorSheet {
|
||||||
}
|
}
|
||||||
|
|
||||||
/* -------------------------------------------- */
|
/* -------------------------------------------- */
|
||||||
dialogRecupUsage() {
|
getCelluleTalents( ) {
|
||||||
new Dialog({
|
let talents = []
|
||||||
title: "Récupération des Points d'Usage",
|
for(let cellule of game.actors) {
|
||||||
content: "<p>Combien de Points d'Usage souhaitez-vous récupérer ?</p>",
|
if (cellule.type == "cellule") {
|
||||||
buttons: {
|
let found = cellule.system.members.find( it => it.id == this.actor.id)
|
||||||
one: {
|
if (found) {
|
||||||
icon: '<i class="fas fa-check"></i>',
|
talents = talents.concat( cellule.getTalents() )
|
||||||
label: "1 Point",
|
|
||||||
callback: () => {
|
|
||||||
this.actor.recupUsage(1)
|
|
||||||
}
|
|
||||||
},
|
|
||||||
two: {
|
|
||||||
icon: '<i class="fas fa-check"></i>',
|
|
||||||
label: "2 Points",
|
|
||||||
callback: () => {
|
|
||||||
this.actor.recupUsage(2)
|
|
||||||
}
|
|
||||||
},
|
|
||||||
four: {
|
|
||||||
icon: '<i class="fas fa-check"></i>',
|
|
||||||
label: "4 Points",
|
|
||||||
callback: () => {
|
|
||||||
this.actor.recupUsage(4)
|
|
||||||
}
|
|
||||||
},
|
|
||||||
all: {
|
|
||||||
icon: '<i class="fas fa-check"></i>',
|
|
||||||
label: "Tous les Points",
|
|
||||||
callback: () => {
|
|
||||||
this.actor.recupUsage(100)
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}).render(true)
|
return talents
|
||||||
}
|
}
|
||||||
|
|
||||||
/* -------------------------------------------- */
|
/* -------------------------------------------- */
|
||||||
/** @override */
|
/** @override */
|
||||||
activateListeners(html) {
|
activateListeners(html) {
|
||||||
|
@ -203,9 +180,6 @@ export class HeritiersActorSheet extends ActorSheet {
|
||||||
let pouvoirId = li.data("item-id")
|
let pouvoirId = li.data("item-id")
|
||||||
this.actor.rollPouvoir(pouvoirId)
|
this.actor.rollPouvoir(pouvoirId)
|
||||||
})
|
})
|
||||||
html.find('.dialog-recup-usage').click((event) => {
|
|
||||||
this.dialogRecupUsage()
|
|
||||||
})
|
|
||||||
|
|
||||||
html.find('.item-add').click((event) => {
|
html.find('.item-add').click((event) => {
|
||||||
const itemType = $(event.currentTarget).data("type")
|
const itemType = $(event.currentTarget).data("type")
|
||||||
|
|
|
@ -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 })
|
||||||
}
|
}
|
||||||
|
@ -135,23 +135,13 @@ export class HeritiersActor extends Actor {
|
||||||
return this.getItemSorted(["profil"])
|
return this.getItemSorted(["profil"])
|
||||||
}
|
}
|
||||||
getPouvoirs() {
|
getPouvoirs() {
|
||||||
let pouvoirs = []
|
return this.getItemSorted(["pouvoir"])
|
||||||
for (let item of this.items) {
|
|
||||||
if (item.type == "pouvoir") {
|
|
||||||
let itemObj = foundry.utils.duplicate(item)
|
|
||||||
itemObj.maxUsage = this.getPouvoirUsageMax(item)
|
|
||||||
pouvoirs.push(itemObj)
|
|
||||||
}
|
}
|
||||||
}
|
|
||||||
HeritiersUtility.sortArrayObjectsByName(pouvoirs)
|
|
||||||
return pouvoirs
|
|
||||||
}
|
|
||||||
|
|
||||||
/* -------------------------------------------- */
|
/* -------------------------------------------- */
|
||||||
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)
|
||||||
}
|
}
|
||||||
|
@ -162,7 +152,7 @@ export class HeritiersActor extends Actor {
|
||||||
/* -------------------------------------------- */
|
/* -------------------------------------------- */
|
||||||
prepareUtileSkill(item) {
|
prepareUtileSkill(item) {
|
||||||
let specList = []
|
let specList = []
|
||||||
if (item?.system?.categorie == "utile") {
|
if (item && item.system.categorie && item.system.categorie == "utile") {
|
||||||
for (let spec of item.system.specialites) {
|
for (let spec of item.system.specialites) {
|
||||||
specList.push(spec.name)
|
specList.push(spec.name)
|
||||||
}
|
}
|
||||||
|
@ -259,11 +249,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 +270,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;
|
||||||
}
|
}
|
||||||
|
@ -293,7 +278,7 @@ export class HeritiersActor extends Actor {
|
||||||
/* -------------------------------------------- */
|
/* -------------------------------------------- */
|
||||||
async equipItem(itemId) {
|
async equipItem(itemId) {
|
||||||
let item = this.items.find(item => item.id == itemId)
|
let item = this.items.find(item => item.id == itemId)
|
||||||
if (item?.system) {
|
if (item && item.system) {
|
||||||
let update = { _id: item.id, "system.equipped": !item.system.equipped }
|
let update = { _id: item.id, "system.equipped": !item.system.equipped }
|
||||||
await this.updateEmbeddedDocuments('Item', [update]); // Updates one EmbeddedEntity
|
await this.updateEmbeddedDocuments('Item', [update]); // Updates one EmbeddedEntity
|
||||||
}
|
}
|
||||||
|
@ -343,7 +328,7 @@ export class HeritiersActor extends Actor {
|
||||||
|
|
||||||
/* -------------------------------------------- */
|
/* -------------------------------------------- */
|
||||||
getCarac(attrKey) {
|
getCarac(attrKey) {
|
||||||
return foundry.utils.duplicate(this.system.caracteristiques)
|
return duplicate(this.system.caracteristiques)
|
||||||
}
|
}
|
||||||
|
|
||||||
/* -------------------------------------------- */
|
/* -------------------------------------------- */
|
||||||
|
@ -354,7 +339,7 @@ export class HeritiersActor extends Actor {
|
||||||
/* -------------------------------------------- */
|
/* -------------------------------------------- */
|
||||||
async equipGear(equipmentId) {
|
async equipGear(equipmentId) {
|
||||||
let item = this.items.find(item => item.id == equipmentId);
|
let item = this.items.find(item => item.id == equipmentId);
|
||||||
if (item?.system) {
|
if (item && item.system.data) {
|
||||||
let update = { _id: item.id, "system.equipped": !item.system.equipped };
|
let update = { _id: item.id, "system.equipped": !item.system.equipped };
|
||||||
await this.updateEmbeddedDocuments('Item', [update]); // Updates one EmbeddedEntity
|
await this.updateEmbeddedDocuments('Item', [update]); // Updates one EmbeddedEntity
|
||||||
}
|
}
|
||||||
|
@ -364,13 +349,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 +377,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 +424,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 +446,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 +461,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 +523,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()
|
||||||
|
@ -554,17 +538,16 @@ export class HeritiersActor extends Actor {
|
||||||
rollData.useTricherie = false
|
rollData.useTricherie = false
|
||||||
rollData.useSpecialite = false
|
rollData.useSpecialite = false
|
||||||
rollData.useHeritage = false
|
rollData.useHeritage = false
|
||||||
rollData.pouvoirPointsUsage = 1
|
|
||||||
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 && rollData.competence.name) {
|
||||||
this.prepareUtileSkill(rollData.competence)
|
this.prepareUtileSkill(rollData.competence)
|
||||||
rollData.actionImg = rollData.competence?.img
|
rollData.actionImg = rollData.competence?.img
|
||||||
} else {
|
} else {
|
||||||
|
@ -612,6 +595,7 @@ export class HeritiersActor extends Actor {
|
||||||
async rollRootCompetence(compKey) {
|
async rollRootCompetence(compKey) {
|
||||||
let rollData = this.getCommonRollData()
|
let rollData = this.getCommonRollData()
|
||||||
rollData.mode = "competence"
|
rollData.mode = "competence"
|
||||||
|
console.log("Compkey", compKey)
|
||||||
rollData.competence = { name: this.system.competences[compKey].label, system: { niveau: this.system.competences[compKey].niveau } }
|
rollData.competence = { name: this.system.competences[compKey].label, system: { niveau: this.system.competences[compKey].niveau } }
|
||||||
console.log("RollDatra", rollData)
|
console.log("RollDatra", rollData)
|
||||||
let rollDialog = await HeritiersRollDialog.create(this, rollData)
|
let rollDialog = await HeritiersRollDialog.create(this, rollData)
|
||||||
|
@ -631,7 +615,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 +648,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 +666,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 +683,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,127 +693,22 @@ 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)
|
||||||
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.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")
|
|
||||||
return
|
|
||||||
}
|
|
||||||
rollData.carac = foundry.utils.duplicate(this.system.caracteristiques[pouvoir.system.carac])
|
|
||||||
rollData.caracKey = pouvoir.system.carac
|
rollData.caracKey = pouvoir.system.carac
|
||||||
}
|
}
|
||||||
rollData.pouvoirMaxUsage = this.getPouvoirUsageMax(pouvoir)
|
rollData.pouvoir = duplicate(pouvoir)
|
||||||
rollData.pouvoir = foundry.utils.duplicate(pouvoir)
|
|
||||||
rollData.mode = "pouvoir"
|
rollData.mode = "pouvoir"
|
||||||
let rollDialog = await HeritiersRollDialog.create(this, rollData)
|
let rollDialog = await HeritiersRollDialog.create(this, rollData)
|
||||||
rollDialog.render(true)
|
rollDialog.render(true)
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
/* -------------------------------------------- */
|
|
||||||
incDecPointsUsage(pouvoirId, value) {
|
|
||||||
let pouvoir = this.items.get(pouvoirId)
|
|
||||||
let newValue = pouvoir.system.pointsusagecourant + value
|
|
||||||
newValue = Math.max(newValue, 0)
|
|
||||||
newValue = Math.min(newValue, this.getPouvoirUsageMax(pouvoir))
|
|
||||||
this.updateEmbeddedDocuments('Item', [{ _id: pouvoirId, 'system.pointsusagecourant': newValue }])
|
|
||||||
}
|
|
||||||
|
|
||||||
/* -------------------------------------------- */
|
|
||||||
getPouvoirUsage(pouvoirId) {
|
|
||||||
let pouvoir = this.items.get(pouvoirId)
|
|
||||||
return pouvoir.system.pointsusagecourant
|
|
||||||
}
|
|
||||||
|
|
||||||
/* -------------------------------------------- */
|
|
||||||
getPouvoirUsageMax(pouvoir) {
|
|
||||||
if (pouvoir.system.masquetype == "masque") {
|
|
||||||
return this.system.rang.masque.value
|
|
||||||
}
|
|
||||||
return this.system.rang.feerie.value
|
|
||||||
}
|
|
||||||
/* -------------------------------------------- */
|
|
||||||
recupUsage(value) {
|
|
||||||
let updates = []
|
|
||||||
for (let pouvoir of this.items) {
|
|
||||||
if (pouvoir.type == "pouvoir") {
|
|
||||||
let newValue = pouvoir.system.pointsusagecourant + value
|
|
||||||
newValue = Math.max(newValue, 0)
|
|
||||||
newValue = Math.min(newValue, this.getPouvoirUsageMax(pouvoir))
|
|
||||||
updates.push({ _id: pouvoir.id, 'system.pointsusagecourant': newValue })
|
|
||||||
}
|
|
||||||
}
|
|
||||||
if (updates.length > 0) {
|
|
||||||
this.updateEmbeddedDocuments('Item', updates)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -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"
|
|
||||||
},
|
|
||||||
|
|
||||||
}
|
}
|
25
modules/heritiers-creature-sheet.js
Normal file
25
modules/heritiers-creature-sheet.js
Normal 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
|
||||||
|
})
|
||||||
|
}
|
||||||
|
}
|
|
@ -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,
|
||||||
|
@ -65,16 +65,7 @@ export class HeritiersItemSheet extends ItemSheet {
|
||||||
isArmeMelee: HeritiersUtility.isArmeMelee(this.object),
|
isArmeMelee: HeritiersUtility.isArmeMelee(this.object),
|
||||||
description: await TextEditor.enrichHTML(this.object.system.description, {async: true}),
|
description: await TextEditor.enrichHTML(this.object.system.description, {async: true}),
|
||||||
mr: (this.object.type == 'specialisation'),
|
mr: (this.object.type == 'specialisation'),
|
||||||
isGM: game.user.isGM,
|
isGM: game.user.isGM
|
||||||
usageMax: -1
|
|
||||||
}
|
|
||||||
|
|
||||||
// Items specific data
|
|
||||||
if (this.object.type == 'pouvoir' && this.document.isOwner && this.actor) {
|
|
||||||
formData.usageMax = this.actor.getPouvoirUsageMax(this.object)
|
|
||||||
if (this.object.system.pointsusagecourant == -1) {
|
|
||||||
this.object.system.pointsusagecourant = formData.usageMax
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
//this.options.editable = !(this.object.origin == "embeddedItem");
|
//this.options.editable = !(this.object.origin == "embeddedItem");
|
||||||
|
@ -96,7 +87,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 +129,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 })
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
|
@ -80,16 +79,30 @@ function welcomeMessage() {
|
||||||
}
|
}
|
||||||
|
|
||||||
/* -------------------------------------------- */
|
/* -------------------------------------------- */
|
||||||
async function importDefaultScene() {
|
// Register world usage statistics
|
||||||
let exists = game.scenes.find(j => j.name == "Accueil");
|
function registerUsageCount(registerKey) {
|
||||||
if (!exists) {
|
if (game.user.isGM) {
|
||||||
const scenes = await HeritiersUtility.loadCompendium("fvtt-les-heritiers.scenes")
|
game.settings.register(registerKey, "world-key", {
|
||||||
let newDocuments = scenes.filter(i => i.name == "Accueil");
|
name: "Unique world key",
|
||||||
await game.scenes.documentClass.create(newDocuments);
|
scope: "world",
|
||||||
game.scenes.find(i => i.name == "Accueil").activate();
|
config: false,
|
||||||
}
|
default: "",
|
||||||
}
|
type: String
|
||||||
|
});
|
||||||
|
|
||||||
|
let worldKey = game.settings.get(registerKey, "world-key")
|
||||||
|
if (worldKey == undefined || worldKey == "") {
|
||||||
|
worldKey = randomID(32)
|
||||||
|
game.settings.set(registerKey, "world-key", worldKey)
|
||||||
|
}
|
||||||
|
// Simple API counter
|
||||||
|
let regURL = `https://www.uberwald.me/fvtt_appcount/count.php?name="${registerKey}"&worldKey="${worldKey}"&version="${game.release.generation}.${game.release.build}"&system="${game.system.id}"&systemversion="${game.system.version}"`
|
||||||
|
//$.ajaxSetup({
|
||||||
|
//headers: { 'Access-Control-Allow-Origin': '*' }
|
||||||
|
//})
|
||||||
|
$.ajax(regURL)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/* -------------------------------------------- */
|
/* -------------------------------------------- */
|
||||||
/* Foundry VTT Initialization */
|
/* Foundry VTT Initialization */
|
||||||
|
@ -107,14 +120,8 @@ Hooks.once("ready", function () {
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
import("https://www.uberwald.me/fvtt_appcount/count-class-ready.js").then(moduleCounter=>{
|
registerUsageCount(game.system.id)
|
||||||
console.log("ClassCounter loaded", moduleCounter)
|
welcomeMessage()
|
||||||
moduleCounter.ClassCounter.registerUsageCount()
|
|
||||||
}).catch(err=>
|
|
||||||
console.log("No stats available, giving up.")
|
|
||||||
)
|
|
||||||
welcomeMessage();
|
|
||||||
importDefaultScene();
|
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
|
@ -125,7 +132,7 @@ Hooks.on("chatMessage", (html, content, msg) => {
|
||||||
if (content[0] == '/') {
|
if (content[0] == '/') {
|
||||||
let regExp = /(\S+)/g;
|
let regExp = /(\S+)/g;
|
||||||
let commands = content.match(regExp);
|
let commands = content.match(regExp);
|
||||||
if (game.system.lesheritiers.commands.processChatCommand(commands, content, msg)) {
|
if (game.system.mournblade.commands.processChatCommand(commands, content, msg)) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -18,31 +18,18 @@ export class HeritiersRollDialog extends Dialog {
|
||||||
icon: '<i class="fas fa-check"></i>',
|
icon: '<i class="fas fa-check"></i>',
|
||||||
label: "Lancer 1d8",
|
label: "Lancer 1d8",
|
||||||
callback: () => { this.roll("d8") }
|
callback: () => { this.roll("d8") }
|
||||||
}
|
},
|
||||||
}
|
rolld10: {
|
||||||
let enableD10 = false
|
|
||||||
let enableD12 = false
|
|
||||||
if (rollData.mode == "pouvoir" || rollData.competence?.system.niveau > 0) {
|
|
||||||
enableD10 = true
|
|
||||||
}
|
|
||||||
if (rollData.mode == "pouvoir" || rollData.competence?.system.niveau > 1) {
|
|
||||||
enableD12 = true
|
|
||||||
}
|
|
||||||
if (enableD10) {
|
|
||||||
buttons.rolld10 = {
|
|
||||||
icon: '<i class="fas fa-check"></i>',
|
icon: '<i class="fas fa-check"></i>',
|
||||||
label: "Lancer 1d10",
|
label: "Lancer 1d10",
|
||||||
callback: () => { this.roll("d10") }
|
callback: () => { this.roll("d10") }
|
||||||
}
|
},
|
||||||
}
|
rolld12: {
|
||||||
if (enableD12) {
|
|
||||||
buttons.rolld12 = {
|
|
||||||
icon: '<i class="fas fa-check"></i>',
|
icon: '<i class="fas fa-check"></i>',
|
||||||
label: "Lancer 1d12",
|
label: "Lancer 1d12",
|
||||||
callback: () => { this.roll("d12") }
|
callback: () => { this.roll("d12") }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (rollData.tricherie) {
|
if (rollData.tricherie) {
|
||||||
buttons["rollTricherie"] = {
|
buttons["rollTricherie"] = {
|
||||||
icon: '<i class="fas fa-check"></i>',
|
icon: '<i class="fas fa-check"></i>',
|
||||||
|
@ -68,7 +55,7 @@ export class HeritiersRollDialog extends Dialog {
|
||||||
buttons: buttons,
|
buttons: buttons,
|
||||||
close: close
|
close: close
|
||||||
}
|
}
|
||||||
// Overwrite in case of carac only -> 1d8
|
// Overwrite in case of carac only -> 1d10
|
||||||
if (rollData.mode == "carac") {
|
if (rollData.mode == "carac") {
|
||||||
conf.buttons = {
|
conf.buttons = {
|
||||||
rolld8: {
|
rolld8: {
|
||||||
|
@ -129,9 +116,6 @@ export class HeritiersRollDialog extends Dialog {
|
||||||
html.find('#useSpecialite').change((event) => {
|
html.find('#useSpecialite').change((event) => {
|
||||||
this.rollData.useSpecialite = event.currentTarget.checked
|
this.rollData.useSpecialite = event.currentTarget.checked
|
||||||
})
|
})
|
||||||
html.find('#pouvoirPointsUsage').change((event) => {
|
|
||||||
this.rollData.pouvoirPointsUsage = Number(event.currentTarget.value)
|
|
||||||
})
|
|
||||||
html.find('#attaqueDos').change((event) => {
|
html.find('#attaqueDos').change((event) => {
|
||||||
this.rollData.attaqueDos = event.currentTarget.checked
|
this.rollData.attaqueDos = event.currentTarget.checked
|
||||||
})
|
})
|
||||||
|
|
|
@ -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)
|
||||||
})
|
})
|
||||||
|
|
||||||
|
@ -252,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;
|
||||||
}
|
}
|
||||||
/* -------------------------------------------- */
|
/* -------------------------------------------- */
|
||||||
|
@ -391,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])
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -434,10 +434,6 @@ export class HeritiersUtility {
|
||||||
rollData.isSuccess = (rollData.finalResult >= seuil)
|
rollData.isSuccess = (rollData.finalResult >= seuil)
|
||||||
rollData.isCriticalSuccess = ((rollData.finalResult - seuil) >= 7)
|
rollData.isCriticalSuccess = ((rollData.finalResult - seuil) >= 7)
|
||||||
rollData.isCriticalFailure = ((rollData.finalResult - seuil) <= -7)
|
rollData.isCriticalFailure = ((rollData.finalResult - seuil) <= -7)
|
||||||
// Si compétence > 0 et d8 -> echec critique impossible
|
|
||||||
if (rollData?.competence?.system.niveau > 0 && rollData?.mainDice == "d8") {
|
|
||||||
rollData.isCriticalFailure = false
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -471,13 +467,8 @@ export class HeritiersUtility {
|
||||||
|
|
||||||
let actor = this.getActorFromRollData(rollData)
|
let actor = this.getActorFromRollData(rollData)
|
||||||
|
|
||||||
if ( rollData.mode == "pouvoir" && actor.getPouvoirUsage(rollData.pouvoir._id) < rollData.pouvoirPointsUsage) {
|
|
||||||
ui.notifications.warn("Pas assez de points d'usage pour ce pouvoir.")
|
|
||||||
return
|
|
||||||
}
|
|
||||||
|
|
||||||
//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"
|
||||||
rollData.carac = foundry.utils.duplicate(actor.system.caracteristiques[rollData.caracKey])
|
rollData.carac = duplicate(actor.system.caracteristiques[rollData.caracKey])
|
||||||
|
|
||||||
if (rollData.forcedValue) {
|
if (rollData.forcedValue) {
|
||||||
rollData.diceFormula = rollData.forcedValue
|
rollData.diceFormula = rollData.forcedValue
|
||||||
|
@ -494,7 +485,7 @@ export class HeritiersUtility {
|
||||||
rangValue = rollData.rang.value
|
rangValue = rollData.rang.value
|
||||||
}
|
}
|
||||||
if (rollData.competence) {
|
if (rollData.competence) {
|
||||||
let compmod = 0 // Bonus de compétence à 0 dans Les Heritiers
|
let compmod = (rollData.competence.system.niveau == 0) ? -3 : 0
|
||||||
let specBonus = (rollData.useSpecialite) ? 1 : 0
|
let specBonus = (rollData.useSpecialite) ? 1 : 0
|
||||||
rollData.diceFormula += `+${rollData.carac.value}+${rangValue}+${rollData.competence.system.niveau}+${specBonus}+${rollData.bonusMalusContext}+${compmod}`
|
rollData.diceFormula += `+${rollData.carac.value}+${rangValue}+${rollData.competence.system.niveau}+${specBonus}+${rollData.bonusMalusContext}+${compmod}`
|
||||||
} else if (rollData.pouvoirBase) {
|
} else if (rollData.pouvoirBase) {
|
||||||
|
@ -535,24 +526,18 @@ 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
|
|
||||||
if (rollData.mode == "pouvoir" || rollData.mode == "pouvoirpassif") {
|
|
||||||
actor.incDecPointsUsage(rollData.pouvoir._id, -rollData.pouvoirPointsUsage)
|
|
||||||
}
|
|
||||||
|
|
||||||
this.createChatWithRollMode(rollData.alias, {
|
this.createChatWithRollMode(rollData.alias, {
|
||||||
content: await renderTemplate(`systems/fvtt-les-heritiers/templates/chat-generic-result.html`, rollData)
|
content: await renderTemplate(`systems/fvtt-les-heritiers/templates/chat-generic-result.html`, rollData)
|
||||||
}, rollData)
|
}, rollData)
|
||||||
|
@ -583,9 +568,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
|
||||||
|
|
||||||
|
@ -604,7 +589,7 @@ export class HeritiersUtility {
|
||||||
|
|
||||||
/* -------------------------------------------- */
|
/* -------------------------------------------- */
|
||||||
static isArmeMelee(arme) {
|
static isArmeMelee(arme) {
|
||||||
return (arme.type == "arme" && (arme.system.categorie == "lourde" || arme.system.categorie == "blanche" || arme.system.categorie == "improvise"))
|
return (arme.type == "arme" && (arme.system.categorie == "lourde" || arme.system.categorie == "blanche" || arme.system.categorie == "improvise")) ? true : false
|
||||||
}
|
}
|
||||||
/* -------------------------------------------- */
|
/* -------------------------------------------- */
|
||||||
static getWhisperRecipients(rollMode, name) {
|
static getWhisperRecipients(rollMode, name) {
|
||||||
|
@ -623,7 +608,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 +672,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,
|
||||||
|
|
BIN
packs/archetypes-fees/000005.ldb
Normal file
BIN
packs/archetypes-fees/000005.ldb
Normal file
Binary file not shown.
Binary file not shown.
|
@ -1 +1 @@
|
||||||
MANIFEST-000107
|
MANIFEST-000006
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
2024/05/23-14:51:24.000188 7f7a316006c0 Recovering log #104
|
2023/12/19-22:06:11.050257 7f33237fe6c0 Recovering log #4
|
||||||
2024/05/23-14:51:24.010463 7f7a316006c0 Delete type=3 #102
|
2023/12/19-22:06:11.104534 7f33237fe6c0 Delete type=3 #2
|
||||||
2024/05/23-14:51:24.010514 7f7a316006c0 Delete type=0 #104
|
2023/12/19-22:06:11.104875 7f33237fe6c0 Delete type=0 #4
|
||||||
2024/05/23-15:00:04.398824 7f7a2b8006c0 Level-0 table #110: started
|
2023/12/19-22:13:00.316854 7f33223ff6c0 Level-0 table #9: started
|
||||||
2024/05/23-15:00:04.398861 7f7a2b8006c0 Level-0 table #110: 0 bytes OK
|
2023/12/19-22:13:00.316923 7f33223ff6c0 Level-0 table #9: 0 bytes OK
|
||||||
2024/05/23-15:00:04.405139 7f7a2b8006c0 Delete type=0 #108
|
2023/12/19-22:13:00.490508 7f33223ff6c0 Delete type=0 #7
|
||||||
2024/05/23-15:00:04.405289 7f7a2b8006c0 Manual compaction at level-0 from '!items!1NhJH4IJpxsGmLB8' @ 72057594037927935 : 1 .. '!items!y1yOenfAJTsb3r6e' @ 0 : 0; will stop at (end)
|
2023/12/19-22:13:00.624324 7f33223ff6c0 Manual compaction at level-0 from '!items!1NhJH4IJpxsGmLB8' @ 72057594037927935 : 1 .. '!items!y1yOenfAJTsb3r6e' @ 0 : 0; will stop at (end)
|
||||||
2024/05/23-15:00:04.405345 7f7a2b8006c0 Manual compaction at level-1 from '!items!1NhJH4IJpxsGmLB8' @ 72057594037927935 : 1 .. '!items!y1yOenfAJTsb3r6e' @ 0 : 0; will stop at (end)
|
2023/12/19-22:13:00.624395 7f33223ff6c0 Manual compaction at level-1 from '!items!1NhJH4IJpxsGmLB8' @ 72057594037927935 : 1 .. '!items!y1yOenfAJTsb3r6e' @ 0 : 0; will stop at (end)
|
||||||
|
|
|
@ -1,15 +1,5 @@
|
||||||
2024/05/23-10:57:45.623302 7f80456006c0 Recovering log #100
|
2023/12/19-21:28:12.654905 7f3323fff6c0 Delete type=3 #1
|
||||||
2024/05/23-10:57:45.634017 7f80456006c0 Delete type=3 #98
|
2023/12/19-21:34:54.787106 7f33223ff6c0 Level-0 table #5: started
|
||||||
2024/05/23-10:57:45.634148 7f80456006c0 Delete type=0 #100
|
2023/12/19-21:34:54.792294 7f33223ff6c0 Level-0 table #5: 75294 bytes OK
|
||||||
2024/05/23-11:25:01.407869 7f803fe006c0 Level-0 table #105: started
|
2023/12/19-21:34:54.798740 7f33223ff6c0 Delete type=0 #3
|
||||||
2024/05/23-11:25:01.412121 7f803fe006c0 Level-0 table #105: 76980 bytes OK
|
2023/12/19-21:34:54.828243 7f33223ff6c0 Manual compaction at level-0 from '!items!1NhJH4IJpxsGmLB8' @ 72057594037927935 : 1 .. '!items!y1yOenfAJTsb3r6e' @ 0 : 0; will stop at (end)
|
||||||
2024/05/23-11:25:01.418196 7f803fe006c0 Delete type=0 #103
|
|
||||||
2024/05/23-11:25:01.442441 7f803fe006c0 Manual compaction at level-0 from '!items!1NhJH4IJpxsGmLB8' @ 72057594037927935 : 1 .. '!items!y1yOenfAJTsb3r6e' @ 0 : 0; will stop at (end)
|
|
||||||
2024/05/23-11:25:01.466948 7f803fe006c0 Manual compaction at level-1 from '!items!1NhJH4IJpxsGmLB8' @ 72057594037927935 : 1 .. '!items!y1yOenfAJTsb3r6e' @ 0 : 0; will stop at '!items!y1yOenfAJTsb3r6e' @ 62 : 1
|
|
||||||
2024/05/23-11:25:01.466958 7f803fe006c0 Compacting 1@1 + 1@2 files
|
|
||||||
2024/05/23-11:25:01.471640 7f803fe006c0 Generated table #106@1: 31 keys, 76980 bytes
|
|
||||||
2024/05/23-11:25:01.471673 7f803fe006c0 Compacted 1@1 + 1@2 files => 76980 bytes
|
|
||||||
2024/05/23-11:25:01.477983 7f803fe006c0 compacted to: files[ 0 0 1 0 0 0 0 ]
|
|
||||||
2024/05/23-11:25:01.478100 7f803fe006c0 Delete type=2 #5
|
|
||||||
2024/05/23-11:25:01.478228 7f803fe006c0 Delete type=2 #105
|
|
||||||
2024/05/23-11:25:01.488781 7f803fe006c0 Manual compaction at level-1 from '!items!y1yOenfAJTsb3r6e' @ 62 : 1 .. '!items!y1yOenfAJTsb3r6e' @ 0 : 0; will stop at (end)
|
|
||||||
|
|
BIN
packs/archetypes-fees/MANIFEST-000006
Normal file
BIN
packs/archetypes-fees/MANIFEST-000006
Normal file
Binary file not shown.
Binary file not shown.
BIN
packs/armes-et-protection/000005.ldb
Normal file
BIN
packs/armes-et-protection/000005.ldb
Normal file
Binary file not shown.
Binary file not shown.
|
@ -1 +1 @@
|
||||||
MANIFEST-000107
|
MANIFEST-000006
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
2024/05/23-14:51:24.026186 7f7a316006c0 Recovering log #104
|
2023/12/19-22:06:11.176247 7f3322ffd6c0 Recovering log #4
|
||||||
2024/05/23-14:51:24.036947 7f7a316006c0 Delete type=3 #102
|
2023/12/19-22:06:11.233115 7f3322ffd6c0 Delete type=3 #2
|
||||||
2024/05/23-14:51:24.037049 7f7a316006c0 Delete type=0 #104
|
2023/12/19-22:06:11.233244 7f3322ffd6c0 Delete type=0 #4
|
||||||
2024/05/23-15:00:04.391521 7f7a2b8006c0 Level-0 table #110: started
|
2023/12/19-22:13:00.722674 7f33223ff6c0 Level-0 table #9: started
|
||||||
2024/05/23-15:00:04.391574 7f7a2b8006c0 Level-0 table #110: 0 bytes OK
|
2023/12/19-22:13:00.722715 7f33223ff6c0 Level-0 table #9: 0 bytes OK
|
||||||
2024/05/23-15:00:04.398604 7f7a2b8006c0 Delete type=0 #108
|
2023/12/19-22:13:00.805532 7f33223ff6c0 Delete type=0 #7
|
||||||
2024/05/23-15:00:04.405267 7f7a2b8006c0 Manual compaction at level-0 from '!items!1ETVaPBtjDtzelK1' @ 72057594037927935 : 1 .. '!items!zbsVCsWxRzkzzG1N' @ 0 : 0; will stop at (end)
|
2023/12/19-22:13:00.882637 7f33223ff6c0 Manual compaction at level-0 from '!items!1ETVaPBtjDtzelK1' @ 72057594037927935 : 1 .. '!items!zbsVCsWxRzkzzG1N' @ 0 : 0; will stop at (end)
|
||||||
2024/05/23-15:00:04.405337 7f7a2b8006c0 Manual compaction at level-1 from '!items!1ETVaPBtjDtzelK1' @ 72057594037927935 : 1 .. '!items!zbsVCsWxRzkzzG1N' @ 0 : 0; will stop at (end)
|
2023/12/19-22:13:00.882686 7f33223ff6c0 Manual compaction at level-1 from '!items!1ETVaPBtjDtzelK1' @ 72057594037927935 : 1 .. '!items!zbsVCsWxRzkzzG1N' @ 0 : 0; will stop at (end)
|
||||||
|
|
|
@ -1,15 +1,5 @@
|
||||||
2024/05/23-10:57:45.655135 7f8046a006c0 Recovering log #100
|
2023/12/19-21:28:12.795275 7f3323fff6c0 Delete type=3 #1
|
||||||
2024/05/23-10:57:45.665774 7f8046a006c0 Delete type=3 #98
|
2023/12/19-21:34:54.816711 7f33223ff6c0 Level-0 table #5: started
|
||||||
2024/05/23-10:57:45.665849 7f8046a006c0 Delete type=0 #100
|
2023/12/19-21:34:54.820965 7f33223ff6c0 Level-0 table #5: 16828 bytes OK
|
||||||
2024/05/23-11:25:01.418338 7f803fe006c0 Level-0 table #105: started
|
2023/12/19-21:34:54.828050 7f33223ff6c0 Delete type=0 #3
|
||||||
2024/05/23-11:25:01.422571 7f803fe006c0 Level-0 table #105: 17369 bytes OK
|
2023/12/19-21:34:54.835440 7f33223ff6c0 Manual compaction at level-0 from '!items!1ETVaPBtjDtzelK1' @ 72057594037927935 : 1 .. '!items!zbsVCsWxRzkzzG1N' @ 0 : 0; will stop at (end)
|
||||||
2024/05/23-11:25:01.428914 7f803fe006c0 Delete type=0 #103
|
|
||||||
2024/05/23-11:25:01.442459 7f803fe006c0 Manual compaction at level-0 from '!items!1ETVaPBtjDtzelK1' @ 72057594037927935 : 1 .. '!items!zbsVCsWxRzkzzG1N' @ 0 : 0; will stop at (end)
|
|
||||||
2024/05/23-11:25:01.478313 7f803fe006c0 Manual compaction at level-1 from '!items!1ETVaPBtjDtzelK1' @ 72057594037927935 : 1 .. '!items!zbsVCsWxRzkzzG1N' @ 0 : 0; will stop at '!items!zbsVCsWxRzkzzG1N' @ 144 : 1
|
|
||||||
2024/05/23-11:25:01.478324 7f803fe006c0 Compacting 1@1 + 1@2 files
|
|
||||||
2024/05/23-11:25:01.482030 7f803fe006c0 Generated table #106@1: 72 keys, 17369 bytes
|
|
||||||
2024/05/23-11:25:01.482057 7f803fe006c0 Compacted 1@1 + 1@2 files => 17369 bytes
|
|
||||||
2024/05/23-11:25:01.488371 7f803fe006c0 compacted to: files[ 0 0 1 0 0 0 0 ]
|
|
||||||
2024/05/23-11:25:01.488544 7f803fe006c0 Delete type=2 #5
|
|
||||||
2024/05/23-11:25:01.488680 7f803fe006c0 Delete type=2 #105
|
|
||||||
2024/05/23-11:25:01.488790 7f803fe006c0 Manual compaction at level-1 from '!items!zbsVCsWxRzkzzG1N' @ 144 : 1 .. '!items!zbsVCsWxRzkzzG1N' @ 0 : 0; will stop at (end)
|
|
||||||
|
|
BIN
packs/armes-et-protection/MANIFEST-000006
Normal file
BIN
packs/armes-et-protection/MANIFEST-000006
Normal file
Binary file not shown.
Binary file not shown.
BIN
packs/atouts-feeriques/000005.ldb
Normal file
BIN
packs/atouts-feeriques/000005.ldb
Normal file
Binary file not shown.
Binary file not shown.
|
@ -1 +1 @@
|
||||||
MANIFEST-000107
|
MANIFEST-000006
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
2024/05/23-14:51:23.987816 7f7a30c006c0 Recovering log #104
|
2023/12/19-22:06:10.985018 7f35b8bfa6c0 Recovering log #4
|
||||||
2024/05/23-14:51:23.997550 7f7a30c006c0 Delete type=3 #102
|
2023/12/19-22:06:11.046339 7f35b8bfa6c0 Delete type=3 #2
|
||||||
2024/05/23-14:51:23.997629 7f7a30c006c0 Delete type=0 #104
|
2023/12/19-22:06:11.046469 7f35b8bfa6c0 Delete type=0 #4
|
||||||
2024/05/23-15:00:04.371340 7f7a2b8006c0 Level-0 table #110: started
|
2023/12/19-22:13:00.177944 7f33223ff6c0 Level-0 table #9: started
|
||||||
2024/05/23-15:00:04.371366 7f7a2b8006c0 Level-0 table #110: 0 bytes OK
|
2023/12/19-22:13:00.177984 7f33223ff6c0 Level-0 table #9: 0 bytes OK
|
||||||
2024/05/23-15:00:04.377577 7f7a2b8006c0 Delete type=0 #108
|
2023/12/19-22:13:00.316506 7f33223ff6c0 Delete type=0 #7
|
||||||
2024/05/23-15:00:04.377847 7f7a2b8006c0 Manual compaction at level-0 from '!items!0fPXtA5LkLgG8uDj' @ 72057594037927935 : 1 .. '!items!zvtBlG6KCIn0oCVk' @ 0 : 0; will stop at (end)
|
2023/12/19-22:13:00.624302 7f33223ff6c0 Manual compaction at level-0 from '!items!0fPXtA5LkLgG8uDj' @ 72057594037927935 : 1 .. '!items!zvtBlG6KCIn0oCVk' @ 0 : 0; will stop at (end)
|
||||||
2024/05/23-15:00:04.377924 7f7a2b8006c0 Manual compaction at level-1 from '!items!0fPXtA5LkLgG8uDj' @ 72057594037927935 : 1 .. '!items!zvtBlG6KCIn0oCVk' @ 0 : 0; will stop at (end)
|
2023/12/19-22:13:00.624379 7f33223ff6c0 Manual compaction at level-1 from '!items!0fPXtA5LkLgG8uDj' @ 72057594037927935 : 1 .. '!items!zvtBlG6KCIn0oCVk' @ 0 : 0; will stop at (end)
|
||||||
|
|
|
@ -1,15 +1,5 @@
|
||||||
2024/05/23-10:57:45.608985 7f80460006c0 Recovering log #100
|
2023/12/19-21:28:12.601487 7f3322ffd6c0 Delete type=3 #1
|
||||||
2024/05/23-10:57:45.618959 7f80460006c0 Delete type=3 #98
|
2023/12/19-21:34:54.774727 7f33223ff6c0 Level-0 table #5: started
|
||||||
2024/05/23-10:57:45.619067 7f80460006c0 Delete type=0 #100
|
2023/12/19-21:34:54.779620 7f33223ff6c0 Level-0 table #5: 59886 bytes OK
|
||||||
2024/05/23-11:25:01.397161 7f803fe006c0 Level-0 table #105: started
|
2023/12/19-21:34:54.786884 7f33223ff6c0 Delete type=0 #3
|
||||||
2024/05/23-11:25:01.401554 7f803fe006c0 Level-0 table #105: 63133 bytes OK
|
2023/12/19-21:34:54.816678 7f33223ff6c0 Manual compaction at level-0 from '!items!0fPXtA5LkLgG8uDj' @ 72057594037927935 : 1 .. '!items!zvtBlG6KCIn0oCVk' @ 0 : 0; will stop at (end)
|
||||||
2024/05/23-11:25:01.407613 7f803fe006c0 Delete type=0 #103
|
|
||||||
2024/05/23-11:25:01.442406 7f803fe006c0 Manual compaction at level-0 from '!items!0fPXtA5LkLgG8uDj' @ 72057594037927935 : 1 .. '!items!zvtBlG6KCIn0oCVk' @ 0 : 0; will stop at (end)
|
|
||||||
2024/05/23-11:25:01.442493 7f803fe006c0 Manual compaction at level-1 from '!items!0fPXtA5LkLgG8uDj' @ 72057594037927935 : 1 .. '!items!zvtBlG6KCIn0oCVk' @ 0 : 0; will stop at '!items!zvtBlG6KCIn0oCVk' @ 306 : 1
|
|
||||||
2024/05/23-11:25:01.442500 7f803fe006c0 Compacting 1@1 + 1@2 files
|
|
||||||
2024/05/23-11:25:01.447773 7f803fe006c0 Generated table #106@1: 153 keys, 63133 bytes
|
|
||||||
2024/05/23-11:25:01.447818 7f803fe006c0 Compacted 1@1 + 1@2 files => 63133 bytes
|
|
||||||
2024/05/23-11:25:01.453866 7f803fe006c0 compacted to: files[ 0 0 1 0 0 0 0 ]
|
|
||||||
2024/05/23-11:25:01.454036 7f803fe006c0 Delete type=2 #5
|
|
||||||
2024/05/23-11:25:01.454195 7f803fe006c0 Delete type=2 #105
|
|
||||||
2024/05/23-11:25:01.488757 7f803fe006c0 Manual compaction at level-1 from '!items!zvtBlG6KCIn0oCVk' @ 306 : 1 .. '!items!zvtBlG6KCIn0oCVk' @ 0 : 0; will stop at (end)
|
|
||||||
|
|
BIN
packs/atouts-feeriques/MANIFEST-000006
Normal file
BIN
packs/atouts-feeriques/MANIFEST-000006
Normal file
Binary file not shown.
Binary file not shown.
BIN
packs/avantages/000005.ldb
Normal file
BIN
packs/avantages/000005.ldb
Normal file
Binary file not shown.
Binary file not shown.
|
@ -1 +1 @@
|
||||||
MANIFEST-000107
|
MANIFEST-000006
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
2024/05/23-14:51:23.948792 7f7a316006c0 Recovering log #104
|
2023/12/19-22:06:10.801923 7f33237fe6c0 Recovering log #4
|
||||||
2024/05/23-14:51:23.958442 7f7a316006c0 Delete type=3 #102
|
2023/12/19-22:06:10.856851 7f33237fe6c0 Delete type=3 #2
|
||||||
2024/05/23-14:51:23.958537 7f7a316006c0 Delete type=0 #104
|
2023/12/19-22:06:10.857020 7f33237fe6c0 Delete type=0 #4
|
||||||
2024/05/23-15:00:04.351486 7f7a2b8006c0 Level-0 table #110: started
|
2023/12/19-22:12:59.901335 7f33223ff6c0 Level-0 table #9: started
|
||||||
2024/05/23-15:00:04.351511 7f7a2b8006c0 Level-0 table #110: 0 bytes OK
|
2023/12/19-22:12:59.901390 7f33223ff6c0 Level-0 table #9: 0 bytes OK
|
||||||
2024/05/23-15:00:04.357671 7f7a2b8006c0 Delete type=0 #108
|
2023/12/19-22:12:59.991239 7f33223ff6c0 Delete type=0 #7
|
||||||
2024/05/23-15:00:04.377771 7f7a2b8006c0 Manual compaction at level-0 from '!items!0EAAt0qSzcD9VRBH' @ 72057594037927935 : 1 .. '!items!zfpjROW9LDAlXUkN' @ 0 : 0; will stop at (end)
|
2023/12/19-22:13:00.082181 7f33223ff6c0 Manual compaction at level-0 from '!items!0EAAt0qSzcD9VRBH' @ 72057594037927935 : 1 .. '!items!zfpjROW9LDAlXUkN' @ 0 : 0; will stop at (end)
|
||||||
2024/05/23-15:00:04.377867 7f7a2b8006c0 Manual compaction at level-1 from '!items!0EAAt0qSzcD9VRBH' @ 72057594037927935 : 1 .. '!items!zfpjROW9LDAlXUkN' @ 0 : 0; will stop at (end)
|
2023/12/19-22:13:00.082266 7f33223ff6c0 Manual compaction at level-1 from '!items!0EAAt0qSzcD9VRBH' @ 72057594037927935 : 1 .. '!items!zfpjROW9LDAlXUkN' @ 0 : 0; will stop at (end)
|
||||||
|
|
|
@ -1,15 +1,5 @@
|
||||||
2024/05/23-10:57:45.566585 7f80456006c0 Recovering log #100
|
2023/12/19-21:28:12.469210 7f3323fff6c0 Delete type=3 #1
|
||||||
2024/05/23-10:57:45.576456 7f80456006c0 Delete type=3 #98
|
2023/12/19-21:34:54.739813 7f33223ff6c0 Level-0 table #5: started
|
||||||
2024/05/23-10:57:45.576513 7f80456006c0 Delete type=0 #100
|
2023/12/19-21:34:54.744244 7f33223ff6c0 Level-0 table #5: 26203 bytes OK
|
||||||
2024/05/23-11:25:01.323826 7f803fe006c0 Level-0 table #105: started
|
2023/12/19-21:34:54.751692 7f33223ff6c0 Delete type=0 #3
|
||||||
2024/05/23-11:25:01.327636 7f803fe006c0 Level-0 table #105: 27634 bytes OK
|
2023/12/19-21:34:54.774674 7f33223ff6c0 Manual compaction at level-0 from '!items!0EAAt0qSzcD9VRBH' @ 72057594037927935 : 1 .. '!items!zfpjROW9LDAlXUkN' @ 0 : 0; will stop at (end)
|
||||||
2024/05/23-11:25:01.333591 7f803fe006c0 Delete type=0 #103
|
|
||||||
2024/05/23-11:25:01.354630 7f803fe006c0 Manual compaction at level-0 from '!items!0EAAt0qSzcD9VRBH' @ 72057594037927935 : 1 .. '!items!zfpjROW9LDAlXUkN' @ 0 : 0; will stop at (end)
|
|
||||||
2024/05/23-11:25:01.364975 7f803fe006c0 Manual compaction at level-1 from '!items!0EAAt0qSzcD9VRBH' @ 72057594037927935 : 1 .. '!items!zfpjROW9LDAlXUkN' @ 0 : 0; will stop at '!items!zfpjROW9LDAlXUkN' @ 126 : 1
|
|
||||||
2024/05/23-11:25:01.364987 7f803fe006c0 Compacting 1@1 + 1@2 files
|
|
||||||
2024/05/23-11:25:01.368745 7f803fe006c0 Generated table #106@1: 63 keys, 27634 bytes
|
|
||||||
2024/05/23-11:25:01.368762 7f803fe006c0 Compacted 1@1 + 1@2 files => 27634 bytes
|
|
||||||
2024/05/23-11:25:01.375071 7f803fe006c0 compacted to: files[ 0 0 1 0 0 0 0 ]
|
|
||||||
2024/05/23-11:25:01.375332 7f803fe006c0 Delete type=2 #5
|
|
||||||
2024/05/23-11:25:01.375618 7f803fe006c0 Delete type=2 #105
|
|
||||||
2024/05/23-11:25:01.397027 7f803fe006c0 Manual compaction at level-1 from '!items!zfpjROW9LDAlXUkN' @ 126 : 1 .. '!items!zfpjROW9LDAlXUkN' @ 0 : 0; will stop at (end)
|
|
||||||
|
|
BIN
packs/avantages/MANIFEST-000006
Normal file
BIN
packs/avantages/MANIFEST-000006
Normal file
Binary file not shown.
Binary file not shown.
BIN
packs/capacites/000005.ldb
Normal file
BIN
packs/capacites/000005.ldb
Normal file
Binary file not shown.
Binary file not shown.
|
@ -1 +1 @@
|
||||||
MANIFEST-000107
|
MANIFEST-000006
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
2024/05/23-14:51:23.974743 7f7a316006c0 Recovering log #104
|
2023/12/19-22:06:10.924713 7f3322ffd6c0 Recovering log #4
|
||||||
2024/05/23-14:51:23.985682 7f7a316006c0 Delete type=3 #102
|
2023/12/19-22:06:10.981248 7f3322ffd6c0 Delete type=3 #2
|
||||||
2024/05/23-14:51:23.985779 7f7a316006c0 Delete type=0 #104
|
2023/12/19-22:06:10.981375 7f3322ffd6c0 Delete type=0 #4
|
||||||
2024/05/23-15:00:04.365258 7f7a2b8006c0 Level-0 table #110: started
|
2023/12/19-22:13:00.082384 7f33223ff6c0 Level-0 table #9: started
|
||||||
2024/05/23-15:00:04.365295 7f7a2b8006c0 Level-0 table #110: 0 bytes OK
|
2023/12/19-22:13:00.082423 7f33223ff6c0 Level-0 table #9: 0 bytes OK
|
||||||
2024/05/23-15:00:04.371198 7f7a2b8006c0 Delete type=0 #108
|
2023/12/19-22:13:00.177773 7f33223ff6c0 Delete type=0 #7
|
||||||
2024/05/23-15:00:04.377826 7f7a2b8006c0 Manual compaction at level-0 from '!items!0cNSRJVPk3GbvxfD' @ 72057594037927935 : 1 .. '!items!yWDg2KlXEz33TSmZ' @ 0 : 0; will stop at (end)
|
2023/12/19-22:13:00.624275 7f33223ff6c0 Manual compaction at level-0 from '!items!0cNSRJVPk3GbvxfD' @ 72057594037927935 : 1 .. '!items!yWDg2KlXEz33TSmZ' @ 0 : 0; will stop at (end)
|
||||||
2024/05/23-15:00:04.377906 7f7a2b8006c0 Manual compaction at level-1 from '!items!0cNSRJVPk3GbvxfD' @ 72057594037927935 : 1 .. '!items!yWDg2KlXEz33TSmZ' @ 0 : 0; will stop at (end)
|
2023/12/19-22:13:00.624363 7f33223ff6c0 Manual compaction at level-1 from '!items!0cNSRJVPk3GbvxfD' @ 72057594037927935 : 1 .. '!items!yWDg2KlXEz33TSmZ' @ 0 : 0; will stop at (end)
|
||||||
|
|
|
@ -1,15 +1,5 @@
|
||||||
2024/05/23-10:57:45.594438 7f8046a006c0 Recovering log #100
|
2023/12/19-21:28:12.559042 7f3323fff6c0 Delete type=3 #1
|
||||||
2024/05/23-10:57:45.605133 7f8046a006c0 Delete type=3 #98
|
2023/12/19-21:34:54.762976 7f33223ff6c0 Level-0 table #5: started
|
||||||
2024/05/23-10:57:45.605268 7f8046a006c0 Delete type=0 #100
|
2023/12/19-21:34:54.766856 7f33223ff6c0 Level-0 table #5: 23734 bytes OK
|
||||||
2024/05/23-11:25:01.333752 7f803fe006c0 Level-0 table #105: started
|
2023/12/19-21:34:54.774441 7f33223ff6c0 Delete type=0 #3
|
||||||
2024/05/23-11:25:01.337048 7f803fe006c0 Level-0 table #105: 24250 bytes OK
|
2023/12/19-21:34:54.787085 7f33223ff6c0 Manual compaction at level-0 from '!items!0cNSRJVPk3GbvxfD' @ 72057594037927935 : 1 .. '!items!yWDg2KlXEz33TSmZ' @ 0 : 0; will stop at (end)
|
||||||
2024/05/23-11:25:01.343059 7f803fe006c0 Delete type=0 #103
|
|
||||||
2024/05/23-11:25:01.354655 7f803fe006c0 Manual compaction at level-0 from '!items!0cNSRJVPk3GbvxfD' @ 72057594037927935 : 1 .. '!items!yWDg2KlXEz33TSmZ' @ 0 : 0; will stop at (end)
|
|
||||||
2024/05/23-11:25:01.375782 7f803fe006c0 Manual compaction at level-1 from '!items!0cNSRJVPk3GbvxfD' @ 72057594037927935 : 1 .. '!items!yWDg2KlXEz33TSmZ' @ 0 : 0; will stop at '!items!yWDg2KlXEz33TSmZ' @ 72 : 1
|
|
||||||
2024/05/23-11:25:01.375804 7f803fe006c0 Compacting 1@1 + 1@2 files
|
|
||||||
2024/05/23-11:25:01.379818 7f803fe006c0 Generated table #106@1: 36 keys, 24250 bytes
|
|
||||||
2024/05/23-11:25:01.379847 7f803fe006c0 Compacted 1@1 + 1@2 files => 24250 bytes
|
|
||||||
2024/05/23-11:25:01.386783 7f803fe006c0 compacted to: files[ 0 0 1 0 0 0 0 ]
|
|
||||||
2024/05/23-11:25:01.386889 7f803fe006c0 Delete type=2 #5
|
|
||||||
2024/05/23-11:25:01.387092 7f803fe006c0 Delete type=2 #105
|
|
||||||
2024/05/23-11:25:01.397039 7f803fe006c0 Manual compaction at level-1 from '!items!yWDg2KlXEz33TSmZ' @ 72 : 1 .. '!items!yWDg2KlXEz33TSmZ' @ 0 : 0; will stop at (end)
|
|
||||||
|
|
BIN
packs/capacites/MANIFEST-000006
Normal file
BIN
packs/capacites/MANIFEST-000006
Normal file
Binary file not shown.
Binary file not shown.
BIN
packs/competences/000005.ldb
Normal file
BIN
packs/competences/000005.ldb
Normal file
Binary file not shown.
Binary file not shown.
|
@ -1 +1 @@
|
||||||
MANIFEST-000107
|
MANIFEST-000006
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
2024/05/23-14:51:23.935654 7f7a30c006c0 Recovering log #104
|
2023/12/19-22:06:10.732271 7f35b8bfa6c0 Recovering log #4
|
||||||
2024/05/23-14:51:23.946200 7f7a30c006c0 Delete type=3 #102
|
2023/12/19-22:06:10.794092 7f35b8bfa6c0 Delete type=3 #2
|
||||||
2024/05/23-14:51:23.946253 7f7a30c006c0 Delete type=0 #104
|
2023/12/19-22:06:10.794226 7f35b8bfa6c0 Delete type=0 #4
|
||||||
2024/05/23-15:00:04.344781 7f7a2b8006c0 Level-0 table #110: started
|
2023/12/19-22:12:59.792407 7f33223ff6c0 Level-0 table #9: started
|
||||||
2024/05/23-15:00:04.344815 7f7a2b8006c0 Level-0 table #110: 0 bytes OK
|
2023/12/19-22:12:59.792457 7f33223ff6c0 Level-0 table #9: 0 bytes OK
|
||||||
2024/05/23-15:00:04.351256 7f7a2b8006c0 Delete type=0 #108
|
2023/12/19-22:12:59.901092 7f33223ff6c0 Delete type=0 #7
|
||||||
2024/05/23-15:00:04.351383 7f7a2b8006c0 Manual compaction at level-0 from '!items!0V86n4TU8NegrR2B' @ 72057594037927935 : 1 .. '!items!zEl2NQsnCpELVWzh' @ 0 : 0; will stop at (end)
|
2023/12/19-22:12:59.991554 7f33223ff6c0 Manual compaction at level-0 from '!items!0V86n4TU8NegrR2B' @ 72057594037927935 : 1 .. '!items!zEl2NQsnCpELVWzh' @ 0 : 0; will stop at (end)
|
||||||
2024/05/23-15:00:04.351414 7f7a2b8006c0 Manual compaction at level-1 from '!items!0V86n4TU8NegrR2B' @ 72057594037927935 : 1 .. '!items!zEl2NQsnCpELVWzh' @ 0 : 0; will stop at (end)
|
2023/12/19-22:13:00.082216 7f33223ff6c0 Manual compaction at level-1 from '!items!0V86n4TU8NegrR2B' @ 72057594037927935 : 1 .. '!items!zEl2NQsnCpELVWzh' @ 0 : 0; will stop at (end)
|
||||||
|
|
|
@ -1,15 +1,5 @@
|
||||||
2024/05/23-10:57:45.551260 7f80460006c0 Recovering log #100
|
2023/12/19-21:28:12.424090 7f3322ffd6c0 Delete type=3 #1
|
||||||
2024/05/23-10:57:45.562116 7f80460006c0 Delete type=3 #98
|
2023/12/19-21:34:54.711352 7f33223ff6c0 Level-0 table #5: started
|
||||||
2024/05/23-10:57:45.562204 7f80460006c0 Delete type=0 #100
|
2023/12/19-21:34:54.715753 7f33223ff6c0 Level-0 table #5: 26885 bytes OK
|
||||||
2024/05/23-11:25:01.313504 7f803fe006c0 Level-0 table #105: started
|
2023/12/19-21:34:54.722148 7f33223ff6c0 Delete type=0 #3
|
||||||
2024/05/23-11:25:01.317069 7f803fe006c0 Level-0 table #105: 27947 bytes OK
|
2023/12/19-21:34:54.729274 7f33223ff6c0 Manual compaction at level-0 from '!items!0V86n4TU8NegrR2B' @ 72057594037927935 : 1 .. '!items!zEl2NQsnCpELVWzh' @ 0 : 0; will stop at (end)
|
||||||
2024/05/23-11:25:01.323555 7f803fe006c0 Delete type=0 #103
|
|
||||||
2024/05/23-11:25:01.354597 7f803fe006c0 Manual compaction at level-0 from '!items!0V86n4TU8NegrR2B' @ 72057594037927935 : 1 .. '!items!zEl2NQsnCpELVWzh' @ 0 : 0; will stop at (end)
|
|
||||||
2024/05/23-11:25:01.354715 7f803fe006c0 Manual compaction at level-1 from '!items!0V86n4TU8NegrR2B' @ 72057594037927935 : 1 .. '!items!zEl2NQsnCpELVWzh' @ 0 : 0; will stop at '!items!zEl2NQsnCpELVWzh' @ 136 : 1
|
|
||||||
2024/05/23-11:25:01.354732 7f803fe006c0 Compacting 1@1 + 1@2 files
|
|
||||||
2024/05/23-11:25:01.358690 7f803fe006c0 Generated table #106@1: 68 keys, 27947 bytes
|
|
||||||
2024/05/23-11:25:01.358722 7f803fe006c0 Compacted 1@1 + 1@2 files => 27947 bytes
|
|
||||||
2024/05/23-11:25:01.364610 7f803fe006c0 compacted to: files[ 0 0 1 0 0 0 0 ]
|
|
||||||
2024/05/23-11:25:01.364754 7f803fe006c0 Delete type=2 #5
|
|
||||||
2024/05/23-11:25:01.364898 7f803fe006c0 Delete type=2 #105
|
|
||||||
2024/05/23-11:25:01.397013 7f803fe006c0 Manual compaction at level-1 from '!items!zEl2NQsnCpELVWzh' @ 136 : 1 .. '!items!zEl2NQsnCpELVWzh' @ 0 : 0; will stop at (end)
|
|
||||||
|
|
BIN
packs/competences/MANIFEST-000006
Normal file
BIN
packs/competences/MANIFEST-000006
Normal file
Binary file not shown.
Binary file not shown.
BIN
packs/desavantages/000005.ldb
Normal file
BIN
packs/desavantages/000005.ldb
Normal file
Binary file not shown.
Binary file not shown.
|
@ -1 +1 @@
|
||||||
MANIFEST-000107
|
MANIFEST-000006
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
2024/05/23-14:51:23.961299 7f7a30c006c0 Recovering log #104
|
2023/12/19-22:06:10.861912 7f3323fff6c0 Recovering log #4
|
||||||
2024/05/23-14:51:23.971920 7f7a30c006c0 Delete type=3 #102
|
2023/12/19-22:06:10.921564 7f3323fff6c0 Delete type=3 #2
|
||||||
2024/05/23-14:51:23.972033 7f7a30c006c0 Delete type=0 #104
|
2023/12/19-22:06:10.921726 7f3323fff6c0 Delete type=0 #4
|
||||||
2024/05/23-15:00:04.357792 7f7a2b8006c0 Level-0 table #110: started
|
2023/12/19-22:12:59.991583 7f33223ff6c0 Level-0 table #9: started
|
||||||
2024/05/23-15:00:04.357813 7f7a2b8006c0 Level-0 table #110: 0 bytes OK
|
2023/12/19-22:12:59.991648 7f33223ff6c0 Level-0 table #9: 0 bytes OK
|
||||||
2024/05/23-15:00:04.365124 7f7a2b8006c0 Delete type=0 #108
|
2023/12/19-22:13:00.082009 7f33223ff6c0 Delete type=0 #7
|
||||||
2024/05/23-15:00:04.377799 7f7a2b8006c0 Manual compaction at level-0 from '!items!2QqvtClSVnh5ejXu' @ 72057594037927935 : 1 .. '!items!xzRJ6JP1HqoqxLdj' @ 0 : 0; will stop at (end)
|
2023/12/19-22:13:00.082231 7f33223ff6c0 Manual compaction at level-0 from '!items!2QqvtClSVnh5ejXu' @ 72057594037927935 : 1 .. '!items!xzRJ6JP1HqoqxLdj' @ 0 : 0; will stop at (end)
|
||||||
2024/05/23-15:00:04.377887 7f7a2b8006c0 Manual compaction at level-1 from '!items!2QqvtClSVnh5ejXu' @ 72057594037927935 : 1 .. '!items!xzRJ6JP1HqoqxLdj' @ 0 : 0; will stop at (end)
|
2023/12/19-22:13:00.082278 7f33223ff6c0 Manual compaction at level-1 from '!items!2QqvtClSVnh5ejXu' @ 72057594037927935 : 1 .. '!items!xzRJ6JP1HqoqxLdj' @ 0 : 0; will stop at (end)
|
||||||
|
|
|
@ -1,15 +1,5 @@
|
||||||
2024/05/23-10:57:45.580069 7f80474006c0 Recovering log #100
|
2023/12/19-21:28:12.513826 7f3322ffd6c0 Delete type=3 #1
|
||||||
2024/05/23-10:57:45.590125 7f80474006c0 Delete type=3 #98
|
2023/12/19-21:34:54.752015 7f33223ff6c0 Level-0 table #5: started
|
||||||
2024/05/23-10:57:45.590216 7f80474006c0 Delete type=0 #100
|
2023/12/19-21:34:54.756291 7f33223ff6c0 Level-0 table #5: 31112 bytes OK
|
||||||
2024/05/23-11:25:01.343215 7f803fe006c0 Level-0 table #105: started
|
2023/12/19-21:34:54.762759 7f33223ff6c0 Delete type=0 #3
|
||||||
2024/05/23-11:25:01.347909 7f803fe006c0 Level-0 table #105: 32297 bytes OK
|
2023/12/19-21:34:54.774705 7f33223ff6c0 Manual compaction at level-0 from '!items!2QqvtClSVnh5ejXu' @ 72057594037927935 : 1 .. '!items!xzRJ6JP1HqoqxLdj' @ 0 : 0; will stop at (end)
|
||||||
2024/05/23-11:25:01.354293 7f803fe006c0 Delete type=0 #103
|
|
||||||
2024/05/23-11:25:01.354677 7f803fe006c0 Manual compaction at level-0 from '!items!2QqvtClSVnh5ejXu' @ 72057594037927935 : 1 .. '!items!xzRJ6JP1HqoqxLdj' @ 0 : 0; will stop at (end)
|
|
||||||
2024/05/23-11:25:01.387156 7f803fe006c0 Manual compaction at level-1 from '!items!2QqvtClSVnh5ejXu' @ 72057594037927935 : 1 .. '!items!xzRJ6JP1HqoqxLdj' @ 0 : 0; will stop at '!items!xzRJ6JP1HqoqxLdj' @ 130 : 1
|
|
||||||
2024/05/23-11:25:01.387165 7f803fe006c0 Compacting 1@1 + 1@2 files
|
|
||||||
2024/05/23-11:25:01.390635 7f803fe006c0 Generated table #106@1: 65 keys, 32297 bytes
|
|
||||||
2024/05/23-11:25:01.390672 7f803fe006c0 Compacted 1@1 + 1@2 files => 32297 bytes
|
|
||||||
2024/05/23-11:25:01.396695 7f803fe006c0 compacted to: files[ 0 0 1 0 0 0 0 ]
|
|
||||||
2024/05/23-11:25:01.396816 7f803fe006c0 Delete type=2 #5
|
|
||||||
2024/05/23-11:25:01.396942 7f803fe006c0 Delete type=2 #105
|
|
||||||
2024/05/23-11:25:01.397065 7f803fe006c0 Manual compaction at level-1 from '!items!xzRJ6JP1HqoqxLdj' @ 130 : 1 .. '!items!xzRJ6JP1HqoqxLdj' @ 0 : 0; will stop at (end)
|
|
||||||
|
|
BIN
packs/desavantages/MANIFEST-000006
Normal file
BIN
packs/desavantages/MANIFEST-000006
Normal file
Binary file not shown.
Binary file not shown.
BIN
packs/pouvoirs/000005.ldb
Normal file
BIN
packs/pouvoirs/000005.ldb
Normal file
Binary file not shown.
Binary file not shown.
|
@ -1 +1 @@
|
||||||
MANIFEST-000107
|
MANIFEST-000006
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
2024/05/23-14:51:24.013125 7f7a30c006c0 Recovering log #104
|
2023/12/19-22:06:11.108663 7f3323fff6c0 Recovering log #4
|
||||||
2024/05/23-14:51:24.022843 7f7a30c006c0 Delete type=3 #102
|
2023/12/19-22:06:11.171177 7f3323fff6c0 Delete type=3 #2
|
||||||
2024/05/23-14:51:24.022897 7f7a30c006c0 Delete type=0 #104
|
2023/12/19-22:06:11.171278 7f3323fff6c0 Delete type=0 #4
|
||||||
2024/05/23-15:00:04.385412 7f7a2b8006c0 Level-0 table #110: started
|
2023/12/19-22:13:00.490784 7f33223ff6c0 Level-0 table #9: started
|
||||||
2024/05/23-15:00:04.385430 7f7a2b8006c0 Level-0 table #110: 0 bytes OK
|
2023/12/19-22:13:00.490836 7f33223ff6c0 Level-0 table #9: 0 bytes OK
|
||||||
2024/05/23-15:00:04.391306 7f7a2b8006c0 Delete type=0 #108
|
2023/12/19-22:13:00.624081 7f33223ff6c0 Delete type=0 #7
|
||||||
2024/05/23-15:00:04.405247 7f7a2b8006c0 Manual compaction at level-0 from '!items!19r9ijZUyvnlIqgm' @ 72057594037927935 : 1 .. '!items!zON0h5SjFyANjPnA' @ 0 : 0; will stop at (end)
|
2023/12/19-22:13:00.624346 7f33223ff6c0 Manual compaction at level-0 from '!items!19r9ijZUyvnlIqgm' @ 72057594037927935 : 1 .. '!items!zON0h5SjFyANjPnA' @ 0 : 0; will stop at (end)
|
||||||
2024/05/23-15:00:04.405313 7f7a2b8006c0 Manual compaction at level-1 from '!items!19r9ijZUyvnlIqgm' @ 72057594037927935 : 1 .. '!items!zON0h5SjFyANjPnA' @ 0 : 0; will stop at (end)
|
2023/12/19-22:13:00.624413 7f33223ff6c0 Manual compaction at level-1 from '!items!19r9ijZUyvnlIqgm' @ 72057594037927935 : 1 .. '!items!zON0h5SjFyANjPnA' @ 0 : 0; will stop at (end)
|
||||||
|
|
|
@ -1,15 +1,5 @@
|
||||||
2024/05/23-10:57:45.639116 7f80474006c0 Recovering log #100
|
2023/12/19-21:28:12.700301 7f3322ffd6c0 Delete type=3 #1
|
||||||
2024/05/23-10:57:45.650216 7f80474006c0 Delete type=3 #98
|
2023/12/19-21:34:54.798956 7f33223ff6c0 Level-0 table #5: started
|
||||||
2024/05/23-10:57:45.650332 7f80474006c0 Delete type=0 #100
|
2023/12/19-21:34:54.809620 7f33223ff6c0 Level-0 table #5: 273133 bytes OK
|
||||||
2024/05/23-11:25:01.429060 7f803fe006c0 Level-0 table #105: started
|
2023/12/19-21:34:54.816368 7f33223ff6c0 Delete type=0 #3
|
||||||
2024/05/23-11:25:01.434691 7f803fe006c0 Level-0 table #105: 278813 bytes OK
|
2023/12/19-21:34:54.828262 7f33223ff6c0 Manual compaction at level-0 from '!items!19r9ijZUyvnlIqgm' @ 72057594037927935 : 1 .. '!items!zON0h5SjFyANjPnA' @ 0 : 0; will stop at (end)
|
||||||
2024/05/23-11:25:01.442092 7f803fe006c0 Delete type=0 #103
|
|
||||||
2024/05/23-11:25:01.442475 7f803fe006c0 Manual compaction at level-0 from '!items!19r9ijZUyvnlIqgm' @ 72057594037927935 : 1 .. '!items!zON0h5SjFyANjPnA' @ 0 : 0; will stop at (end)
|
|
||||||
2024/05/23-11:25:01.454285 7f803fe006c0 Manual compaction at level-1 from '!items!19r9ijZUyvnlIqgm' @ 72057594037927935 : 1 .. '!items!zON0h5SjFyANjPnA' @ 0 : 0; will stop at '!items!zON0h5SjFyANjPnA' @ 270 : 1
|
|
||||||
2024/05/23-11:25:01.454301 7f803fe006c0 Compacting 1@1 + 1@2 files
|
|
||||||
2024/05/23-11:25:01.460432 7f803fe006c0 Generated table #106@1: 135 keys, 278813 bytes
|
|
||||||
2024/05/23-11:25:01.460474 7f803fe006c0 Compacted 1@1 + 1@2 files => 278813 bytes
|
|
||||||
2024/05/23-11:25:01.466560 7f803fe006c0 compacted to: files[ 0 0 1 0 0 0 0 ]
|
|
||||||
2024/05/23-11:25:01.466676 7f803fe006c0 Delete type=2 #5
|
|
||||||
2024/05/23-11:25:01.466841 7f803fe006c0 Delete type=2 #105
|
|
||||||
2024/05/23-11:25:01.488770 7f803fe006c0 Manual compaction at level-1 from '!items!zON0h5SjFyANjPnA' @ 270 : 1 .. '!items!zON0h5SjFyANjPnA' @ 0 : 0; will stop at (end)
|
|
||||||
|
|
BIN
packs/pouvoirs/MANIFEST-000006
Normal file
BIN
packs/pouvoirs/MANIFEST-000006
Normal file
Binary file not shown.
Binary file not shown.
|
@ -1 +1 @@
|
||||||
MANIFEST-000106
|
MANIFEST-000006
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
2024/05/23-14:51:24.039438 7f7a30c006c0 Recovering log #104
|
2023/12/19-22:06:11.236708 7f35b8bfa6c0 Recovering log #4
|
||||||
2024/05/23-14:51:24.050533 7f7a30c006c0 Delete type=3 #102
|
2023/12/19-22:06:11.292347 7f35b8bfa6c0 Delete type=3 #2
|
||||||
2024/05/23-14:51:24.050611 7f7a30c006c0 Delete type=0 #104
|
2023/12/19-22:06:11.292463 7f35b8bfa6c0 Delete type=0 #4
|
||||||
2024/05/23-15:00:04.378166 7f7a2b8006c0 Level-0 table #109: started
|
2023/12/19-22:13:00.624571 7f33223ff6c0 Level-0 table #9: started
|
||||||
2024/05/23-15:00:04.378221 7f7a2b8006c0 Level-0 table #109: 0 bytes OK
|
2023/12/19-22:13:00.624648 7f33223ff6c0 Level-0 table #9: 0 bytes OK
|
||||||
2024/05/23-15:00:04.385336 7f7a2b8006c0 Delete type=0 #107
|
2023/12/19-22:13:00.722512 7f33223ff6c0 Delete type=0 #7
|
||||||
2024/05/23-15:00:04.405233 7f7a2b8006c0 Manual compaction at level-0 from 'undefined' @ 72057594037927935 : 1 .. 'undefined' @ 0 : 0; will stop at (end)
|
2023/12/19-22:13:00.882608 7f33223ff6c0 Manual compaction at level-0 from 'undefined' @ 72057594037927935 : 1 .. 'undefined' @ 0 : 0; will stop at (end)
|
||||||
|
|
|
@ -1,7 +1,5 @@
|
||||||
2024/05/23-10:57:45.671074 7f80460006c0 Recovering log #100
|
2023/12/19-21:28:12.843064 7f3322ffd6c0 Delete type=3 #1
|
||||||
2024/05/23-10:57:45.681323 7f80460006c0 Delete type=3 #98
|
2023/12/19-21:34:54.828277 7f33223ff6c0 Level-0 table #5: started
|
||||||
2024/05/23-10:57:45.681382 7f80460006c0 Delete type=0 #100
|
2023/12/19-21:34:54.828314 7f33223ff6c0 Level-0 table #5: 0 bytes OK
|
||||||
2024/05/23-11:25:01.496104 7f803fe006c0 Level-0 table #105: started
|
2023/12/19-21:34:54.835165 7f33223ff6c0 Delete type=0 #3
|
||||||
2024/05/23-11:25:01.496136 7f803fe006c0 Level-0 table #105: 0 bytes OK
|
2023/12/19-21:34:54.842202 7f33223ff6c0 Manual compaction at level-0 from 'undefined' @ 72057594037927935 : 1 .. 'undefined' @ 0 : 0; will stop at (end)
|
||||||
2024/05/23-11:25:01.502167 7f803fe006c0 Delete type=0 #103
|
|
||||||
2024/05/23-11:25:01.524678 7f803fe006c0 Manual compaction at level-0 from 'undefined' @ 72057594037927935 : 1 .. 'undefined' @ 0 : 0; will stop at (end)
|
|
||||||
|
|
BIN
packs/profils/MANIFEST-000006
Normal file
BIN
packs/profils/MANIFEST-000006
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -1 +0,0 @@
|
||||||
MANIFEST-000075
|
|
|
@ -1,8 +0,0 @@
|
||||||
2024/05/23-14:51:24.052512 7f7a316006c0 Recovering log #72
|
|
||||||
2024/05/23-14:51:24.102351 7f7a316006c0 Delete type=3 #70
|
|
||||||
2024/05/23-14:51:24.102451 7f7a316006c0 Delete type=0 #72
|
|
||||||
2024/05/23-15:00:04.412618 7f7a2b8006c0 Level-0 table #78: started
|
|
||||||
2024/05/23-15:00:04.412676 7f7a2b8006c0 Level-0 table #78: 0 bytes OK
|
|
||||||
2024/05/23-15:00:04.419314 7f7a2b8006c0 Delete type=0 #76
|
|
||||||
2024/05/23-15:00:04.419478 7f7a2b8006c0 Manual compaction at level-0 from '!scenes!8DjkNeeujp2qff1N' @ 72057594037927935 : 1 .. '!scenes!ypDutqjqZcr7lx6I' @ 0 : 0; will stop at (end)
|
|
||||||
2024/05/23-15:00:04.419505 7f7a2b8006c0 Manual compaction at level-1 from '!scenes!8DjkNeeujp2qff1N' @ 72057594037927935 : 1 .. '!scenes!ypDutqjqZcr7lx6I' @ 0 : 0; will stop at (end)
|
|
|
@ -1,15 +0,0 @@
|
||||||
2024/05/23-10:57:45.683789 7f80456006c0 Recovering log #68
|
|
||||||
2024/05/23-10:57:45.693418 7f80456006c0 Delete type=3 #66
|
|
||||||
2024/05/23-10:57:45.693474 7f80456006c0 Delete type=0 #68
|
|
||||||
2024/05/23-11:25:01.514263 7f803fe006c0 Level-0 table #73: started
|
|
||||||
2024/05/23-11:25:01.517780 7f803fe006c0 Level-0 table #73: 3022 bytes OK
|
|
||||||
2024/05/23-11:25:01.524517 7f803fe006c0 Delete type=0 #71
|
|
||||||
2024/05/23-11:25:01.524699 7f803fe006c0 Manual compaction at level-0 from '!scenes!8DjkNeeujp2qff1N' @ 72057594037927935 : 1 .. '!scenes!ypDutqjqZcr7lx6I' @ 0 : 0; will stop at (end)
|
|
||||||
2024/05/23-11:25:01.524729 7f803fe006c0 Manual compaction at level-1 from '!scenes!8DjkNeeujp2qff1N' @ 72057594037927935 : 1 .. '!scenes!ypDutqjqZcr7lx6I' @ 0 : 0; will stop at '!scenes!ypDutqjqZcr7lx6I' @ 8 : 1
|
|
||||||
2024/05/23-11:25:01.524738 7f803fe006c0 Compacting 1@1 + 1@2 files
|
|
||||||
2024/05/23-11:25:01.528936 7f803fe006c0 Generated table #74@1: 4 keys, 3022 bytes
|
|
||||||
2024/05/23-11:25:01.528972 7f803fe006c0 Compacted 1@1 + 1@2 files => 3022 bytes
|
|
||||||
2024/05/23-11:25:01.535109 7f803fe006c0 compacted to: files[ 0 0 1 0 0 0 0 ]
|
|
||||||
2024/05/23-11:25:01.535211 7f803fe006c0 Delete type=2 #5
|
|
||||||
2024/05/23-11:25:01.535345 7f803fe006c0 Delete type=2 #73
|
|
||||||
2024/05/23-11:25:01.558900 7f803fe006c0 Manual compaction at level-1 from '!scenes!ypDutqjqZcr7lx6I' @ 8 : 1 .. '!scenes!ypDutqjqZcr7lx6I' @ 0 : 0; will stop at (end)
|
|
Binary file not shown.
145
system.json
145
system.json
|
@ -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.1",
|
"version": "11.0.5",
|
||||||
"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.1.zip",
|
"download": "https://www.uberwald.me/gitea/public/fvtt-les-heritiers/archive/fvtt-les-heritiers-11.0.5.zip",
|
||||||
"languages": [
|
"languages": [
|
||||||
{
|
{
|
||||||
"lang": "fr",
|
"lang": "fr",
|
||||||
|
@ -30,163 +28,87 @@
|
||||||
"flags": {}
|
"flags": {}
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"packFolders": [
|
|
||||||
{
|
|
||||||
"name": "Les Héritiers",
|
|
||||||
"sorting": "m",
|
|
||||||
"color": "#00435c",
|
|
||||||
"folders": [
|
|
||||||
{
|
|
||||||
"name": "Création de Personnage",
|
|
||||||
"sorting": "a",
|
|
||||||
"color": "#00435c",
|
|
||||||
"packs": [
|
|
||||||
"competences",
|
|
||||||
"atouts-feeriques",
|
|
||||||
"avantages",
|
|
||||||
"capacites",
|
|
||||||
"competences",
|
|
||||||
"desavantages",
|
|
||||||
"pouvoirs",
|
|
||||||
"profils",
|
|
||||||
"archetypes-fees"
|
|
||||||
],
|
|
||||||
"folders": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "Equipement",
|
|
||||||
"sorting": "a",
|
|
||||||
"color": "#00435c",
|
|
||||||
"packs": [
|
|
||||||
"armes-et-protection"
|
|
||||||
],
|
|
||||||
"folders": []
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"packs":
|
|
||||||
["scenes"]
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"packs": [
|
"packs": [
|
||||||
{
|
{
|
||||||
"type": "Item",
|
"type": "Item",
|
||||||
"label": "Compétences",
|
"label": "Compétences",
|
||||||
"name": "competences",
|
"name": "competences",
|
||||||
"path": "packs/competences",
|
"path": "packs/competences.db",
|
||||||
"system": "fvtt-les-heritiers",
|
"system": "fvtt-les-heritiers",
|
||||||
"flags": {},
|
"private": false,
|
||||||
"ownership": {
|
"flags": {}
|
||||||
"PLAYER": "OBSERVER",
|
|
||||||
"ASSISTANT": "OWNER"
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "Item",
|
"type": "Item",
|
||||||
"label": "Avantages",
|
"label": "Avantages",
|
||||||
"name": "avantages",
|
"name": "avantages",
|
||||||
"path": "packs/avantages",
|
"path": "packs/avantages.db",
|
||||||
"system": "fvtt-les-heritiers",
|
"system": "fvtt-les-heritiers",
|
||||||
"flags": {},
|
"private": false,
|
||||||
"ownership": {
|
"flags": {}
|
||||||
"PLAYER": "OBSERVER",
|
|
||||||
"ASSISTANT": "OWNER"
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "Item",
|
"type": "Item",
|
||||||
"label": "Désavantages",
|
"label": "Désavantages",
|
||||||
"name": "desavantages",
|
"name": "desavantages",
|
||||||
"path": "packs/desavantages",
|
"path": "packs/desavantages.db",
|
||||||
"system": "fvtt-les-heritiers",
|
"system": "fvtt-les-heritiers",
|
||||||
"flags": {},
|
"private": false,
|
||||||
"ownership": {
|
"flags": {}
|
||||||
"PLAYER": "OBSERVER",
|
|
||||||
"ASSISTANT": "OWNER"
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "Item",
|
"type": "Item",
|
||||||
"label": "Capacités Naturelles",
|
"label": "Capacités Naturelles",
|
||||||
"name": "capacites",
|
"name": "capacites",
|
||||||
"path": "packs/capacites",
|
"path": "packs/capacites.db",
|
||||||
"system": "fvtt-les-heritiers",
|
"system": "fvtt-les-heritiers",
|
||||||
"flags": {},
|
"private": false,
|
||||||
"ownership": {
|
"flags": {}
|
||||||
"PLAYER": "OBSERVER",
|
|
||||||
"ASSISTANT": "OWNER"
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "Item",
|
"type": "Item",
|
||||||
"label": "Atouts Féériques",
|
"label": "Atouts Féériques",
|
||||||
"name": "atouts-feeriques",
|
"name": "atouts-feeriques",
|
||||||
"path": "packs/atouts-feeriques",
|
"path": "packs/atouts-feeriques.db",
|
||||||
"system": "fvtt-les-heritiers",
|
"system": "fvtt-les-heritiers",
|
||||||
"flags": {},
|
"private": false,
|
||||||
"ownership": {
|
"flags": {}
|
||||||
"PLAYER": "OBSERVER",
|
|
||||||
"ASSISTANT": "OWNER"
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "Item",
|
"type": "Item",
|
||||||
"label": "Fées",
|
"label": "Fées",
|
||||||
"name": "archetypes-fees",
|
"name": "archetypes-fees",
|
||||||
"path": "packs/archetypes-fees",
|
"path": "packs/archetypes-fees.db",
|
||||||
"system": "fvtt-les-heritiers",
|
"system": "fvtt-les-heritiers",
|
||||||
"flags": {},
|
"private": false,
|
||||||
"ownership": {
|
"flags": {}
|
||||||
"PLAYER": "OBSERVER",
|
|
||||||
"ASSISTANT": "OWNER"
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "Item",
|
"type": "Item",
|
||||||
"label": "Pouvoirs",
|
"label": "Pouvoirs",
|
||||||
"name": "pouvoirs",
|
"name": "pouvoirs",
|
||||||
"path": "packs/pouvoirs",
|
"path": "packs/pouvoirs.db",
|
||||||
"system": "fvtt-les-heritiers",
|
"system": "fvtt-les-heritiers",
|
||||||
"flags": {},
|
"private": false,
|
||||||
"ownership": {
|
"flags": {}
|
||||||
"PLAYER": "OBSERVER",
|
|
||||||
"ASSISTANT": "OWNER"
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "Item",
|
"type": "Item",
|
||||||
"label": "Armes et Protections",
|
"label": "Armes et Protections",
|
||||||
"name": "armes-et-protection",
|
"name": "armes-et-protection",
|
||||||
"path": "packs/armes-et-protection",
|
"path": "packs/armes-et-protection.db",
|
||||||
"system": "fvtt-les-heritiers",
|
"system": "fvtt-les-heritiers",
|
||||||
"flags": {},
|
"private": false,
|
||||||
"ownership": {
|
"flags": {}
|
||||||
"PLAYER": "OBSERVER",
|
|
||||||
"ASSISTANT": "OWNER"
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "Item",
|
"type": "Item",
|
||||||
"label": "Profils",
|
"label": "Profils",
|
||||||
"name": "profils",
|
"name": "profils",
|
||||||
"path": "packs/profils",
|
"path": "packs/profils.db",
|
||||||
"system": "fvtt-les-heritiers",
|
"system": "fvtt-les-heritiers",
|
||||||
"flags": {},
|
"private": false,
|
||||||
"ownership": {
|
"flags": {}
|
||||||
"PLAYER": "OBSERVER",
|
|
||||||
"ASSISTANT": "OWNER"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "Scene",
|
|
||||||
"label": "Scènes",
|
|
||||||
"name": "scenes",
|
|
||||||
"path": "packs/scenes",
|
|
||||||
"system": "fvtt-les-heritiers",
|
|
||||||
"flags": {},
|
|
||||||
"ownership": {
|
|
||||||
"PLAYER": "OBSERVER",
|
|
||||||
"ASSISTANT": "OWNER"
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"primaryTokenAttribute": "sante.vigueur",
|
"primaryTokenAttribute": "sante.vigueur",
|
||||||
|
@ -199,7 +121,8 @@
|
||||||
"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",
|
||||||
|
"maximum": "11"
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -142,8 +142,7 @@
|
||||||
},
|
},
|
||||||
"pv": {
|
"pv": {
|
||||||
"value": 0,
|
"value": 0,
|
||||||
"max": 0,
|
"max": 0
|
||||||
"mod": 0
|
|
||||||
},
|
},
|
||||||
"competences": {
|
"competences": {
|
||||||
"aventurier": {
|
"aventurier": {
|
||||||
|
@ -255,19 +254,19 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"types": [
|
"types": [
|
||||||
"accessoire",
|
|
||||||
"arme",
|
|
||||||
"atoutfeerique",
|
|
||||||
"avantage",
|
|
||||||
"capacitenaturelle",
|
|
||||||
"competence",
|
|
||||||
"contact",
|
|
||||||
"desavantage",
|
|
||||||
"equipement",
|
|
||||||
"fee",
|
"fee",
|
||||||
|
"avantage",
|
||||||
|
"desavantage",
|
||||||
|
"capacitenaturelle",
|
||||||
"pouvoir",
|
"pouvoir",
|
||||||
"profil",
|
"atoutfeerique",
|
||||||
"protection"
|
"competence",
|
||||||
|
"arme",
|
||||||
|
"protection",
|
||||||
|
"equipement",
|
||||||
|
"accessoire",
|
||||||
|
"contact",
|
||||||
|
"profil"
|
||||||
],
|
],
|
||||||
"profil": {
|
"profil": {
|
||||||
"profiltype": "majeur",
|
"profiltype": "majeur",
|
||||||
|
@ -323,7 +322,6 @@
|
||||||
"portee": "",
|
"portee": "",
|
||||||
"resistance": "",
|
"resistance": "",
|
||||||
"resistanceautre":"",
|
"resistanceautre":"",
|
||||||
"pointsusagecourant": -1,
|
|
||||||
"isvirulence": false,
|
"isvirulence": false,
|
||||||
"virulence":"",
|
"virulence":"",
|
||||||
"description": ""
|
"description": ""
|
||||||
|
|
|
@ -52,7 +52,11 @@
|
||||||
<span> </span>
|
<span> </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> </span>
|
<span> </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"> </div>
|
<div class="item-filler"> </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"> </div>
|
<div class="item-filler"> </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"> </div>
|
<div class="item-filler"> </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"> </div>
|
<div class="item-filler"> </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"> </div>
|
<div class="item-filler"> </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"> </div>
|
<div class="item-filler"> </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"> </div>
|
<div class="item-filler"> </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"> </div>
|
<div class="item-filler"> </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"> </div>
|
<div class="item-filler"> </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"> </div>
|
<div class="item-filler"> </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"> </div>
|
<div class="item-filler"> </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"> </div>
|
<div class="item-filler"> </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"> </div>
|
<div class="item-filler"> </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"> </div>
|
<div class="item-filler"> </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"> </div>
|
<div class="item-filler"> </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}}
|
||||||
|
|
|
@ -45,14 +45,17 @@
|
||||||
<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}}" data-dtype="Number" />
|
<input type="text" class="item-field-label-short" name="system.pv.value" value="{{system.pv.value}}" 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.max" value="{{system.pv.max}}" 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> </span>
|
<span> </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> </span>
|
<span> </span>
|
||||||
|
@ -88,13 +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 config=config}}
|
{{> systems/fvtt-les-heritiers/templates/partial-utile-skills.html skillDef=skillDef keyProfil=keyProfil}}
|
||||||
{{/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 config=config}}
|
{{> systems/fvtt-les-heritiers/templates/partial-utile-skills.html skillDef=skillDef keyProfil=keyProfil}}
|
||||||
{{/each}}
|
{{/each}}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
@ -110,10 +113,6 @@
|
||||||
<label class="short-label">Niveau</label>
|
<label class="short-label">Niveau</label>
|
||||||
</span>
|
</span>
|
||||||
<div class="item-filler"> </div>
|
<div class="item-filler"> </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">
|
||||||
|
@ -122,12 +121,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}}
|
||||||
|
@ -225,10 +226,10 @@
|
||||||
|
|
||||||
<div class="item-filler"> </div>
|
<div class="item-filler"> </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}}
|
||||||
|
@ -246,7 +247,7 @@
|
||||||
</span>
|
</span>
|
||||||
<div class="item-filler"> </div>
|
<div class="item-filler"> </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>
|
||||||
|
@ -259,8 +260,8 @@
|
||||||
</span>
|
</span>
|
||||||
<div class="item-filler"> </div>
|
<div class="item-filler"> </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}}
|
||||||
|
@ -279,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"> </div>
|
<div class="item-filler"> </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>
|
||||||
|
@ -291,12 +292,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>
|
||||||
|
@ -311,8 +310,6 @@
|
||||||
</span>
|
</span>
|
||||||
<div class="item-filler"> </div>
|
<div class="item-filler"> </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|}}
|
||||||
|
@ -321,8 +318,8 @@
|
||||||
<span class="item-field-label-long2">{{avantage.name}}</span>
|
<span class="item-field-label-long2">{{avantage.name}}</span>
|
||||||
<div class="item-filler"> </div>
|
<div class="item-filler"> </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}}
|
||||||
|
@ -337,8 +334,6 @@
|
||||||
</span>
|
</span>
|
||||||
<div class="item-filler"> </div>
|
<div class="item-filler"> </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|}}
|
||||||
|
@ -347,8 +342,8 @@
|
||||||
<span class="item-field-label-long2">{{desavantage.name}}</span>
|
<span class="item-field-label-long2">{{desavantage.name}}</span>
|
||||||
<div class="item-filler"> </div>
|
<div class="item-filler"> </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}}
|
||||||
|
@ -363,8 +358,6 @@
|
||||||
</span>
|
</span>
|
||||||
<div class="item-filler"> </div>
|
<div class="item-filler"> </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|}}
|
||||||
|
@ -373,8 +366,8 @@
|
||||||
<span class="item-field-label-long2">{{atout.name}}</span>
|
<span class="item-field-label-long2">{{atout.name}}</span>
|
||||||
<div class="item-filler"> </div>
|
<div class="item-filler"> </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}}
|
||||||
|
@ -396,28 +389,26 @@
|
||||||
<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"> </div>
|
<div class="item-filler"> </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"> </div>
|
<div class="item-filler"> </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}}
|
||||||
|
@ -433,8 +424,6 @@
|
||||||
</span>
|
</span>
|
||||||
<div class="item-filler"> </div>
|
<div class="item-filler"> </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|}}
|
||||||
|
@ -443,8 +432,8 @@
|
||||||
<span class="item-field-label-long2">{{capa.name}}</span>
|
<span class="item-field-label-long2">{{capa.name}}</span>
|
||||||
<div class="item-filler"> </div>
|
<div class="item-filler"> </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}}
|
||||||
|
@ -476,8 +465,8 @@
|
||||||
<span class="item-field-label-long2">{{equip.name}}</span>
|
<span class="item-field-label-long2">{{equip.name}}</span>
|
||||||
<div class="item-filler"> </div>
|
<div class="item-filler"> </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}}
|
||||||
|
@ -519,8 +508,8 @@
|
||||||
<span class="item-field-label-long2">{{contact.name}}</span>
|
<span class="item-field-label-long2">{{contact.name}}</span>
|
||||||
<div class="item-filler"> </div>
|
<div class="item-filler"> </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}}
|
||||||
|
@ -553,8 +542,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"> </div>
|
<div class="item-filler"> </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}}
|
||||||
|
|
|
@ -41,15 +41,12 @@
|
||||||
{{#if pouvoir}}
|
{{#if pouvoir}}
|
||||||
<li>Pouvoir : {{pouvoir.name}}</li>
|
<li>Pouvoir : {{pouvoir.name}}</li>
|
||||||
<li>Effet : {{pouvoir.system.effet}}</li>
|
<li>Effet : {{pouvoir.system.effet}}</li>
|
||||||
<li>Points d'usage consommés : {{pouvoirPointsUsage}}</li>
|
|
||||||
{{/if}}
|
{{/if}}
|
||||||
|
|
||||||
{{#if forcedValue}}
|
{{#if forcedValue}}
|
||||||
<li>Vous dépense 2 points de Tricherie et utilisé une face adjacente du dé !</li>
|
<li>Vous dépense 2 points de Tricherie et utilisé une face adjacente du dé !</li>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
|
|
||||||
{{#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>
|
||||||
|
|
||||||
|
@ -86,7 +83,6 @@
|
||||||
{{#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>
|
||||||
|
|
356
templates/creature-sheet.html
Normal file
356
templates/creature-sheet.html
Normal 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=""> </div>
|
||||||
|
<div class=""> </div>
|
||||||
|
<div class=""> </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"> </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"> </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"> </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"> </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"> </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"> </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"> </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"> </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"> </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"> </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>
|
|
@ -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">
|
||||||
|
|
|
@ -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>
|
||||||
|
|
||||||
|
|
|
@ -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}}</option>
|
||||||
|
{{/each}}
|
||||||
|
{{/select}}
|
||||||
</select>
|
</select>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
|
|
|
@ -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>
|
||||||
|
|
||||||
|
|
|
@ -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>
|
||||||
|
|
||||||
|
|
|
@ -16,8 +16,11 @@
|
||||||
<label class="generic-label item-field-label-long2">Masqué/Démasque </label>
|
<label class="generic-label item-field-label-long2">Masqué/Démasque </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.masquetype" value="{{system.masquetype}}" data-dtype="string">
|
name="system.masquetype" value="{{system.masquetype}}" data-dtype="string">
|
||||||
{{selectOptions config.masquePouvoir selected=system.masquetype}}
|
{{#select system.masquetype}}
|
||||||
|
{{#each config.masquePouvoir as |categ cKey|}}
|
||||||
|
<option value="{{cKey}}">{{categ}}</option>
|
||||||
|
{{/each}}
|
||||||
|
{{/select}}
|
||||||
</select>
|
</select>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
|
@ -25,8 +28,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>
|
||||||
|
|
||||||
|
@ -34,8 +40,11 @@
|
||||||
<label class="generic-label item-field-label-long2">Niveau </label>
|
<label class="generic-label item-field-label-long2">Niveau </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.niveau" value="{{system.niveau}}" data-dtype="string">
|
name="system.niveau" value="{{system.niveau}}" data-dtype="string">
|
||||||
{{selectOptions config.niveauPouvoir selected=system.niveau}}
|
{{#select system.niveau}}
|
||||||
|
{{#each config.niveauPouvoir as |categ cKey|}}
|
||||||
|
<option value="{{cKey}}">{{categ}}</option>
|
||||||
|
{{/each}}
|
||||||
|
{{/select}}
|
||||||
</select>
|
</select>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
|
@ -56,7 +65,11 @@
|
||||||
<label class="generic-label item-field-label-long2">Base </label>
|
<label class="generic-label item-field-label-long2">Base </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.feeriemasque" value="{{system.feeriemasque}}" data-dtype="string">
|
name="system.feeriemasque" value="{{system.feeriemasque}}" data-dtype="string">
|
||||||
{{selectOptions config.baseTestPouvoir selected=system.feeriemasque}}
|
{{#select system.feeriemasque}}
|
||||||
|
{{#each config.baseTestPouvoir as |categ cKey|}}
|
||||||
|
<option value="{{cKey}}">{{categ}}</option>
|
||||||
|
{{/each}}
|
||||||
|
{{/select}}
|
||||||
</select>
|
</select>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
|
@ -70,28 +83,17 @@
|
||||||
<label class="generic-label item-field-label-long2">+ Carac </label>
|
<label class="generic-label item-field-label-long2">+ Carac </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.carac" value="{{system.carac}}" data-dtype="string">
|
name="system.carac" value="{{system.carac}}" data-dtype="string">
|
||||||
{{selectOptions config.caracList selected=system.carac}}
|
{{#select system.carac}}
|
||||||
|
{{#each config.caracList as |categ cKey|}}
|
||||||
|
<option value="{{cKey}}">{{categ}}</option>
|
||||||
|
{{/each}}
|
||||||
|
{{/select}}
|
||||||
</select>
|
</select>
|
||||||
</li>
|
</li>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
|
|
||||||
{{/if}}
|
{{/if}}
|
||||||
|
|
||||||
<li class="flexrow item">
|
|
||||||
<label class="generic-label item-field-label-long2">Points d'usage max/jour </label>
|
|
||||||
{{#if (eq usageMax -1)}}
|
|
||||||
<label class="generic-label item-field-label-short">Inconnu</label>
|
|
||||||
{{else}}
|
|
||||||
<label class="generic-label item-field-label-short">{{usageMax}}</label>
|
|
||||||
{{/if}}
|
|
||||||
</li>
|
|
||||||
|
|
||||||
<li class="flexrow item">
|
|
||||||
<label class="generic-label item-field-label-long2">Points d'usage restants </label>
|
|
||||||
<input type="text" class="padd-right status-small-label color-class-common item-field-label-short"
|
|
||||||
name="system.pointsusagecourant" value="{{system.pointsusagecourant}}" data-dtype="Number" />
|
|
||||||
</li>
|
|
||||||
|
|
||||||
<li class="flexrow item">
|
<li class="flexrow item">
|
||||||
<label class="generic-label item-field-label-long2">Cibles </label>
|
<label class="generic-label item-field-label-long2">Cibles </label>
|
||||||
<input type="text" class="padd-right status-small-label color-class-common item-field-label-long3"
|
<input type="text" class="padd-right status-small-label color-class-common item-field-label-long3"
|
||||||
|
@ -119,7 +121,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>
|
||||||
|
|
||||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user