2020-06-29 23:29:10 +02:00
|
|
|
<form class="{{cssClass}}" autocomplete="off">
|
2020-11-09 22:35:26 +01:00
|
|
|
<header class="sheet-header">
|
2023-12-04 01:21:05 +01:00
|
|
|
<img class="profile-img" src="{{img}}" data-edit="img" data-tooltip="{{name}}" />
|
2020-11-09 22:35:26 +01:00
|
|
|
<div class="header-fields">
|
2021-03-25 09:28:36 +01:00
|
|
|
<h1 class="charname"><input name="name" type="text" value="{{name}}" placeholder="Name" /></h1>
|
2023-01-28 16:34:09 +01:00
|
|
|
{{#if options.isOwned}}
|
2021-04-04 18:42:09 +02:00
|
|
|
<div class="form-group">
|
2024-03-10 00:10:45 +01:00
|
|
|
<span><a class="consommer-potion chat-card-button" data-actor-id="{{actorId}}">Consommer cette potion et appliquer ses effets</a></span>
|
2021-04-04 18:42:09 +02:00
|
|
|
</div>
|
|
|
|
{{/if}}
|
2020-11-09 22:35:26 +01:00
|
|
|
</div>
|
|
|
|
</header>
|
|
|
|
|
2023-01-18 01:37:22 +01:00
|
|
|
<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>
|
2020-11-09 22:35:26 +01:00
|
|
|
<section class="sheet-body">
|
2023-01-18 01:37:22 +01:00
|
|
|
<div class="tab items flexcol" data-group="primary" data-tab="informations">
|
|
|
|
<div class="form-group">
|
2023-03-09 23:49:37 +01:00
|
|
|
<label for="system.rarete">Fréquence</label>
|
2023-01-18 01:37:22 +01:00
|
|
|
<select name="system.rarete" class="rarete" data-dtype="String">
|
|
|
|
{{#select system.rarete}}
|
|
|
|
<option value=""></option>
|
|
|
|
{{>"systems/foundryvtt-reve-de-dragon/templates/enum-rarete.html"}}
|
|
|
|
{{/select}}
|
|
|
|
</select>
|
|
|
|
</div>
|
|
|
|
<div class="form-group">
|
2023-03-09 23:49:37 +01:00
|
|
|
<label for="system.categorie">Catégorie</label>
|
2023-01-18 01:37:22 +01:00
|
|
|
<select name="system.categorie" class="categoriepotion" data-dtype="String">
|
|
|
|
{{#select system.categorie}}
|
|
|
|
{{>"systems/foundryvtt-reve-de-dragon/templates/enum-categorie-potion.html"}}
|
|
|
|
{{/select}}
|
|
|
|
</select>
|
|
|
|
</div>
|
2023-03-09 23:49:37 +01:00
|
|
|
{{#if (or isSoins isRepos)}}
|
|
|
|
<div class="form-group">
|
|
|
|
<label for="system.herbe">Herbe</label>
|
|
|
|
<select name="system.herbe" class="herbe" data-dtype="String">
|
|
|
|
{{#if isSoins}}
|
|
|
|
{{selectOptions herbesSoins selected=system.herbe localize=false}}
|
|
|
|
{{/if}}
|
|
|
|
{{#if isRepos}}
|
|
|
|
{{selectOptions herbesRepos selected=system.herbe localize=false}}
|
|
|
|
{{/if}}
|
|
|
|
</select>
|
|
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
|
|
<label for="system.herbebrins">Nombre de brins</label>
|
|
|
|
<input class="attribute-value" type="text" name="system.herbebrins" value="{{system.herbebrins}}" data-dtype="Number" />
|
|
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
|
|
<label for="system.herbebonus">Bonus</label>
|
|
|
|
<input class="attribute-value" type="text" name="system.herbebonus" value="{{system.herbebonus}}" data-dtype="Number" />
|
|
|
|
</div>
|
|
|
|
{{#if isRepos}}
|
|
|
|
<div class="form-group">
|
|
|
|
<label for="system.reposalchimique">Repos Alchimique ?</label>
|
2023-12-08 18:56:59 +01:00
|
|
|
<input class="attribute-value" type="checkbox" name="system.reposalchimique" {{#if system.reposalchimique}}checked{{/if}}/>
|
2023-03-09 23:49:37 +01:00
|
|
|
</div>
|
|
|
|
{{/if}}
|
|
|
|
{{/if}}
|
|
|
|
{{#if system.magique}}
|
|
|
|
<div class="form-group">
|
|
|
|
<label for="system.pr">Points de rêve</label>
|
|
|
|
<input class="attribute-value" type="text" name="system.pr" value="{{system.pr}}" data-dtype="Number" />
|
|
|
|
</div>
|
2023-12-08 18:56:59 +01:00
|
|
|
{{#if isSoins}}
|
2023-03-09 23:49:37 +01:00
|
|
|
<div class="form-group">
|
2023-12-08 18:56:59 +01:00
|
|
|
<label>Points de guérison</label>
|
|
|
|
<input class="attribute-value" type="text" name="system.puissance" value="{{system.puissance}}" disabled />
|
2023-03-09 23:49:37 +01:00
|
|
|
</div>
|
2023-12-08 18:56:59 +01:00
|
|
|
{{/if}}
|
|
|
|
{{#if isRepos}}
|
2023-03-09 23:49:37 +01:00
|
|
|
<div class="form-group">
|
2023-12-08 18:56:59 +01:00
|
|
|
<label>Points de repos</label>
|
|
|
|
<input class="attribute-value" type="text" name="system.puissance" value="{{system.puissance}}" disabled />
|
|
|
|
</div>
|
2023-03-09 23:49:37 +01:00
|
|
|
{{/if}}
|
2023-12-08 18:56:59 +01:00
|
|
|
<div class="form-group">
|
|
|
|
<label for="system.prpermanent">Permanente ? </label>
|
|
|
|
<input class="attribute-value" type="checkbox" name="system.prpermanent" {{#if system.prpermanent}}checked{{/if}}/>
|
|
|
|
</div>
|
2023-03-09 23:49:37 +01:00
|
|
|
<div class="form-group">
|
|
|
|
<label for="enchantement.jour">Date de l'Enchantement : Jour/Mois (date actuelle : {{dateActuelle}})</label>
|
|
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
|
|
<input type="number" name="enchantement.jour" class="date-enchantement" value="{{enchantement.jour}}" data-dtype="Number" min="1" max="28"/>
|
|
|
|
<select name="enchantement.mois" class="date-enchantement" data-dtype="String">
|
|
|
|
{{#select enchantement.mois}}
|
|
|
|
{{>"systems/foundryvtt-reve-de-dragon/templates/enum-heures.html"}}
|
|
|
|
{{/select}}
|
|
|
|
</select>
|
|
|
|
</div>
|
2023-01-18 01:37:22 +01:00
|
|
|
{{/if}}
|
2021-06-29 16:03:10 +02:00
|
|
|
|
2023-01-18 01:37:22 +01:00
|
|
|
{{>"systems/foundryvtt-reve-de-dragon/templates/item/partial-inventaire.html"}}
|
|
|
|
{{>"systems/foundryvtt-reve-de-dragon/templates/partial-item-description.html"}}
|
|
|
|
</div>
|
|
|
|
{{>"systems/foundryvtt-reve-de-dragon/templates/item/partial-environnement.html"}}
|
2020-11-09 22:35:26 +01:00
|
|
|
</section>
|
|
|
|
|
|
|
|
</form>
|