Ajout statut resistant

This commit is contained in:
LeRatierBretonnien 2023-03-26 20:33:57 +02:00
parent 0e5be07fb9
commit c34d223d8f
3 changed files with 15 additions and 3 deletions

View File

@ -1,7 +1,7 @@
{ {
"id": "fvtt-hawkmoon-cyd", "id": "fvtt-hawkmoon-cyd",
"description": "Hawkmoon RPG for FoundryVTT (CYD system - French)", "description": "Hawkmoon RPG for FoundryVTT (CYD system - French)",
"version": "10.1.11", "version": "10.1.12",
"authors": [ "authors": [
{ {
"name": "Uberwald/LeRatierBretonnien", "name": "Uberwald/LeRatierBretonnien",
@ -35,7 +35,7 @@
"gridUnits": "m", "gridUnits": "m",
"license": "LICENSE.txt", "license": "LICENSE.txt",
"manifest": "https://www.uberwald.me/gitea/public/fvtt-hawkmoon-cyd/raw/branch/master/system.json", "manifest": "https://www.uberwald.me/gitea/public/fvtt-hawkmoon-cyd/raw/branch/master/system.json",
"download": "https://www.uberwald.me/gitea/public/fvtt-hawkmoon-cyd/archive/fvtt-hawkmoon-cyd-10.1.11.zip", "download": "https://www.uberwald.me/gitea/public/fvtt-hawkmoon-cyd/archive/fvtt-hawkmoon-cyd-10.1.12.zip",
"languages": [ "languages": [
{ {
"lang": "fr", "lang": "fr",

View File

@ -19,7 +19,8 @@
"habitat": "", "habitat": "",
"notes": "", "notes": "",
"statut": "", "statut": "",
"gmnotes": "" "gmnotes": "",
"statutresistant": "commun"
} }
}, },
"core": { "core": {

View File

@ -502,6 +502,17 @@
<div class="grid grid-3col"> <div class="grid grid-3col">
<div> <div>
<ul> <ul>
<li class="flexrow item">
<label class="generic-label">Statut de résistant</label>
<select class="status-small-label color-class-common item-field-label-long" type="text"
name="system.biodata.statutresistant" value="{{system.biodata.statutresistant}}" data-dtype="String">
{{#select system.biodata.statutresistant}}
<option value="commun">Commun</option>
<option value="clandestin">Clandestin</option>
<option value="insurge">Insurgé</option>
{{/select}}
</select>
</li>
<li class="flexrow item"> <li class="flexrow item">
<label class="generic-label">Sexe</label> <label class="generic-label">Sexe</label>
<input type="text" class="" name="system.biodata.sex" value="{{system.biodata.sex}}" <input type="text" class="" name="system.biodata.sex" value="{{system.biodata.sex}}"