diff --git a/module/actor-sheet.js b/module/actor-sheet.js index fb21e9e6..ec0b9885 100644 --- a/module/actor-sheet.js +++ b/module/actor-sheet.js @@ -105,7 +105,6 @@ export class RdDActorSheet extends ActorSheet { formData.hautreve = { isDemiReve: this.actor.getEffect(STATUSES.StatusDemiReve), rencontres: duplicate(formData.system.reve.rencontre.list), - casesTmr: formData.itemsByType.casetmr, cacheTMR: this.actor.isTMRCache() } diff --git a/module/rdd-utility.js b/module/rdd-utility.js index 905694ff..200ccc2d 100644 --- a/module/rdd-utility.js +++ b/module/rdd-utility.js @@ -115,15 +115,36 @@ export class RdDUtility { 'systems/foundryvtt-reve-de-dragon/templates/actor-creature-sheet.html', 'systems/foundryvtt-reve-de-dragon/templates/actor-entite-sheet.html', 'systems/foundryvtt-reve-de-dragon/templates/actor-vehicule-sheet.html', + // sous-parties de feuilles de personnages 'systems/foundryvtt-reve-de-dragon/templates/actor-sheet-competence-partial.html', 'systems/foundryvtt-reve-de-dragon/templates/actor-sheet-categorie-competences-partial.html', 'systems/foundryvtt-reve-de-dragon/templates/actor-sheet-effects-partial.html', - 'systems/foundryvtt-reve-de-dragon/templates/actor-sheet-oeuvre-partial.html', + 'systems/foundryvtt-reve-de-dragon/templates/actor-sheet-xp-competences.html', 'systems/foundryvtt-reve-de-dragon/templates/actor-sheet-combat.html', 'systems/foundryvtt-reve-de-dragon/templates/actor-sheet-blessures.html', 'systems/foundryvtt-reve-de-dragon/templates/actor-sheet-blessure.html', + 'systems/foundryvtt-reve-de-dragon/templates/actor-sheet-maladies-poisons.html', + 'systems/foundryvtt-reve-de-dragon/templates/actor-sheet-possessions.html', + 'systems/foundryvtt-reve-de-dragon/templates/actor-sheet-actor-sheet-taches.html', + 'systems/foundryvtt-reve-de-dragon/templates/actor-sheet-taches.html', + 'systems/foundryvtt-reve-de-dragon/templates/actor-sheet-oeuvres.html', + 'systems/foundryvtt-reve-de-dragon/templates/actor-sheet-oeuvre-partial.html', + 'systems/foundryvtt-reve-de-dragon/templates/actor-sheet-jeux.html', + 'systems/foundryvtt-reve-de-dragon/templates/actor-sheet-alchimie.html', + 'systems/foundryvtt-reve-de-dragon/templates/actor-sheet-astrologie.html', + 'systems/foundryvtt-reve-de-dragon/templates/actor-sheet-non-haut-revant.html', + 'systems/foundryvtt-reve-de-dragon/templates/actor-sheet-haut-revant.html', 'systems/foundryvtt-reve-de-dragon/templates/actor-sheet-queues.html', - // Conteneur/item in Actor sheet + 'systems/foundryvtt-reve-de-dragon/templates/actor-sheet-souffles.html', + 'systems/foundryvtt-reve-de-dragon/templates/actor-sheet-tetes.html', + 'systems/foundryvtt-reve-de-dragon/templates/actor-sheet-hr-signes-draconiques.html', + 'systems/foundryvtt-reve-de-dragon/templates/actor-sheet-hr-rencontres.html', + 'systems/foundryvtt-reve-de-dragon/templates/actor-sheet-hr-sorts.html', + 'systems/foundryvtt-reve-de-dragon/templates/actor-sheet-hr-sorts-reserve.html', + 'systems/foundryvtt-reve-de-dragon/templates/actor-sheet-hr-meditations.html', + 'systems/foundryvtt-reve-de-dragon/templates/actor-sheet-hr-casestmr.html', + 'systems/foundryvtt-reve-de-dragon/templates/actor-sheet-xp-journal.html', + 'systems/foundryvtt-reve-de-dragon/templates/actor-sheet-editor-notes-mj.html', 'systems/foundryvtt-reve-de-dragon/templates/actor-sheet-inventaire.html', 'systems/foundryvtt-reve-de-dragon/templates/actor-sheet-item-queue.html', 'systems/foundryvtt-reve-de-dragon/templates/actor-sheet-inventaire-item.html', @@ -131,7 +152,6 @@ export class RdDUtility { 'systems/foundryvtt-reve-de-dragon/templates/actor-sheet-liens-animaux.html', 'systems/foundryvtt-reve-de-dragon/templates/actor-sheet-liens-suivants.html', 'systems/foundryvtt-reve-de-dragon/templates/actor-sheet-liens-vehicules.html', - 'systems/foundryvtt-reve-de-dragon/templates/actor-sheet-editor-notes-mj.html', //Items 'systems/foundryvtt-reve-de-dragon/templates/header-item.html', 'systems/foundryvtt-reve-de-dragon/templates/item-competence-sheet.html', @@ -374,6 +394,7 @@ export class RdDUtility { RdDUtility.filterEquipementParType(formData); formData.sorts = this.arrayOrEmpty(formData.itemsByType['sort']); + formData.casestmr = this.arrayOrEmpty(formData.itemsByType['casetmr']); formData.signesdraconiques = this.arrayOrEmpty(formData.itemsByType['signedraconique']); formData.queues = this.arrayOrEmpty(formData.itemsByType['queue']); formData.souffles = this.arrayOrEmpty(formData.itemsByType['souffle']); diff --git a/styles/simple.css b/styles/simple.css index 70c7a19c..67ec038f 100644 --- a/styles/simple.css +++ b/styles/simple.css @@ -937,6 +937,12 @@ ul, li { margin-right: 0.2rem; margin-left: 0.2rem; } +.initiative-value { + flex-grow: 0; + flex-basis: 3rem; + margin-right: 0.2rem; + margin-left: 0.2rem; +} .description-value { flex-grow: 0; flex-basis: 4rem; diff --git a/templates/actor-sheet-alchimie.html b/templates/actor-sheet-alchimie.html new file mode 100644 index 00000000..7a27fb7a --- /dev/null +++ b/templates/actor-sheet-alchimie.html @@ -0,0 +1,13 @@ +{{#if recettesAlchimiques.length}} +

Recettes Alchimiques

+ +{{/if}} \ No newline at end of file diff --git a/templates/actor-sheet-astrologie.html b/templates/actor-sheet-astrologie.html new file mode 100644 index 00000000..d5094e1e --- /dev/null +++ b/templates/actor-sheet-astrologie.html @@ -0,0 +1,2 @@ +

Astrologie

+Astrologie : Nombres Astraux diff --git a/templates/actor-sheet-blessures.html b/templates/actor-sheet-blessures.html index ec809d1f..b6853800 100644 --- a/templates/actor-sheet-blessures.html +++ b/templates/actor-sheet-blessures.html @@ -1,7 +1,6 @@ -

Blessures: