foundryvtt-reve-de-dragon/templates/coeur/chat-accepter-tendre-moment.hbs

27 lines
1.3 KiB
Handlebars
Raw Permalink Normal View History

<h3>
<div class="flexrow flex-center">
<img class="chat-icon" src="{{source.actor.img}}" data-tooltip="{{source.actor.name}}" />
<span class="flexcol tendre-moment">
<div>
<i class="{{#if (gte source.coeur 1)}}fa-solid{{else}}fa-regular{{/if}} fa-heart"></i>
<i class="{{#if (gte source.coeur 2)}}fa-solid{{else}}fa-regular{{/if}} fa-heart"></i>
<i class="{{#if (gte source.coeur 3)}}fa-solid{{else}}fa-regular{{/if}} fa-heart"></i>
<i class="{{#if (gte source.coeur 4)}}fa-solid{{else}}fa-regular{{/if}} fa-heart"></i>
</div>
<div>
<i class="{{#if (gte target.coeur 4)}}fa-solid{{else}}fa-regular{{/if}} fa-heart"></i>
<i class="{{#if (gte target.coeur 3)}}fa-solid{{else}}fa-regular{{/if}} fa-heart"></i>
<i class="{{#if (gte target.coeur 2)}}fa-solid{{else}}fa-regular{{/if}} fa-heart"></i>
<i class="{{#if (gte target.coeur 1)}}fa-solid{{else}}fa-regular{{/if}} fa-heart"></i>
</div>
</span>
<img class="chat-icon" src="{{target.actor.img}}" data-tooltip="{{target.actor.name}}" />
</div>
</h3>
<p>
{{target.actor.name}} et {{source.actor.name}} passent un tendre moment.
</p>
<br>
{{>'systems/foundryvtt-reve-de-dragon/templates/coeur/chat-effet-tendre-moment.hbs' source}}
{{>'systems/foundryvtt-reve-de-dragon/templates/coeur/chat-effet-tendre-moment.hbs' target}}