forked from public/foundryvtt-reve-de-dragon
Le coeur s'applique à ChâteauDormant
This commit is contained in:
12
templates/coeur/afficher-coeur.hbs
Normal file
12
templates/coeur/afficher-coeur.hbs
Normal file
@ -0,0 +1,12 @@
|
||||
{{log 'Cœur' numero courant prochain}}
|
||||
<a data-numero-coeur="{{numero}}">
|
||||
{{#if (and (lte numero courant) (lte numero prochain))}}
|
||||
<i class="fa-solid fa-heart"></i>
|
||||
{{else if (and (lte numero courant) (gt numero prochain))}}
|
||||
<i class="fa-solid fa-heart-crack"></i>
|
||||
{{else if (and (gt numero courant) (lte numero prochain))}}
|
||||
<i class="fa-solid fa-hand-holding-heart"></i>
|
||||
{{else if (and (gt numero courant) (gt numero prochain))}}
|
||||
<i class="fa-regular fa-heart"></i>
|
||||
{{/if}}
|
||||
</a>
|
@ -4,7 +4,7 @@
|
||||
{{#if (gt gainMoral 0)}}a apprécié ce tendre moment et gagné du moral
|
||||
{{else}}n'a pas gagné de moral{{#if (gte coeur 1)}} et peut
|
||||
<span class="chat-card-button-area">
|
||||
<a class="perdre-point-coeur-douceur chat-card-button" data-actor-id="{{actor.id}}">perdre un point de coeur</a>
|
||||
<a class="perdre-point-coeur-douceur chat-card-button" data-actor-id="{{actor.id}}">perdre un point de cœur</a>
|
||||
</span>
|
||||
{{/if}}.
|
||||
{{/if}}
|
||||
|
Reference in New Issue
Block a user