diff --git a/modules/actors/tedeum-actor.js b/modules/actors/tedeum-actor.js index f7b4630..f826b27 100644 --- a/modules/actors/tedeum-actor.js +++ b/modules/actors/tedeum-actor.js @@ -51,6 +51,22 @@ export class TeDeumActor extends Actor { async prepareData() { super.prepareData() + + } + + /* -------------------------------------------- */ + prepareDerivedData() { + super.prepareDerivedData(); + } + + /* -------------------------------------------- */ + _preUpdate(changed, options, user) { + + super._preUpdate(changed, options, user); + } + + /* -------------------------------------------- */ + _onUpdate(changed, options, userId) { let updates = [] let memoriser = this.items.find(item => item.type == "competence" && item.name.toLowerCase() == "mémoriser") let newScore = this.getCommonBaseValue(this.system.caracteristiques.adresse.value) @@ -101,22 +117,10 @@ export class TeDeumActor extends Actor { } if (updates.length > 0) { - await this.updateEmbeddedDocuments('Item', updates) + this.updateEmbeddedDocuments('Item', updates) } - } - - /* -------------------------------------------- */ - prepareDerivedData() { - super.prepareDerivedData(); - } - - /* -------------------------------------------- */ - _preUpdate(changed, options, user) { - - super._preUpdate(changed, options, user); - } - + /* -------------------------------------------- */ async _preCreate(data, options, user) { await super._preCreate(data, options, user); @@ -302,6 +306,7 @@ export class TeDeumActor extends Actor { for (let key in carac) { let c = carac[key] this.updateCarac(c, key) + c.description = game.system.tedeum.config.caracteristiques[key].description } return carac } @@ -311,6 +316,7 @@ export class TeDeumActor extends Actor { providence.name = "Providence" providence.qualite = game.system.tedeum.config.providence[providence.value].labelM providence.dice = game.system.tedeum.config.providence[providence.value].diceValue + providence.description = "La Providence représente la Volonté Divine à l'œuvre pour guider ou sauver un être humain. Les PJ montent dans l’échelle de la Providence en menant à bien leurs missions et en se montrant vertueux. Les points de Providence peuvent servir à augmenter temporairement une caractéris- tique, à modifier la gravité d'une blessure, et à résister au vieillissement. Chaque person- nage commence avec un score initial de 1 en Providence (au niveau Pauvre pécheur)." return providence } /* -------------------------------------------- */ diff --git a/modules/app/tedeum-character-creator.js b/modules/app/tedeum-character-creator.js index 27e5829..49ec261 100644 --- a/modules/app/tedeum-character-creator.js +++ b/modules/app/tedeum-character-creator.js @@ -89,6 +89,17 @@ export class TeDeumCharacterCreator { }, rejectClose: false, // Click on Close button will not launch an error render: (event, dialog) => { + $(".stage-selector").change(event => { + let stageId = event.target.value + let stage = context.choices.find(item => item.id === stageId) + let link = `${stage.name}` + $(".stage-main-details").html(`Voir le détail : ${link}`) + }) + + document.getElementById("stage-selector").dispatchEvent(new Event('change')) + } }) return choiceResult diff --git a/modules/common/tedeum-config.js b/modules/common/tedeum-config.js index ffebcde..5b5b4d2 100644 --- a/modules/common/tedeum-config.js +++ b/modules/common/tedeum-config.js @@ -86,12 +86,12 @@ export const TEDEUM_CONFIG = { }, caracteristiques: { - savoir: { id: "savoir", value: "savoir", label: "Savoir" }, - sensibilite: { id: "sensibilite", value: "sensibilite", label: "Sensibilité" }, - entregent: { id: "entregent", value: "entregent", label: "Entregent" }, - complexion: { id: "complexion", value: "complexion", label: "Complexion" }, - puissance: { id: "puissance", value: "puissance", label: "Puissance" }, - adresse: { id: "adresse", value: "adresse", label: "Adresse" }, + savoir: { id: "savoir", value: "savoir", label: "Savoir", description:"Cette caractéristique correspond à la capacité d'abstraction intellectuelle ainsi qu'à la culture générale du personnage. Elle permet d'évaluer la compétence de base Mémoriser." }, + sensibilite: { id: "sensibilite", value: "sensibilite", label: "Sensibilité", description: "Cette caractéristique correspond à l'ouverture du personnage sur le monde. Elle englobe l'altruisme, la spiritualité et la créativité du personnage. Elle permet d'évaluer la compétence de base Perception." }, + entregent: { id: "entregent", value: "entregent", label: "Entregent", description: "Cette caractéristique correspond à l'ensemble des prédispositions sociales du personnage. Elle englobe le charisme et le respect des usages. Elle permet d'évaluer la compétence de base Charme." }, + complexion: { id: "complexion", value: "complexion", label: "Complexion", description: "Cette caractéristique permet d'évaluer la santé et la résistance physique du per- sonnage. Elle permet de calculer la com- pétence de base Endurance, capitale dans la résolution des blessures, la résistance à la douleur, au poison et aux maladies." }, + puissance: { id: "puissance", value: "puissance", label: "Puissance", description: "Cette caractéristique correspond à la force physique du personnage. Elle permet d'évaluer la compétence de base Effort, le bonus de dégâts au corps à corps, ainsi que le nombre de pièces d'armure lourde qu'un per- sonnage peut endosser sans être trop ralenti." }, + adresse: { id: "adresse", value: "adresse", label: "Adresse", description: "Cette caractéristique correspond à la rapidité et la dextérité du personnage. Elle livre le nombre d'actions qu'un personnage peut accomplir en un tour de combat et permet d'évaluer les compétences de base Initiative & Course." }, }, allonges: { courte: { courte: { malus: 0 }, moyenne: { malus: -1 }, longue: { malus: -2 }, treslongue: { malus: 0, esquive: 2 } }, diff --git a/modules/common/tedeum-utility.js b/modules/common/tedeum-utility.js index 52094f8..18078b1 100644 --- a/modules/common/tedeum-utility.js +++ b/modules/common/tedeum-utility.js @@ -5,6 +5,14 @@ export class TeDeumUtility { /* -------------------------------------------- */ static async init() { + + CONFIG.Actor.compendiumBanner = "systems/fvtt-te-deum/images/ui/compendium_banner.webp" + CONFIG.Item.compendiumBanner = "systems/fvtt-te-deum/images/ui/compendium_banner.webp" + CONFIG.Scene.compendiumBanner = "systems/fvtt-te-deum/images/ui/compendium_banner.webp" + CONFIG.JournalEntry.compendiumBanner = "systems/fvtt-te-deum/images/ui/compendium_banner.webp" + CONFIG.Macro.compendiumBanner = "systems/fvtt-te-deum/images/ui/compendium_banner.webp" + CONFIG.Adventure.compendiumBanner = "systems/fvtt-te-deum/images/ui/compendium_banner.webp" + Hooks.on('renderChatLog', (log, html, data) => TeDeumUtility.chatListeners(html)); Hooks.on("renderActorDirectory", (app, html, data) => { @@ -114,8 +122,11 @@ export class TeDeumUtility { ChatMessage.create({ user: game.user.id, whisper: [game.user.id], - content: `
- Bienvenu dans Te Deum Pour Un Massacre !` }); + content: `
+ Bienvenu dans Te Deum Pour Un Massacre ! +
Ce système vous est proposé par Open Sesame Games.
+ Vous trouverez de l'aide dans @UUID[Compendium.fvtt-te-deum.aides.JournalEntry.uNwJgi4kXBCiZmAH]{Aide pour Te Deum}
+ ainsi que sur le Discord de Foundry FR : https://discord.gg/pPSDNJk
` }); } } diff --git a/packs/armes/000095.log b/packs/armes/000095.log deleted file mode 100644 index e69de29..0000000 diff --git a/packs/armes/CURRENT b/packs/armes/CURRENT index f60e23b..2a5d251 100644 --- a/packs/armes/CURRENT +++ b/packs/armes/CURRENT @@ -1 +1 @@ -MANIFEST-000093 +MANIFEST-000105 diff --git a/packs/armes/LOG b/packs/armes/LOG index 4ba8687..e8bfcb0 100644 --- a/packs/armes/LOG +++ b/packs/armes/LOG @@ -1,7 +1,7 @@ -2025/02/04-21:02:31.762956 7ffae7fff6c0 Recovering log #91 -2025/02/04-21:02:31.818029 7ffae7fff6c0 Delete type=3 #89 -2025/02/04-21:02:31.818138 7ffae7fff6c0 Delete type=0 #91 -2025/02/04-21:19:59.587312 7ffae6bff6c0 Level-0 table #96: started -2025/02/04-21:19:59.587344 7ffae6bff6c0 Level-0 table #96: 0 bytes OK -2025/02/04-21:19:59.594402 7ffae6bff6c0 Delete type=0 #94 -2025/02/04-21:19:59.600680 7ffae6bff6c0 Manual compaction at level-0 from '!folders!InCQeTRdT5jXMX82' @ 72057594037927935 : 1 .. '!items!wxIHkrq98eQ3cOvp' @ 0 : 0; will stop at (end) +2025/02/05-20:07:00.600917 7ffae7fff6c0 Recovering log #103 +2025/02/05-20:07:00.611719 7ffae7fff6c0 Delete type=3 #101 +2025/02/05-20:07:00.611830 7ffae7fff6c0 Delete type=0 #103 +2025/02/05-20:50:19.838224 7ffae6bff6c0 Level-0 table #108: started +2025/02/05-20:50:19.838303 7ffae6bff6c0 Level-0 table #108: 0 bytes OK +2025/02/05-20:50:19.844606 7ffae6bff6c0 Delete type=0 #106 +2025/02/05-20:50:19.863174 7ffae6bff6c0 Manual compaction at level-0 from '!folders!InCQeTRdT5jXMX82' @ 72057594037927935 : 1 .. '!items!wxIHkrq98eQ3cOvp' @ 0 : 0; will stop at (end) diff --git a/packs/armes/LOG.old b/packs/armes/LOG.old index 4b13ab4..9be2f8b 100644 --- a/packs/armes/LOG.old +++ b/packs/armes/LOG.old @@ -1,7 +1,7 @@ -2025/02/04-20:38:48.117192 7ffaecbf96c0 Recovering log #87 -2025/02/04-20:38:48.132558 7ffaecbf96c0 Delete type=3 #85 -2025/02/04-20:38:48.132625 7ffaecbf96c0 Delete type=0 #87 -2025/02/04-21:02:18.061942 7ffae6bff6c0 Level-0 table #92: started -2025/02/04-21:02:18.061980 7ffae6bff6c0 Level-0 table #92: 0 bytes OK -2025/02/04-21:02:18.096060 7ffae6bff6c0 Delete type=0 #90 -2025/02/04-21:02:18.239725 7ffae6bff6c0 Manual compaction at level-0 from '!folders!InCQeTRdT5jXMX82' @ 72057594037927935 : 1 .. '!items!wxIHkrq98eQ3cOvp' @ 0 : 0; will stop at (end) +2025/02/05-12:14:01.374504 7ffaed3fa6c0 Recovering log #99 +2025/02/05-12:14:01.467339 7ffaed3fa6c0 Delete type=3 #97 +2025/02/05-12:14:01.467398 7ffaed3fa6c0 Delete type=0 #99 +2025/02/05-14:15:33.486059 7ffae6bff6c0 Level-0 table #104: started +2025/02/05-14:15:33.486083 7ffae6bff6c0 Level-0 table #104: 0 bytes OK +2025/02/05-14:15:33.524089 7ffae6bff6c0 Delete type=0 #102 +2025/02/05-14:15:33.599085 7ffae6bff6c0 Manual compaction at level-0 from '!folders!InCQeTRdT5jXMX82' @ 72057594037927935 : 1 .. '!items!wxIHkrq98eQ3cOvp' @ 0 : 0; will stop at (end) diff --git a/packs/armes/MANIFEST-000093 b/packs/armes/MANIFEST-000093 deleted file mode 100644 index c5894b9..0000000 Binary files a/packs/armes/MANIFEST-000093 and /dev/null differ diff --git a/packs/armures/000095.log b/packs/armures/000095.log deleted file mode 100644 index e69de29..0000000 diff --git a/packs/armures/CURRENT b/packs/armures/CURRENT index f60e23b..2a5d251 100644 --- a/packs/armures/CURRENT +++ b/packs/armures/CURRENT @@ -1 +1 @@ -MANIFEST-000093 +MANIFEST-000105 diff --git a/packs/armures/LOG b/packs/armures/LOG index 86c2fe6..5a4db21 100644 --- a/packs/armures/LOG +++ b/packs/armures/LOG @@ -1,7 +1,7 @@ -2025/02/04-21:02:31.823403 7ffaed3fa6c0 Recovering log #91 -2025/02/04-21:02:31.879026 7ffaed3fa6c0 Delete type=3 #89 -2025/02/04-21:02:31.879103 7ffaed3fa6c0 Delete type=0 #91 -2025/02/04-21:19:59.594567 7ffae6bff6c0 Level-0 table #96: started -2025/02/04-21:19:59.594605 7ffae6bff6c0 Level-0 table #96: 0 bytes OK -2025/02/04-21:19:59.600531 7ffae6bff6c0 Delete type=0 #94 -2025/02/04-21:19:59.600692 7ffae6bff6c0 Manual compaction at level-0 from '!folders!2wTJBj3dicRKzNOE' @ 72057594037927935 : 1 .. '!items!ufvhWG5V8pX0qrtR' @ 0 : 0; will stop at (end) +2025/02/05-20:07:00.616342 7ffaecbf96c0 Recovering log #103 +2025/02/05-20:07:00.627971 7ffaecbf96c0 Delete type=3 #101 +2025/02/05-20:07:00.628058 7ffaecbf96c0 Delete type=0 #103 +2025/02/05-20:50:19.844802 7ffae6bff6c0 Level-0 table #108: started +2025/02/05-20:50:19.844850 7ffae6bff6c0 Level-0 table #108: 0 bytes OK +2025/02/05-20:50:19.851086 7ffae6bff6c0 Delete type=0 #106 +2025/02/05-20:50:19.863187 7ffae6bff6c0 Manual compaction at level-0 from '!folders!2wTJBj3dicRKzNOE' @ 72057594037927935 : 1 .. '!items!ufvhWG5V8pX0qrtR' @ 0 : 0; will stop at (end) diff --git a/packs/armures/LOG.old b/packs/armures/LOG.old index 7f9509c..28ccb80 100644 --- a/packs/armures/LOG.old +++ b/packs/armures/LOG.old @@ -1,7 +1,7 @@ -2025/02/04-20:38:48.136363 7ffae7fff6c0 Recovering log #87 -2025/02/04-20:38:48.155326 7ffae7fff6c0 Delete type=3 #85 -2025/02/04-20:38:48.155397 7ffae7fff6c0 Delete type=0 #87 -2025/02/04-21:02:18.203925 7ffae6bff6c0 Level-0 table #92: started -2025/02/04-21:02:18.203951 7ffae6bff6c0 Level-0 table #92: 0 bytes OK -2025/02/04-21:02:18.239602 7ffae6bff6c0 Delete type=0 #90 -2025/02/04-21:02:18.293406 7ffae6bff6c0 Manual compaction at level-0 from '!folders!2wTJBj3dicRKzNOE' @ 72057594037927935 : 1 .. '!items!ufvhWG5V8pX0qrtR' @ 0 : 0; will stop at (end) +2025/02/05-12:14:01.471160 7ffae77fe6c0 Recovering log #99 +2025/02/05-12:14:01.565698 7ffae77fe6c0 Delete type=3 #97 +2025/02/05-12:14:01.566036 7ffae77fe6c0 Delete type=0 #99 +2025/02/05-14:15:33.524233 7ffae6bff6c0 Level-0 table #104: started +2025/02/05-14:15:33.524264 7ffae6bff6c0 Level-0 table #104: 0 bytes OK +2025/02/05-14:15:33.567895 7ffae6bff6c0 Delete type=0 #102 +2025/02/05-14:15:33.599098 7ffae6bff6c0 Manual compaction at level-0 from '!folders!2wTJBj3dicRKzNOE' @ 72057594037927935 : 1 .. '!items!ufvhWG5V8pX0qrtR' @ 0 : 0; will stop at (end) diff --git a/packs/armures/MANIFEST-000093 b/packs/armures/MANIFEST-000093 deleted file mode 100644 index 9c1afb0..0000000 Binary files a/packs/armures/MANIFEST-000093 and /dev/null differ diff --git a/packs/competences/000092.log b/packs/competences/000092.log deleted file mode 100644 index e69de29..0000000 diff --git a/packs/competences/CURRENT b/packs/competences/CURRENT index 2f2c868..e333c89 100644 --- a/packs/competences/CURRENT +++ b/packs/competences/CURRENT @@ -1 +1 @@ -MANIFEST-000090 +MANIFEST-000102 diff --git a/packs/competences/LOG b/packs/competences/LOG index d1349d1..359bbf5 100644 --- a/packs/competences/LOG +++ b/packs/competences/LOG @@ -1,7 +1,7 @@ -2025/02/04-21:02:31.705177 7ffaecbf96c0 Recovering log #87 -2025/02/04-21:02:31.757867 7ffaecbf96c0 Delete type=3 #85 -2025/02/04-21:02:31.757943 7ffaecbf96c0 Delete type=0 #87 -2025/02/04-21:19:59.571612 7ffae6bff6c0 Level-0 table #93: started -2025/02/04-21:19:59.571661 7ffae6bff6c0 Level-0 table #93: 0 bytes OK -2025/02/04-21:19:59.579281 7ffae6bff6c0 Delete type=0 #91 -2025/02/04-21:19:59.600650 7ffae6bff6c0 Manual compaction at level-0 from '!folders!4OPhigzcPv46qbWW' @ 72057594037927935 : 1 .. '!items!yx4k7lQHGcom99mk' @ 0 : 0; will stop at (end) +2025/02/05-20:07:00.587007 7ffaed3fa6c0 Recovering log #100 +2025/02/05-20:07:00.596905 7ffaed3fa6c0 Delete type=3 #98 +2025/02/05-20:07:00.596964 7ffaed3fa6c0 Delete type=0 #100 +2025/02/05-20:50:19.857097 7ffae6bff6c0 Level-0 table #105: started +2025/02/05-20:50:19.857120 7ffae6bff6c0 Level-0 table #105: 0 bytes OK +2025/02/05-20:50:19.863064 7ffae6bff6c0 Delete type=0 #103 +2025/02/05-20:50:19.863205 7ffae6bff6c0 Manual compaction at level-0 from '!folders!4OPhigzcPv46qbWW' @ 72057594037927935 : 1 .. '!items!yx4k7lQHGcom99mk' @ 0 : 0; will stop at (end) diff --git a/packs/competences/LOG.old b/packs/competences/LOG.old index 85ca97b..aafc7cb 100644 --- a/packs/competences/LOG.old +++ b/packs/competences/LOG.old @@ -1,14 +1,7 @@ -2025/02/04-20:38:48.097537 7ffaed3fa6c0 Recovering log #82 -2025/02/04-20:38:48.113309 7ffaed3fa6c0 Delete type=3 #80 -2025/02/04-20:38:48.113379 7ffaed3fa6c0 Delete type=0 #82 -2025/02/04-21:02:18.135381 7ffae6bff6c0 Level-0 table #88: started -2025/02/04-21:02:18.162858 7ffae6bff6c0 Level-0 table #88: 938 bytes OK -2025/02/04-21:02:18.203788 7ffae6bff6c0 Delete type=0 #86 -2025/02/04-21:02:18.239757 7ffae6bff6c0 Manual compaction at level-0 from '!folders!4OPhigzcPv46qbWW' @ 72057594037927935 : 1 .. '!items!yx4k7lQHGcom99mk' @ 0 : 0; will stop at '!items!npVNacEzrQqLbyaS' @ 128 : 1 -2025/02/04-21:02:18.239766 7ffae6bff6c0 Compacting 1@0 + 1@1 files -2025/02/04-21:02:18.250978 7ffae6bff6c0 Generated table #89@0: 116 keys, 38122 bytes -2025/02/04-21:02:18.251008 7ffae6bff6c0 Compacted 1@0 + 1@1 files => 38122 bytes -2025/02/04-21:02:18.293094 7ffae6bff6c0 compacted to: files[ 0 1 0 0 0 0 0 ] -2025/02/04-21:02:18.293225 7ffae6bff6c0 Delete type=2 #84 -2025/02/04-21:02:18.293350 7ffae6bff6c0 Delete type=2 #88 -2025/02/04-21:02:18.359444 7ffae6bff6c0 Manual compaction at level-0 from '!items!npVNacEzrQqLbyaS' @ 128 : 1 .. '!items!yx4k7lQHGcom99mk' @ 0 : 0; will stop at (end) +2025/02/05-12:14:01.279656 7ffaecbf96c0 Recovering log #96 +2025/02/05-12:14:01.367468 7ffaecbf96c0 Delete type=3 #94 +2025/02/05-12:14:01.367548 7ffaecbf96c0 Delete type=0 #96 +2025/02/05-14:15:33.450410 7ffae6bff6c0 Level-0 table #101: started +2025/02/05-14:15:33.450484 7ffae6bff6c0 Level-0 table #101: 0 bytes OK +2025/02/05-14:15:33.485937 7ffae6bff6c0 Delete type=0 #99 +2025/02/05-14:15:33.599068 7ffae6bff6c0 Manual compaction at level-0 from '!folders!4OPhigzcPv46qbWW' @ 72057594037927935 : 1 .. '!items!yx4k7lQHGcom99mk' @ 0 : 0; will stop at (end) diff --git a/packs/competences/MANIFEST-000090 b/packs/competences/MANIFEST-000090 deleted file mode 100644 index 8bd6cfa..0000000 Binary files a/packs/competences/MANIFEST-000090 and /dev/null differ diff --git a/packs/education/000100.log b/packs/education/000100.log deleted file mode 100644 index e69de29..0000000 diff --git a/packs/education/CURRENT b/packs/education/CURRENT index 95395b2..a451d53 100644 --- a/packs/education/CURRENT +++ b/packs/education/CURRENT @@ -1 +1 @@ -MANIFEST-000098 +MANIFEST-000110 diff --git a/packs/education/LOG b/packs/education/LOG index 08f547e..b8160bf 100644 --- a/packs/education/LOG +++ b/packs/education/LOG @@ -1,7 +1,7 @@ -2025/02/04-21:02:31.882959 7ffae77fe6c0 Recovering log #96 -2025/02/04-21:02:31.941550 7ffae77fe6c0 Delete type=3 #94 -2025/02/04-21:02:31.941618 7ffae77fe6c0 Delete type=0 #96 -2025/02/04-21:19:59.579549 7ffae6bff6c0 Level-0 table #101: started -2025/02/04-21:19:59.579601 7ffae6bff6c0 Level-0 table #101: 0 bytes OK -2025/02/04-21:19:59.587149 7ffae6bff6c0 Delete type=0 #99 -2025/02/04-21:19:59.600666 7ffae6bff6c0 Manual compaction at level-0 from '!folders!9PQi3Lv54rpcxavo' @ 72057594037927935 : 1 .. '!items!zGlRtP7zSnkjuuue' @ 0 : 0; will stop at (end) +2025/02/05-20:07:00.631061 7ffae77fe6c0 Recovering log #108 +2025/02/05-20:07:00.640688 7ffae77fe6c0 Delete type=3 #106 +2025/02/05-20:07:00.640754 7ffae77fe6c0 Delete type=0 #108 +2025/02/05-20:50:19.869892 7ffae6bff6c0 Level-0 table #113: started +2025/02/05-20:50:19.869921 7ffae6bff6c0 Level-0 table #113: 0 bytes OK +2025/02/05-20:50:19.876430 7ffae6bff6c0 Delete type=0 #111 +2025/02/05-20:50:19.888577 7ffae6bff6c0 Manual compaction at level-0 from '!folders!9PQi3Lv54rpcxavo' @ 72057594037927935 : 1 .. '!items!zGlRtP7zSnkjuuue' @ 0 : 0; will stop at (end) diff --git a/packs/education/LOG.old b/packs/education/LOG.old index 2e8ed26..2558640 100644 --- a/packs/education/LOG.old +++ b/packs/education/LOG.old @@ -1,7 +1,7 @@ -2025/02/04-20:38:48.158706 7ffae77fe6c0 Recovering log #92 -2025/02/04-20:38:48.173793 7ffae77fe6c0 Delete type=3 #90 -2025/02/04-20:38:48.173878 7ffae77fe6c0 Delete type=0 #92 -2025/02/04-21:02:18.096164 7ffae6bff6c0 Level-0 table #97: started -2025/02/04-21:02:18.096190 7ffae6bff6c0 Level-0 table #97: 0 bytes OK -2025/02/04-21:02:18.135267 7ffae6bff6c0 Delete type=0 #95 -2025/02/04-21:02:18.239741 7ffae6bff6c0 Manual compaction at level-0 from '!folders!9PQi3Lv54rpcxavo' @ 72057594037927935 : 1 .. '!items!zGlRtP7zSnkjuuue' @ 0 : 0; will stop at (end) +2025/02/05-12:14:01.574813 7ffae7fff6c0 Recovering log #104 +2025/02/05-12:14:01.662116 7ffae7fff6c0 Delete type=3 #102 +2025/02/05-12:14:01.662180 7ffae7fff6c0 Delete type=0 #104 +2025/02/05-14:15:33.568030 7ffae6bff6c0 Level-0 table #109: started +2025/02/05-14:15:33.568067 7ffae6bff6c0 Level-0 table #109: 0 bytes OK +2025/02/05-14:15:33.598917 7ffae6bff6c0 Delete type=0 #107 +2025/02/05-14:15:33.599131 7ffae6bff6c0 Manual compaction at level-0 from '!folders!9PQi3Lv54rpcxavo' @ 72057594037927935 : 1 .. '!items!zGlRtP7zSnkjuuue' @ 0 : 0; will stop at (end) diff --git a/packs/education/MANIFEST-000098 b/packs/education/MANIFEST-000098 deleted file mode 100644 index eff8a2d..0000000 Binary files a/packs/education/MANIFEST-000098 and /dev/null differ diff --git a/packs/graces/000094.log b/packs/graces/000094.log deleted file mode 100644 index e69de29..0000000 diff --git a/packs/graces/CURRENT b/packs/graces/CURRENT index 5b83d76..c8e9be6 100644 --- a/packs/graces/CURRENT +++ b/packs/graces/CURRENT @@ -1 +1 @@ -MANIFEST-000092 +MANIFEST-000104 diff --git a/packs/graces/LOG b/packs/graces/LOG index 3040b83..bdd600d 100644 --- a/packs/graces/LOG +++ b/packs/graces/LOG @@ -1,7 +1,7 @@ -2025/02/04-21:02:31.946534 7ffaecbf96c0 Recovering log #90 -2025/02/04-21:02:32.006272 7ffaecbf96c0 Delete type=3 #88 -2025/02/04-21:02:32.006340 7ffaecbf96c0 Delete type=0 #90 -2025/02/04-21:19:59.607214 7ffae6bff6c0 Level-0 table #95: started -2025/02/04-21:19:59.607270 7ffae6bff6c0 Level-0 table #95: 0 bytes OK -2025/02/04-21:19:59.614924 7ffae6bff6c0 Delete type=0 #93 -2025/02/04-21:19:59.628053 7ffae6bff6c0 Manual compaction at level-0 from '!items!17mjvwS8R3B6LloG' @ 72057594037927935 : 1 .. '!items!zUYIVOuFpRur9aAR' @ 0 : 0; will stop at (end) +2025/02/05-20:07:00.649375 7ffaed3fa6c0 Recovering log #102 +2025/02/05-20:07:00.660182 7ffaed3fa6c0 Delete type=3 #100 +2025/02/05-20:07:00.660251 7ffaed3fa6c0 Delete type=0 #102 +2025/02/05-20:50:19.851179 7ffae6bff6c0 Level-0 table #107: started +2025/02/05-20:50:19.851201 7ffae6bff6c0 Level-0 table #107: 0 bytes OK +2025/02/05-20:50:19.857001 7ffae6bff6c0 Delete type=0 #105 +2025/02/05-20:50:19.863196 7ffae6bff6c0 Manual compaction at level-0 from '!items!17mjvwS8R3B6LloG' @ 72057594037927935 : 1 .. '!items!zUYIVOuFpRur9aAR' @ 0 : 0; will stop at (end) diff --git a/packs/graces/LOG.old b/packs/graces/LOG.old index 31e26a1..6e2c384 100644 --- a/packs/graces/LOG.old +++ b/packs/graces/LOG.old @@ -1,7 +1,7 @@ -2025/02/04-20:38:48.178017 7ffaed3fa6c0 Recovering log #86 -2025/02/04-20:38:48.195489 7ffaed3fa6c0 Delete type=3 #84 -2025/02/04-20:38:48.195570 7ffaed3fa6c0 Delete type=0 #86 -2025/02/04-21:02:18.323881 7ffae6bff6c0 Level-0 table #91: started -2025/02/04-21:02:18.323917 7ffae6bff6c0 Level-0 table #91: 0 bytes OK -2025/02/04-21:02:18.359316 7ffae6bff6c0 Delete type=0 #89 -2025/02/04-21:02:18.400688 7ffae6bff6c0 Manual compaction at level-0 from '!items!17mjvwS8R3B6LloG' @ 72057594037927935 : 1 .. '!items!zUYIVOuFpRur9aAR' @ 0 : 0; will stop at (end) +2025/02/05-12:14:01.678547 7ffaecbf96c0 Recovering log #98 +2025/02/05-12:14:01.759589 7ffaecbf96c0 Delete type=3 #96 +2025/02/05-12:14:01.759675 7ffaecbf96c0 Delete type=0 #98 +2025/02/05-14:15:33.636712 7ffae6bff6c0 Level-0 table #103: started +2025/02/05-14:15:33.636738 7ffae6bff6c0 Level-0 table #103: 0 bytes OK +2025/02/05-14:15:33.676554 7ffae6bff6c0 Delete type=0 #101 +2025/02/05-14:15:33.737779 7ffae6bff6c0 Manual compaction at level-0 from '!items!17mjvwS8R3B6LloG' @ 72057594037927935 : 1 .. '!items!zUYIVOuFpRur9aAR' @ 0 : 0; will stop at (end) diff --git a/packs/graces/MANIFEST-000092 b/packs/graces/MANIFEST-000092 deleted file mode 100644 index 88af993..0000000 Binary files a/packs/graces/MANIFEST-000092 and /dev/null differ diff --git a/packs/maladies/000094.log b/packs/maladies/000094.log deleted file mode 100644 index e69de29..0000000 diff --git a/packs/maladies/CURRENT b/packs/maladies/CURRENT index 5b83d76..c8e9be6 100644 --- a/packs/maladies/CURRENT +++ b/packs/maladies/CURRENT @@ -1 +1 @@ -MANIFEST-000092 +MANIFEST-000104 diff --git a/packs/maladies/LOG b/packs/maladies/LOG index 24abc52..5500a47 100644 --- a/packs/maladies/LOG +++ b/packs/maladies/LOG @@ -1,7 +1,7 @@ -2025/02/04-21:02:32.008917 7ffae7fff6c0 Recovering log #90 -2025/02/04-21:02:32.066076 7ffae7fff6c0 Delete type=3 #88 -2025/02/04-21:02:32.066142 7ffae7fff6c0 Delete type=0 #90 -2025/02/04-21:19:59.600777 7ffae6bff6c0 Level-0 table #95: started -2025/02/04-21:19:59.600804 7ffae6bff6c0 Level-0 table #95: 0 bytes OK -2025/02/04-21:19:59.607063 7ffae6bff6c0 Delete type=0 #93 -2025/02/04-21:19:59.628035 7ffae6bff6c0 Manual compaction at level-0 from '!items!1icaxIywAwDXQcMz' @ 72057594037927935 : 1 .. '!items!ysGehYm1VkMWrI22' @ 0 : 0; will stop at (end) +2025/02/05-20:07:00.663190 7ffae7fff6c0 Recovering log #102 +2025/02/05-20:07:00.673484 7ffae7fff6c0 Delete type=3 #100 +2025/02/05-20:07:00.673553 7ffae7fff6c0 Delete type=0 #102 +2025/02/05-20:50:19.863283 7ffae6bff6c0 Level-0 table #107: started +2025/02/05-20:50:19.863350 7ffae6bff6c0 Level-0 table #107: 0 bytes OK +2025/02/05-20:50:19.869776 7ffae6bff6c0 Delete type=0 #105 +2025/02/05-20:50:19.888563 7ffae6bff6c0 Manual compaction at level-0 from '!items!1icaxIywAwDXQcMz' @ 72057594037927935 : 1 .. '!items!ysGehYm1VkMWrI22' @ 0 : 0; will stop at (end) diff --git a/packs/maladies/LOG.old b/packs/maladies/LOG.old index 45b2002..f8eab1e 100644 --- a/packs/maladies/LOG.old +++ b/packs/maladies/LOG.old @@ -1,7 +1,7 @@ -2025/02/04-20:38:48.198544 7ffaecbf96c0 Recovering log #86 -2025/02/04-20:38:48.214754 7ffaecbf96c0 Delete type=3 #84 -2025/02/04-20:38:48.214825 7ffaecbf96c0 Delete type=0 #86 -2025/02/04-21:02:18.293419 7ffae6bff6c0 Level-0 table #91: started -2025/02/04-21:02:18.293451 7ffae6bff6c0 Level-0 table #91: 0 bytes OK -2025/02/04-21:02:18.323734 7ffae6bff6c0 Delete type=0 #89 -2025/02/04-21:02:18.400668 7ffae6bff6c0 Manual compaction at level-0 from '!items!1icaxIywAwDXQcMz' @ 72057594037927935 : 1 .. '!items!ysGehYm1VkMWrI22' @ 0 : 0; will stop at (end) +2025/02/05-12:14:01.768947 7ffaed3fa6c0 Recovering log #98 +2025/02/05-12:14:01.869952 7ffaed3fa6c0 Delete type=3 #96 +2025/02/05-12:14:01.870025 7ffaed3fa6c0 Delete type=0 #98 +2025/02/05-14:15:33.676683 7ffae6bff6c0 Level-0 table #103: started +2025/02/05-14:15:33.676714 7ffae6bff6c0 Level-0 table #103: 0 bytes OK +2025/02/05-14:15:33.702608 7ffae6bff6c0 Delete type=0 #101 +2025/02/05-14:15:33.737791 7ffae6bff6c0 Manual compaction at level-0 from '!items!1icaxIywAwDXQcMz' @ 72057594037927935 : 1 .. '!items!ysGehYm1VkMWrI22' @ 0 : 0; will stop at (end) diff --git a/packs/maladies/MANIFEST-000092 b/packs/maladies/MANIFEST-000092 deleted file mode 100644 index 3c69bcb..0000000 Binary files a/packs/maladies/MANIFEST-000092 and /dev/null differ diff --git a/packs/scenes/000032.log b/packs/scenes/000032.log deleted file mode 100644 index e69de29..0000000 diff --git a/packs/scenes/CURRENT b/packs/scenes/CURRENT index caa721a..8e0a062 100644 --- a/packs/scenes/CURRENT +++ b/packs/scenes/CURRENT @@ -1 +1 @@ -MANIFEST-000030 +MANIFEST-000042 diff --git a/packs/scenes/LOG b/packs/scenes/LOG index 0ddc821..91842b6 100644 --- a/packs/scenes/LOG +++ b/packs/scenes/LOG @@ -1,7 +1,7 @@ -2025/02/04-21:02:32.128293 7ffae77fe6c0 Recovering log #28 -2025/02/04-21:02:32.186729 7ffae77fe6c0 Delete type=3 #26 -2025/02/04-21:02:32.186791 7ffae77fe6c0 Delete type=0 #28 -2025/02/04-21:19:59.621374 7ffae6bff6c0 Level-0 table #33: started -2025/02/04-21:19:59.621404 7ffae6bff6c0 Level-0 table #33: 0 bytes OK -2025/02/04-21:19:59.627903 7ffae6bff6c0 Delete type=0 #31 -2025/02/04-21:19:59.628082 7ffae6bff6c0 Manual compaction at level-0 from '!scenes!FJXugdbkBpEJEdR6' @ 72057594037927935 : 1 .. '!scenes!FJXugdbkBpEJEdR6' @ 0 : 0; will stop at (end) +2025/02/05-20:07:00.692354 7ffae77fe6c0 Recovering log #40 +2025/02/05-20:07:00.702369 7ffae77fe6c0 Delete type=3 #38 +2025/02/05-20:07:00.702455 7ffae77fe6c0 Delete type=0 #40 +2025/02/05-20:50:19.882562 7ffae6bff6c0 Level-0 table #45: started +2025/02/05-20:50:19.882585 7ffae6bff6c0 Level-0 table #45: 0 bytes OK +2025/02/05-20:50:19.888444 7ffae6bff6c0 Delete type=0 #43 +2025/02/05-20:50:19.888601 7ffae6bff6c0 Manual compaction at level-0 from '!scenes!FJXugdbkBpEJEdR6' @ 72057594037927935 : 1 .. '!scenes!FJXugdbkBpEJEdR6' @ 0 : 0; will stop at (end) diff --git a/packs/scenes/LOG.old b/packs/scenes/LOG.old index 89776e6..6804330 100644 --- a/packs/scenes/LOG.old +++ b/packs/scenes/LOG.old @@ -1,7 +1,7 @@ -2025/02/04-20:38:48.235842 7ffae77fe6c0 Recovering log #24 -2025/02/04-20:38:48.252695 7ffae77fe6c0 Delete type=3 #22 -2025/02/04-20:38:48.252769 7ffae77fe6c0 Delete type=0 #24 -2025/02/04-21:02:18.400699 7ffae6bff6c0 Level-0 table #29: started -2025/02/04-21:02:18.400727 7ffae6bff6c0 Level-0 table #29: 0 bytes OK -2025/02/04-21:02:18.426905 7ffae6bff6c0 Delete type=0 #27 -2025/02/04-21:02:18.527523 7ffae6bff6c0 Manual compaction at level-0 from '!scenes!FJXugdbkBpEJEdR6' @ 72057594037927935 : 1 .. '!scenes!FJXugdbkBpEJEdR6' @ 0 : 0; will stop at (end) +2025/02/05-12:14:01.975188 7ffae7fff6c0 Recovering log #36 +2025/02/05-12:14:02.079431 7ffae7fff6c0 Delete type=3 #34 +2025/02/05-12:14:02.079510 7ffae7fff6c0 Delete type=0 #36 +2025/02/05-14:15:33.702718 7ffae6bff6c0 Level-0 table #41: started +2025/02/05-14:15:33.702746 7ffae6bff6c0 Level-0 table #41: 0 bytes OK +2025/02/05-14:15:33.737633 7ffae6bff6c0 Delete type=0 #39 +2025/02/05-14:15:33.737800 7ffae6bff6c0 Manual compaction at level-0 from '!scenes!FJXugdbkBpEJEdR6' @ 72057594037927935 : 1 .. '!scenes!FJXugdbkBpEJEdR6' @ 0 : 0; will stop at (end) diff --git a/packs/scenes/MANIFEST-000030 b/packs/scenes/MANIFEST-000030 deleted file mode 100644 index cf2fff6..0000000 Binary files a/packs/scenes/MANIFEST-000030 and /dev/null differ diff --git a/packs/simples/000094.log b/packs/simples/000094.log deleted file mode 100644 index e69de29..0000000 diff --git a/packs/simples/CURRENT b/packs/simples/CURRENT index 5b83d76..c8e9be6 100644 --- a/packs/simples/CURRENT +++ b/packs/simples/CURRENT @@ -1 +1 @@ -MANIFEST-000092 +MANIFEST-000104 diff --git a/packs/simples/LOG b/packs/simples/LOG index 2853d09..d676f53 100644 --- a/packs/simples/LOG +++ b/packs/simples/LOG @@ -1,7 +1,7 @@ -2025/02/04-21:02:32.068229 7ffaed3fa6c0 Recovering log #90 -2025/02/04-21:02:32.124706 7ffaed3fa6c0 Delete type=3 #88 -2025/02/04-21:02:32.124766 7ffaed3fa6c0 Delete type=0 #90 -2025/02/04-21:19:59.615064 7ffae6bff6c0 Level-0 table #95: started -2025/02/04-21:19:59.615100 7ffae6bff6c0 Level-0 table #95: 0 bytes OK -2025/02/04-21:19:59.621260 7ffae6bff6c0 Delete type=0 #93 -2025/02/04-21:19:59.628066 7ffae6bff6c0 Manual compaction at level-0 from '!items!1bAL2MQVpVBd0c5Z' @ 72057594037927935 : 1 .. '!items!zs67k4sxCid6oTK3' @ 0 : 0; will stop at (end) +2025/02/05-20:07:00.678259 7ffaecbf96c0 Recovering log #102 +2025/02/05-20:07:00.688241 7ffaecbf96c0 Delete type=3 #100 +2025/02/05-20:07:00.688315 7ffaecbf96c0 Delete type=0 #102 +2025/02/05-20:50:19.876543 7ffae6bff6c0 Level-0 table #107: started +2025/02/05-20:50:19.876571 7ffae6bff6c0 Level-0 table #107: 0 bytes OK +2025/02/05-20:50:19.882462 7ffae6bff6c0 Delete type=0 #105 +2025/02/05-20:50:19.888589 7ffae6bff6c0 Manual compaction at level-0 from '!items!1bAL2MQVpVBd0c5Z' @ 72057594037927935 : 1 .. '!items!zs67k4sxCid6oTK3' @ 0 : 0; will stop at (end) diff --git a/packs/simples/LOG.old b/packs/simples/LOG.old index a0b0bec..981d635 100644 --- a/packs/simples/LOG.old +++ b/packs/simples/LOG.old @@ -1,7 +1,7 @@ -2025/02/04-20:38:48.217235 7ffae7fff6c0 Recovering log #86 -2025/02/04-20:38:48.232340 7ffae7fff6c0 Delete type=3 #84 -2025/02/04-20:38:48.232418 7ffae7fff6c0 Delete type=0 #86 -2025/02/04-21:02:18.359457 7ffae6bff6c0 Level-0 table #91: started -2025/02/04-21:02:18.359479 7ffae6bff6c0 Level-0 table #91: 0 bytes OK -2025/02/04-21:02:18.400500 7ffae6bff6c0 Delete type=0 #89 -2025/02/04-21:02:18.427028 7ffae6bff6c0 Manual compaction at level-0 from '!items!1bAL2MQVpVBd0c5Z' @ 72057594037927935 : 1 .. '!items!zs67k4sxCid6oTK3' @ 0 : 0; will stop at (end) +2025/02/05-12:14:01.879045 7ffae77fe6c0 Recovering log #98 +2025/02/05-12:14:01.965585 7ffae77fe6c0 Delete type=3 #96 +2025/02/05-12:14:01.965666 7ffae77fe6c0 Delete type=0 #98 +2025/02/05-14:15:33.599240 7ffae6bff6c0 Level-0 table #103: started +2025/02/05-14:15:33.599271 7ffae6bff6c0 Level-0 table #103: 0 bytes OK +2025/02/05-14:15:33.636585 7ffae6bff6c0 Delete type=0 #101 +2025/02/05-14:15:33.737761 7ffae6bff6c0 Manual compaction at level-0 from '!items!1bAL2MQVpVBd0c5Z' @ 72057594037927935 : 1 .. '!items!zs67k4sxCid6oTK3' @ 0 : 0; will stop at (end) diff --git a/packs/simples/MANIFEST-000092 b/packs/simples/MANIFEST-000092 deleted file mode 100644 index ff76ad6..0000000 Binary files a/packs/simples/MANIFEST-000092 and /dev/null differ diff --git a/postcss/tedeum.css b/postcss/tedeum.css index 782fd1f..d475add 100644 --- a/postcss/tedeum.css +++ b/postcss/tedeum.css @@ -1269,8 +1269,35 @@ ul, li { text-align: center; margin-bottom: 1rem; } + .stage-main-details { + text-align: center; + margin-top: 1rem; + } } +.grace-texte { + margin-top: 1rem; +} +.chat-welcome { + text-align: center; +} .item-name-label { min-width: 12rem; +} +.compendium-sidebar .directory-item.compendium.locked .compendium-name { + background: rgba(0, 0, 0, 0.1); +} +.compendium-sidebar .directory-item.compendium .compendium-name { + background: rgba(0, 0, 0, 0.1); +} +.compendium-sidebar .directory-item.compendium:hover .compendium-name { + text-shadow: 0 0 8px var(--color-shadow-primary); + background: rgba(0, 0, 0, 0.9); +} +.compendium-sidebar .directory-item.compendium .compendium-footer .source { + display: inline-block; + font-size: var(--font-size-12); + padding: 1px 0.5rem 0 0.25rem; + border-radius: 0 3px 0 0; + background: rgba(0, 0, 0, 0.1); } \ No newline at end of file diff --git a/styles/tedeum.css b/styles/tedeum.css index 499dc32..07c7e2e 100644 --- a/styles/tedeum.css +++ b/styles/tedeum.css @@ -1211,6 +1211,34 @@ ul, li { margin-bottom: 1rem; } +.fvtt-te-deum-character-creator .stage-main-details { + text-align: center; + margin-top: 1rem; + } + +.grace-texte { + margin-top: 1rem; +} +.chat-welcome { + text-align: center; +} .item-name-label { min-width: 12rem; +} +.compendium-sidebar .directory-item.compendium.locked .compendium-name { + background: rgba(0, 0, 0, 0.1); +} +.compendium-sidebar .directory-item.compendium .compendium-name { + background: rgba(0, 0, 0, 0.1); +} +.compendium-sidebar .directory-item.compendium:hover .compendium-name { + text-shadow: 0 0 8px var(--color-shadow-primary); + background: rgba(0, 0, 0, 0.9); +} +.compendium-sidebar .directory-item.compendium .compendium-footer .source { + display: inline-block; + font-size: var(--font-size-12); + padding: 1px 0.5rem 0 0.25rem; + border-radius: 0 3px 0 0; + background: rgba(0, 0, 0, 0.1); } \ No newline at end of file diff --git a/system.json b/system.json index f4cf484..63e3ea5 100644 --- a/system.json +++ b/system.json @@ -117,6 +117,18 @@ "PLAYER": "OBSERVER", "ASSISTANT": "OWNER" } + }, + { + "label": "Aides de jeu", + "type": "JournalEntry", + "name": "aides", + "path": "packs/aides", + "system": "fvtt-te-deum", + "flags": {}, + "ownership": { + "PLAYER": "OBSERVER", + "ASSISTANT": "OWNER" + } } ], "license": "LICENSE.txt", diff --git a/templates/actors/actor-sheet.hbs b/templates/actors/actor-sheet.hbs index 26fb59e..ad15ada 100644 --- a/templates/actors/actor-sheet.hbs +++ b/templates/actors/actor-sheet.hbs @@ -44,7 +44,7 @@ {{#each caracList as |char key|}}
  • - + {{selectOptions @root.config.providence selected=providence.value nameAttr="value" valueAttr="value" labelAttr="value"}} @@ -149,7 +149,8 @@
  • - + @@ -168,10 +169,10 @@
  • {{#each graces as |grace key|}} -
  • +
  • - + {{grace.name}}
     
    diff --git a/templates/dialogs/character-creator-finished.hbs b/templates/dialogs/character-creator-finished.hbs index f626182..1342664 100644 --- a/templates/dialogs/character-creator-finished.hbs +++ b/templates/dialogs/character-creator-finished.hbs @@ -12,7 +12,7 @@
  • - Vous devez maintenant choisir un Grâce, en fonction des pré-requis de votre personnage, et l'appliquer sur la fiche + Vous devez maintenant choisir une Grâce, en fonction des pré-requis de votre personnage, et l'appliquer sur la fiche de personnage.
    diff --git a/templates/dialogs/character-creator-select-stage-name.hbs b/templates/dialogs/character-creator-select-stage-name.hbs index b212d53..ce8cc38 100644 --- a/templates/dialogs/character-creator-select-stage-name.hbs +++ b/templates/dialogs/character-creator-select-stage-name.hbs @@ -3,11 +3,15 @@

    {{title}}

    {{subtitle}}

    -
    - -
    +
    + +
    + + +
    +
    {{> systems/fvtt-te-deum/templates/dialogs/partial-creator-status.hbs}} diff --git a/templates/items/item-grace-sheet.hbs b/templates/items/item-grace-sheet.hbs index d3c9314..5379091 100644 --- a/templates/items/item-grace-sheet.hbs +++ b/templates/items/item-grace-sheet.hbs @@ -8,11 +8,19 @@ {{> systems/fvtt-te-deum/templates/items/partial-item-nav.hbs}} - {{!-- Sheet Body --}}
    - {{> systems/fvtt-te-deum/templates/items/partial-item-description.hbs}} +
    +
    + Pré-requis : {{system.prerequis}} +
    +
    + Effet : {{system.effet}} +
    +
    + {{editor description target="system.description" button=true owner=owner editable=editable}} +