fvtt-mournblade/templates/item-arme-sheet.html

94 lines
4.7 KiB
HTML
Raw Normal View History

2022-05-29 19:07:25 +02:00
<form class="{{cssClass}}" autocomplete="off">
<header class="sheet-header">
<img class="item-sheet-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>
</div>
</header>
{{!-- Sheet Body --}}
<section class="sheet-body">
<div class="flexcol">
<span class="flexrow">
<label class="generic-label">Type d'arme : </label>
2022-09-20 08:57:40 +02:00
<select class="status-small-label color-class-common" type="text" name="system.typearme" value="{{data.typearme}}" data-dtype="string" >
2022-05-29 19:07:25 +02:00
{{#select data.typearme}}
<option value="contact">Arme de contact</option>
<option value="contactjet">Arme de contact et de Jet</option>
<option value="jet">Arme de Jet</option>
<option value="tir">Arme de Tir</option>
2024-03-02 23:58:27 +01:00
<option value="special">Spécial (capacité/don)</option>
2022-05-29 19:07:25 +02:00
{{/select}}
</select>
</span>
<span class="flexrow">
<label class="generic-label">Bonus de maniement (offensif) : </label>
2022-09-20 08:57:40 +02:00
<input type="text" class="padd-right status-small-label color-class-common" name="system.bonusmaniementoff" value="{{data.bonusmaniementoff}}" data-dtype="Number" />
2022-05-29 19:07:25 +02:00
</span>
2022-06-06 18:49:39 +02:00
<span class="flexrow">
<label class="generic-label">Défensive ? </label>
2022-10-01 08:47:01 +02:00
<input type="checkbox" name="system.isdefense" {{checked data.isdefense}}/>
2022-06-06 18:49:39 +02:00
</span>
{{#if data.isdefense}}
2022-05-29 19:07:25 +02:00
<span class="flexrow">
<label class="generic-label">Bonus de maniement (défensif) : </label>
2022-09-20 08:57:40 +02:00
<input type="text" class="padd-right status-small-label color-class-common" name="system.bonusmaniementdef" value="{{data.bonusmaniementdef}}" data-dtype="Number" />
2022-05-29 19:07:25 +02:00
</span>
2022-06-06 18:49:39 +02:00
{{/if}}
2022-05-29 19:07:25 +02:00
<span class="flexrow">
<label class="generic-label">Dégâts : </label>
2022-09-20 08:57:40 +02:00
<input type="text" class="padd-right status-small-label color-class-common" name="system.degats" value="{{data.degats}}" data-dtype="String" />
2022-05-29 19:07:25 +02:00
</span>
2022-10-01 08:47:01 +02:00
<span class="flexrow">
<label class="generic-label">Dégâts non létaux ? </label>
<input type="checkbox" name="system.nonletaux" {{checked data.nonletaux}}/>
</span>
<span class="flexrow">
<label class="generic-label">Equipé ? </label>
<input type="checkbox" name="system.equipped" {{checked data.equipped}}/>
</span>
2022-05-29 19:07:25 +02:00
<span class="flexrow">
<label class="generic-label">A deux mains ? </label>
2022-10-01 08:47:01 +02:00
<input type="checkbox" name="system.deuxmains" {{checked data.deuxmains}}/>
2022-05-29 19:07:25 +02:00
</span>
2024-03-02 23:58:27 +01:00
<span class="flexrow">
<label class="generic-label">Ignore l'armure ? </label>
<input type="checkbox" name="system.ignorearmure" {{checked data.ignorearmure}}/>
</span>
<span class="flexrow">
<label class="generic-label">Cout en Ressources (créatures) </label>
<input type="text" class="padd-right status-small-label color-class-common" name="system.nbressources" value="{{data.nbressources}}" data-dtype="Number" />
</span>
2022-05-29 19:07:25 +02:00
<span class="flexrow">
<label class="generic-label">Portée courte </label>
2022-09-20 08:57:40 +02:00
<input type="text" class="padd-right status-small-label color-class-common" name="system.courte" value="{{data.courte}}" data-dtype="Number" />
2022-05-29 19:07:25 +02:00
</span>
<span class="flexrow">
<label class="generic-label">Portée moyenne </label>
2022-09-20 08:57:40 +02:00
<input type="text" class="padd-right status-small-label color-class-common" name="system.moyenne" value="{{data.moyenne}}" data-dtype="Number" />
2022-05-29 19:07:25 +02:00
</span>
<span class="flexrow">
<label class="generic-label">Portée longue </label>
2022-09-20 08:57:40 +02:00
<input type="text" class="padd-right status-small-label color-class-common" name="system.longue" value="{{data.longue}}" data-dtype="Number" />
2022-05-29 19:07:25 +02:00
</span>
<span class="flexrow">
<label class="generic-label">Temps de rechargement </label>
2022-09-20 08:57:40 +02:00
<input type="text" class="padd-right status-small-label color-class-common" name="system.tr" value="{{data.tr}}" data-dtype="Number" />
2022-05-29 19:07:25 +02:00
</span>
<span class="flexrow">
<label class="generic-label">Rareté </label>
2022-09-20 08:57:40 +02:00
<input type="text" class="padd-right status-small-label color-class-common" name="system.rarete" value="{{data.rarete}}" data-dtype="Number" />
2022-05-29 19:07:25 +02:00
</span>
<span class="flexrow">
<label class="generic-label">Prix </label>
2022-09-20 08:57:40 +02:00
<input type="text" class="padd-right status-small-label color-class-common" name="system.prix" value="{{data.prix}}" data-dtype="Number" />
2022-05-29 19:07:25 +02:00
</span>
{{> systems/fvtt-mournblade/templates/partial-item-description.html}}
</div>
</section>
</form>