Faune et flore comestibles
- permettre de cuisiner les ingrédients (faune & flore) - permettre de manger des ingrédients "crus"
This commit is contained in:
8
templates/item/boutons-comestible.html
Normal file
8
templates/item/boutons-comestible.html
Normal file
@ -0,0 +1,8 @@
|
||||
{{#if (and isOwned isComestible)}}
|
||||
<div class="form-group">
|
||||
{{#if (eq isComestible 'brut')}}
|
||||
<span><a class="preparer-nourriture chat-card-button" data-actor-id="{{actorId}}">Cuisiner</a></span>
|
||||
{{/if}}
|
||||
<span><a class="manger-nourriture chat-card-button" data-actor-id="{{actorId}}">Manger cru</a></span>
|
||||
</div>
|
||||
{{/if}}
|
@ -9,9 +9,9 @@
|
||||
{{#unless (isFieldInventaireModifiable type 'encombrement')}}disabled{{/unless}}/>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="system.quantite">Quantité {{uniteQuantite type}}</label>
|
||||
<label for="system.quantite">Quantité {{uniteQuantite id actorId}}</label>
|
||||
<input class="attribute-value" type="text" name="system.quantite" value="{{system.quantite}}" data-dtype="Number"
|
||||
{{#unless (isFieldInventaireModifiable type 'quantite')}}disabled{{/unless}}/>
|
||||
{{#unless (isFieldInventaireModifiable type 'quantite')}}disabled{{/unless}}/>
|
||||
</div>
|
||||
<div class="form-group item-cout">
|
||||
<label for="system.cout">Prix (sols) </label>
|
||||
|
Reference in New Issue
Block a user