Initial import

This commit is contained in:
LeRatierBretonnien 2023-11-26 17:00:12 +01:00
parent 09b89f794f
commit 386ce186af
64 changed files with 268 additions and 247 deletions

View File

@ -42,13 +42,7 @@ export class WastelandActorSheet extends ActorSheet {
skills: this.actor.getSkills(), skills: this.actor.getSkills(),
armes: duplicate(this.actor.getWeapons()), armes: duplicate(this.actor.getWeapons()),
protections: duplicate(this.actor.getArmors()), protections: duplicate(this.actor.getArmors()),
dons: duplicate(this.actor.getDons()), pouvoirs:duplicate(this.actor.getPouvoirs()),
alignement: this.actor.getAlignement(),
aspect: this.actor.getAspect(),
marge: this.actor.getMarge(),
tendances:duplicate(this.actor.getTendances()),
runes:duplicate(this.actor.getRunes()),
traitsChaotiques:duplicate(this.actor.getTraitsChaotiques()),
origine: duplicate(this.actor.getOrigine() || {}), origine: duplicate(this.actor.getOrigine() || {}),
heritage: duplicate(this.actor.getHeritage() || {}), heritage: duplicate(this.actor.getHeritage() || {}),
metier: duplicate(this.actor.getMetier() || {}), metier: duplicate(this.actor.getMetier() || {}),
@ -118,10 +112,10 @@ export class WastelandActorSheet extends ActorSheet {
let compId = li.data("item-id") let compId = li.data("item-id")
this.actor.rollCompetence(attrKey, compId) this.actor.rollCompetence(attrKey, compId)
}) })
html.find('.roll-rune').click((event) => { html.find('.roll-pouvoir').click((event) => {
const li = $(event.currentTarget).parents(".item") const li = $(event.currentTarget).parents(".item")
let runeId = li.data("item-id") let pouvoirId = li.data("item-id")
this.actor.rollRune(runeId) this.actor.rollPouvoir(pouvoirId)
}) })
html.find('.roll-arme-offensif').click((event) => { html.find('.roll-arme-offensif').click((event) => {
const li = $(event.currentTarget).parents(".item") const li = $(event.currentTarget).parents(".item")

View File

@ -106,21 +106,12 @@ export class WastelandActor extends Actor {
WastelandUtility.sortArrayObjectsByName(items) WastelandUtility.sortArrayObjectsByName(items)
return items return items
} }
getDons() { getPouvoirs() {
return this.getItemSorted(["don"]) return this.getItemSorted(["pouvoir"])
}
getTendances() {
return this.getItemSorted(["tendance"])
}
getRunes() {
return this.getItemSorted(["rune"])
} }
getEquipments() { getEquipments() {
return this.getItemSorted(["equipement"]) return this.getItemSorted(["equipement"])
} }
getTraitsChaotiques() {
return this.getItemSorted(["traitchaotique"])
}
getMonnaies() { getMonnaies() {
return this.getItemSorted(["monnaie"]) return this.getItemSorted(["monnaie"])
} }
@ -160,17 +151,6 @@ export class WastelandActor extends Actor {
return comp return comp
} }
/* -------------------------------------------- */
getAspect() {
return (this.system.balance.loi > this.system.balance.chaos) ? this.system.balance.loi : this.system.balance.chaos
}
getMarge() {
return Math.abs( this.system.balance.loi - this.system.balance.chaos)
}
getAlignement() {
return (this.system.balance.loi > this.system.balance.chaos) ? "loyal" : "chaotique"
}
/* -------------------------------------------- */ /* -------------------------------------------- */
getDefenseBase() { getDefenseBase() {
return this.system.attributs.tre.value + 5 return this.system.attributs.tre.value + 5
@ -213,9 +193,9 @@ export class WastelandActor extends Actor {
if (this.system.sante.base != newSante) { if (this.system.sante.base != newSante) {
this.update({ 'system.sante.base': newSante }) this.update({ 'system.sante.base': newSante })
} }
let newAme = (this.system.attributs.cla.value + this.system.attributs.tre.value) * this.system.biodata.amemultiplier + 5 let newPsyche = (this.system.attributs.cla.value + this.system.attributs.tre.value) * this.system.biodata.psychemultiplier + 5
if (this.system.ame.fullmax != newAme) { if (this.system.psyche.fullmax != newPsyche) {
this.update({ 'system.ame.fullmax': newAme }) this.update({ 'system.psyche.fullmax': newPsyche })
} }
} }
@ -240,7 +220,7 @@ export class WastelandActor 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 && item.system) { if (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
} }
@ -286,18 +266,10 @@ export class WastelandActor extends Actor {
} }
/* -------------------------------------------- */ /* -------------------------------------------- */
canEclatDoubleD20() { subPointsPsyche(value) {
return (this.getAlignement() == "loyal" && this.system.eclat.value > 0) let psyche = duplicate(this.system.psyche)
} psyche.currentmax -= value
/* -------------------------------------------- */ this.update( {'system.psyche': psyche})
subPointsAme(runeMode, value) {
let ame = duplicate(this.system.ame)
if(runeMode == "prononcer") {
ame.value -= value
} else {
ame.currentmax -= value
}
this.update( {'system.ame': ame})
} }
/* -------------------------------------------- */ /* -------------------------------------------- */
@ -324,7 +296,7 @@ export class WastelandActor 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 && item.system.data) { if (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
} }
@ -360,7 +332,7 @@ export class WastelandActor extends Actor {
let objetQ = this.items.get(objetId) let objetQ = this.items.get(objetId)
if (objetQ) { if (objetQ) {
let newQ = objetQ.system.quantite + incDec; let newQ = objetQ.system.quantite + incDec;
const updated = await this.updateEmbeddedDocuments('Item', [{ _id: objetQ.id, 'system.quantite': newQ }]); // pdates one EmbeddedEntity await this.updateEmbeddedDocuments('Item', [{ _id: objetQ.id, 'system.quantite': newQ }]); // pdates one EmbeddedEntity
} }
} }
/* -------------------------------------------- */ /* -------------------------------------------- */
@ -408,7 +380,7 @@ export class WastelandActor extends Actor {
rollData.actorId = this.id rollData.actorId = this.id
rollData.tokenId = this.token?.id rollData.tokenId = this.token?.id
rollData.img = this.img rollData.img = this.img
rollData.canEclatDoubleD20 = this.canEclatDoubleD20() rollData.canEclatDoubleD20 = true // Always true in Wastelan
rollData.doubleD20 = false rollData.doubleD20 = false
rollData.attributs = WastelandUtility.getAttributs() rollData.attributs = WastelandUtility.getAttributs()
@ -446,7 +418,7 @@ export class WastelandActor extends Actor {
} }
/* -------------------------------------------- */ /* -------------------------------------------- */
async rollRune(runeId) { async rollPouvoir(pouvoirId) {
let comp = this.items.find(comp => comp.type == "competence" && comp.name.toLowerCase() == "savoir : runes") let comp = this.items.find(comp => comp.type == "competence" && comp.name.toLowerCase() == "savoir : runes")
if ( !comp) { if ( !comp) {
ui.notifications.warn("La compétence Savoirs : Runes n'a pas été trouvée, abandon.") ui.notifications.warn("La compétence Savoirs : Runes n'a pas été trouvée, abandon.")

View File

@ -36,7 +36,7 @@ Hooks.once("init", async function () {
}; };
/* -------------------------------------------- */ /* -------------------------------------------- */
game.socket.on("system.fvtt-wasteland-rpg", data => { game.socket.on("system.fvtt-wasteland", data => {
WastelandUtility.onSocketMesssage(data); WastelandUtility.onSocketMesssage(data);
}); });
@ -114,11 +114,6 @@ Hooks.once("ready", function () {
}); });
} }
// CSS patch for v9
if (game.version) {
let sidebar = document.getElementById("sidebar");
sidebar.style.width = "min-content";
}
registerUsageCount('fvtt-wasteland') registerUsageCount('fvtt-wasteland')
welcomeMessage(); welcomeMessage();
}); });

View File

@ -536,40 +536,49 @@ export class WastelandUtility {
/* -------------------------------------------- */ /* -------------------------------------------- */
static chatRollMenu(html, options) { static chatRollMenu(html, options) {
let canApply = li => canvas.tokens.controlled.length && li.find(".wasteland-roll").length let canApply = li => canvas.tokens.controlled.length && li.find(".wasteland-roll").length
let canApplyBALoyal = function (li) { let hasBA = function (li) {
let message = game.messages.get(li.attr("data-message-id")) let message = game.messages.get(li.attr("data-message-id"))
let rollData = message.getFlag("world", "wasteland-roll") let rollData = message.getFlag("world", "wasteland-roll")
let actor = WastelandUtility.getActorFromRollData(rollData) if (rollData?.actorId) {
return (!rollData.isReroll && actor.getBonneAventure() > 0 && actor.getAlignement() == "loyal") let actor = game.actors.get(rollData.actorId)
return actor.getBonneAventure() > 0
}
return false
} }
let canApplyPELoyal = function (li) { let hasBA2 = function (li) {
let message = game.messages.get(li.attr("data-message-id")) let message = game.messages.get(li.attr("data-message-id"))
let rollData = message.getFlag("world", "wasteland-roll") let rollData = message.getFlag("world", "wasteland-roll")
let actor = WastelandUtility.getActorFromRollData(rollData) if (rollData?.actorId) {
return (!rollData.isReroll && actor.getEclat() > 0 && actor.getAlignement() == "loyal") let actor = game.actors.get(rollData.actorId)
return actor.getBonneAventure() >= 2
}
return false
} }
let canApplyBAChaotique = function (li) { let hasBA3 = function (li) {
let message = game.messages.get(li.attr("data-message-id")) let message = game.messages.get(li.attr("data-message-id"))
let rollData = message.getFlag("world", "wasteland-roll") let rollData = message.getFlag("world", "wasteland-roll")
let actor = WastelandUtility.getActorFromRollData(rollData) if (rollData?.actorId) {
return (!rollData.isReroll && actor.getBonneAventure() > 0 && actor.getAlignement() == "chaotique") let actor = game.actors.get(rollData.actorId)
return actor.getBonneAventure() >= 3
}
return false
} }
let canApplyBAChaotique3 = function (li) { let hasPE = function (li) {
let message = game.messages.get(li.attr("data-message-id")) let message = game.messages.get(li.attr("data-message-id"))
let rollData = message.getFlag("world", "wasteland-roll") let rollData = message.getFlag("world", "wasteland-roll")
let actor = WastelandUtility.getActorFromRollData(rollData) if (rollData?.actorId) {
return (!rollData.isReroll && actor.getBonneAventure() > 2 && actor.getAlignement() == "chaotique") let actor = game.actors.get(rollData.actorId)
} return actor.getEclat() >= 1
let canApplyPEChaotique = function (li) {
let message = game.messages.get(li.attr("data-message-id")) }
let rollData = message.getFlag("world", "wasteland-roll") return false
let actor = WastelandUtility.getActorFromRollData(rollData)
return (!rollData.isReroll && actor.getEclat() > 0 && actor.getAlignement() == "chaotique")
} }
let hasPredilection = function (li) { let hasPredilection = function (li) {
let message = game.messages.get(li.attr("data-message-id")) let message = game.messages.get(li.attr("data-message-id"))
let rollData = message.getFlag("world", "wasteland-roll") let rollData = message.getFlag("world", "wasteland-roll")
let actor = WastelandUtility.getActorFromRollData(rollData)
if (rollData.competence) { if (rollData.competence) {
let nbPred = rollData.competence.data.predilections.filter(pred => !pred.used).length let nbPred = rollData.competence.data.predilections.filter(pred => !pred.used).length
return (!rollData.isReroll && rollData.competence && nbPred > 0) return (!rollData.isReroll && rollData.competence && nbPred > 0)
@ -579,7 +588,6 @@ export class WastelandUtility {
let canCompetenceDouble = function (li) { let canCompetenceDouble = function (li) {
let message = game.messages.get(li.attr("data-message-id")) let message = game.messages.get(li.attr("data-message-id"))
let rollData = message.getFlag("world", "wasteland-roll") let rollData = message.getFlag("world", "wasteland-roll")
let actor = WastelandUtility.getActorFromRollData(rollData)
if (rollData.competence) { if (rollData.competence) {
return rollData.competence.data.doublebonus return rollData.competence.data.doublebonus
} }
@ -587,58 +595,74 @@ export class WastelandUtility {
} }
options.push( options.push(
{ {
name: "Ajouer +3 (1 point de Bonne Aventure)", name: "Ajouter +3 (1 point de Bonne Aventure)",
icon: "<i class='fas fa-user-plus'></i>", icon: "<i class='fas fa-user-plus'></i>",
condition: canApply && canApplyBALoyal, condition: canApply && hasBA,
callback: li => WastelandUtility.applyBonneAventureRoll(li, -1, "+3") callback: li => WastelandUtility.applyBonneAventureRoll(li, -1, "+3")
} }
) )
options.push( options.push(
{ {
name: "Ajouer +6 (1 point de Bonne Aventure)", name: "Gain de 1 Point de Santé / 24 heure (1 point de Bonne Aventure)",
icon: "<i class='fas fa-user-plus'></i>", icon: "<i class='fas fa-user-plus'></i>",
condition: canApply && canApplyBALoyal && canCompetenceDouble, condition: canApply && hasBA,
callback: li => WastelandUtility.applyBonneAventureRoll(li, -1, "+6") callback: li => WastelandUtility.incDecSante(1)
} }
) )
options.push( options.push(
{ {
name: "Ajouer +1d6 (1 point de Bonne Aventure)", name: "Gain de 2 Points de Santé / 24 heure (2 points de Bonne Aventure)",
icon: "<i class='fas fa-user-plus'></i>", icon: "<i class='fas fa-user-plus'></i>",
condition: canApply && canApplyBAChaotique, condition: canApply && hasBA2,
callback: li => WastelandUtility.applyBonneAventureRoll(li, -1, "+1d6") callback: li => WastelandUtility.incDecSante(2)
} }
) )
options.push( options.push(
{ {
name: "Ajouer +2d6 (1 point de Bonne Aventure)", name: "Relancer le jet (3 points de Bonne Aventure)",
icon: "<i class='fas fa-user-plus'></i>", icon: "<i class='fas fa-user-plus'></i>",
condition: canApply && canApplyBAChaotique && canCompetenceDouble, condition: canApply && hasBA3,
callback: li => WastelandUtility.applyBonneAventureRoll(li, -1, "+2d6")
}
)
options.push(
{
name: "Relancer le dé (3 points de Bonne Aventure)",
icon: "<i class='fas fa-user-plus'></i>",
condition: canApply && canApplyBAChaotique3,
callback: li => WastelandUtility.applyBonneAventureRoll(li, -3, "reroll") callback: li => WastelandUtility.applyBonneAventureRoll(li, -3, "reroll")
} }
) )
options.push(
{
name: "Bénéficier d'1 action supplémentaire (3 points de Bonne Aventure)",
icon: "<i class='fas fa-user-plus'></i>",
condition: canApply && hasBA3,
callback: li => WastelandUtility.applyBonneAventureRoll(li, -3, "newaction")
}
)
options.push( options.push(
{ {
name: "Ajouter +10 (1 Point d'Eclat)", name: "Ajouter +10 (1 Point d'Eclat)",
icon: "<i class='fas fa-user-plus'></i>", icon: "<i class='fas fa-user-plus'></i>",
condition: canApply && canApplyPELoyal, condition: canApply && hasPE,
callback: li => WastelandUtility.applyEclatRoll(li, -1, "+10") callback: li => WastelandUtility.applyEclatRoll(li, -1, "+10")
} }
) )
options.push( options.push(
{ {
name: "Ajouter +20 (1 Point d'Eclat)", name: "Double le résultat du d20 (1 Point d'Eclat)",
icon: "<i class='fas fa-user-plus'></i>", icon: "<i class='fas fa-user-plus'></i>",
condition: canApply && canApplyPELoyal && canCompetenceDouble, condition: canApply && hasPE,
callback: li => WastelandUtility.applyEclatRoll(li, -1, "+20") callback: li => WastelandUtility.applyEclatRoll(li, -1, "double20")
}
)
options.push(
{
name: "Annuler une blessure (1 Point d'Eclat)",
icon: "<i class='fas fa-user-plus'></i>",
condition: canApply && hasPE,
callback: li => WastelandUtility.cancelBlessure(li)
}
)
options.push(
{
name: "Recharger ses points de BA (1 Point d'Eclat)",
icon: "<i class='fas fa-user-plus'></i>",
condition: canApply && hasPE,
callback: li => WastelandUtility.reloadBA(li)
} }
) )
return options return options

BIN
packs/armes/000005.ldb Normal file

Binary file not shown.

0
packs/armes/000024.log Normal file
View File

1
packs/armes/CURRENT Normal file
View File

@ -0,0 +1 @@
MANIFEST-000022

0
packs/armes/LOCK Normal file
View File

8
packs/armes/LOG Normal file
View File

@ -0,0 +1,8 @@
2023/11/26-16:59:00.074060 7febeeffd6c0 Recovering log #20
2023/11/26-16:59:00.128979 7febeeffd6c0 Delete type=3 #18
2023/11/26-16:59:00.129101 7febeeffd6c0 Delete type=0 #20
2023/11/26-16:59:11.254462 7febed7fa6c0 Level-0 table #25: started
2023/11/26-16:59:11.254498 7febed7fa6c0 Level-0 table #25: 0 bytes OK
2023/11/26-16:59:11.329898 7febed7fa6c0 Delete type=0 #23
2023/11/26-16:59:11.360691 7febed7fa6c0 Manual compaction at level-0 from '!items!0swiE8k5zfUIqmXu' @ 72057594037927935 : 1 .. '!items!wv5EiePmPTpqFutt' @ 0 : 0; will stop at (end)
2023/11/26-16:59:11.360720 7febed7fa6c0 Manual compaction at level-1 from '!items!0swiE8k5zfUIqmXu' @ 72057594037927935 : 1 .. '!items!wv5EiePmPTpqFutt' @ 0 : 0; will stop at (end)

8
packs/armes/LOG.old Normal file
View File

@ -0,0 +1,8 @@
2023/11/26-16:57:58.289912 7febee7fc6c0 Recovering log #16
2023/11/26-16:57:58.299955 7febee7fc6c0 Delete type=3 #14
2023/11/26-16:57:58.300027 7febee7fc6c0 Delete type=0 #16
2023/11/26-16:58:15.047722 7febed7fa6c0 Level-0 table #21: started
2023/11/26-16:58:15.047769 7febed7fa6c0 Level-0 table #21: 0 bytes OK
2023/11/26-16:58:15.079091 7febed7fa6c0 Delete type=0 #19
2023/11/26-16:58:15.079265 7febed7fa6c0 Manual compaction at level-0 from '!items!0swiE8k5zfUIqmXu' @ 72057594037927935 : 1 .. '!items!wv5EiePmPTpqFutt' @ 0 : 0; will stop at (end)
2023/11/26-16:58:15.079292 7febed7fa6c0 Manual compaction at level-1 from '!items!0swiE8k5zfUIqmXu' @ 72057594037927935 : 1 .. '!items!wv5EiePmPTpqFutt' @ 0 : 0; will stop at (end)

BIN
packs/armes/MANIFEST-000022 Normal file

Binary file not shown.

BIN
packs/equipement/000005.ldb Normal file

Binary file not shown.

View File

1
packs/equipement/CURRENT Normal file
View File

@ -0,0 +1 @@
MANIFEST-000022

0
packs/equipement/LOCK Normal file
View File

8
packs/equipement/LOG Normal file
View File

@ -0,0 +1,8 @@
2023/11/26-16:59:00.192091 7febee7fc6c0 Recovering log #20
2023/11/26-16:59:00.259152 7febee7fc6c0 Delete type=3 #18
2023/11/26-16:59:00.259616 7febee7fc6c0 Delete type=0 #20
2023/11/26-16:59:11.433282 7febed7fa6c0 Level-0 table #25: started
2023/11/26-16:59:11.433334 7febed7fa6c0 Level-0 table #25: 0 bytes OK
2023/11/26-16:59:11.472654 7febed7fa6c0 Delete type=0 #23
2023/11/26-16:59:11.472910 7febed7fa6c0 Manual compaction at level-0 from '!items!1cZd2hlTV9tykDED' @ 72057594037927935 : 1 .. '!items!y47dBO3Mf5Pn7tOd' @ 0 : 0; will stop at (end)
2023/11/26-16:59:11.472962 7febed7fa6c0 Manual compaction at level-1 from '!items!1cZd2hlTV9tykDED' @ 72057594037927935 : 1 .. '!items!y47dBO3Mf5Pn7tOd' @ 0 : 0; will stop at (end)

8
packs/equipement/LOG.old Normal file
View File

@ -0,0 +1,8 @@
2023/11/26-16:57:58.314487 7febeeffd6c0 Recovering log #16
2023/11/26-16:57:58.323985 7febeeffd6c0 Delete type=3 #14
2023/11/26-16:57:58.324037 7febeeffd6c0 Delete type=0 #16
2023/11/26-16:58:14.933638 7febed7fa6c0 Level-0 table #21: started
2023/11/26-16:58:14.933667 7febed7fa6c0 Level-0 table #21: 0 bytes OK
2023/11/26-16:58:14.968287 7febed7fa6c0 Delete type=0 #19
2023/11/26-16:58:15.079226 7febed7fa6c0 Manual compaction at level-0 from '!items!1cZd2hlTV9tykDED' @ 72057594037927935 : 1 .. '!items!y47dBO3Mf5Pn7tOd' @ 0 : 0; will stop at (end)
2023/11/26-16:58:15.079273 7febed7fa6c0 Manual compaction at level-1 from '!items!1cZd2hlTV9tykDED' @ 72057594037927935 : 1 .. '!items!y47dBO3Mf5Pn7tOd' @ 0 : 0; will stop at (end)

Binary file not shown.

BIN
packs/heritages/000005.ldb Normal file

Binary file not shown.

View File

1
packs/heritages/CURRENT Normal file
View File

@ -0,0 +1 @@
MANIFEST-000022

0
packs/heritages/LOCK Normal file
View File

8
packs/heritages/LOG Normal file
View File

@ -0,0 +1,8 @@
2023/11/26-16:58:59.957599 7febedffb6c0 Recovering log #20
2023/11/26-16:59:00.011696 7febedffb6c0 Delete type=3 #18
2023/11/26-16:59:00.011770 7febedffb6c0 Delete type=0 #20
2023/11/26-16:59:11.330033 7febed7fa6c0 Level-0 table #25: started
2023/11/26-16:59:11.330062 7febed7fa6c0 Level-0 table #25: 0 bytes OK
2023/11/26-16:59:11.360485 7febed7fa6c0 Delete type=0 #23
2023/11/26-16:59:11.360699 7febed7fa6c0 Manual compaction at level-0 from '!items!2GaJZsqr2c2mcDRv' @ 72057594037927935 : 1 .. '!items!ui4JGsGwHNlSXVK3' @ 0 : 0; will stop at (end)
2023/11/26-16:59:11.360729 7febed7fa6c0 Manual compaction at level-1 from '!items!2GaJZsqr2c2mcDRv' @ 72057594037927935 : 1 .. '!items!ui4JGsGwHNlSXVK3' @ 0 : 0; will stop at (end)

8
packs/heritages/LOG.old Normal file
View File

@ -0,0 +1,8 @@
2023/11/26-16:57:58.266172 7febeeffd6c0 Recovering log #16
2023/11/26-16:57:58.276790 7febeeffd6c0 Delete type=3 #14
2023/11/26-16:57:58.276855 7febeeffd6c0 Delete type=0 #16
2023/11/26-16:58:14.842991 7febed7fa6c0 Level-0 table #21: started
2023/11/26-16:58:14.843042 7febed7fa6c0 Level-0 table #21: 0 bytes OK
2023/11/26-16:58:14.873989 7febed7fa6c0 Delete type=0 #19
2023/11/26-16:58:14.874322 7febed7fa6c0 Manual compaction at level-0 from '!items!2GaJZsqr2c2mcDRv' @ 72057594037927935 : 1 .. '!items!ui4JGsGwHNlSXVK3' @ 0 : 0; will stop at (end)
2023/11/26-16:58:14.933524 7febed7fa6c0 Manual compaction at level-1 from '!items!2GaJZsqr2c2mcDRv' @ 72057594037927935 : 1 .. '!items!ui4JGsGwHNlSXVK3' @ 0 : 0; will stop at (end)

Binary file not shown.

BIN
packs/metiers/000005.ldb Normal file

Binary file not shown.

0
packs/metiers/000024.log Normal file
View File

1
packs/metiers/CURRENT Normal file
View File

@ -0,0 +1 @@
MANIFEST-000022

0
packs/metiers/LOCK Normal file
View File

8
packs/metiers/LOG Normal file
View File

@ -0,0 +1,8 @@
2023/11/26-16:59:00.015081 7febef7fe6c0 Recovering log #20
2023/11/26-16:59:00.072531 7febef7fe6c0 Delete type=3 #18
2023/11/26-16:59:00.072599 7febef7fe6c0 Delete type=0 #20
2023/11/26-16:59:11.155193 7febed7fa6c0 Level-0 table #25: started
2023/11/26-16:59:11.155216 7febed7fa6c0 Level-0 table #25: 0 bytes OK
2023/11/26-16:59:11.187066 7febed7fa6c0 Delete type=0 #23
2023/11/26-16:59:11.360663 7febed7fa6c0 Manual compaction at level-0 from '!items!09s33sFuju8zjPqI' @ 72057594037927935 : 1 .. '!items!xlyFCQClBZ1N3O1B' @ 0 : 0; will stop at (end)
2023/11/26-16:59:11.360706 7febed7fa6c0 Manual compaction at level-1 from '!items!09s33sFuju8zjPqI' @ 72057594037927935 : 1 .. '!items!xlyFCQClBZ1N3O1B' @ 0 : 0; will stop at (end)

8
packs/metiers/LOG.old Normal file
View File

@ -0,0 +1,8 @@
2023/11/26-16:57:58.278277 7febef7fe6c0 Recovering log #16
2023/11/26-16:57:58.287591 7febef7fe6c0 Delete type=3 #14
2023/11/26-16:57:58.287644 7febef7fe6c0 Delete type=0 #16
2023/11/26-16:58:15.011131 7febed7fa6c0 Level-0 table #21: started
2023/11/26-16:58:15.011169 7febed7fa6c0 Level-0 table #21: 0 bytes OK
2023/11/26-16:58:15.047562 7febed7fa6c0 Delete type=0 #19
2023/11/26-16:58:15.079249 7febed7fa6c0 Manual compaction at level-0 from '!items!09s33sFuju8zjPqI' @ 72057594037927935 : 1 .. '!items!xlyFCQClBZ1N3O1B' @ 0 : 0; will stop at (end)
2023/11/26-16:58:15.079285 7febed7fa6c0 Manual compaction at level-1 from '!items!09s33sFuju8zjPqI' @ 72057594037927935 : 1 .. '!items!xlyFCQClBZ1N3O1B' @ 0 : 0; will stop at (end)

Binary file not shown.

BIN
packs/origines/000005.ldb Normal file

Binary file not shown.

View File

1
packs/origines/CURRENT Normal file
View File

@ -0,0 +1 @@
MANIFEST-000022

0
packs/origines/LOCK Normal file
View File

8
packs/origines/LOG Normal file
View File

@ -0,0 +1,8 @@
2023/11/26-16:58:59.895973 7febee7fc6c0 Recovering log #20
2023/11/26-16:58:59.955338 7febee7fc6c0 Delete type=3 #18
2023/11/26-16:58:59.955412 7febee7fc6c0 Delete type=0 #20
2023/11/26-16:59:11.187425 7febed7fa6c0 Level-0 table #25: started
2023/11/26-16:59:11.187456 7febed7fa6c0 Level-0 table #25: 0 bytes OK
2023/11/26-16:59:11.254291 7febed7fa6c0 Delete type=0 #23
2023/11/26-16:59:11.360680 7febed7fa6c0 Manual compaction at level-0 from '!items!2t1KmBeQNuKK5qlN' @ 72057594037927935 : 1 .. '!items!yBvkQb9S64s908sR' @ 0 : 0; will stop at (end)
2023/11/26-16:59:11.360714 7febed7fa6c0 Manual compaction at level-1 from '!items!2t1KmBeQNuKK5qlN' @ 72057594037927935 : 1 .. '!items!yBvkQb9S64s908sR' @ 0 : 0; will stop at (end)

8
packs/origines/LOG.old Normal file
View File

@ -0,0 +1,8 @@
2023/11/26-16:57:58.253620 7febedffb6c0 Recovering log #16
2023/11/26-16:57:58.263635 7febedffb6c0 Delete type=3 #14
2023/11/26-16:57:58.263713 7febedffb6c0 Delete type=0 #16
2023/11/26-16:58:14.805438 7febed7fa6c0 Level-0 table #21: started
2023/11/26-16:58:14.805466 7febed7fa6c0 Level-0 table #21: 0 bytes OK
2023/11/26-16:58:14.842792 7febed7fa6c0 Delete type=0 #19
2023/11/26-16:58:14.874303 7febed7fa6c0 Manual compaction at level-0 from '!items!2t1KmBeQNuKK5qlN' @ 72057594037927935 : 1 .. '!items!yBvkQb9S64s908sR' @ 0 : 0; will stop at (end)
2023/11/26-16:58:14.933512 7febed7fa6c0 Manual compaction at level-1 from '!items!2t1KmBeQNuKK5qlN' @ 72057594037927935 : 1 .. '!items!yBvkQb9S64s908sR' @ 0 : 0; will stop at (end)

Binary file not shown.

BIN
packs/protection/000005.ldb Normal file

Binary file not shown.

View File

1
packs/protection/CURRENT Normal file
View File

@ -0,0 +1 @@
MANIFEST-000022

0
packs/protection/LOCK Normal file
View File

8
packs/protection/LOG Normal file
View File

@ -0,0 +1,8 @@
2023/11/26-16:59:00.132044 7febef7fe6c0 Recovering log #20
2023/11/26-16:59:00.189663 7febef7fe6c0 Delete type=3 #18
2023/11/26-16:59:00.189721 7febef7fe6c0 Delete type=0 #20
2023/11/26-16:59:11.403052 7febed7fa6c0 Level-0 table #25: started
2023/11/26-16:59:11.403090 7febed7fa6c0 Level-0 table #25: 0 bytes OK
2023/11/26-16:59:11.432989 7febed7fa6c0 Delete type=0 #23
2023/11/26-16:59:11.472890 7febed7fa6c0 Manual compaction at level-0 from '!items!2hD1DQVeCIQIXFU7' @ 72057594037927935 : 1 .. '!items!veoS6Gtzj6Dq087V' @ 0 : 0; will stop at (end)
2023/11/26-16:59:11.472945 7febed7fa6c0 Manual compaction at level-1 from '!items!2hD1DQVeCIQIXFU7' @ 72057594037927935 : 1 .. '!items!veoS6Gtzj6Dq087V' @ 0 : 0; will stop at (end)

8
packs/protection/LOG.old Normal file
View File

@ -0,0 +1,8 @@
2023/11/26-16:57:58.301703 7febedffb6c0 Recovering log #16
2023/11/26-16:57:58.312384 7febedffb6c0 Delete type=3 #14
2023/11/26-16:57:58.312445 7febedffb6c0 Delete type=0 #16
2023/11/26-16:58:14.968436 7febed7fa6c0 Level-0 table #21: started
2023/11/26-16:58:14.968486 7febed7fa6c0 Level-0 table #21: 0 bytes OK
2023/11/26-16:58:15.010611 7febed7fa6c0 Delete type=0 #19
2023/11/26-16:58:15.079239 7febed7fa6c0 Manual compaction at level-0 from '!items!2hD1DQVeCIQIXFU7' @ 72057594037927935 : 1 .. '!items!veoS6Gtzj6Dq087V' @ 0 : 0; will stop at (end)
2023/11/26-16:58:15.079279 7febed7fa6c0 Manual compaction at level-1 from '!items!2hD1DQVeCIQIXFU7' @ 72057594037927935 : 1 .. '!items!veoS6Gtzj6Dq087V' @ 0 : 0; will stop at (end)

Binary file not shown.

BIN
packs/skills/000005.ldb Normal file

Binary file not shown.

0
packs/skills/000024.log Normal file
View File

1
packs/skills/CURRENT Normal file
View File

@ -0,0 +1 @@
MANIFEST-000022

0
packs/skills/LOCK Normal file
View File

8
packs/skills/LOG Normal file
View File

@ -0,0 +1,8 @@
2023/11/26-16:58:59.840214 7febeeffd6c0 Recovering log #20
2023/11/26-16:58:59.893683 7febeeffd6c0 Delete type=3 #18
2023/11/26-16:58:59.893735 7febeeffd6c0 Delete type=0 #20
2023/11/26-16:59:11.066212 7febed7fa6c0 Level-0 table #25: started
2023/11/26-16:59:11.066239 7febed7fa6c0 Level-0 table #25: 0 bytes OK
2023/11/26-16:59:11.097666 7febed7fa6c0 Delete type=0 #23
2023/11/26-16:59:11.155079 7febed7fa6c0 Manual compaction at level-0 from '!items!0LlzDyCurJedqeyG' @ 72057594037927935 : 1 .. '!items!tq6mEgXog7h4VyWk' @ 0 : 0; will stop at (end)
2023/11/26-16:59:11.155120 7febed7fa6c0 Manual compaction at level-1 from '!items!0LlzDyCurJedqeyG' @ 72057594037927935 : 1 .. '!items!tq6mEgXog7h4VyWk' @ 0 : 0; will stop at (end)

8
packs/skills/LOG.old Normal file
View File

@ -0,0 +1,8 @@
2023/11/26-16:57:58.242617 7febee7fc6c0 Recovering log #16
2023/11/26-16:57:58.251815 7febee7fc6c0 Delete type=3 #14
2023/11/26-16:57:58.251900 7febee7fc6c0 Delete type=0 #16
2023/11/26-16:58:14.769885 7febed7fa6c0 Level-0 table #21: started
2023/11/26-16:58:14.769916 7febed7fa6c0 Level-0 table #21: 0 bytes OK
2023/11/26-16:58:14.805310 7febed7fa6c0 Delete type=0 #19
2023/11/26-16:58:14.874278 7febed7fa6c0 Manual compaction at level-0 from '!items!0LlzDyCurJedqeyG' @ 72057594037927935 : 1 .. '!items!tq6mEgXog7h4VyWk' @ 0 : 0; will stop at (end)
2023/11/26-16:58:14.933491 7febed7fa6c0 Manual compaction at level-1 from '!items!0LlzDyCurJedqeyG' @ 72057594037927935 : 1 .. '!items!tq6mEgXog7h4VyWk' @ 0 : 0; will stop at (end)

Binary file not shown.

BIN
packs/tables/000005.ldb Normal file

Binary file not shown.

0
packs/tables/000024.log Normal file
View File

1
packs/tables/CURRENT Normal file
View File

@ -0,0 +1 @@
MANIFEST-000022

0
packs/tables/LOCK Normal file
View File

8
packs/tables/LOG Normal file
View File

@ -0,0 +1,8 @@
2023/11/26-16:59:00.262098 7febedffb6c0 Recovering log #20
2023/11/26-16:59:00.320224 7febedffb6c0 Delete type=3 #18
2023/11/26-16:59:00.320291 7febedffb6c0 Delete type=0 #20
2023/11/26-16:59:11.360831 7febed7fa6c0 Level-0 table #25: started
2023/11/26-16:59:11.360854 7febed7fa6c0 Level-0 table #25: 0 bytes OK
2023/11/26-16:59:11.402896 7febed7fa6c0 Delete type=0 #23
2023/11/26-16:59:11.472863 7febed7fa6c0 Manual compaction at level-0 from '!tables!zV2oJy8JZE0nngRY' @ 72057594037927935 : 1 .. '!tables.results!zV2oJy8JZE0nngRY.wTMX1TbxljHmHImp' @ 0 : 0; will stop at (end)
2023/11/26-16:59:11.472927 7febed7fa6c0 Manual compaction at level-1 from '!tables!zV2oJy8JZE0nngRY' @ 72057594037927935 : 1 .. '!tables.results!zV2oJy8JZE0nngRY.wTMX1TbxljHmHImp' @ 0 : 0; will stop at (end)

8
packs/tables/LOG.old Normal file
View File

@ -0,0 +1,8 @@
2023/11/26-16:57:58.325858 7febef7fe6c0 Recovering log #16
2023/11/26-16:57:58.336821 7febef7fe6c0 Delete type=3 #14
2023/11/26-16:57:58.336880 7febef7fe6c0 Delete type=0 #16
2023/11/26-16:58:15.079379 7febed7fa6c0 Level-0 table #21: started
2023/11/26-16:58:15.079411 7febed7fa6c0 Level-0 table #21: 0 bytes OK
2023/11/26-16:58:15.123208 7febed7fa6c0 Delete type=0 #19
2023/11/26-16:58:15.123344 7febed7fa6c0 Manual compaction at level-0 from '!tables!zV2oJy8JZE0nngRY' @ 72057594037927935 : 1 .. '!tables.results!zV2oJy8JZE0nngRY.wTMX1TbxljHmHImp' @ 0 : 0; will stop at (end)
2023/11/26-16:58:15.123365 7febed7fa6c0 Manual compaction at level-1 from '!tables!zV2oJy8JZE0nngRY' @ 72057594037927935 : 1 .. '!tables.results!zV2oJy8JZE0nngRY.wTMX1TbxljHmHImp' @ 0 : 0; will stop at (end)

Binary file not shown.

View File

@ -59,7 +59,7 @@
font-family: "Charlemagne"; font-family: "Charlemagne";
font-size: 0.8rem; font-size: 0.8rem;
} /* For nav and title */ } /* For nav and title */
.window-app input, .fvtt-mournblade .item-form, .sheet header.sheet-header .flex-group-center.flex-compteurs, .sheet header.sheet-header .flex-group-center.flex-fatigue, select, button, .item-checkbox, #sidebar, #players, #navigation #nav-toggle { .window-app input, .fvtt-wasteland .item-form, .sheet header.sheet-header .flex-group-center.flex-compteurs, .sheet header.sheet-header .flex-group-center.flex-fatigue, select, button, .item-checkbox, #sidebar, #players, #navigation #nav-toggle {
font-size: 0.8rem; font-size: 0.8rem;
} }
@ -204,7 +204,7 @@ table {border: 1px solid #7a7971;}
/* Styles limited to foundryvtt-vadentis sheets */ /* Styles limited to foundryvtt-vadentis sheets */
.fvtt-mournblade .sheet-header { .fvtt-wasteland .sheet-header {
-webkit-box-flex: 0; -webkit-box-flex: 0;
-ms-flex: 0 0 210px; -ms-flex: 0 0 210px;
flex: 0 0 210px; flex: 0 0 210px;
@ -224,7 +224,7 @@ table {border: 1px solid #7a7971;}
margin-bottom: 10px; margin-bottom: 10px;
} }
.fvtt-mournblade .sheet-header .profile-img { .fvtt-wasteland .sheet-header .profile-img {
-webkit-box-flex: 0; -webkit-box-flex: 0;
-ms-flex: 0 0 128px; -ms-flex: 0 0 128px;
flex: 0 0 128px; flex: 0 0 128px;
@ -264,13 +264,13 @@ table {border: 1px solid #7a7971;}
vertical-align: bottom; vertical-align: bottom;
} }
.fvtt-mournblade .sheet-header .header-fields { .fvtt-wasteland .sheet-header .header-fields {
-webkit-box-flex: 1; -webkit-box-flex: 1;
-ms-flex: 1; -ms-flex: 1;
flex: 1; flex: 1;
} }
.fvtt-mournblade .sheet-header h1.charname { .fvtt-wasteland .sheet-header h1.charname {
height: 50px; height: 50px;
padding: 0px; padding: 0px;
margin: 5px 0; margin: 5px 0;
@ -280,7 +280,7 @@ table {border: 1px solid #7a7971;}
font-family: "Charlemagne"; font-family: "Charlemagne";
} }
.fvtt-mournblade .sheet-header h1.charname input { .fvtt-wasteland .sheet-header h1.charname input {
width: 100%; width: 100%;
height: 100%; height: 100%;
margin: 0; margin: 0;
@ -289,15 +289,15 @@ table {border: 1px solid #7a7971;}
font-size: 2rem; font-size: 2rem;
} }
.fvtt-mournblade .sheet-tabs { .fvtt-wasteland .sheet-tabs {
-webkit-box-flex: 0; -webkit-box-flex: 0;
-ms-flex: 0; -ms-flex: 0;
flex: 0; flex: 0;
} }
.fvtt-mournblade .sheet-body, .fvtt-wasteland .sheet-body,
.fvtt-mournblade .sheet-body .tab, .fvtt-wasteland .sheet-body .tab,
.fvtt-mournblade .sheet-body .tab .editor { .fvtt-wasteland .sheet-body .tab .editor {
height: 100%; height: 100%;
font-size: 0.8rem; font-size: 0.8rem;
} }
@ -320,70 +320,70 @@ table {border: 1px solid #7a7971;}
padding: 0 3px; padding: 0 3px;
} }
.fvtt-mournblade .tox .tox-editor-container { .fvtt-wasteland .tox .tox-editor-container {
background: #fff; background: #fff;
} }
.fvtt-mournblade .tox .tox-edit-area { .fvtt-wasteland .tox .tox-edit-area {
padding: 0 8px; padding: 0 8px;
} }
.fvtt-mournblade .resource-label { .fvtt-wasteland .resource-label {
font-weight: bold; font-weight: bold;
text-transform: uppercase; text-transform: uppercase;
} }
.fvtt-mournblade .tabs { .fvtt-wasteland .tabs {
height: 40px; height: 40px;
border-top: 1px solid #AAA; border-top: 1px solid #AAA;
border-bottom: 1px solid #AAA; border-bottom: 1px solid #AAA;
color: #000000; color: #000000;
} }
.fvtt-mournblade .tabs .item { .fvtt-wasteland .tabs .item {
line-height: 40px; line-height: 40px;
font-weight: bold; font-weight: bold;
} }
.fvtt-mournblade .tabs .item.active { .fvtt-wasteland .tabs .item.active {
text-decoration: underline; text-decoration: underline;
text-shadow: none; text-shadow: none;
} }
.fvtt-mournblade .items-list { .fvtt-wasteland .items-list {
list-style: none; list-style: none;
margin: 1px 0; margin: 1px 0;
padding: 0; padding: 0;
overflow-y: auto; overflow-y: auto;
} }
.fvtt-mournblade .items-list .item-header { .fvtt-wasteland .items-list .item-header {
font-weight: bold; font-weight: bold;
} }
.fvtt-mournblade .items-list .item { .fvtt-wasteland .items-list .item {
height: 30px; height: 30px;
line-height: 24px; line-height: 24px;
padding: 1px 0; padding: 1px 0;
border-bottom: 1px solid #BBB; border-bottom: 1px solid #BBB;
} }
.fvtt-mournblade .items-list .item .item-image { .fvtt-wasteland .items-list .item .item-image {
-webkit-box-flex: 0; -webkit-box-flex: 0;
-ms-flex: 0 0 24px; -ms-flex: 0 0 24px;
flex: 0 0 24px; flex: 0 0 24px;
margin-right: 5px; margin-right: 5px;
} }
.fvtt-mournblade .items-list .item img { .fvtt-wasteland .items-list .item img {
display: block; display: block;
} }
.fvtt-mournblade .items-list .item-name { .fvtt-wasteland .items-list .item-name {
margin: 0; margin: 0;
} }
.fvtt-mournblade .items-list .item-controls { .fvtt-wasteland .items-list .item-controls {
-webkit-box-flex: 0; -webkit-box-flex: 0;
-ms-flex: 0 0 86px; -ms-flex: 0 0 86px;
flex: 0 0 86px; flex: 0 0 86px;
@ -924,8 +924,6 @@ ul, li {
} }
#sidebar #sidebar-tabs i{ #sidebar #sidebar-tabs i{
width: 25px;
height: 25px;
display: inline-block; display: inline-block;
background-position:center; background-position:center;
background-size:cover; background-size:cover;
@ -1299,7 +1297,7 @@ ul, li {
color: #CCC color: #CCC
} }
#pause > img { #pause > img {
content: url(../assets/logos/mournblade_logo_chaos.webp); content: url(../assets/logos/wasteland_logo_chaos.webp);
height: 256px; height: 256px;
width: 256px; width: 256px;
top: -80px; top: -80px;
@ -1307,7 +1305,7 @@ ul, li {
} }
#logo { #logo {
content : url(../assets/logos/mournblade_logo_texte.webp); content : url(../assets/logos/wasteland_logo_texte.webp);
width: 120px; width: 120px;
height: 40px; height: 40px;
} }

View File

@ -109,6 +109,6 @@
"background": "systems/fvtt-wasteland/assets/ui/fond_wasteland.webp", "background": "systems/fvtt-wasteland/assets/ui/fond_wasteland.webp",
"compatibility": { "compatibility": {
"minimum": "11", "minimum": "11",
"maximum": "11" "verified": "11"
} }
} }

View File

@ -15,7 +15,7 @@
"sexe": "", "sexe": "",
"yeux": "", "yeux": "",
"description": "", "description": "",
"amemultiplier": 2, "psychemultiplier": 1,
"notes": "", "notes": "",
"gmnotes": "" "gmnotes": ""
} }
@ -82,14 +82,6 @@
"vitessebonus": 0, "vitessebonus": 0,
"bonusdegats": 0, "bonusdegats": 0,
"defensebonus": 0 "defensebonus": 0
},
"balance": {
"loi": 0,
"chaos": 0,
"aspect": 0,
"marge": 0,
"pointschaos": 0,
"pointsloi": 0
} }
}, },
"npccore": { "npccore": {

View File

@ -10,38 +10,6 @@
<div class="flexrow"> <div class="flexrow">
<ul class="item-list alternate-list"> <ul class="item-list alternate-list">
<li class="item flexrow ">
<label class="item-name-label competence-name item-field-label-short"><strong>Loi</strong></label>
<label class="item-name-label competence-name item-field-label-short">Niveau</label><input type="text" class="padd-right status-small-label color-class-common item-field-label-short"
name="system.balance.loi" value="{{data.balance.loi}}" data-dtype="Number" />
<label class="item-name-label competence-name item-field-label-short">Points</label>
<select class="status-small-label color-class-common item-field-label-short" type="text"
name="system.balance.pointsloi" value="{{data.balance.pointsloi}}" data-dtype="Number">
{{#select data.balance.pointsloi}}
{{> systems/fvtt-wasteland/templates/partial-list-niveau.html}}
{{/select}}
</select>
<label class="item-name-label competence-name item-field-label-medium">Aspect {{aspect}}</label>
</li>
<li class="item flexrow ">
<label class="item-name-label competence-name item-field-label-short"><strong>Chaos</strong></label>
<label class="item-name-label competence-name item-field-label-short">Niveau</label><input type="text" class="padd-right status-small-label color-class-common item-field-label-short"
name="system.balance.chaos" value="{{data.balance.chaos}}" data-dtype="Number" />
<label class="item-name-label competence-name item-field-label-short">Points</label><select class="status-small-label color-class-common item-field-label-short" type="text"
name="system.balance.pointschaos" value="{{data.balance.pointschaos}}" data-dtype="Number">
{{#select data.balance.pointschaos}}
{{> systems/fvtt-wasteland/templates/partial-list-niveau.html}}
{{/select}}
</select>
<label class="item-name-label competence-name item-field-label-medium">Marge {{marge}}</label>
</li>
<li class="item flexrow "> <li class="item flexrow ">
<h4 class="item-name-label competence-name">Bonne Aventure</h4> <h4 class="item-name-label competence-name">Bonne Aventure</h4>
<label class="item-name-label competence-name item-field-label-short">Base</label> <label class="item-name-label competence-name item-field-label-short">Base</label>
@ -74,7 +42,7 @@
<nav class="sheet-tabs tabs" data-group="primary"> <nav class="sheet-tabs tabs" data-group="primary">
<a class="item" data-tab="principal">Attributs</a> <a class="item" data-tab="principal">Attributs</a>
<a class="item" data-tab="competences">Compétences</a> <a class="item" data-tab="competences">Compétences</a>
<a class="item" data-tab="dons">Dons/Pactes</a> <a class="item" data-tab="pouvoirs">Pouvoirs/Mutations</a>
<a class="item" data-tab="equipement">Equipement</a> <a class="item" data-tab="equipement">Equipement</a>
<a class="item" data-tab="biodata">Bio&Notes</a> <a class="item" data-tab="biodata">Bio&Notes</a>
</nav> </nav>
@ -125,17 +93,17 @@
</li> </li>
</ul> </ul>
<h4 class="item-name-label competence-name">Ame</h4> <h4 class="item-name-label competence-name">Psyche</h4>
<ul class="item-list alternate-list"> <ul class="item-list alternate-list">
<li class="item flexrow"> <li class="item flexrow">
<label class="label-name">Max</label> <label class="label-name">Max</label>
<input type="text" class="input-numeric-short" name="system.ame.fullmax" value="{{data.ame.fullmax}}" <input type="text" class="input-numeric-short" name="system.psyche.fullmax" value="{{data.psyche.fullmax}}"
data-dtype="Number" /> data-dtype="Number" />
<label class="label-name">Max Actuel</label> <label class="label-name">Max Actuel</label>
<input type="text" class="input-numeric-short" name="system.ame.currentmax" value="{{data.ame.currentmax}}" <input type="text" class="input-numeric-short" name="system.psyche.currentmax" value="{{data.psyche.currentmax}}"
data-dtype="Number" /> data-dtype="Number" />
<label class="label-name">Courante</label> <label class="label-name">Courante</label>
<input type="text" class="input-numeric-short" name="system.ame.value" value="{{data.ame.value}}" <input type="text" class="input-numeric-short" name="system.psyche.value" value="{{data.psyche.value}}"
data-dtype="Number" /> data-dtype="Number" />
</li> </li>
</ul> </ul>
@ -239,7 +207,7 @@
</div> </div>
{{!-- Dons/Pactes Tab --}} {{!-- Dons/Pactes Tab --}}
<div class="tab dons" data-group="primary" data-tab="dons"> <div class="tab pouvoirs" data-group="primary" data-tab="pouvoirs">
<div class="flexcol"> <div class="flexcol">
@ -247,7 +215,7 @@
<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">
<span class="item-name-label-header"> <span class="item-name-label-header">
<h3><label class="items-title-text">Dons</label></h3> <h3><label class="items-title-text">Pouvoirs</label></h3>
</span> </span>
<span class="item-field-label-short"> <span class="item-field-label-short">
<label class="short-label">Allégeance</label> <label class="short-label">Allégeance</label>
@ -256,11 +224,11 @@
<div class="item-controls item-controls-fixed"> <div class="item-controls item-controls-fixed">
</div> </div>
</li> </li>
{{#each dons as |don key|}} {{#each pouvoirs as |pouvoir key|}}
<li class="item flexrow " data-item-id="{{don._id}}" data-item-type="don"> <li class="item flexrow " data-item-id="{{pouvoir._id}}" data-item-type="don">
<img class="item-name-img" src="{{don.img}}" /> <img class="item-name-img" src="{{pouvoir.img}}" />
<span class="item-name-label competence-name">{{don.name}}</span> <span class="item-name-label competence-name">{{pouvoir.name}}</span>
<span class="item-field-label-short">{{don.system.allegeance}}</span> <span class="item-field-label-short">{{pouvoir.system.allegeance}}</span>
<div class="item-filler">&nbsp;</div> <div class="item-filler">&nbsp;</div>
<div class="item-controls item-controls-fixed"> <div class="item-controls item-controls-fixed">
<a class="item-control item-edit" title="Edit Item"><i class="fas fa-edit"></i></a> <a class="item-control item-edit" title="Edit Item"><i class="fas fa-edit"></i></a>
@ -275,7 +243,7 @@
<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">
<span class="item-name-label-header"> <span class="item-name-label-header">
<h3><label class="items-title-text">Runes</label></h3> <h3><label class="items-title-text">Mutations</label></h3>
</span> </span>
<span class="item-field-label-long"> <span class="item-field-label-long">
<label class="short-label">Haut parler</label> <label class="short-label">Haut parler</label>
@ -287,65 +255,12 @@
<div class="item-controls item-controls-fixed"> <div class="item-controls item-controls-fixed">
</div> </div>
</li> </li>
{{#each runes as |rune key|}} {{#each mutations as |mutation key|}}
<li class="item flexrow " data-item-id="{{rune._id}}" data-item-type="rune"> <li class="item flexrow " data-item-id="{{mutation._id}}" data-item-type="rune">
<img class="item-name-img" src="{{rune.img}}" /> <img class="item-name-img" src="{{mutation.img}}" />
<span class="item-name-label competence-name"><a class="roll-rune">{{rune.name}}</a></span> <span class="item-name-label competence-name"><a class="roll-rune">{{mutation.name}}</a></span>
<span class="item-field-label-long">{{rune.system.formule}}</span> <span class="item-field-label-long">{{mutation.system.formule}}</span>
<span class="item-field-label-short">{{rune.system.seuil}}</span> <span class="item-field-label-short">{{mutation.system.seuil}}</span>
<div class="item-filler">&nbsp;</div>
<div class="item-controls item-controls-fixed">
<a class="item-control item-edit" title="Edit Item"><i class="fas fa-edit"></i></a>
<a class="item-control item-delete" title="Delete Item"><i class="fas fa-trash"></i></a>
</div>
</li>
{{/each}}
</ul>
</div>
<div 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">Tendances</label></h3>
</span>
<span class="item-field-label-short">
<label class="short-label">Allégeance</label>
</span>
<div class="item-filler">&nbsp;</div>
<div class="item-controls item-controls-fixed">
</div>
</li>
{{#each tendances as |tendance key|}}
<li class="item flexrow " data-item-id="{{tendance._id}}" data-item-type="tendance">
<img class="item-name-img" src="{{tendance.img}}" />
<span class="item-name-label competence-name">{{tendance.name}}</span>
<span class="item-field-label-short">{{tendance.system.allegeance}}</span>
<div class="item-filler">&nbsp;</div>
<div class="item-controls item-controls-fixed">
<a class="item-control item-edit" title="Edit Item"><i class="fas fa-edit"></i></a>
<a class="item-control item-delete" title="Delete Item"><i class="fas fa-trash"></i></a>
</div>
</li>
{{/each}}
</ul>
</div>
<div 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">Traits Chaotiques</label></h3>
</span>
<div class="item-filler">&nbsp;</div>
<div class="item-controls item-controls-fixed">
</div>
</li>
{{#each traitsChaotiques as |trait key|}}
<li class="item flexrow " data-item-id="{{trait._id}}" data-item-type="traitchaotique">
<img class="item-name-img" src="{{trait.img}}" />
<span class="item-name-label competence-name">{{trait.name}}</span>
<div class="item-filler">&nbsp;</div> <div class="item-filler">&nbsp;</div>
<div class="item-controls item-controls-fixed"> <div class="item-controls item-controls-fixed">
<a class="item-control item-edit" title="Edit Item"><i class="fas fa-edit"></i></a> <a class="item-control item-edit" title="Edit Item"><i class="fas fa-edit"></i></a>
@ -555,11 +470,6 @@
<a class="item-control item-delete" title="Delete 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>
<li class="flexrow item">
<label class="generic-label">Multiplicateur d'âme</label>
<input type="text" class="" name="system.biodata.amemultiplier" value="{{data.biodata.amemultiplier}}"
data-dtype="Number" />
</li>
</ul> </ul>
</div> </div>