2022-12-03 18:31:05 +01:00
|
|
|
<form class="{{cssClass}}" autocomplete="off">
|
|
|
|
<header class="sheet-header">
|
|
|
|
<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>
|
2022-12-03 22:32:32 +01:00
|
|
|
{{>'systems/foundryvtt-reve-de-dragon/templates/item/boutons-comestible.html'}}
|
2022-12-03 18:31:05 +01:00
|
|
|
</div>
|
|
|
|
</header>
|
|
|
|
|
|
|
|
<nav class="sheet-tabs tabs" data-group="primary">
|
|
|
|
<a class="item" data-tab="informations">Informations</a>
|
|
|
|
{{>"systems/foundryvtt-reve-de-dragon/templates/item/partial-tab-environnement.html"}}
|
|
|
|
</nav>
|
|
|
|
|
|
|
|
<section class="sheet-body">
|
|
|
|
<div class="tab items" data-group="primary" data-tab="informations">
|
|
|
|
<div class="flexcol">
|
|
|
|
<div class="form-group">
|
|
|
|
<label for="system.sust">Sustentation (si applicable)</label>
|
|
|
|
<input class="attribute-value" type="number" name="system.sust" value="{{system.sust}}" data-dtype="Number" min="0"/>
|
|
|
|
</div>
|
|
|
|
{{#if (gt system.sust 0)}}
|
|
|
|
<div class="form-group">
|
|
|
|
<label for="system.exotisme">Exotisme</label>
|
|
|
|
<input class="attribute-value" type="number" name="system.exotisme" value="{{system.exotisme}}" data-dtype="Number" min="-10" max="0"/>
|
|
|
|
</div>
|
|
|
|
{{/if}}
|
|
|
|
<div class="form-group">
|
|
|
|
<label>Créature correspondante</label>
|
|
|
|
<div>
|
|
|
|
{{#if system.actor.id}}
|
2022-12-03 22:32:32 +01:00
|
|
|
{{#if isGM}}
|
2022-12-03 18:31:05 +01:00
|
|
|
<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}}
|
2022-12-03 22:32:32 +01:00
|
|
|
<label>{{system.actor.name}}</label>
|
2022-12-03 18:31:05 +01:00
|
|
|
{{/if}}
|
2022-12-03 22:32:32 +01:00
|
|
|
{{else}}
|
|
|
|
<label>Pas de fiche de créature</label>
|
|
|
|
{{/if}}
|
2022-12-03 18:31:05 +01:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{{>"systems/foundryvtt-reve-de-dragon/templates/item/partial-inventaire.html"}}
|
|
|
|
{{>"systems/foundryvtt-reve-de-dragon/templates/partial-item-description.html"}}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{{>"systems/foundryvtt-reve-de-dragon/templates/item/partial-environnement.html"}}
|
|
|
|
</section>
|
|
|
|
</form>
|