Compare commits

..

9 Commits

Author SHA1 Message Date
f487908ecd Affichage des specialisations 2023-12-19 22:16:15 +01:00
e9dc31ada1 Affichage des specialisations 2023-12-19 21:46:13 +01:00
e504427dbb v10/v11 compatibility 2023-05-25 07:43:46 +02:00
6aa63f9a98 Better chat result + hide some compendiums 2023-05-09 21:18:44 +02:00
861aa19637 Update releas 2023-03-14 20:41:31 +01:00
ddb3f9dee1 Various fixes 2023-03-14 18:40:44 +01:00
da074d6ea1 Various fixes 2023-03-14 09:15:08 +01:00
1c0c722bd0 Various fixes 2023-03-14 09:14:59 +01:00
fef42b7093 Various fixes 2023-03-14 09:14:28 +01:00
98 changed files with 421 additions and 75 deletions

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.history/

View File

@ -10,7 +10,7 @@ Books are mandatory to play and are available at : http://www.titam-france.fr
Système non-officiel pour le JDR Mournblade (Titam France).
Ce système a été autorisé par Ludospherik ( http://www.ludospherik.fr/ ), merci à eux !
Ce système a été autorisé par Le Département des Sombres Projets, merci à eux !
Les livres du jeu sont nécessaires pour jouer, et sont disponibles ici : http://www.titam-france.fr

27
lang/fr.json Normal file
View File

@ -0,0 +1,27 @@
{
"ACTOR": {
"TypePersonnage": "Personnage",
"TypePNJ": "PNJ"
},
"ITEM": {
"TypeArme": "Arme",
"TypeCompetence": "Compétence",
"TypeProtection": "Protection",
"TypePacte": "Pacte",
"TypeTraitchaotique": "Trait Chaotique",
"TypeMonnaie": "Monnaie",
"TypeDon": "Don",
"TypeTendance": "Tendance",
"TypeRune": "Rune",
"TypeEquipement": "Equipement",
"TypeCapacite": "Capacité",
"TypeOrigine": "Origine",
"TypeHeritage": "Héritage",
"TypeMetier": "Métier",
"TypeRuneeffect": "Effet de Rune",
"TypeBouclier": "Bouclier"
}
}

View File

@ -48,11 +48,13 @@ export class MournbladeActorSheet extends ActorSheet {
marge: this.actor.getMarge(),
tendances:duplicate(this.actor.getTendances()),
runes:duplicate(this.actor.getRunes()),
traitsChaotiques:duplicate(this.actor.getTraitsChaotiques()),
origine: duplicate(this.actor.getOrigine() || {}),
heritage: duplicate(this.actor.getHeritage() || {}),
metier: duplicate(this.actor.getMetier() || {}),
combat: this.actor.getCombatValues(),
equipements: duplicate(this.actor.getEquipments()),
monnaies: duplicate(this.actor.getMonnaies()),
description: await TextEditor.enrichHTML(this.object.system.biodata.description, {async: true}),
options: this.options,
owner: this.document.isOwner,
@ -95,7 +97,7 @@ export class MournbladeActorSheet extends ActorSheet {
let value = ev.currentTarget.value
this.actor.editItemField(itemId, itemType, itemField, dataType, value)
})
html.find('.quantity-minus').click(event => {
const li = $(event.currentTarget).parents(".item");
this.actor.incDecQuantity( li.data("item-id"), -1 );
@ -131,7 +133,16 @@ export class MournbladeActorSheet extends ActorSheet {
let armeId = li.data("item-id")
this.actor.rollArmeDegats(armeId)
})
html.find('.quantity-modify').click(event => {
const li = $(event.currentTarget).parents(".item")
const value = Number($(event.currentTarget).data("quantite-value"))
this.actor.incDecQuantity( li.data("item-id"), value );
})
html.find('.item-add').click((event) => {
const itemType = $(event.currentTarget).data("type")
this.actor.createEmbeddedDocuments('Item', [{ name: `Nouveau ${itemType}`, type: itemType }], { renderSheet: true })
})
html.find('.lock-unlock-sheet').click((event) => {
this.options.editScore = !this.options.editScore;

View File

@ -96,27 +96,36 @@ export class MournbladeActor extends Actor {
armes.push(this.prepareBouclier(arme))
}
}
MournbladeUtility.sortArrayObjectsByName(armes)
return armes
}
/* -------------------------------------------- */
getDons() {
return this.items.filter(item => item.type == "don")
getItemSorted( types) {
let items = this.items.filter(item => types.includes(item.type )) || []
MournbladeUtility.sortArrayObjectsByName(items)
return items
}
getDons() {
return this.getItemSorted(["don"])
}
/* -------------------------------------------- */
getTendances() {
return this.items.filter(item => item.type == "tendance")
return this.getItemSorted(["tendance"])
}
getRunes() {
return this.items.filter(item => item.type == "rune")
return this.getItemSorted(["rune"])
}
/* -------------------------------------------- */
getEquipments() {
return this.items.filter(item => item.type == "equipement")
return this.getItemSorted(["equipement"])
}
getTraitsChaotiques() {
return this.getItemSorted(["traitchaotique"])
}
getMonnaies() {
return this.getItemSorted(["monnaie"])
}
/* -------------------------------------------- */
getArmors() {
return this.items.filter(item => item.type == "protection")
return this.getItemSorted(["protection"])
}
getOrigine() {
return this.items.find(item => item.type == "origine")
@ -147,17 +156,8 @@ export class MournbladeActor extends Actor {
comp.push(item)
}
}
return comp.sort(function (a, b) {
let fa = a.name.toLowerCase(),
fb = b.name.toLowerCase();
if (fa < fb) {
return -1;
}
if (fa > fb) {
return 1;
}
return 0;
})
MournbladeUtility.sortArrayObjectsByName(comp)
return comp
}
/* -------------------------------------------- */
@ -359,11 +359,10 @@ export class MournbladeActor extends Actor {
async incDecQuantity(objetId, incDec = 0) {
let objetQ = this.items.get(objetId)
if (objetQ) {
let newQ = objetQ.system.quantity + incDec;
const updated = await this.updateEmbeddedDocuments('Item', [{ _id: objetQ.id, 'system.quantity': newQ }]); // pdates one EmbeddedEntity
let newQ = objetQ.system.quantite + incDec;
const updated = await this.updateEmbeddedDocuments('Item', [{ _id: objetQ.id, 'system.quantite': newQ }]); // pdates one EmbeddedEntity
}
}
/* -------------------------------------------- */
getCompetence(compId) {
return this.items.get(compId)

View File

@ -68,7 +68,8 @@ function welcomeMessage() {
content: `<div id="welcome-message-Mournblade"><span class="rdd-roll-part">
<strong>Bienvenue dans les Jeunes Royaumes de Mournblade !</strong>
<p>Les livres de Mournblade sont nécessaires pour jouer : https://www.titam-france.fr</p>
<p>Mournblade est jeude rôle publié par Titam France/Sombres projets, tout les droits leur appartiennent.<p>
<p>Mournblade est jeu de rôle publié par Titam France/Sombres projets, tout les droits leur appartiennent.</p>
<p>Système développé par LeRatierBretonnien, support sur le <a href="https://discord.gg/pPSDNJk">Discord FR de Foundry</a>.</p>
` });
}
@ -113,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-mournblade')
welcomeMessage();
});

View File

@ -67,6 +67,13 @@ export class MournbladeUtility {
return opt.concat("\n")
}
/* -------------------------------------------- */
static sortArrayObjectsByName(myArray) {
myArray.sort((a, b) => {
return a.name.localeCompare(b.name);
})
}
/* -------------------------------------------- */
static getPointAmeOptions() {
let opt = []
@ -122,7 +129,7 @@ export class MournbladeUtility {
let actor = MournbladeUtility.getActorFromRollData(rollData)
await actor.setPredilectionUsed(rollData.competence._id, predIdx)
rollData.competence = duplicate(actor.getCompetence(rollData.competence._id))
MournbladeUtility.rollMournblade(rollData)
await MournbladeUtility.rollMournblade(rollData)
})
}
@ -217,7 +224,6 @@ export class MournbladeUtility {
/* -------------------------------------------- */
static onSocketMesssage(msg) {
//console.log("SOCKET MESSAGE", msg.name, game.user.character.id, msg.data.defenderId);
if (msg.name == "msg_update_defense_state") {
this.updateDefenseState(msg.data.defenderId, msg.data.rollId);
}
@ -339,7 +345,8 @@ export class MournbladeUtility {
let myRoll = new Roll(rollData.diceFormula).roll({ async: false })
await this.showDiceSoNice(myRoll, game.settings.get("core", "rollMode"))
rollData.roll = myRoll
rollData.roll = duplicate(myRoll)
rollData.diceResult = myRoll.terms[0].results[0].result
console.log(">>>> ", myRoll)
rollData.finalResult = myRoll.total
@ -365,7 +372,7 @@ export class MournbladeUtility {
let bonusRoll = new Roll(rollData.bonusFormula).roll({ async: false })
await this.showDiceSoNice(bonusRoll, game.settings.get("core", "rollMode"));
rollData.bonusRoll = bonusRoll
rollData.bonusRoll = duplicate(bonusRoll)
rollData.finalResult += rollData.bonusRoll.total

BIN
packs/armes/000005.ldb Normal file

Binary file not shown.

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

1
packs/armes/CURRENT Normal file
View File

@ -0,0 +1 @@
MANIFEST-000014

0
packs/armes/LOCK Normal file
View File

8
packs/armes/LOG Normal file
View File

@ -0,0 +1,8 @@
2023/12/19-22:15:44.879816 7f3323fff6c0 Recovering log #12
2023/12/19-22:15:44.890587 7f3323fff6c0 Delete type=3 #10
2023/12/19-22:15:44.890683 7f3323fff6c0 Delete type=0 #12
2023/12/19-22:15:56.534936 7f33223ff6c0 Level-0 table #17: started
2023/12/19-22:15:56.535009 7f33223ff6c0 Level-0 table #17: 0 bytes OK
2023/12/19-22:15:56.541696 7f33223ff6c0 Delete type=0 #15
2023/12/19-22:15:56.548995 7f33223ff6c0 Manual compaction at level-0 from '!items!0swiE8k5zfUIqmXu' @ 72057594037927935 : 1 .. '!items!wv5EiePmPTpqFutt' @ 0 : 0; will stop at (end)
2023/12/19-22:15:56.555645 7f33223ff6c0 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/12/19-21:45:05.580403 7f3323fff6c0 Recovering log #8
2023/12/19-21:45:05.635099 7f3323fff6c0 Delete type=3 #6
2023/12/19-21:45:05.635255 7f3323fff6c0 Delete type=0 #8
2023/12/19-21:45:32.368329 7f33223ff6c0 Level-0 table #13: started
2023/12/19-21:45:32.368364 7f33223ff6c0 Level-0 table #13: 0 bytes OK
2023/12/19-21:45:32.374930 7f33223ff6c0 Delete type=0 #11
2023/12/19-21:45:32.386871 7f33223ff6c0 Manual compaction at level-0 from '!items!0swiE8k5zfUIqmXu' @ 72057594037927935 : 1 .. '!items!wv5EiePmPTpqFutt' @ 0 : 0; will stop at (end)
2023/12/19-21:45:32.393727 7f33223ff6c0 Manual compaction at level-1 from '!items!0swiE8k5zfUIqmXu' @ 72057594037927935 : 1 .. '!items!wv5EiePmPTpqFutt' @ 0 : 0; will stop at (end)

BIN
packs/armes/MANIFEST-000014 Normal file

Binary file not shown.

BIN
packs/dons/000005.ldb Normal file

Binary file not shown.

0
packs/dons/000016.log Normal file
View File

1
packs/dons/CURRENT Normal file
View File

@ -0,0 +1 @@
MANIFEST-000014

0
packs/dons/LOCK Normal file
View File

8
packs/dons/LOG Normal file
View File

@ -0,0 +1,8 @@
2023/12/19-22:15:44.922363 7f3322ffd6c0 Recovering log #12
2023/12/19-22:15:44.933242 7f3322ffd6c0 Delete type=3 #10
2023/12/19-22:15:44.933334 7f3322ffd6c0 Delete type=0 #12
2023/12/19-22:15:56.541869 7f33223ff6c0 Level-0 table #17: started
2023/12/19-22:15:56.541915 7f33223ff6c0 Level-0 table #17: 0 bytes OK
2023/12/19-22:15:56.548800 7f33223ff6c0 Delete type=0 #15
2023/12/19-22:15:56.555609 7f33223ff6c0 Manual compaction at level-0 from '!items!5dGXNiL3WN4cAk7X' @ 72057594037927935 : 1 .. '!items!zzz9JrtWjELdoAfK' @ 0 : 0; will stop at (end)
2023/12/19-22:15:56.555674 7f33223ff6c0 Manual compaction at level-1 from '!items!5dGXNiL3WN4cAk7X' @ 72057594037927935 : 1 .. '!items!zzz9JrtWjELdoAfK' @ 0 : 0; will stop at (end)

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

@ -0,0 +1,8 @@
2023/12/19-21:45:05.751995 7f33237fe6c0 Recovering log #8
2023/12/19-21:45:05.802361 7f33237fe6c0 Delete type=3 #6
2023/12/19-21:45:05.802459 7f33237fe6c0 Delete type=0 #8
2023/12/19-21:45:32.401535 7f33223ff6c0 Level-0 table #13: started
2023/12/19-21:45:32.401586 7f33223ff6c0 Level-0 table #13: 0 bytes OK
2023/12/19-21:45:32.408618 7f33223ff6c0 Delete type=0 #11
2023/12/19-21:45:32.416737 7f33223ff6c0 Manual compaction at level-0 from '!items!5dGXNiL3WN4cAk7X' @ 72057594037927935 : 1 .. '!items!zzz9JrtWjELdoAfK' @ 0 : 0; will stop at (end)
2023/12/19-21:45:32.416779 7f33223ff6c0 Manual compaction at level-1 from '!items!5dGXNiL3WN4cAk7X' @ 72057594037927935 : 1 .. '!items!zzz9JrtWjELdoAfK' @ 0 : 0; will stop at (end)

BIN
packs/dons/MANIFEST-000014 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-000014

0
packs/equipement/LOCK Normal file
View File

8
packs/equipement/LOG Normal file
View File

@ -0,0 +1,8 @@
2023/12/19-22:15:44.907560 7f33237fe6c0 Recovering log #12
2023/12/19-22:15:44.919038 7f33237fe6c0 Delete type=3 #10
2023/12/19-22:15:44.919177 7f33237fe6c0 Delete type=0 #12
2023/12/19-22:15:56.527537 7f33223ff6c0 Level-0 table #17: started
2023/12/19-22:15:56.527579 7f33223ff6c0 Level-0 table #17: 0 bytes OK
2023/12/19-22:15:56.534748 7f33223ff6c0 Delete type=0 #15
2023/12/19-22:15:56.548969 7f33223ff6c0 Manual compaction at level-0 from '!items!1cZd2hlTV9tykDED' @ 72057594037927935 : 1 .. '!items!y47dBO3Mf5Pn7tOd' @ 0 : 0; will stop at (end)
2023/12/19-22:15:56.555629 7f33223ff6c0 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/12/19-21:45:05.694845 7f3322ffd6c0 Recovering log #8
2023/12/19-21:45:05.749080 7f3322ffd6c0 Delete type=3 #6
2023/12/19-21:45:05.749173 7f3322ffd6c0 Delete type=0 #8
2023/12/19-21:45:32.393743 7f33223ff6c0 Level-0 table #13: started
2023/12/19-21:45:32.393776 7f33223ff6c0 Level-0 table #13: 0 bytes OK
2023/12/19-21:45:32.401345 7f33223ff6c0 Delete type=0 #11
2023/12/19-21:45:32.416703 7f33223ff6c0 Manual compaction at level-0 from '!items!1cZd2hlTV9tykDED' @ 72057594037927935 : 1 .. '!items!y47dBO3Mf5Pn7tOd' @ 0 : 0; will stop at (end)
2023/12/19-21:45:32.416767 7f33223ff6c0 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-000014

0
packs/heritages/LOCK Normal file
View File

8
packs/heritages/LOG Normal file
View File

@ -0,0 +1,8 @@
2023/12/19-22:15:44.951754 7f35b8bfa6c0 Recovering log #12
2023/12/19-22:15:44.963535 7f35b8bfa6c0 Delete type=3 #10
2023/12/19-22:15:44.964185 7f35b8bfa6c0 Delete type=0 #12
2023/12/19-22:15:56.555768 7f33223ff6c0 Level-0 table #17: started
2023/12/19-22:15:56.555799 7f33223ff6c0 Level-0 table #17: 0 bytes OK
2023/12/19-22:15:56.562320 7f33223ff6c0 Delete type=0 #15
2023/12/19-22:15:56.583577 7f33223ff6c0 Manual compaction at level-0 from '!items!2GaJZsqr2c2mcDRv' @ 72057594037927935 : 1 .. '!items!ui4JGsGwHNlSXVK3' @ 0 : 0; will stop at (end)
2023/12/19-22:15:56.583652 7f33223ff6c0 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/12/19-21:45:05.858392 7f3323fff6c0 Recovering log #8
2023/12/19-21:45:05.908553 7f3323fff6c0 Delete type=3 #6
2023/12/19-21:45:05.908991 7f3323fff6c0 Delete type=0 #8
2023/12/19-21:45:32.431375 7f33223ff6c0 Level-0 table #13: started
2023/12/19-21:45:32.431443 7f33223ff6c0 Level-0 table #13: 0 bytes OK
2023/12/19-21:45:32.438078 7f33223ff6c0 Delete type=0 #11
2023/12/19-21:45:32.445311 7f33223ff6c0 Manual compaction at level-0 from '!items!2GaJZsqr2c2mcDRv' @ 72057594037927935 : 1 .. '!items!ui4JGsGwHNlSXVK3' @ 0 : 0; will stop at (end)
2023/12/19-21:45:32.445367 7f33223ff6c0 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/000016.log Normal file
View File

1
packs/metiers/CURRENT Normal file
View File

@ -0,0 +1 @@
MANIFEST-000014

0
packs/metiers/LOCK Normal file
View File

8
packs/metiers/LOG Normal file
View File

@ -0,0 +1,8 @@
2023/12/19-22:15:44.970720 7f33237fe6c0 Recovering log #12
2023/12/19-22:15:44.981711 7f33237fe6c0 Delete type=3 #10
2023/12/19-22:15:44.981816 7f33237fe6c0 Delete type=0 #12
2023/12/19-22:15:56.562486 7f33223ff6c0 Level-0 table #17: started
2023/12/19-22:15:56.562523 7f33223ff6c0 Level-0 table #17: 0 bytes OK
2023/12/19-22:15:56.569457 7f33223ff6c0 Delete type=0 #15
2023/12/19-22:15:56.583598 7f33223ff6c0 Manual compaction at level-0 from '!items!09s33sFuju8zjPqI' @ 72057594037927935 : 1 .. '!items!xlyFCQClBZ1N3O1B' @ 0 : 0; will stop at (end)
2023/12/19-22:15:56.583681 7f33223ff6c0 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/12/19-21:45:05.912064 7f35b8bfa6c0 Recovering log #8
2023/12/19-21:45:05.963227 7f35b8bfa6c0 Delete type=3 #6
2023/12/19-21:45:05.963379 7f35b8bfa6c0 Delete type=0 #8
2023/12/19-21:45:32.416916 7f33223ff6c0 Level-0 table #13: started
2023/12/19-21:45:32.416965 7f33223ff6c0 Level-0 table #13: 0 bytes OK
2023/12/19-21:45:32.424040 7f33223ff6c0 Delete type=0 #11
2023/12/19-21:45:32.445274 7f33223ff6c0 Manual compaction at level-0 from '!items!09s33sFuju8zjPqI' @ 72057594037927935 : 1 .. '!items!xlyFCQClBZ1N3O1B' @ 0 : 0; will stop at (end)
2023/12/19-21:45:32.445341 7f33223ff6c0 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-000014

0
packs/origines/LOCK Normal file
View File

8
packs/origines/LOG Normal file
View File

@ -0,0 +1,8 @@
2023/12/19-22:15:44.936602 7f3323fff6c0 Recovering log #12
2023/12/19-22:15:44.948721 7f3323fff6c0 Delete type=3 #10
2023/12/19-22:15:44.948846 7f3323fff6c0 Delete type=0 #12
2023/12/19-22:15:56.549013 7f33223ff6c0 Level-0 table #17: started
2023/12/19-22:15:56.549045 7f33223ff6c0 Level-0 table #17: 0 bytes OK
2023/12/19-22:15:56.555450 7f33223ff6c0 Delete type=0 #15
2023/12/19-22:15:56.555659 7f33223ff6c0 Manual compaction at level-0 from '!items!2t1KmBeQNuKK5qlN' @ 72057594037927935 : 1 .. '!items!yBvkQb9S64s908sR' @ 0 : 0; will stop at (end)
2023/12/19-22:15:56.555725 7f33223ff6c0 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/12/19-21:45:05.805812 7f3322ffd6c0 Recovering log #8
2023/12/19-21:45:05.854930 7f3322ffd6c0 Delete type=3 #6
2023/12/19-21:45:05.855021 7f3322ffd6c0 Delete type=0 #8
2023/12/19-21:45:32.408791 7f33223ff6c0 Level-0 table #13: started
2023/12/19-21:45:32.408828 7f33223ff6c0 Level-0 table #13: 0 bytes OK
2023/12/19-21:45:32.416539 7f33223ff6c0 Delete type=0 #11
2023/12/19-21:45:32.416752 7f33223ff6c0 Manual compaction at level-0 from '!items!2t1KmBeQNuKK5qlN' @ 72057594037927935 : 1 .. '!items!yBvkQb9S64s908sR' @ 0 : 0; will stop at (end)
2023/12/19-21:45:32.416795 7f33223ff6c0 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-000014

0
packs/protection/LOCK Normal file
View File

8
packs/protection/LOG Normal file
View File

@ -0,0 +1,8 @@
2023/12/19-22:15:44.893322 7f35b8bfa6c0 Recovering log #12
2023/12/19-22:15:44.904529 7f35b8bfa6c0 Delete type=3 #10
2023/12/19-22:15:44.904658 7f35b8bfa6c0 Delete type=0 #12
2023/12/19-22:15:56.509351 7f33223ff6c0 Level-0 table #17: started
2023/12/19-22:15:56.509416 7f33223ff6c0 Level-0 table #17: 0 bytes OK
2023/12/19-22:15:56.516961 7f33223ff6c0 Delete type=0 #15
2023/12/19-22:15:56.517201 7f33223ff6c0 Manual compaction at level-0 from '!items!2hD1DQVeCIQIXFU7' @ 72057594037927935 : 1 .. '!items!veoS6Gtzj6Dq087V' @ 0 : 0; will stop at (end)
2023/12/19-22:15:56.517244 7f33223ff6c0 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/12/19-21:45:05.639391 7f35b8bfa6c0 Recovering log #8
2023/12/19-21:45:05.691389 7f35b8bfa6c0 Delete type=3 #6
2023/12/19-21:45:05.691500 7f35b8bfa6c0 Delete type=0 #8
2023/12/19-21:45:32.386932 7f33223ff6c0 Level-0 table #13: started
2023/12/19-21:45:32.386986 7f33223ff6c0 Level-0 table #13: 0 bytes OK
2023/12/19-21:45:32.393562 7f33223ff6c0 Delete type=0 #11
2023/12/19-21:45:32.401503 7f33223ff6c0 Manual compaction at level-0 from '!items!2hD1DQVeCIQIXFU7' @ 72057594037927935 : 1 .. '!items!veoS6Gtzj6Dq087V' @ 0 : 0; will stop at (end)
2023/12/19-21:45:32.416722 7f33223ff6c0 Manual compaction at level-1 from '!items!2hD1DQVeCIQIXFU7' @ 72057594037927935 : 1 .. '!items!veoS6Gtzj6Dq087V' @ 0 : 0; will stop at (end)

Binary file not shown.

BIN
packs/runes/000005.ldb Normal file

Binary file not shown.

0
packs/runes/000016.log Normal file
View File

1
packs/runes/CURRENT Normal file
View File

@ -0,0 +1 @@
MANIFEST-000014

0
packs/runes/LOCK Normal file
View File

8
packs/runes/LOG Normal file
View File

@ -0,0 +1,8 @@
2023/12/19-22:15:45.016188 7f35b8bfa6c0 Recovering log #12
2023/12/19-22:15:45.028467 7f35b8bfa6c0 Delete type=3 #10
2023/12/19-22:15:45.028598 7f35b8bfa6c0 Delete type=0 #12
2023/12/19-22:15:56.583825 7f33223ff6c0 Level-0 table #17: started
2023/12/19-22:15:56.583863 7f33223ff6c0 Level-0 table #17: 0 bytes OK
2023/12/19-22:15:56.591144 7f33223ff6c0 Delete type=0 #15
2023/12/19-22:15:56.598388 7f33223ff6c0 Manual compaction at level-0 from '!items!1JqWbEkHUoKXbsgn' @ 72057594037927935 : 1 .. '!items!xnCf2xIPzdsUoBTy' @ 0 : 0; will stop at (end)
2023/12/19-22:15:56.598452 7f33223ff6c0 Manual compaction at level-1 from '!items!1JqWbEkHUoKXbsgn' @ 72057594037927935 : 1 .. '!items!xnCf2xIPzdsUoBTy' @ 0 : 0; will stop at (end)

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

@ -0,0 +1,8 @@
2023/12/19-21:45:06.072103 7f3323fff6c0 Recovering log #8
2023/12/19-21:45:06.135204 7f3323fff6c0 Delete type=3 #6
2023/12/19-21:45:06.135349 7f3323fff6c0 Delete type=0 #8
2023/12/19-21:45:32.445521 7f33223ff6c0 Level-0 table #13: started
2023/12/19-21:45:32.445555 7f33223ff6c0 Level-0 table #13: 0 bytes OK
2023/12/19-21:45:32.453598 7f33223ff6c0 Delete type=0 #11
2023/12/19-21:45:32.461415 7f33223ff6c0 Manual compaction at level-0 from '!items!1JqWbEkHUoKXbsgn' @ 72057594037927935 : 1 .. '!items!xnCf2xIPzdsUoBTy' @ 0 : 0; will stop at (end)
2023/12/19-21:45:32.461494 7f33223ff6c0 Manual compaction at level-1 from '!items!1JqWbEkHUoKXbsgn' @ 72057594037927935 : 1 .. '!items!xnCf2xIPzdsUoBTy' @ 0 : 0; will stop at (end)

BIN
packs/runes/MANIFEST-000014 Normal file

Binary file not shown.

BIN
packs/skills/000005.ldb Normal file

Binary file not shown.

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

1
packs/skills/CURRENT Normal file
View File

@ -0,0 +1 @@
MANIFEST-000014

0
packs/skills/LOCK Normal file
View File

8
packs/skills/LOG Normal file
View File

@ -0,0 +1,8 @@
2023/12/19-22:15:44.865290 7f3322ffd6c0 Recovering log #12
2023/12/19-22:15:44.876647 7f3322ffd6c0 Delete type=3 #10
2023/12/19-22:15:44.876743 7f3322ffd6c0 Delete type=0 #12
2023/12/19-22:15:56.490933 7f33223ff6c0 Level-0 table #17: started
2023/12/19-22:15:56.490979 7f33223ff6c0 Level-0 table #17: 0 bytes OK
2023/12/19-22:15:56.498758 7f33223ff6c0 Delete type=0 #15
2023/12/19-22:15:56.517170 7f33223ff6c0 Manual compaction at level-0 from '!items!0LlzDyCurJedqeyG' @ 72057594037927935 : 1 .. '!items!tq6mEgXog7h4VyWk' @ 0 : 0; will stop at (end)
2023/12/19-22:15:56.527510 7f33223ff6c0 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/12/19-21:45:05.522800 7f33237fe6c0 Recovering log #8
2023/12/19-21:45:05.576713 7f33237fe6c0 Delete type=3 #6
2023/12/19-21:45:05.576894 7f33237fe6c0 Delete type=0 #8
2023/12/19-21:45:32.360607 7f33223ff6c0 Level-0 table #13: started
2023/12/19-21:45:32.360665 7f33223ff6c0 Level-0 table #13: 0 bytes OK
2023/12/19-21:45:32.368046 7f33223ff6c0 Delete type=0 #11
2023/12/19-21:45:32.375090 7f33223ff6c0 Manual compaction at level-0 from '!items!0LlzDyCurJedqeyG' @ 72057594037927935 : 1 .. '!items!tq6mEgXog7h4VyWk' @ 0 : 0; will stop at (end)
2023/12/19-21:45:32.386907 7f33223ff6c0 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/000016.log Normal file
View File

1
packs/tables/CURRENT Normal file
View File

@ -0,0 +1 @@
MANIFEST-000014

0
packs/tables/LOCK Normal file
View File

8
packs/tables/LOG Normal file
View File

@ -0,0 +1,8 @@
2023/12/19-22:15:45.032291 7f33237fe6c0 Recovering log #12
2023/12/19-22:15:45.043647 7f33237fe6c0 Delete type=3 #10
2023/12/19-22:15:45.043790 7f33237fe6c0 Delete type=0 #12
2023/12/19-22:15:56.591612 7f33223ff6c0 Level-0 table #17: started
2023/12/19-22:15:56.591671 7f33223ff6c0 Level-0 table #17: 0 bytes OK
2023/12/19-22:15:56.598156 7f33223ff6c0 Delete type=0 #15
2023/12/19-22:15:56.598427 7f33223ff6c0 Manual compaction at level-0 from '!tables!zV2oJy8JZE0nngRY' @ 72057594037927935 : 1 .. '!tables.results!zV2oJy8JZE0nngRY.wTMX1TbxljHmHImp' @ 0 : 0; will stop at (end)
2023/12/19-22:15:56.598479 7f33223ff6c0 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/12/19-21:45:06.139613 7f35b8bfa6c0 Recovering log #8
2023/12/19-21:45:06.235086 7f35b8bfa6c0 Delete type=3 #6
2023/12/19-21:45:06.235238 7f35b8bfa6c0 Delete type=0 #8
2023/12/19-21:45:32.453793 7f33223ff6c0 Level-0 table #13: started
2023/12/19-21:45:32.454273 7f33223ff6c0 Level-0 table #13: 0 bytes OK
2023/12/19-21:45:32.461277 7f33223ff6c0 Delete type=0 #11
2023/12/19-21:45:32.461479 7f33223ff6c0 Manual compaction at level-0 from '!tables!zV2oJy8JZE0nngRY' @ 72057594037927935 : 1 .. '!tables.results!zV2oJy8JZE0nngRY.wTMX1TbxljHmHImp' @ 0 : 0; will stop at (end)
2023/12/19-21:45:32.461521 7f33223ff6c0 Manual compaction at level-1 from '!tables!zV2oJy8JZE0nngRY' @ 72057594037927935 : 1 .. '!tables.results!zV2oJy8JZE0nngRY.wTMX1TbxljHmHImp' @ 0 : 0; will stop at (end)

Binary file not shown.

BIN
packs/tendances/000005.ldb Normal file

Binary file not shown.

View File

1
packs/tendances/CURRENT Normal file
View File

@ -0,0 +1 @@
MANIFEST-000014

0
packs/tendances/LOCK Normal file
View File

8
packs/tendances/LOG Normal file
View File

@ -0,0 +1,8 @@
2023/12/19-22:15:44.985004 7f3322ffd6c0 Recovering log #12
2023/12/19-22:15:44.996556 7f3322ffd6c0 Delete type=3 #10
2023/12/19-22:15:44.996666 7f3322ffd6c0 Delete type=0 #12
2023/12/19-22:15:56.569866 7f33223ff6c0 Level-0 table #17: started
2023/12/19-22:15:56.569902 7f33223ff6c0 Level-0 table #17: 0 bytes OK
2023/12/19-22:15:56.576414 7f33223ff6c0 Delete type=0 #15
2023/12/19-22:15:56.583619 7f33223ff6c0 Manual compaction at level-0 from '!items!0CYP1JpZu9mst5tK' @ 72057594037927935 : 1 .. '!items!zhPPsmTtLv7cyNHJ' @ 0 : 0; will stop at (end)
2023/12/19-22:15:56.583665 7f33223ff6c0 Manual compaction at level-1 from '!items!0CYP1JpZu9mst5tK' @ 72057594037927935 : 1 .. '!items!zhPPsmTtLv7cyNHJ' @ 0 : 0; will stop at (end)

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

@ -0,0 +1,8 @@
2023/12/19-21:45:05.967132 7f33237fe6c0 Recovering log #8
2023/12/19-21:45:06.023933 7f33237fe6c0 Delete type=3 #6
2023/12/19-21:45:06.024035 7f33237fe6c0 Delete type=0 #8
2023/12/19-21:45:32.424193 7f33223ff6c0 Level-0 table #13: started
2023/12/19-21:45:32.424227 7f33223ff6c0 Level-0 table #13: 0 bytes OK
2023/12/19-21:45:32.431033 7f33223ff6c0 Delete type=0 #11
2023/12/19-21:45:32.445293 7f33223ff6c0 Manual compaction at level-0 from '!items!0CYP1JpZu9mst5tK' @ 72057594037927935 : 1 .. '!items!zhPPsmTtLv7cyNHJ' @ 0 : 0; will stop at (end)
2023/12/19-21:45:32.445354 7f33223ff6c0 Manual compaction at level-1 from '!items!0CYP1JpZu9mst5tK' @ 72057594037927935 : 1 .. '!items!zhPPsmTtLv7cyNHJ' @ 0 : 0; will stop at (end)

Binary file not shown.

Binary file not shown.

View File

View File

@ -0,0 +1 @@
MANIFEST-000014

View File

View File

@ -0,0 +1,8 @@
2023/12/19-22:15:45.002228 7f3323fff6c0 Recovering log #12
2023/12/19-22:15:45.012868 7f3323fff6c0 Delete type=3 #10
2023/12/19-22:15:45.013004 7f3323fff6c0 Delete type=0 #12
2023/12/19-22:15:56.576566 7f33223ff6c0 Level-0 table #17: started
2023/12/19-22:15:56.576602 7f33223ff6c0 Level-0 table #17: 0 bytes OK
2023/12/19-22:15:56.583396 7f33223ff6c0 Delete type=0 #15
2023/12/19-22:15:56.583635 7f33223ff6c0 Manual compaction at level-0 from '!items!3J0HKjcVtBT39BiR' @ 72057594037927935 : 1 .. '!items!zeOtWz6oscp8Su5l' @ 0 : 0; will stop at (end)
2023/12/19-22:15:56.583698 7f33223ff6c0 Manual compaction at level-1 from '!items!3J0HKjcVtBT39BiR' @ 72057594037927935 : 1 .. '!items!zeOtWz6oscp8Su5l' @ 0 : 0; will stop at (end)

View File

@ -0,0 +1,8 @@
2023/12/19-21:45:06.026707 7f3322ffd6c0 Recovering log #8
2023/12/19-21:45:06.068733 7f3322ffd6c0 Delete type=3 #6
2023/12/19-21:45:06.068870 7f3322ffd6c0 Delete type=0 #8
2023/12/19-21:45:32.438292 7f33223ff6c0 Level-0 table #13: started
2023/12/19-21:45:32.438343 7f33223ff6c0 Level-0 table #13: 0 bytes OK
2023/12/19-21:45:32.445131 7f33223ff6c0 Delete type=0 #11
2023/12/19-21:45:32.445326 7f33223ff6c0 Manual compaction at level-0 from '!items!3J0HKjcVtBT39BiR' @ 72057594037927935 : 1 .. '!items!zeOtWz6oscp8Su5l' @ 0 : 0; will stop at (end)
2023/12/19-21:45:32.445381 7f33223ff6c0 Manual compaction at level-1 from '!items!3J0HKjcVtBT39BiR' @ 72057594037927935 : 1 .. '!items!zeOtWz6oscp8Su5l' @ 0 : 0; will stop at (end)

Binary file not shown.

View File

@ -302,6 +302,12 @@ table {border: 1px solid #7a7971;}
font-size: 0.8rem;
}
.predilection-text {
padding-left: 8px;
font-style: italic;
font-size: 0.6rem;
}
.editor {
border: 2;
height: 300px;
@ -924,8 +930,6 @@ ul, li {
}
#sidebar #sidebar-tabs i{
width: 25px;
height: 25px;
display: inline-block;
background-position:center;
background-size:cover;

View File

@ -1,7 +1,7 @@
{
"id": "fvtt-mournblade",
"description": "Mournblade RPG for FoundryVTT",
"version": "10.0.12",
"version": "11.0.2",
"authors": [
{
"name": "Uberwald/LeRatierBretonnien",
@ -11,11 +11,19 @@
"esmodules": [
"modules/mournblade-main.js"
],
"languages": [
{
"lang": "fr",
"name": "French",
"path": "lang/fr.json",
"flags": {}
}
],
"gridDistance": 5,
"gridUnits": "m",
"license": "LICENSE.txt",
"manifest": "https://www.uberwald.me/gitea/public/fvtt-mournblade/raw/branch/v10/system.json",
"download": "https://www.uberwald.me/gitea/public/fvtt-mournblade/archive/fvtt-mournblade-10.0.12.zip",
"download": "https://www.uberwald.me/gitea/public/fvtt-mournblade/archive/fvtt-mournblade-11.0.2.zip",
"packs": [
{
"type": "Item",
@ -23,8 +31,8 @@
"name": "skills",
"path": "packs/skills.db",
"system": "fvtt-mournblade",
"private": false,
"flags": {}
"flags": {},
"private": false
},
{
"type": "Item",
@ -32,8 +40,8 @@
"name": "armes",
"path": "packs/armes.db",
"system": "fvtt-mournblade",
"private": false,
"flags": {}
"flags": {},
"private": false
},
{
"type": "Item",
@ -41,8 +49,8 @@
"name": "protection",
"path": "packs/protection.db",
"system": "fvtt-mournblade",
"private": false,
"flags": {}
"flags": {},
"private": false
},
{
"type": "Item",
@ -50,8 +58,8 @@
"name": "equipement",
"path": "packs/equipement.db",
"system": "fvtt-mournblade",
"private": false,
"flags": {}
"flags": {},
"private": false
},
{
"label": "Dons",
@ -59,8 +67,8 @@
"name": "dons",
"path": "packs/dons.db",
"system": "fvtt-mournblade",
"private": false,
"flags": {}
"flags": {},
"private": false
},
{
"type": "Item",
@ -68,8 +76,8 @@
"name": "origines",
"path": "packs/origines.db",
"system": "fvtt-mournblade",
"private": false,
"flags": {}
"flags": {},
"private": false
},
{
"type": "Item",
@ -77,8 +85,8 @@
"name": "heritages",
"path": "packs/heritages.db",
"system": "fvtt-mournblade",
"private": false,
"flags": {}
"flags": {},
"private": false
},
{
"type": "Item",
@ -86,8 +94,8 @@
"name": "metiers",
"path": "packs/metiers.db",
"system": "fvtt-mournblade",
"private": false,
"flags": {}
"flags": {},
"private": false
},
{
"type": "Item",
@ -95,8 +103,8 @@
"name": "tendances",
"path": "packs/tendances.db",
"system": "fvtt-mournblade",
"private": false,
"flags": {}
"flags": {},
"private": false
},
{
"type": "Item",
@ -104,8 +112,8 @@
"name": "traits-chaotiques",
"path": "packs/traits-chaotiques.db",
"system": "fvtt-mournblade",
"private": false,
"flags": {}
"flags": {},
"private": false
},
{
"type": "Item",
@ -113,8 +121,8 @@
"name": "runes",
"path": "packs/runes.db",
"system": "fvtt-mournblade",
"private": false,
"flags": {}
"flags": {},
"private": false
},
{
"type": "RollTable",
@ -122,8 +130,8 @@
"name": "tables",
"path": "packs/tables.db",
"system": "fvtt-mournblade",
"private": false,
"flags": {}
"flags": {},
"private": false
}
],
"primaryTokenAttribute": "secondary.health",
@ -137,7 +145,7 @@
"background": "systems/fvtt-mournblade/assets/ui/fond_mournblade.webp",
"compatibility": {
"minimum": "10",
"verified": "10.286",
"maximum": "10"
"maximum": "11",
"verified": "11"
}
}

View File

@ -233,6 +233,8 @@
]
},
"monnaie": {
"quantite": 0,
"unite": "",
"templates": [
"base"
]

View File

@ -196,8 +196,17 @@
{{#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"
data-attr-key="tochoose">{{skill.name}}</a></span>
<div class="flexcol item-name-label">
<span class="item-name-label competence-name"><a class="roll-competence"
data-attr-key="tochoose">{{skill.name}}</a></span>
<span class="predilection-text">
{{#each skill.system.predilections as |pred key|}}
{{pred.name}},
{{/each}}
</span>
</div>
<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}}
@ -277,7 +286,7 @@
<span class="item-name-label-header">
<h3><label class="items-title-text">Runes</label></h3>
</span>
<span class="item-field-label-short">
<span class="item-field-label-long">
<label class="short-label">Haut parler</label>
</span>
<span class="item-field-label-short">
@ -291,7 +300,7 @@
<li class="item flexrow " data-item-id="{{rune._id}}" data-item-type="rune">
<img class="item-name-img" src="{{rune.img}}" />
<span class="item-name-label competence-name"><a class="roll-rune">{{rune.name}}</a></span>
<span class="item-field-label-short">{{rune.system.formule}}</span>
<span class="item-field-label-long">{{rune.system.formule}}</span>
<span class="item-field-label-short">{{rune.system.seuil}}</span>
<div class="item-filler">&nbsp;</div>
<div class="item-controls item-controls-fixed">
@ -332,6 +341,30 @@
</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-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>
@ -342,6 +375,43 @@
<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">Richesses et Argent</label></h3>
</span>
<span class="item-field-label-medium">
<label class="short-label">Quantité</label>
</span>
<span class="item-field-label-medium">
<label class="short-label">Unité</label>
</span>
<div class="item-filler">&nbsp;</div>
<div class="item-controls item-controls-fixed">
<a class="item-control item-add" data-type="monnaie" title="Ajouter une monnaie"><i
class="fas fa-plus"></i></a>
</div>
</li>
{{#each monnaies as |monnaie key|}}
<li class="item flexrow " data-item-id="{{monnaie._id}}" data-item-type="monnaie">
<img class="item-name-img" src="{{monnaie.img}}" />
<span class="item-name-label competence-name">{{monnaie.name}}</span>
<span class="item-name-label competence-name item-field-label-medium">{{monnaie.system.quantite}}
<a class="quantity-modify plus-minus-button" data-quantite-value="-1">-</a>
<a class="quantity-modify plus-minus-button" data-quantite-value="+1">+</a>
</span>
<span class="item-name-label competence-name item-field-label-medium">{{monnaie.system.unite}}</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">
@ -413,7 +483,7 @@
</span>
<div class="item-filler">&nbsp;</div>
<div class="item-controls item-controls-fixed">
<a class="item-control item-add" data-type="arme" title="Ajouter une arme"><i
<a class="item-control item-add" data-type="protection" title="Ajouter une protection"><i
class="fas fa-plus"></i></a>
</div>
</li>
@ -442,7 +512,7 @@
</span>
<div class="item-filler">&nbsp;</div>
<div class="item-controls item-controls-fixed">
<a class="item-control item-add" data-type="arme" title="Ajouter une arme"><i
<a class="item-control item-add" data-type="equipement" title="Ajouter un équipement"><i
class="fas fa-plus"></i></a>
</div>
</li>

View File

@ -40,6 +40,13 @@
{{/if}}
<li>Formule : {{diceFormula}}</li>
<li>Dé : {{diceResult}}</li>
{{#if difficulte}}
<li>Difficulté : {{difficulte}}</li>
{{/if}}
<li></li>
<li>Total : {{finalResult}}</li>
{{#if difficulte}}

View File

@ -10,8 +10,18 @@
<section class="sheet-body">
<div class="flexcol">
{{> systems/fvtt-mournblade/templates/partial-item-description.html}}
<div class="flexcol">
<span class="flexrow">
<label class="generic-label">Quantité : </label>
<input type="text" class="padd-right status-small-label color-class-common" name="system.quantite" value="{{data.quantite}}" data-dtype="Number" />
</span>
<span class="flexrow">
<label class="generic-label">Unité/Monnaie : </label>
<input type="text" class="padd-right color-class-common" name="system.unite" value="{{data.unite}}" data-dtype="String" />
</span>
{{> systems/fvtt-mournblade/templates/partial-item-description.html}}
</div>

View File

@ -1,6 +1,6 @@
<span>
<h3>Description</h3>
</span>
<div class="medium-editor item-text-long-line">
<div class="editor item-text-long-line">
{{editor description target="system.description" button=true owner=owner editable=editable}}
</div>