Faune et flore comestibles

- permettre de cuisiner les ingrédients (faune & flore)
- permettre de manger des ingrédients "crus"
This commit is contained in:
Vincent Vandemeulebrouck
2022-12-03 22:32:32 +01:00
parent 7b58407634
commit 5056c35038
12 changed files with 296 additions and 96 deletions

View File

@@ -3,6 +3,7 @@
<img class="profile-img" src="{{img}}" data-edit="img" title="{{name}}" />
<div class="header-fields">
<h1 class="charname"><input name="name" type="text" value="{{name}}" placeholder="Name" /></h1>
{{>'systems/foundryvtt-reve-de-dragon/templates/item/boutons-comestible.html'}}
</div>
</header>
@@ -28,14 +29,18 @@
<label>Créature correspondante</label>
<div>
{{#if system.actor.id}}
{{#if isGM}}
<label>
{{>'systems/foundryvtt-reve-de-dragon/templates/common/compendium-link.hbs'
pack=system.actor.pack id=system.actor.id name=system.actor.name}}
</label>
<a class="linked-actor-delete" title="Supprimer"><i class="fas fa-trash"></i></a>
{{else}}
<label>Pas de fiche de créature</label>
<label>{{system.actor.name}}</label>
{{/if}}
{{else}}
<label>Pas de fiche de créature</label>
{{/if}}
</div>
</div>
{{>"systems/foundryvtt-reve-de-dragon/templates/item/partial-inventaire.html"}}