- {{>"systems/foundryvtt-reve-de-dragon/templates/actor/comp-creature.html"}}
+ {{>"systems/foundryvtt-reve-de-dragon/templates/actor/comp-creature.hbs"}}
@@ -62,7 +62,7 @@
{{!-- Equipment Tab --}}
- {{> "systems/foundryvtt-reve-de-dragon/templates/actor/inventaire-monnaie.html"}}
+ {{> "systems/foundryvtt-reve-de-dragon/templates/actor/inventaire-monnaie.hbs"}}
{{> "systems/foundryvtt-reve-de-dragon/templates/actor/inventaire.html"}}
diff --git a/templates/actor-entite-sheet.html b/templates/actor-entite-sheet.html
index 89de5e74..68ea2b48 100644
--- a/templates/actor-entite-sheet.html
+++ b/templates/actor-entite-sheet.html
@@ -40,8 +40,8 @@
- {{>"systems/foundryvtt-reve-de-dragon/templates/actor/comp-creature.html"}}
- {{>"systems/foundryvtt-reve-de-dragon/templates/actor/comp-possession.html"}}
+ {{>"systems/foundryvtt-reve-de-dragon/templates/actor/comp-creature.hbs"}}
+ {{>"systems/foundryvtt-reve-de-dragon/templates/actor/comp-possession.hbs"}}
{{>"systems/foundryvtt-reve-de-dragon/templates/actor/resonances.hbs"}}
diff --git a/templates/actor-sheet.html b/templates/actor-sheet.html
index d6f4d61b..ee639d95 100644
--- a/templates/actor-sheet.html
+++ b/templates/actor-sheet.html
@@ -111,19 +111,19 @@
{{> "systems/foundryvtt-reve-de-dragon/templates/actor/combat.html"}}
{{> "systems/foundryvtt-reve-de-dragon/templates/actor/blessures.html"}}
- {{> "systems/foundryvtt-reve-de-dragon/templates/actor/maladies-poisons.html"}}
- {{> "systems/foundryvtt-reve-de-dragon/templates/actor/possessions.html"}}
+ {{> "systems/foundryvtt-reve-de-dragon/templates/actor/maladies-poisons.hbs"}}
+ {{> "systems/foundryvtt-reve-de-dragon/templates/actor/possessions.hbs"}}
{{/if}}
{{#if options.isObserver}}{{!-- Connaissances Tab --}}
{{> "systems/foundryvtt-reve-de-dragon/templates/actor/astrologie.html"}}
- {{> "systems/foundryvtt-reve-de-dragon/templates/actor/taches.html"}}
- {{> "systems/foundryvtt-reve-de-dragon/templates/actor/chirurgie.html"}}
- {{> "systems/foundryvtt-reve-de-dragon/templates/actor/oeuvres.html"}}
+ {{> "systems/foundryvtt-reve-de-dragon/templates/actor/taches.hbs"}}
+ {{> "systems/foundryvtt-reve-de-dragon/templates/actor/chirurgie.hbs"}}
+ {{> "systems/foundryvtt-reve-de-dragon/templates/actor/oeuvres.hbs"}}
{{> "systems/foundryvtt-reve-de-dragon/templates/actor/jeus.hbs"}}
- {{> "systems/foundryvtt-reve-de-dragon/templates/actor/alchimie.html"}}
+ {{> "systems/foundryvtt-reve-de-dragon/templates/actor/alchimie.hbs"}}
{{/if}}
{{#if options.isObserver}}{{!-- hautreve Tab --}}
@@ -143,7 +143,7 @@
{{!-- Equipment Tab --}}
- {{> "systems/foundryvtt-reve-de-dragon/templates/actor/inventaire-monnaie.html"}}
+ {{> "systems/foundryvtt-reve-de-dragon/templates/actor/inventaire-monnaie.hbs"}}
{{> "systems/foundryvtt-reve-de-dragon/templates/actor/inventaire.html"}}
{{> "systems/foundryvtt-reve-de-dragon/templates/actor/liens-animaux.hbs"}}
{{> "systems/foundryvtt-reve-de-dragon/templates/actor/liens-vehicules.hbs"}}
diff --git a/templates/actor-vehicule-sheet.html b/templates/actor-vehicule-sheet.html
index 709ce3ae..8c8b4a2f 100644
--- a/templates/actor-vehicule-sheet.html
+++ b/templates/actor-vehicule-sheet.html
@@ -91,7 +91,7 @@
{{!-- Equipment Tab --}}
- {{> "systems/foundryvtt-reve-de-dragon/templates/actor/inventaire-monnaie.html"}}
+ {{> "systems/foundryvtt-reve-de-dragon/templates/actor/inventaire-monnaie.hbs"}}
{{> "systems/foundryvtt-reve-de-dragon/templates/actor/inventaire.html"}}
diff --git a/templates/actor/alchimie.hbs b/templates/actor/alchimie.hbs
new file mode 100644
index 00000000..e15f58f3
--- /dev/null
+++ b/templates/actor/alchimie.hbs
@@ -0,0 +1,11 @@
+{{#if recettealchimiques.length}}
+
Recettes Alchimiques
+
+ {{#each (trier recettealchimiques) as |recette id|}}
+ -
+ {{recette.name}}
+ {{>'systems/foundryvtt-reve-de-dragon/templates/actor/item-action-controls.hbs' item=recette options=@root.options}}
+
+ {{/each}}
+
+{{/if}}
\ No newline at end of file
diff --git a/templates/actor/alchimie.html b/templates/actor/alchimie.html
deleted file mode 100644
index 2b0f5826..00000000
--- a/templates/actor/alchimie.html
+++ /dev/null
@@ -1,15 +0,0 @@
-{{#if recettealchimiques.length}}
-
Recettes Alchimiques
-
- {{#each (trier recettealchimiques) as |recette id|}}
- - {{recette.name}}
-
-
- {{/each}}
-
-{{/if}}
\ No newline at end of file
diff --git a/templates/actor/armures.hbs b/templates/actor/armures.hbs
index 78edda87..cab6b93a 100644
--- a/templates/actor/armures.hbs
+++ b/templates/actor/armures.hbs
@@ -3,7 +3,7 @@
- {{#if armure.system.equipe}}{{else}}{{/if}}
+ {{#if armure.system.equipe}}{{else}}{{/if}}
{{armure.name}}
{{#if armure.system.malus}}
({{armure.system.malus}})
diff --git a/templates/actor/blessure.hbs b/templates/actor/blessure.hbs
index ef6ec483..095258d2 100644
--- a/templates/actor/blessure.hbs
+++ b/templates/actor/blessure.hbs
@@ -33,10 +33,5 @@
{{#if system.origine}}Par {{system.origine}}{{/if}}
{{#if system.localisation}}{{system.localisation}}{{/if}}
-
-
-
-
-
-
+ {{>'systems/foundryvtt-reve-de-dragon/templates/actor/item-action-controls.hbs' item=this options=@root.options}}
diff --git a/templates/actor/chirurgie.html b/templates/actor/chirurgie.hbs
similarity index 71%
rename from templates/actor/chirurgie.html
rename to templates/actor/chirurgie.hbs
index 4c9aba22..80efe8cf 100644
--- a/templates/actor/chirurgie.html
+++ b/templates/actor/chirurgie.hbs
@@ -10,14 +10,9 @@
- {{tache.name}}
+ {{tache.name}}
({{tache.system.points_de_tache_courant}}/{{tache.system.points_de_tache}})
-
+ {{>'systems/foundryvtt-reve-de-dragon/templates/actor/item-action-controls.hbs' item=tache options=@root.options}}
{{/if}}
{{/each}}
diff --git a/templates/actor/combat.html b/templates/actor/combat.html
index 8179a27b..a7765cbd 100644
--- a/templates/actor/combat.html
+++ b/templates/actor/combat.html
@@ -1,10 +1,10 @@
- {{> "systems/foundryvtt-reve-de-dragon/templates/actor/commerce-inventaire.html"}}
+ {{> "systems/foundryvtt-reve-de-dragon/templates/actor/commerce-inventaire.hbs"}}
{{#unless system.illimite}}
{{#if @root.options.isObserver}}
- {{> "systems/foundryvtt-reve-de-dragon/templates/actor/inventaire-monnaie.html"}}
+ {{> "systems/foundryvtt-reve-de-dragon/templates/actor/inventaire-monnaie.hbs"}}
{{/if}}
{{/unless}}
- {{!--
-
-
- --}}
{{> "systems/foundryvtt-reve-de-dragon/templates/actor/editor-notes-mj.html"}}
diff --git a/templates/actor/commerce-inventaire-item.hbs b/templates/actor/commerce-inventaire-item.hbs
index b6548b1c..7cf0f09d 100644
--- a/templates/actor/commerce-inventaire-item.hbs
+++ b/templates/actor/commerce-inventaire-item.hbs
@@ -39,23 +39,7 @@
{{/if}} />
{{/unless}}
-
- {{#if options.isOwner}}
-
- {{#unless (and (eq item.type 'conteneur') (not vide))}}
-
- {{#if (or item.parent.system.illimite (ne item.system.quantite 0))}}
-
- {{/if}}
- {{/unless}}
- {{/if}}
- {{#unless (and (eq item.type 'conteneur') (not vide))}}
- {{#if (or item.parent.system.illimite (gt item.system.quantite 0))}}
-
- {{/if}}
-
- {{/unless}}
-
+ {{>'systems/foundryvtt-reve-de-dragon/templates/actor/item-action-controls.hbs' item=item options=@root.options}}
{{/if}}
{{/unless}}
\ No newline at end of file
diff --git a/templates/actor/commerce-inventaire.html b/templates/actor/commerce-inventaire.hbs
similarity index 100%
rename from templates/actor/commerce-inventaire.html
rename to templates/actor/commerce-inventaire.hbs
diff --git a/templates/actor/comp-creature.html b/templates/actor/comp-creature.hbs
similarity index 81%
rename from templates/actor/comp-creature.html
rename to templates/actor/comp-creature.hbs
index c22297f8..2baf2420 100644
--- a/templates/actor/comp-creature.html
+++ b/templates/actor/comp-creature.hbs
@@ -4,7 +4,7 @@
{{#each (trier competences) as |comp key|}}
-
-
+
{{comp.name}}
@@ -23,12 +23,7 @@
{{#unless @root.options.vueDetaillee}}disabled{{/unless}}
{{else}}disabled{{/if}}
/>
- {{#if @root.options.vueDetaillee}}
-
- {{/if}}
+ {{>'systems/foundryvtt-reve-de-dragon/templates/actor/item-action-controls.hbs' item=comp options=@root.options}}
{{/each}}
diff --git a/templates/actor/comp-possession.html b/templates/actor/comp-possession.hbs
similarity index 57%
rename from templates/actor/comp-possession.html
rename to templates/actor/comp-possession.hbs
index c82d584a..8d726d77 100644
--- a/templates/actor/comp-possession.html
+++ b/templates/actor/comp-possession.hbs
@@ -4,11 +4,8 @@
{{#each possessions as |possession key|}}
- {{possession.name}}
-
+ {{possession.name}}
+ {{>'systems/foundryvtt-reve-de-dragon/templates/actor/item-action-controls.hbs' item=possession options=@root.options}}
{{/each}}
diff --git a/templates/actor/competence-categorie.html b/templates/actor/competence-categorie.html
index 8c1e8122..626731b7 100644
--- a/templates/actor/competence-categorie.html
+++ b/templates/actor/competence-categorie.html
@@ -14,17 +14,17 @@
sort
{{/if}}
-
+
Arch.
-
+
{{#if @root.options.isGM}}
-
+
{{/if}}
{{/if}}
{{#each competences as |comp key|}}
- {{> "systems/foundryvtt-reve-de-dragon/templates/actor/competence.html" comp}}
+ {{> "systems/foundryvtt-reve-de-dragon/templates/actor/competence.hbs" comp}}
{{/each}}
diff --git a/templates/actor/competence.html b/templates/actor/competence.hbs
similarity index 85%
rename from templates/actor/competence.html
rename to templates/actor/competence.hbs
index fb1624de..1f82426b 100644
--- a/templates/actor/competence.html
+++ b/templates/actor/competence.hbs
@@ -1,7 +1,7 @@
{{#unless system.isHidden}}
-
+
{{name}}
@@ -46,13 +46,8 @@
-
- {{#if @root.options.isGM}}
-
- {{/if}}
-
-
+ {{>'systems/foundryvtt-reve-de-dragon/templates/actor/item-action-controls.hbs' item=this options=@root.options}}
{{/if}}
{{/unless}}
\ No newline at end of file
diff --git a/templates/actor/dragon-queue.html b/templates/actor/dragon-queue.hbs
similarity index 61%
rename from templates/actor/dragon-queue.html
rename to templates/actor/dragon-queue.hbs
index 5e2664a9..0d6212e5 100644
--- a/templates/actor/dragon-queue.html
+++ b/templates/actor/dragon-queue.hbs
@@ -7,11 +7,5 @@
{{/if}}
{{queue.name}}
-
-
-
- {{#if queue.system.refoulement}}
-
Refouler
- {{/if}}
-
+ {{>'systems/foundryvtt-reve-de-dragon/templates/actor/item-action-controls.hbs' item=queue options=@root.options}}
diff --git a/templates/actor/dragon-queues.html b/templates/actor/dragon-queues.html
index c04ef0ff..e2b565b4 100644
--- a/templates/actor/dragon-queues.html
+++ b/templates/actor/dragon-queues.html
@@ -6,10 +6,10 @@
{{#each queues as |queue key|}}
- {{> "systems/foundryvtt-reve-de-dragon/templates/actor/dragon-queue.html" queue=queue key=key}}
+ {{> "systems/foundryvtt-reve-de-dragon/templates/actor/dragon-queue.hbs" queue=queue key=key}}
{{/each}}
{{#each ombres as |ombre key|}}
- {{> "systems/foundryvtt-reve-de-dragon/templates/actor/dragon-queue.html" queue=ombre key=key}}
+ {{> "systems/foundryvtt-reve-de-dragon/templates/actor/dragon-queue.hbs" queue=ombre key=key}}
{{/each}}
{{/if}}
diff --git a/templates/actor/dragon-souffles.html b/templates/actor/dragon-souffles.hbs
similarity index 62%
rename from templates/actor/dragon-souffles.html
rename to templates/actor/dragon-souffles.hbs
index c5839a73..165589b5 100644
--- a/templates/actor/dragon-souffles.html
+++ b/templates/actor/dragon-souffles.hbs
@@ -5,10 +5,7 @@
{{souffle.name}}
-
+ {{>'systems/foundryvtt-reve-de-dragon/templates/actor/item-action-controls.hbs' item=souffle options=@root.options}}
{{/each}}
diff --git a/templates/actor/dragon-tetes.html b/templates/actor/dragon-tetes.hbs
similarity index 62%
rename from templates/actor/dragon-tetes.html
rename to templates/actor/dragon-tetes.hbs
index f05c8f10..672ab156 100644
--- a/templates/actor/dragon-tetes.html
+++ b/templates/actor/dragon-tetes.hbs
@@ -5,10 +5,7 @@
{{tete.name}}
-
+ {{>'systems/foundryvtt-reve-de-dragon/templates/actor/item-action-controls.hbs' item=tete options=@root.options}}
{{/each}}
diff --git a/templates/actor/haut-revant.hbs b/templates/actor/haut-revant.hbs
index 0932a2f3..340ed9c4 100644
--- a/templates/actor/haut-revant.hbs
+++ b/templates/actor/haut-revant.hbs
@@ -10,7 +10,7 @@
{{/if}}
- Demi rêve :
+ Demi rêve :
{{#if options.isGM}}
{{caseTmr-label system.reve.tmrpos.coord}}
@@ -28,9 +28,9 @@
{{> "systems/foundryvtt-reve-de-dragon/templates/actor/non-haut-revant.hbs"}}
-{{> "systems/foundryvtt-reve-de-dragon/templates/actor/hr-signes-draconiques.html"}}
-{{> "systems/foundryvtt-reve-de-dragon/templates/actor/hr-rencontres.html"}}
-{{> "systems/foundryvtt-reve-de-dragon/templates/actor/hr-sorts.html"}}
-{{> "systems/foundryvtt-reve-de-dragon/templates/actor/hr-sorts-reserve.html"}}
-{{> "systems/foundryvtt-reve-de-dragon/templates/actor/hr-meditations.html"}}
+{{> "systems/foundryvtt-reve-de-dragon/templates/actor/hr-signes-draconiques.hbs"}}
+{{> "systems/foundryvtt-reve-de-dragon/templates/actor/hr-rencontres.hbs"}}
+{{> "systems/foundryvtt-reve-de-dragon/templates/actor/hr-sorts.hbs"}}
+{{> "systems/foundryvtt-reve-de-dragon/templates/actor/hr-sorts-reserve.hbs"}}
+{{> "systems/foundryvtt-reve-de-dragon/templates/actor/hr-meditations.hbs"}}
{{> "systems/foundryvtt-reve-de-dragon/templates/actor/hr-casetmrs.hbs"}}
diff --git a/templates/actor/hr-casetmrs.hbs b/templates/actor/hr-casetmrs.hbs
index 9a292f1d..8d558ebf 100644
--- a/templates/actor/hr-casetmrs.hbs
+++ b/templates/actor/hr-casetmrs.hbs
@@ -6,11 +6,7 @@
{{casetmr.name}}
{{casetmr.system.coord}} - {{caseTmr-label casetmr.system.coord}}
-
+ {{>'systems/foundryvtt-reve-de-dragon/templates/actor/item-action-controls.hbs' item=casetmr options=@root.options}}
{{/each}}
diff --git a/templates/actor/hr-meditations.html b/templates/actor/hr-meditations.hbs
similarity index 61%
rename from templates/actor/hr-meditations.html
rename to templates/actor/hr-meditations.hbs
index af9dc52e..dae569de 100644
--- a/templates/actor/hr-meditations.html
+++ b/templates/actor/hr-meditations.hbs
@@ -5,12 +5,7 @@
{{meditation.name}} - {{meditation.system.competence}}
-
+ {{>'systems/foundryvtt-reve-de-dragon/templates/actor/item-action-controls.hbs' item=meditation options=@root.options}}
{{/each}}
diff --git a/templates/actor/hr-rencontres.html b/templates/actor/hr-rencontres.hbs
similarity index 84%
rename from templates/actor/hr-rencontres.html
rename to templates/actor/hr-rencontres.hbs
index d049c815..fc649a33 100644
--- a/templates/actor/hr-rencontres.html
+++ b/templates/actor/hr-rencontres.hbs
@@ -10,9 +10,7 @@
{{#if rencontre.system.date}}
{{upperFirst rencontre.system.heure}}, le {{rencontre.system.date}}
{{/if}}
-
+ {{>'systems/foundryvtt-reve-de-dragon/templates/actor/item-action-controls.hbs' item=rencontre options=@root.options}}
{{/each}}
diff --git a/templates/actor/hr-signes-draconiques.html b/templates/actor/hr-signes-draconiques.hbs
similarity index 79%
rename from templates/actor/hr-signes-draconiques.html
rename to templates/actor/hr-signes-draconiques.hbs
index 16afeb28..1a190bd6 100644
--- a/templates/actor/hr-signes-draconiques.html
+++ b/templates/actor/hr-signes-draconiques.hbs
@@ -6,9 +6,7 @@
{{signe.name}}
{{signe.system.difficulte}}
-
+ {{>'systems/foundryvtt-reve-de-dragon/templates/actor/item-action-controls.hbs' item=signe options=@root.options}}
{{/each}}
diff --git a/templates/actor/hr-sorts-reserve.html b/templates/actor/hr-sorts-reserve.hbs
similarity index 69%
rename from templates/actor/hr-sorts-reserve.html
rename to templates/actor/hr-sorts-reserve.hbs
index 1e338dea..b048be51 100644
--- a/templates/actor/hr-sorts-reserve.html
+++ b/templates/actor/hr-sorts-reserve.hbs
@@ -1,8 +1,5 @@
{{#if sortreserves.length}}
-
Sorts en Réserve{{#if options.isGM}}
-
-{{/if}}
-
+
Sorts en Réserve
diff --git a/templates/actor/hr-sorts.html b/templates/actor/hr-sorts.hbs
similarity index 67%
rename from templates/actor/hr-sorts.html
rename to templates/actor/hr-sorts.hbs
index 0f9d1c72..edde88da 100644
--- a/templates/actor/hr-sorts.html
+++ b/templates/actor/hr-sorts.hbs
@@ -15,16 +15,7 @@
{{#if sort.system.caseTMRspeciale}}{{sort.system.caseTMRspeciale}}{{else}}{{upperFirst sort.system.caseTMR}}{{/if}}
R{{itemSort-spaceIfText sort.system.difficulte}} r{{itemSort-spaceIfText sort.system.ptreve}}
-
-
-
-
- {{#if (and @root.options.isGM (not sort.system.isrituel))}}
-
-
-
- {{/if}}
-
+ {{>'systems/foundryvtt-reve-de-dragon/templates/actor/item-action-controls.hbs' item=sort options=@root.options}}
{{/each}}
diff --git a/templates/actor/inventaire-item.hbs b/templates/actor/inventaire-item.hbs
index f604d783..26137e2d 100644
--- a/templates/actor/inventaire-item.hbs
+++ b/templates/actor/inventaire-item.hbs
@@ -31,27 +31,6 @@
{{numberFormat item.system.encTotal decimals=2}}
{{>'systems/foundryvtt-reve-de-dragon/templates/actor/item-action-controls.hbs' item=item options=options}}
- {{!--
- {{#if options.isOwner}}
- {{#unless item.estContenu}}
- {{#if item.equipable}}
- {{#if item.system.equipe}}{{else}}{{/if}}
- {{/if}}
- {{/unless}}
-
-
-
- {{#if (ne item.system.quantite 0)}}
-
- {{/if}}
- {{/if}}
-
- {{#if options.isOwner}}
- {{#if item.system.actionPrincipale}}
- {{item.system.actionPrincipale}}
- {{/if}}
- {{/if}}
- --}}
{{/if}}
{{/unless}}
diff --git a/templates/actor/inventaire-monnaie.html b/templates/actor/inventaire-monnaie.hbs
similarity index 79%
rename from templates/actor/inventaire-monnaie.html
rename to templates/actor/inventaire-monnaie.hbs
index 6553cbb2..6421a15d 100644
--- a/templates/actor/inventaire-monnaie.html
+++ b/templates/actor/inventaire-monnaie.hbs
@@ -21,12 +21,9 @@
{{/if}}
-
- {{#if @root.options.isOwner}}
-
-
- {{/if}}
-
+ {{#if @root.options.isOwner}}
+ {{>'systems/foundryvtt-reve-de-dragon/templates/actor/item-action-controls.hbs' item=signe options=@root.options}}
+ {{/if}}
{{/each}}
diff --git a/templates/actor/item-action-controls.hbs b/templates/actor/item-action-controls.hbs
new file mode 100644
index 00000000..5027b35c
--- /dev/null
+++ b/templates/actor/item-action-controls.hbs
@@ -0,0 +1,16 @@
+
+ {{#each item.actions as |action|}}
+ {{#if action.placeholder}}
+
+ {{/if}}
+ {{#if (item-action-applies action ../item ../options)}}
+
+ {{#if (item-action-icon action ../item)}}
+
+ {{else}}
+ {{action.label}}
+ {{/if}}
+
+ {{/if}}
+ {{/each}}
+
diff --git a/templates/actor/jeus.hbs b/templates/actor/jeus.hbs
index 2d790788..0baff5bd 100644
--- a/templates/actor/jeus.hbs
+++ b/templates/actor/jeus.hbs
@@ -3,13 +3,8 @@
{{#each jeus as |jeu id|}}
-
- {{jeu.name}} (base {{jeu.system.base}})
-
+
+ {{>'systems/foundryvtt-reve-de-dragon/templates/actor/item-action-controls.hbs' item=jeu options=@root.options}}
{{/each}}
diff --git a/templates/actor/liens-suivants.hbs b/templates/actor/liens-suivants.hbs
index 919f702b..04ec2d58 100644
--- a/templates/actor/liens-suivants.hbs
+++ b/templates/actor/liens-suivants.hbs
@@ -3,20 +3,20 @@
{{#each subacteurs.suivants as |suivant id|}}
-
+
{{suivant.name}}
{{#if suivant.ephemere}}
{{else}}
-
+
{{>'systems/foundryvtt-reve-de-dragon/templates/coeur/afficher-coeur.hbs' numero=1 courant=suivant.coeur prochain=suivant.prochainCoeur}}
{{>'systems/foundryvtt-reve-de-dragon/templates/coeur/afficher-coeur.hbs' numero=2 courant=suivant.coeur prochain=suivant.prochainCoeur}}
{{>'systems/foundryvtt-reve-de-dragon/templates/coeur/afficher-coeur.hbs' numero=3 courant=suivant.coeur prochain=suivant.prochainCoeur}}
{{>'systems/foundryvtt-reve-de-dragon/templates/coeur/afficher-coeur.hbs' numero=4 courant=suivant.coeur prochain=suivant.prochainCoeur}}
-
+
{{#if (gte suivant.coeur 1)}}
Tendre moment
{{/if}}
diff --git a/templates/actor/maladies-poisons.html b/templates/actor/maladies-poisons.hbs
similarity index 50%
rename from templates/actor/maladies-poisons.html
rename to templates/actor/maladies-poisons.hbs
index a97fa240..6177c5e2 100644
--- a/templates/actor/maladies-poisons.html
+++ b/templates/actor/maladies-poisons.hbs
@@ -2,32 +2,29 @@
Maladies & Poisons:
{{#each maladiesPoisons as |maladie key|}}
-
-
+
{{#if (or @root.options.isGM maladie.system.identifie)}}
{{maladie.name}}
{{else}}
Inconnue
{{/if}}
- {{maladie.type}}
-
+ {{maladie.type}}
+
{{#if (or @root.options.isGM maladie.system.remedesconnus)}}
{{maladie.system.remedes}}
{{else}}
Remèdes Inconnus
{{/if}}
-
+ {{>'systems/foundryvtt-reve-de-dragon/templates/actor/item-action-controls.hbs' item=maladie options=@root.options}}
{{/each}}
diff --git a/templates/actor/non-haut-revant.hbs b/templates/actor/non-haut-revant.hbs
index c91ed10b..ae1f9c54 100644
--- a/templates/actor/non-haut-revant.hbs
+++ b/templates/actor/non-haut-revant.hbs
@@ -8,7 +8,7 @@
pour rendre le personnage Haut-Rêvant.
{{/if}}
- Seuil de Rêve :
+ Seuil de Rêve :
{{#if options.isGM}}
@@ -18,7 +18,7 @@
- Refoulement :
+ Refoulement :
{{#if options.isGM}}
@@ -29,7 +29,7 @@
{{#if system.reve.reve.thanatosused}}
- La prochaine queue est une Ombre
+ La prochaine queue est une Ombre
@@ -37,5 +37,5 @@
{{/if}}
{{> "systems/foundryvtt-reve-de-dragon/templates/actor/dragon-queues.html"}}
-{{> "systems/foundryvtt-reve-de-dragon/templates/actor/dragon-souffles.html"}}
-{{> "systems/foundryvtt-reve-de-dragon/templates/actor/dragon-tetes.html"}}
+{{> "systems/foundryvtt-reve-de-dragon/templates/actor/dragon-souffles.hbs"}}
+{{> "systems/foundryvtt-reve-de-dragon/templates/actor/dragon-tetes.hbs"}}
diff --git a/templates/actor/oeuvre.hbs b/templates/actor/oeuvre.hbs
new file mode 100644
index 00000000..daac7f6f
--- /dev/null
+++ b/templates/actor/oeuvre.hbs
@@ -0,0 +1,9 @@
+
+
+ {{upperFirst typeOeuvre}}
+
+ {{oeuvre.name}} (niveau {{oeuvre.system.niveau}})
+
+ {{>'systems/foundryvtt-reve-de-dragon/templates/actor/item-action-controls.hbs' item=oeuvre options=@root.options}}
+
+
diff --git a/templates/actor/oeuvre.html b/templates/actor/oeuvre.html
deleted file mode 100644
index 606bfe64..00000000
--- a/templates/actor/oeuvre.html
+++ /dev/null
@@ -1,14 +0,0 @@
-
-
- {{upperFirst typeOeuvre}}
-
- {{oeuvre.name}} (niveau {{oeuvre.system.niveau}})
-
-
-
-
diff --git a/templates/actor/oeuvres.html b/templates/actor/oeuvres.hbs
similarity index 61%
rename from templates/actor/oeuvres.html
rename to templates/actor/oeuvres.hbs
index e413334f..50cffcd1 100644
--- a/templates/actor/oeuvres.html
+++ b/templates/actor/oeuvres.hbs
@@ -1,18 +1,18 @@
Oeuvres diverses
Créer une oeuvre
{{#each (trier chants) as |chant id|}}
- {{> "systems/foundryvtt-reve-de-dragon/templates/actor/oeuvre.html" oeuvre=chant typeOeuvre="Chant" classOeuvre="chant-label"}}
+ {{> "systems/foundryvtt-reve-de-dragon/templates/actor/oeuvre.hbs" oeuvre=chant typeOeuvre="Chant" classOeuvre="action-chant list-item-label"}}
{{/each}}
{{#each (trier musiques) as |musique id|}}
- {{> "systems/foundryvtt-reve-de-dragon/templates/actor/oeuvre.html" oeuvre=musique typeOeuvre="Musique" classOeuvre="musique-label"}}
+ {{> "systems/foundryvtt-reve-de-dragon/templates/actor/oeuvre.hbs" oeuvre=musique typeOeuvre="Musique" classOeuvre="action-musique list-item-label"}}
{{/each}}
{{#each (trier danses) as |danse id|}}
- {{> "systems/foundryvtt-reve-de-dragon/templates/actor/oeuvre.html" oeuvre=danse typeOeuvre="Danse" classOeuvre="danse-label"}}
+ {{> "systems/foundryvtt-reve-de-dragon/templates/actor/oeuvre.hbs" oeuvre=danse typeOeuvre="Danse" classOeuvre="action-danse list-item-label"}}
{{/each}}
{{#each (trier oeuvres) as |oeuvre id|}}
- {{> "systems/foundryvtt-reve-de-dragon/templates/actor/oeuvre.html" oeuvre=oeuvre typeOeuvre=oeuvre.system.competence classOeuvre="oeuvre-label"}}
+ {{> "systems/foundryvtt-reve-de-dragon/templates/actor/oeuvre.hbs" oeuvre=oeuvre typeOeuvre=oeuvre.system.competence classOeuvre="action-oeuvre list-item-label"}}
{{/each}}
{{#each (trier recettecuisines) as |recette id|}}
- {{> "systems/foundryvtt-reve-de-dragon/templates/actor/oeuvre.html" oeuvre=recette typeOeuvre="Recette de cuisine" classOeuvre="recettecuisine-label"}}
+ {{> "systems/foundryvtt-reve-de-dragon/templates/actor/oeuvre.hbs" oeuvre=recette typeOeuvre="Recette de cuisine" classOeuvre="action-recettecuisine list-item-label"}}
{{/each}}
diff --git a/templates/actor/possessions.hbs b/templates/actor/possessions.hbs
new file mode 100644
index 00000000..2d9ce67c
--- /dev/null
+++ b/templates/actor/possessions.hbs
@@ -0,0 +1,19 @@
+{{#if possessions.length}}
+{{!-- Possession --}}
+Possession:
+
+
+ {{#each possessions as |possession key|}}
+ -
+
+ {{possession.name}} (Conjurer)
+
+ {{possession.system.type}}
+ {{>'systems/foundryvtt-reve-de-dragon/templates/actor/item-action-controls.hbs' item=possession options=@root.options}}
+
+ {{/each}}
+
+{{/if}}
diff --git a/templates/actor/possessions.html b/templates/actor/possessions.html
deleted file mode 100644
index 31ab3da6..00000000
--- a/templates/actor/possessions.html
+++ /dev/null
@@ -1,24 +0,0 @@
-{{#if possessions.length}}
-{{!-- Possession --}}
-Possession:
-
-{{/if}}
diff --git a/templates/actor/resonances.hbs b/templates/actor/resonances.hbs
index a0dbdea6..1e1eb1fe 100644
--- a/templates/actor/resonances.hbs
+++ b/templates/actor/resonances.hbs
@@ -6,6 +6,8 @@
{{actor.name}}
+
+ {{!-- {{>'systems/foundryvtt-reve-de-dragon/templates/actor/item-action-controls.hbs' item=oeuvre options=@root.options}} --}}
diff --git a/templates/actor/taches.html b/templates/actor/taches.hbs
similarity index 60%
rename from templates/actor/taches.html
rename to templates/actor/taches.hbs
index 7a8d54cb..cb88bc04 100644
--- a/templates/actor/taches.html
+++ b/templates/actor/taches.hbs
@@ -4,16 +4,11 @@
{{#unless (eq tache.system.competence 'Chirurgie')}}
- {{tache.name}}
+ {{tache.name}}
({{tache.system.points_de_tache_courant}}{{#if
(or @root.options.isGM (not tache.system.cacher_points_de_tache))
}}/{{tache.system.points_de_tache}}{{/if}})
-
+ {{>'systems/foundryvtt-reve-de-dragon/templates/actor/item-action-controls.hbs' item=tache options=@root.options}}
{{/unless}}
{{/each}}
diff --git a/templates/item/potion-sheet.hbs b/templates/item/potion-sheet.hbs
index ede90bbf..fe6429b0 100644
--- a/templates/item/potion-sheet.hbs
+++ b/templates/item/potion-sheet.hbs
@@ -5,10 +5,10 @@
{{#if options.isOwned}}
- Consommer
+ Consommer
{{/if}}
{{#if enchantable}}
- Enchanter
+ Enchanter
{{/if}}