forked from public/foundryvtt-reve-de-dragon
Fix ethylisme
This commit is contained in:
@ -146,7 +146,15 @@
|
||||
{{else if compteur.isInput}}
|
||||
<li class="competence flexrow list-item">
|
||||
<span class="generic-label">{{compteur.label}}</span>
|
||||
{{#if (eq compteur.label 'Ethylisme')}}
|
||||
<select name="data.compteurs.ethylisme.value" id="ethylisme" data-dtype="Number">
|
||||
{{#select compteur.value}}
|
||||
{{>"systems/foundryvtt-reve-de-dragon/templates/niveau-ethylisme.html"}}
|
||||
{{/select}}
|
||||
</select>
|
||||
{{else}}
|
||||
<input class="compteur-edit" id="{{key}}-edit" type="text" name="{{key}}" value="{{compteur.value}}" data-dtype="number"/>
|
||||
{{/if}}
|
||||
<span>
|
||||
{{#if compteur.isStress}}
|
||||
<a class="item-control stress-test" id="stress-test" title="Transformer">Transformer</a>
|
||||
|
9
templates/niveau-ethylisme.html
Normal file
9
templates/niveau-ethylisme.html
Normal file
@ -0,0 +1,9 @@
|
||||
<option value="1">Aucun</option>
|
||||
<option value="0">Eméché</option>
|
||||
<option value="-1">Gris</option>
|
||||
<option value="-2">Pinté</option>
|
||||
<option value="-3">Pas Frais</option>
|
||||
<option value="-4">Ivre</option>
|
||||
<option value="-5">Bu</option>
|
||||
<option value="-6">Complètement fait</option>
|
||||
<option value="-7">Ivre mort</option>
|
Reference in New Issue
Block a user