From 891a6647b7b6295db9e249d6e9d3fe6acee3c333 Mon Sep 17 00:00:00 2001 From: LeRatierBretonnien Date: Thu, 6 Feb 2025 10:23:24 +0100 Subject: [PATCH] Roll shields --- modules/actors/tedeum-actor.js | 34 ++++++++++-------- modules/app/tedeum-character-creator.js | 11 ++++++ modules/common/tedeum-config.js | 12 +++---- modules/common/tedeum-utility.js | 15 ++++++-- packs/armes/000095.log | 0 packs/armes/CURRENT | 2 +- packs/armes/LOG | 14 ++++---- packs/armes/LOG.old | 14 ++++---- packs/armes/MANIFEST-000093 | Bin 173 -> 0 bytes packs/armures/000095.log | 0 packs/armures/CURRENT | 2 +- packs/armures/LOG | 14 ++++---- packs/armures/LOG.old | 14 ++++---- packs/armures/MANIFEST-000093 | Bin 172 -> 0 bytes packs/competences/000092.log | 0 packs/competences/CURRENT | 2 +- packs/competences/LOG | 14 ++++---- packs/competences/LOG.old | 21 ++++------- packs/competences/MANIFEST-000090 | Bin 173 -> 0 bytes packs/education/000100.log | 0 packs/education/CURRENT | 2 +- packs/education/LOG | 14 ++++---- packs/education/LOG.old | 14 ++++---- packs/education/MANIFEST-000098 | Bin 173 -> 0 bytes packs/graces/000094.log | 0 packs/graces/CURRENT | 2 +- packs/graces/LOG | 14 ++++---- packs/graces/LOG.old | 14 ++++---- packs/graces/MANIFEST-000092 | Bin 169 -> 0 bytes packs/maladies/000094.log | 0 packs/maladies/CURRENT | 2 +- packs/maladies/LOG | 14 ++++---- packs/maladies/LOG.old | 14 ++++---- packs/maladies/MANIFEST-000092 | Bin 168 -> 0 bytes packs/scenes/000032.log | 0 packs/scenes/CURRENT | 2 +- packs/scenes/LOG | 14 ++++---- packs/scenes/LOG.old | 14 ++++---- packs/scenes/MANIFEST-000030 | Bin 207 -> 0 bytes packs/simples/000094.log | 0 packs/simples/CURRENT | 2 +- packs/simples/LOG | 14 ++++---- packs/simples/LOG.old | 14 ++++---- packs/simples/MANIFEST-000092 | Bin 169 -> 0 bytes postcss/tedeum.css | 27 ++++++++++++++ styles/tedeum.css | 28 +++++++++++++++ system.json | 12 +++++++ templates/actors/actor-sheet.hbs | 11 +++--- .../dialogs/character-creator-finished.hbs | 2 +- .../character-creator-select-stage-name.hbs | 14 +++++--- templates/items/item-grace-sheet.hbs | 12 +++++-- 51 files changed, 263 insertions(+), 162 deletions(-) delete mode 100644 packs/armes/000095.log delete mode 100644 packs/armes/MANIFEST-000093 delete mode 100644 packs/armures/000095.log delete mode 100644 packs/armures/MANIFEST-000093 delete mode 100644 packs/competences/000092.log delete mode 100644 packs/competences/MANIFEST-000090 delete mode 100644 packs/education/000100.log delete mode 100644 packs/education/MANIFEST-000098 delete mode 100644 packs/graces/000094.log delete mode 100644 packs/graces/MANIFEST-000092 delete mode 100644 packs/maladies/000094.log delete mode 100644 packs/maladies/MANIFEST-000092 delete mode 100644 packs/scenes/000032.log delete mode 100644 packs/scenes/MANIFEST-000030 delete mode 100644 packs/simples/000094.log delete mode 100644 packs/simples/MANIFEST-000092 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 c5894b96fbf1238d7e00983f4be5b88a7294e9a7..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 173 zcmd`pgoS$2eSd>_jU&P9wsF;?Ylag9gtmtiQ zXp$RZ9OmVc>Xz+amdvQm00!)g0S`VfBGh^2IR~bO1f_(SW<~f$SQs%fL)6JDW|pMp z7AuxlczR?P6(mlZI|Lge2$aqQ<{U}TEpWMGbGQU8)8Py^z|1G$MT>Hsxl BEx7;y 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 9c1afb0bb17f01d7aa6b143eec2965d376ac041b..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 172 zcmcZ>6w%$zz{n_-lUkOVlai$8R9TW*o>`pgoS$2eSd>_jU&P9wsF;?Ylag9gtXOCi zUX)mn;^$UY?po;{V8$rN00!)g0oP*@%8bfGyqvO(Q!CS3<`@%f*83V^1YjxZgVg&GR1K+FvqjVO~3qWK8PC+ 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 8bd6cfa56a1e99b447d6dd2184cc6a4247e52806..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 173 zcmZ3Yo#EKVz{n_-lUkOVlai$8R9TW*o>`pgoS$2eSd>_jU&P8Fub5eqnp>=xR}kix znCx0r6j#j C`pgoS$2eSd>_jU&P8Fub5eqnp><`6&mRo z=3nYo5L8-ZndlhAsKEdR?2MdU(-~o^49#=1%F2T+f{dNad~)*L8O0&0VDh+3vHay} b#=*eI6wArL9LHj4Usc!v;>H2F2`q*HXg4e3 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 3c69bcbd6930a6ea11e6cfda39659bbae276aef7..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 168 zcmZQR=jqwZz{n_-lUkOVlai$8R9TW*o>`pgoS$2eSd>_jU&P8Fub5eqnp><`S?r#g z5t(ZkmhBr}`pgoS$2eSd>_jU&PMHd6-*4u{b$3FSS_F z%`2ibJtZmIsle6CH6_T5k%a*a;0i)aO`Xkxib{&p3e&UA9W5D{APU%-SdVbwRK>_h jz!;c<9g@#haWF74$#XI=E3mM%In-u=xC%h75(^6et_m~1 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 ff76ad60ab8d442d1c7a9444eb8db5f64be14462..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 169 zcmYc=+5E1Bfss)vC$%g!CnZVGsj?)sJhM2}IX|}`u_&=5zlfDVUNN&IHMdx?s@Tjt z+oZU{IWxs9Kg8RZQJDb@*cmx@EM$bKGE8#xG4c%zD+qH+F-SIzVw8iZg304DMNEIm cbq)qbrdUn}<~SA=f%V-_LEJbXH-SY30FG}gHUIzs 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}} +