forked from public/foundryvtt-reve-de-dragon
Possibilité de poster de la nourriture
+ utilisation de l'Item de l'actor plutôt qu'une copie + extraction fonction pour diminuer la quantité d'un item
This commit is contained in:
@ -3,26 +3,28 @@
|
||||
{{#if img}}
|
||||
<img src="{{img}}" title="{{name}}" />
|
||||
{{/if}}
|
||||
|
||||
<div class="card-content">{{{data.description}}}</div>
|
||||
|
||||
{{#each properties as |property p|}}
|
||||
<span>{{{property}}}</span><br>
|
||||
{{/each}}
|
||||
<div>
|
||||
{{#if postPrice}}
|
||||
<b>Prix: </b> <span class="postPrice">{{postPrice}} Sols</span>
|
||||
{{/if}}
|
||||
{{#if postQuantity}}
|
||||
|
||||
<p class="card-content">{{{data.description}}}</p>
|
||||
<p>
|
||||
{{#each properties as |property p|}}
|
||||
<span>{{{property}}}</span><br>
|
||||
{{/each}}
|
||||
{{#if (or postQuantity postPrice)}}
|
||||
<span>
|
||||
{{#if postQuantity}}
|
||||
<b>Quantité: </b> <span class="postQuantity">{{postQuantity}}</span>
|
||||
{{/if}}
|
||||
</div>
|
||||
|
||||
{{#if finalPrice}}
|
||||
<div>
|
||||
<b>Prix Total: </b> <span class="postPrice">{{finalPrice}} Sols</span>
|
||||
</div>
|
||||
{{/if}}
|
||||
{{/if}}
|
||||
{{#if postPrice}}
|
||||
<b>Prix: </b> <span class="postPrice">{{postPrice}} Sols</span><br>
|
||||
{{/if}}
|
||||
</span>
|
||||
{{/if}}
|
||||
{{#if finalPrice}}
|
||||
<span>
|
||||
<b>Prix Total: </b> <span class="postPrice">{{finalPrice}} Sols</span><br>
|
||||
</span>
|
||||
{{/if}}
|
||||
</p>
|
||||
|
||||
{{#if hasPrice}}
|
||||
<span class="chat-card-button-area">
|
||||
|
Reference in New Issue
Block a user