Roll shields

This commit is contained in:
LeRatierBretonnien 2025-02-06 10:23:24 +01:00
parent 5d9a218e04
commit 891a6647b7
51 changed files with 263 additions and 162 deletions

View File

@ -51,6 +51,22 @@ export class TeDeumActor extends Actor {
async prepareData() { async prepareData() {
super.prepareData() super.prepareData()
}
/* -------------------------------------------- */
prepareDerivedData() {
super.prepareDerivedData();
}
/* -------------------------------------------- */
_preUpdate(changed, options, user) {
super._preUpdate(changed, options, user);
}
/* -------------------------------------------- */
_onUpdate(changed, options, userId) {
let updates = [] let updates = []
let memoriser = this.items.find(item => item.type == "competence" && item.name.toLowerCase() == "mémoriser") let memoriser = this.items.find(item => item.type == "competence" && item.name.toLowerCase() == "mémoriser")
let newScore = this.getCommonBaseValue(this.system.caracteristiques.adresse.value) let newScore = this.getCommonBaseValue(this.system.caracteristiques.adresse.value)
@ -101,20 +117,8 @@ export class TeDeumActor extends Actor {
} }
if (updates.length > 0) { 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);
} }
/* -------------------------------------------- */ /* -------------------------------------------- */
@ -302,6 +306,7 @@ export class TeDeumActor extends Actor {
for (let key in carac) { for (let key in carac) {
let c = carac[key] let c = carac[key]
this.updateCarac(c, key) this.updateCarac(c, key)
c.description = game.system.tedeum.config.caracteristiques[key].description
} }
return carac return carac
} }
@ -311,6 +316,7 @@ export class TeDeumActor extends Actor {
providence.name = "Providence" providence.name = "Providence"
providence.qualite = game.system.tedeum.config.providence[providence.value].labelM providence.qualite = game.system.tedeum.config.providence[providence.value].labelM
providence.dice = game.system.tedeum.config.providence[providence.value].diceValue 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 return providence
} }
/* -------------------------------------------- */ /* -------------------------------------------- */

View File

@ -89,6 +89,17 @@ export class TeDeumCharacterCreator {
}, },
rejectClose: false, // Click on Close button will not launch an error rejectClose: false, // Click on Close button will not launch an error
render: (event, dialog) => { render: (event, dialog) => {
$(".stage-selector").change(event => {
let stageId = event.target.value
let stage = context.choices.find(item => item.id === stageId)
let link = `<a class="content-link" draggable="true" data-link=""
data-uuid="Compendium.fvtt-te-deum.education.Item.${stageId}" data-id="${stageId}" data-type="Item"
data-pack="fvtt-te-deum.education" data-tooltip="Education Objet"><i class="fas fa-suitcase"></i>${stage.name}</a>`
$(".stage-main-details").html(`Voir le détail : ${link}`)
})
document.getElementById("stage-selector").dispatchEvent(new Event('change'))
} }
}) })
return choiceResult return choiceResult

View File

@ -86,12 +86,12 @@ export const TEDEUM_CONFIG = {
}, },
caracteristiques: { caracteristiques: {
savoir: { id: "savoir", value: "savoir", label: "Savoir" }, 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é" }, 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" }, 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" }, 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" }, 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" }, 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: { allonges: {
courte: { courte: { malus: 0 }, moyenne: { malus: -1 }, longue: { malus: -2 }, treslongue: { malus: 0, esquive: 2 } }, courte: { courte: { malus: 0 }, moyenne: { malus: -1 }, longue: { malus: -2 }, treslongue: { malus: 0, esquive: 2 } },

View File

@ -5,6 +5,14 @@ export class TeDeumUtility {
/* -------------------------------------------- */ /* -------------------------------------------- */
static async init() { 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('renderChatLog', (log, html, data) => TeDeumUtility.chatListeners(html));
Hooks.on("renderActorDirectory", (app, html, data) => { Hooks.on("renderActorDirectory", (app, html, data) => {
@ -114,8 +122,11 @@ export class TeDeumUtility {
ChatMessage.create({ ChatMessage.create({
user: game.user.id, user: game.user.id,
whisper: [game.user.id], whisper: [game.user.id],
content: `<div id="welcome-message-tedeum"><span class="rdd-roll-part"> content: `<div id="chat-welcome welcome-message-tedeum"><span class="rdd-roll-part">
<strong>Bienvenu dans Te Deum Pour Un Massacre !</strong>` }); <strong>Bienvenu dans Te Deum Pour Un Massacre !</strong>
<div class="chat-welcome">Ce système vous est proposé par Open Sesame Games.<br>
Vous trouverez de l'aide dans @UUID[Compendium.fvtt-te-deum.aides.JournalEntry.uNwJgi4kXBCiZmAH]{Aide pour Te Deum}<br>
ainsi que sur le Discord de Foundry FR : https://discord.gg/pPSDNJk</div>` });
} }
} }

View File

View File

@ -1 +1 @@
MANIFEST-000093 MANIFEST-000105

View File

@ -1,7 +1,7 @@
2025/02/04-21:02:31.762956 7ffae7fff6c0 Recovering log #91 2025/02/05-20:07:00.600917 7ffae7fff6c0 Recovering log #103
2025/02/04-21:02:31.818029 7ffae7fff6c0 Delete type=3 #89 2025/02/05-20:07:00.611719 7ffae7fff6c0 Delete type=3 #101
2025/02/04-21:02:31.818138 7ffae7fff6c0 Delete type=0 #91 2025/02/05-20:07:00.611830 7ffae7fff6c0 Delete type=0 #103
2025/02/04-21:19:59.587312 7ffae6bff6c0 Level-0 table #96: started 2025/02/05-20:50:19.838224 7ffae6bff6c0 Level-0 table #108: started
2025/02/04-21:19:59.587344 7ffae6bff6c0 Level-0 table #96: 0 bytes OK 2025/02/05-20:50:19.838303 7ffae6bff6c0 Level-0 table #108: 0 bytes OK
2025/02/04-21:19:59.594402 7ffae6bff6c0 Delete type=0 #94 2025/02/05-20:50:19.844606 7ffae6bff6c0 Delete type=0 #106
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:50:19.863174 7ffae6bff6c0 Manual compaction at level-0 from '!folders!InCQeTRdT5jXMX82' @ 72057594037927935 : 1 .. '!items!wxIHkrq98eQ3cOvp' @ 0 : 0; will stop at (end)

View File

@ -1,7 +1,7 @@
2025/02/04-20:38:48.117192 7ffaecbf96c0 Recovering log #87 2025/02/05-12:14:01.374504 7ffaed3fa6c0 Recovering log #99
2025/02/04-20:38:48.132558 7ffaecbf96c0 Delete type=3 #85 2025/02/05-12:14:01.467339 7ffaed3fa6c0 Delete type=3 #97
2025/02/04-20:38:48.132625 7ffaecbf96c0 Delete type=0 #87 2025/02/05-12:14:01.467398 7ffaed3fa6c0 Delete type=0 #99
2025/02/04-21:02:18.061942 7ffae6bff6c0 Level-0 table #92: started 2025/02/05-14:15:33.486059 7ffae6bff6c0 Level-0 table #104: started
2025/02/04-21:02:18.061980 7ffae6bff6c0 Level-0 table #92: 0 bytes OK 2025/02/05-14:15:33.486083 7ffae6bff6c0 Level-0 table #104: 0 bytes OK
2025/02/04-21:02:18.096060 7ffae6bff6c0 Delete type=0 #90 2025/02/05-14:15:33.524089 7ffae6bff6c0 Delete type=0 #102
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-14:15:33.599085 7ffae6bff6c0 Manual compaction at level-0 from '!folders!InCQeTRdT5jXMX82' @ 72057594037927935 : 1 .. '!items!wxIHkrq98eQ3cOvp' @ 0 : 0; will stop at (end)

Binary file not shown.

View File

@ -1 +1 @@
MANIFEST-000093 MANIFEST-000105

View File

@ -1,7 +1,7 @@
2025/02/04-21:02:31.823403 7ffaed3fa6c0 Recovering log #91 2025/02/05-20:07:00.616342 7ffaecbf96c0 Recovering log #103
2025/02/04-21:02:31.879026 7ffaed3fa6c0 Delete type=3 #89 2025/02/05-20:07:00.627971 7ffaecbf96c0 Delete type=3 #101
2025/02/04-21:02:31.879103 7ffaed3fa6c0 Delete type=0 #91 2025/02/05-20:07:00.628058 7ffaecbf96c0 Delete type=0 #103
2025/02/04-21:19:59.594567 7ffae6bff6c0 Level-0 table #96: started 2025/02/05-20:50:19.844802 7ffae6bff6c0 Level-0 table #108: started
2025/02/04-21:19:59.594605 7ffae6bff6c0 Level-0 table #96: 0 bytes OK 2025/02/05-20:50:19.844850 7ffae6bff6c0 Level-0 table #108: 0 bytes OK
2025/02/04-21:19:59.600531 7ffae6bff6c0 Delete type=0 #94 2025/02/05-20:50:19.851086 7ffae6bff6c0 Delete type=0 #106
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:50:19.863187 7ffae6bff6c0 Manual compaction at level-0 from '!folders!2wTJBj3dicRKzNOE' @ 72057594037927935 : 1 .. '!items!ufvhWG5V8pX0qrtR' @ 0 : 0; will stop at (end)

View File

@ -1,7 +1,7 @@
2025/02/04-20:38:48.136363 7ffae7fff6c0 Recovering log #87 2025/02/05-12:14:01.471160 7ffae77fe6c0 Recovering log #99
2025/02/04-20:38:48.155326 7ffae7fff6c0 Delete type=3 #85 2025/02/05-12:14:01.565698 7ffae77fe6c0 Delete type=3 #97
2025/02/04-20:38:48.155397 7ffae7fff6c0 Delete type=0 #87 2025/02/05-12:14:01.566036 7ffae77fe6c0 Delete type=0 #99
2025/02/04-21:02:18.203925 7ffae6bff6c0 Level-0 table #92: started 2025/02/05-14:15:33.524233 7ffae6bff6c0 Level-0 table #104: started
2025/02/04-21:02:18.203951 7ffae6bff6c0 Level-0 table #92: 0 bytes OK 2025/02/05-14:15:33.524264 7ffae6bff6c0 Level-0 table #104: 0 bytes OK
2025/02/04-21:02:18.239602 7ffae6bff6c0 Delete type=0 #90 2025/02/05-14:15:33.567895 7ffae6bff6c0 Delete type=0 #102
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-14:15:33.599098 7ffae6bff6c0 Manual compaction at level-0 from '!folders!2wTJBj3dicRKzNOE' @ 72057594037927935 : 1 .. '!items!ufvhWG5V8pX0qrtR' @ 0 : 0; will stop at (end)

Binary file not shown.

View File

@ -1 +1 @@
MANIFEST-000090 MANIFEST-000102

View File

@ -1,7 +1,7 @@
2025/02/04-21:02:31.705177 7ffaecbf96c0 Recovering log #87 2025/02/05-20:07:00.587007 7ffaed3fa6c0 Recovering log #100
2025/02/04-21:02:31.757867 7ffaecbf96c0 Delete type=3 #85 2025/02/05-20:07:00.596905 7ffaed3fa6c0 Delete type=3 #98
2025/02/04-21:02:31.757943 7ffaecbf96c0 Delete type=0 #87 2025/02/05-20:07:00.596964 7ffaed3fa6c0 Delete type=0 #100
2025/02/04-21:19:59.571612 7ffae6bff6c0 Level-0 table #93: started 2025/02/05-20:50:19.857097 7ffae6bff6c0 Level-0 table #105: started
2025/02/04-21:19:59.571661 7ffae6bff6c0 Level-0 table #93: 0 bytes OK 2025/02/05-20:50:19.857120 7ffae6bff6c0 Level-0 table #105: 0 bytes OK
2025/02/04-21:19:59.579281 7ffae6bff6c0 Delete type=0 #91 2025/02/05-20:50:19.863064 7ffae6bff6c0 Delete type=0 #103
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:50:19.863205 7ffae6bff6c0 Manual compaction at level-0 from '!folders!4OPhigzcPv46qbWW' @ 72057594037927935 : 1 .. '!items!yx4k7lQHGcom99mk' @ 0 : 0; will stop at (end)

View File

@ -1,14 +1,7 @@
2025/02/04-20:38:48.097537 7ffaed3fa6c0 Recovering log #82 2025/02/05-12:14:01.279656 7ffaecbf96c0 Recovering log #96
2025/02/04-20:38:48.113309 7ffaed3fa6c0 Delete type=3 #80 2025/02/05-12:14:01.367468 7ffaecbf96c0 Delete type=3 #94
2025/02/04-20:38:48.113379 7ffaed3fa6c0 Delete type=0 #82 2025/02/05-12:14:01.367548 7ffaecbf96c0 Delete type=0 #96
2025/02/04-21:02:18.135381 7ffae6bff6c0 Level-0 table #88: started 2025/02/05-14:15:33.450410 7ffae6bff6c0 Level-0 table #101: started
2025/02/04-21:02:18.162858 7ffae6bff6c0 Level-0 table #88: 938 bytes OK 2025/02/05-14:15:33.450484 7ffae6bff6c0 Level-0 table #101: 0 bytes OK
2025/02/04-21:02:18.203788 7ffae6bff6c0 Delete type=0 #86 2025/02/05-14:15:33.485937 7ffae6bff6c0 Delete type=0 #99
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/05-14:15:33.599068 7ffae6bff6c0 Manual compaction at level-0 from '!folders!4OPhigzcPv46qbWW' @ 72057594037927935 : 1 .. '!items!yx4k7lQHGcom99mk' @ 0 : 0; will stop at (end)
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)

Binary file not shown.

View File

@ -1 +1 @@
MANIFEST-000098 MANIFEST-000110

View File

@ -1,7 +1,7 @@
2025/02/04-21:02:31.882959 7ffae77fe6c0 Recovering log #96 2025/02/05-20:07:00.631061 7ffae77fe6c0 Recovering log #108
2025/02/04-21:02:31.941550 7ffae77fe6c0 Delete type=3 #94 2025/02/05-20:07:00.640688 7ffae77fe6c0 Delete type=3 #106
2025/02/04-21:02:31.941618 7ffae77fe6c0 Delete type=0 #96 2025/02/05-20:07:00.640754 7ffae77fe6c0 Delete type=0 #108
2025/02/04-21:19:59.579549 7ffae6bff6c0 Level-0 table #101: started 2025/02/05-20:50:19.869892 7ffae6bff6c0 Level-0 table #113: started
2025/02/04-21:19:59.579601 7ffae6bff6c0 Level-0 table #101: 0 bytes OK 2025/02/05-20:50:19.869921 7ffae6bff6c0 Level-0 table #113: 0 bytes OK
2025/02/04-21:19:59.587149 7ffae6bff6c0 Delete type=0 #99 2025/02/05-20:50:19.876430 7ffae6bff6c0 Delete type=0 #111
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:50:19.888577 7ffae6bff6c0 Manual compaction at level-0 from '!folders!9PQi3Lv54rpcxavo' @ 72057594037927935 : 1 .. '!items!zGlRtP7zSnkjuuue' @ 0 : 0; will stop at (end)

View File

@ -1,7 +1,7 @@
2025/02/04-20:38:48.158706 7ffae77fe6c0 Recovering log #92 2025/02/05-12:14:01.574813 7ffae7fff6c0 Recovering log #104
2025/02/04-20:38:48.173793 7ffae77fe6c0 Delete type=3 #90 2025/02/05-12:14:01.662116 7ffae7fff6c0 Delete type=3 #102
2025/02/04-20:38:48.173878 7ffae77fe6c0 Delete type=0 #92 2025/02/05-12:14:01.662180 7ffae7fff6c0 Delete type=0 #104
2025/02/04-21:02:18.096164 7ffae6bff6c0 Level-0 table #97: started 2025/02/05-14:15:33.568030 7ffae6bff6c0 Level-0 table #109: started
2025/02/04-21:02:18.096190 7ffae6bff6c0 Level-0 table #97: 0 bytes OK 2025/02/05-14:15:33.568067 7ffae6bff6c0 Level-0 table #109: 0 bytes OK
2025/02/04-21:02:18.135267 7ffae6bff6c0 Delete type=0 #95 2025/02/05-14:15:33.598917 7ffae6bff6c0 Delete type=0 #107
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-14:15:33.599131 7ffae6bff6c0 Manual compaction at level-0 from '!folders!9PQi3Lv54rpcxavo' @ 72057594037927935 : 1 .. '!items!zGlRtP7zSnkjuuue' @ 0 : 0; will stop at (end)

Binary file not shown.

View File

@ -1 +1 @@
MANIFEST-000092 MANIFEST-000104

View File

@ -1,7 +1,7 @@
2025/02/04-21:02:31.946534 7ffaecbf96c0 Recovering log #90 2025/02/05-20:07:00.649375 7ffaed3fa6c0 Recovering log #102
2025/02/04-21:02:32.006272 7ffaecbf96c0 Delete type=3 #88 2025/02/05-20:07:00.660182 7ffaed3fa6c0 Delete type=3 #100
2025/02/04-21:02:32.006340 7ffaecbf96c0 Delete type=0 #90 2025/02/05-20:07:00.660251 7ffaed3fa6c0 Delete type=0 #102
2025/02/04-21:19:59.607214 7ffae6bff6c0 Level-0 table #95: started 2025/02/05-20:50:19.851179 7ffae6bff6c0 Level-0 table #107: started
2025/02/04-21:19:59.607270 7ffae6bff6c0 Level-0 table #95: 0 bytes OK 2025/02/05-20:50:19.851201 7ffae6bff6c0 Level-0 table #107: 0 bytes OK
2025/02/04-21:19:59.614924 7ffae6bff6c0 Delete type=0 #93 2025/02/05-20:50:19.857001 7ffae6bff6c0 Delete type=0 #105
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:50:19.863196 7ffae6bff6c0 Manual compaction at level-0 from '!items!17mjvwS8R3B6LloG' @ 72057594037927935 : 1 .. '!items!zUYIVOuFpRur9aAR' @ 0 : 0; will stop at (end)

View File

@ -1,7 +1,7 @@
2025/02/04-20:38:48.178017 7ffaed3fa6c0 Recovering log #86 2025/02/05-12:14:01.678547 7ffaecbf96c0 Recovering log #98
2025/02/04-20:38:48.195489 7ffaed3fa6c0 Delete type=3 #84 2025/02/05-12:14:01.759589 7ffaecbf96c0 Delete type=3 #96
2025/02/04-20:38:48.195570 7ffaed3fa6c0 Delete type=0 #86 2025/02/05-12:14:01.759675 7ffaecbf96c0 Delete type=0 #98
2025/02/04-21:02:18.323881 7ffae6bff6c0 Level-0 table #91: started 2025/02/05-14:15:33.636712 7ffae6bff6c0 Level-0 table #103: started
2025/02/04-21:02:18.323917 7ffae6bff6c0 Level-0 table #91: 0 bytes OK 2025/02/05-14:15:33.636738 7ffae6bff6c0 Level-0 table #103: 0 bytes OK
2025/02/04-21:02:18.359316 7ffae6bff6c0 Delete type=0 #89 2025/02/05-14:15:33.676554 7ffae6bff6c0 Delete type=0 #101
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-14:15:33.737779 7ffae6bff6c0 Manual compaction at level-0 from '!items!17mjvwS8R3B6LloG' @ 72057594037927935 : 1 .. '!items!zUYIVOuFpRur9aAR' @ 0 : 0; will stop at (end)

Binary file not shown.

View File

@ -1 +1 @@
MANIFEST-000092 MANIFEST-000104

View File

@ -1,7 +1,7 @@
2025/02/04-21:02:32.008917 7ffae7fff6c0 Recovering log #90 2025/02/05-20:07:00.663190 7ffae7fff6c0 Recovering log #102
2025/02/04-21:02:32.066076 7ffae7fff6c0 Delete type=3 #88 2025/02/05-20:07:00.673484 7ffae7fff6c0 Delete type=3 #100
2025/02/04-21:02:32.066142 7ffae7fff6c0 Delete type=0 #90 2025/02/05-20:07:00.673553 7ffae7fff6c0 Delete type=0 #102
2025/02/04-21:19:59.600777 7ffae6bff6c0 Level-0 table #95: started 2025/02/05-20:50:19.863283 7ffae6bff6c0 Level-0 table #107: started
2025/02/04-21:19:59.600804 7ffae6bff6c0 Level-0 table #95: 0 bytes OK 2025/02/05-20:50:19.863350 7ffae6bff6c0 Level-0 table #107: 0 bytes OK
2025/02/04-21:19:59.607063 7ffae6bff6c0 Delete type=0 #93 2025/02/05-20:50:19.869776 7ffae6bff6c0 Delete type=0 #105
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:50:19.888563 7ffae6bff6c0 Manual compaction at level-0 from '!items!1icaxIywAwDXQcMz' @ 72057594037927935 : 1 .. '!items!ysGehYm1VkMWrI22' @ 0 : 0; will stop at (end)

View File

@ -1,7 +1,7 @@
2025/02/04-20:38:48.198544 7ffaecbf96c0 Recovering log #86 2025/02/05-12:14:01.768947 7ffaed3fa6c0 Recovering log #98
2025/02/04-20:38:48.214754 7ffaecbf96c0 Delete type=3 #84 2025/02/05-12:14:01.869952 7ffaed3fa6c0 Delete type=3 #96
2025/02/04-20:38:48.214825 7ffaecbf96c0 Delete type=0 #86 2025/02/05-12:14:01.870025 7ffaed3fa6c0 Delete type=0 #98
2025/02/04-21:02:18.293419 7ffae6bff6c0 Level-0 table #91: started 2025/02/05-14:15:33.676683 7ffae6bff6c0 Level-0 table #103: started
2025/02/04-21:02:18.293451 7ffae6bff6c0 Level-0 table #91: 0 bytes OK 2025/02/05-14:15:33.676714 7ffae6bff6c0 Level-0 table #103: 0 bytes OK
2025/02/04-21:02:18.323734 7ffae6bff6c0 Delete type=0 #89 2025/02/05-14:15:33.702608 7ffae6bff6c0 Delete type=0 #101
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-14:15:33.737791 7ffae6bff6c0 Manual compaction at level-0 from '!items!1icaxIywAwDXQcMz' @ 72057594037927935 : 1 .. '!items!ysGehYm1VkMWrI22' @ 0 : 0; will stop at (end)

Binary file not shown.

View File

@ -1 +1 @@
MANIFEST-000030 MANIFEST-000042

View File

@ -1,7 +1,7 @@
2025/02/04-21:02:32.128293 7ffae77fe6c0 Recovering log #28 2025/02/05-20:07:00.692354 7ffae77fe6c0 Recovering log #40
2025/02/04-21:02:32.186729 7ffae77fe6c0 Delete type=3 #26 2025/02/05-20:07:00.702369 7ffae77fe6c0 Delete type=3 #38
2025/02/04-21:02:32.186791 7ffae77fe6c0 Delete type=0 #28 2025/02/05-20:07:00.702455 7ffae77fe6c0 Delete type=0 #40
2025/02/04-21:19:59.621374 7ffae6bff6c0 Level-0 table #33: started 2025/02/05-20:50:19.882562 7ffae6bff6c0 Level-0 table #45: started
2025/02/04-21:19:59.621404 7ffae6bff6c0 Level-0 table #33: 0 bytes OK 2025/02/05-20:50:19.882585 7ffae6bff6c0 Level-0 table #45: 0 bytes OK
2025/02/04-21:19:59.627903 7ffae6bff6c0 Delete type=0 #31 2025/02/05-20:50:19.888444 7ffae6bff6c0 Delete type=0 #43
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:50:19.888601 7ffae6bff6c0 Manual compaction at level-0 from '!scenes!FJXugdbkBpEJEdR6' @ 72057594037927935 : 1 .. '!scenes!FJXugdbkBpEJEdR6' @ 0 : 0; will stop at (end)

View File

@ -1,7 +1,7 @@
2025/02/04-20:38:48.235842 7ffae77fe6c0 Recovering log #24 2025/02/05-12:14:01.975188 7ffae7fff6c0 Recovering log #36
2025/02/04-20:38:48.252695 7ffae77fe6c0 Delete type=3 #22 2025/02/05-12:14:02.079431 7ffae7fff6c0 Delete type=3 #34
2025/02/04-20:38:48.252769 7ffae77fe6c0 Delete type=0 #24 2025/02/05-12:14:02.079510 7ffae7fff6c0 Delete type=0 #36
2025/02/04-21:02:18.400699 7ffae6bff6c0 Level-0 table #29: started 2025/02/05-14:15:33.702718 7ffae6bff6c0 Level-0 table #41: started
2025/02/04-21:02:18.400727 7ffae6bff6c0 Level-0 table #29: 0 bytes OK 2025/02/05-14:15:33.702746 7ffae6bff6c0 Level-0 table #41: 0 bytes OK
2025/02/04-21:02:18.426905 7ffae6bff6c0 Delete type=0 #27 2025/02/05-14:15:33.737633 7ffae6bff6c0 Delete type=0 #39
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-14:15:33.737800 7ffae6bff6c0 Manual compaction at level-0 from '!scenes!FJXugdbkBpEJEdR6' @ 72057594037927935 : 1 .. '!scenes!FJXugdbkBpEJEdR6' @ 0 : 0; will stop at (end)

Binary file not shown.

View File

@ -1 +1 @@
MANIFEST-000092 MANIFEST-000104

View File

@ -1,7 +1,7 @@
2025/02/04-21:02:32.068229 7ffaed3fa6c0 Recovering log #90 2025/02/05-20:07:00.678259 7ffaecbf96c0 Recovering log #102
2025/02/04-21:02:32.124706 7ffaed3fa6c0 Delete type=3 #88 2025/02/05-20:07:00.688241 7ffaecbf96c0 Delete type=3 #100
2025/02/04-21:02:32.124766 7ffaed3fa6c0 Delete type=0 #90 2025/02/05-20:07:00.688315 7ffaecbf96c0 Delete type=0 #102
2025/02/04-21:19:59.615064 7ffae6bff6c0 Level-0 table #95: started 2025/02/05-20:50:19.876543 7ffae6bff6c0 Level-0 table #107: started
2025/02/04-21:19:59.615100 7ffae6bff6c0 Level-0 table #95: 0 bytes OK 2025/02/05-20:50:19.876571 7ffae6bff6c0 Level-0 table #107: 0 bytes OK
2025/02/04-21:19:59.621260 7ffae6bff6c0 Delete type=0 #93 2025/02/05-20:50:19.882462 7ffae6bff6c0 Delete type=0 #105
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:50:19.888589 7ffae6bff6c0 Manual compaction at level-0 from '!items!1bAL2MQVpVBd0c5Z' @ 72057594037927935 : 1 .. '!items!zs67k4sxCid6oTK3' @ 0 : 0; will stop at (end)

View File

@ -1,7 +1,7 @@
2025/02/04-20:38:48.217235 7ffae7fff6c0 Recovering log #86 2025/02/05-12:14:01.879045 7ffae77fe6c0 Recovering log #98
2025/02/04-20:38:48.232340 7ffae7fff6c0 Delete type=3 #84 2025/02/05-12:14:01.965585 7ffae77fe6c0 Delete type=3 #96
2025/02/04-20:38:48.232418 7ffae7fff6c0 Delete type=0 #86 2025/02/05-12:14:01.965666 7ffae77fe6c0 Delete type=0 #98
2025/02/04-21:02:18.359457 7ffae6bff6c0 Level-0 table #91: started 2025/02/05-14:15:33.599240 7ffae6bff6c0 Level-0 table #103: started
2025/02/04-21:02:18.359479 7ffae6bff6c0 Level-0 table #91: 0 bytes OK 2025/02/05-14:15:33.599271 7ffae6bff6c0 Level-0 table #103: 0 bytes OK
2025/02/04-21:02:18.400500 7ffae6bff6c0 Delete type=0 #89 2025/02/05-14:15:33.636585 7ffae6bff6c0 Delete type=0 #101
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-14:15:33.737761 7ffae6bff6c0 Manual compaction at level-0 from '!items!1bAL2MQVpVBd0c5Z' @ 72057594037927935 : 1 .. '!items!zs67k4sxCid6oTK3' @ 0 : 0; will stop at (end)

Binary file not shown.

View File

@ -1269,8 +1269,35 @@ ul, li {
text-align: center; text-align: center;
margin-bottom: 1rem; 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 { .item-name-label {
min-width: 12rem; 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);
}

View File

@ -1211,6 +1211,34 @@ ul, li {
margin-bottom: 1rem; 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 { .item-name-label {
min-width: 12rem; 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);
}

View File

@ -117,6 +117,18 @@
"PLAYER": "OBSERVER", "PLAYER": "OBSERVER",
"ASSISTANT": "OWNER" "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", "license": "LICENSE.txt",

View File

@ -44,7 +44,7 @@
{{#each caracList as |char key|}} {{#each caracList as |char key|}}
<li class="item flexrow list-item carac-box"> <li class="item flexrow list-item carac-box">
<img class="sheet-competence-img" src="/systems/fvtt-te-deum/images/icons/{{key}}.webp" /> <img class="sheet-competence-img" src="/systems/fvtt-te-deum/images/icons/{{key}}.webp" />
<label class="item-left-pad item-field item-field-label-medium">{{char.name}}</label> <label class="item-left-pad item-field item-field-label-medium" data-tooltip="{{char.description}}">{{char.name}}</label>
<select type="text" class="input-numeric-short" name="system.caracteristiques.{{key}}.value" <select type="text" class="input-numeric-short" name="system.caracteristiques.{{key}}.value"
data-dtype="Number" /> data-dtype="Number" />
{{selectOptions @root.config.descriptionValeur selected=char.value labelAttr="valeur"}} {{selectOptions @root.config.descriptionValeur selected=char.value labelAttr="valeur"}}
@ -140,7 +140,7 @@
<div> <div>
<ul class="item-list alternate-list"> <ul class="item-list alternate-list">
<li class="item flexrow list-item carac-box"> <li class="item flexrow list-item carac-box">
<label class="item-left-pad item-field item-field-label-medium">Providence</label> <label class="item-left-pad item-field item-field-label-medium" data-tooltip="{{providence.description}}">Providence</label>
<select type="text" class="input-numeric-short" name="system.providence.value" data-dtype="Number" /> <select type="text" class="input-numeric-short" name="system.providence.value" data-dtype="Number" />
{{selectOptions @root.config.providence selected=providence.value nameAttr="value" valueAttr="value" {{selectOptions @root.config.providence selected=providence.value nameAttr="value" valueAttr="value"
labelAttr="value"}} labelAttr="value"}}
@ -149,7 +149,8 @@
<label class="item-field item-field-label-short">{{providence.dice}}</label> <label class="item-field item-field-label-short">{{providence.dice}}</label>
</li> </li>
<li class="item flexrow list-item carac-box"> <li class="item flexrow list-item carac-box">
<label class="item-left-pad item-field item-field-label-medium">Bienveillance</label> <label class="item-left-pad item-field item-field-label-medium" data-tooltip=" La Bienveillance nest pas à proprement parler une compétence : il sagit de lévaluation chiffrée de l'atta- chement que l'ange gardien du personnage éprouve pour son protégé. Cet attachement peut se détériorer si le personnage se montre indigne ou mauvais, et s'érode avec lâge. La Bienveillance a un score initial de 10 pour un nouveau PJ ayant moins de 30 ans.">
Bienveillance</label>
<input class="input-numeric-short" type="text" name="system.bienveillance.value" value="{{system.bienveillance.value}}" data-dtype="Number" /> <input class="input-numeric-short" type="text" name="system.bienveillance.value" value="{{system.bienveillance.value}}" data-dtype="Number" />
<label class="item-left-pad item-field item-field-label-medium">Bonus dégats</label> <label class="item-left-pad item-field item-field-label-medium">Bonus dégats</label>
<input class="input-numeric-short" type="text" value="{{bonusDegats.label}}" disabled data-dtype="Number" /> <input class="input-numeric-short" type="text" value="{{bonusDegats.label}}" disabled data-dtype="Number" />
@ -168,10 +169,10 @@
</span> </span>
</li> </li>
{{#each graces as |grace key|}} {{#each graces as |grace key|}}
<li class="item flexrow list-item list-item-shadow item-id" data-item-id="{{arme._id}}"> <li class="item flexrow list-item list-item-shadow item-id" data-item-id="{{grace._id}}">
<a class="item-edit item-name-img" title="Edit Item"><img class="sheet-competence-img" <a class="item-edit item-name-img" title="Edit Item"><img class="sheet-competence-img"
src="{{grace.img}}" /></a> src="{{grace.img}}" /></a>
<span class="item-field-label-long"> <span class="item-field-label-long" data-tooltip="{{grace.system.effet}}">
{{grace.name}} {{grace.name}}
</span> </span>
<div class="item-filler">&nbsp;</div> <div class="item-filler">&nbsp;</div>

View File

@ -12,7 +12,7 @@
</div> </div>
<div class="form-group creator-finished-section"> <div class="form-group creator-finished-section">
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. de personnage.
</div> </div>

View File

@ -4,11 +4,15 @@
<h4>{{subtitle}}</h4> <h4>{{subtitle}}</h4>
<div class="form-group"> <div class="form-group">
<select name="selectedItem"> <select name="selectedItem" id="stage-selector" class="stage-selector">
{{selectOptions choices valueAttr="id" labelAttr="name"}} {{selectOptions choices valueAttr="id" labelAttr="name"}}
</select> </select>
</div> </div>
<div class="stage-main-details">
</div>
{{> systems/fvtt-te-deum/templates/dialogs/partial-creator-status.hbs}} {{> systems/fvtt-te-deum/templates/dialogs/partial-creator-status.hbs}}
</div> </div>

View File

@ -8,11 +8,19 @@
{{> systems/fvtt-te-deum/templates/items/partial-item-nav.hbs}} {{> systems/fvtt-te-deum/templates/items/partial-item-nav.hbs}}
{{!-- Sheet Body --}} {{!-- Sheet Body --}}
<section class="sheet-body"> <section class="sheet-body">
{{> systems/fvtt-te-deum/templates/items/partial-item-description.hbs}} <div class="tab description" data-group="primary" data-tab="description">
<div class="grace-texte">
<strong>Pré-requis</strong> : {{system.prerequis}}
</div>
<div class="grace-texte">
<strong>Effet</strong> : {{system.effet}}
</div>
<hr>
{{editor description target="system.description" button=true owner=owner editable=editable}}
</div>
<div class="tab details" data-group="primary" data-tab="details"> <div class="tab details" data-group="primary" data-tab="details">