2023-03-10 22:37:21 +01:00
|
|
|
<form class="{{cssClass}}" autocomplete="off">
|
|
|
|
{{>"systems/foundryvtt-reve-de-dragon/templates/header-item.html"}}
|
|
|
|
<section class="sheet-body">
|
|
|
|
<div class="form-group">
|
2023-03-10 22:41:11 +01:00
|
|
|
<label for="system-gravite">Gravité</label>
|
|
|
|
<select name="system-gravite" class="gravite" data-dtype="Number">
|
2023-03-10 22:37:21 +01:00
|
|
|
{{#select system.gravite}}
|
|
|
|
<option value="0">Contusion / Eraflure</option>
|
|
|
|
<option value="2">Légère</option>
|
|
|
|
<option value="4">Grave</option>
|
|
|
|
<option value="6">Critique</option>
|
2023-03-14 02:38:21 +01:00
|
|
|
<option value="8">Mort</option>
|
2023-03-10 22:37:21 +01:00
|
|
|
{{/select}}
|
|
|
|
</select>
|
|
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
|
|
<label for="system.localisation">Localisation</label>
|
|
|
|
<input class="attribute-value" type="text" name="system.localisation" value="{{system.localisation}}" data-dtype="String"/>
|
|
|
|
</div>
|
2023-03-14 02:38:21 +01:00
|
|
|
{{#if (lt system.gravite 7)}}
|
|
|
|
<div class="form-group">
|
|
|
|
<label for="system.difficulte">Difficulté des soins</label>
|
|
|
|
<input class="attribute-value number-x" type="text" name="system.difficulte" value="{{system.difficulte}}" data-dtype="Number"/>
|
|
|
|
</div>
|
2023-03-10 22:37:21 +01:00
|
|
|
|
|
|
|
<div class="form-group">
|
2023-03-10 22:41:11 +01:00
|
|
|
<label for="premierssoins-done">Premiers soins
|
|
|
|
<input class="attribute-value" type="checkbox" name="premierssoins-done" {{#if system.premierssoins.done}}checked{{/if}}/>
|
2023-03-10 22:37:21 +01:00
|
|
|
</label>
|
|
|
|
{{#if system.premierssoins.done}}
|
2023-03-10 22:41:11 +01:00
|
|
|
<input class="attribute-value number-x" type="text" name="system.premierssoins.bonus" value="{{system.premierssoins.bonus}}" data-dtype="Number"/>
|
|
|
|
{{else}}
|
|
|
|
<label for="system.premierssoins.tache">Points de tâches</label>
|
|
|
|
<input class="attribute-value number-x" type="text" name="system.premierssoins.tache" value="{{system.premierssoins.tache}}" data-dtype="Number"/>
|
2023-03-10 22:37:21 +01:00
|
|
|
{{/if}}
|
2023-03-10 22:41:11 +01:00
|
|
|
|
2023-03-10 22:37:21 +01:00
|
|
|
</div>
|
2023-03-14 02:38:21 +01:00
|
|
|
|
2023-03-10 22:41:11 +01:00
|
|
|
{{#if system.premierssoins.done}}
|
2023-03-10 22:37:21 +01:00
|
|
|
<div class="form-group">
|
2023-03-10 22:41:11 +01:00
|
|
|
<label for="soinscomplets-done">Soins complets
|
|
|
|
<input class="attribute-value" type="checkbox" name="soinscomplets-done" {{#if system.soinscomplets.done}}checked{{/if}}/>
|
2023-03-10 22:37:21 +01:00
|
|
|
</label>
|
|
|
|
{{#if system.soinscomplets.done}}
|
2023-03-10 22:41:11 +01:00
|
|
|
<input class="attribute-value number-x" type="text" name="system.soinscomplets.bonus" value="{{system.soinscomplets.bonus}}" data-dtype="Number"/>
|
2023-03-10 22:37:21 +01:00
|
|
|
{{/if}}
|
|
|
|
</div>
|
2023-03-10 22:41:11 +01:00
|
|
|
{{/if}}
|
2023-03-14 02:38:21 +01:00
|
|
|
{{/if}}
|
2023-03-10 22:37:21 +01:00
|
|
|
|
|
|
|
{{#if options.isOwned}}
|
|
|
|
{{>"systems/foundryvtt-reve-de-dragon/templates/item/temporel.hbs" this labeldebut="Obtenue" labelfin="Prochain jet"}}
|
|
|
|
{{/if}}
|
|
|
|
</section>
|
|
|
|
</form>
|