Correction des biodatas
Release Creation / build (release) Successful in 49s

This commit is contained in:
2026-01-18 18:08:57 +01:00
parent 9eb97a1acd
commit f0a74d5daa
29 changed files with 17 additions and 13 deletions
+5 -4
View File
@@ -9,16 +9,17 @@ export default class PersonnageDataModel extends foundry.abstract.TypeDataModel
biodata: new fields.SchemaField({
name: new fields.StringField({ initial: "" }),
age: new fields.NumberField({ initial: 0, integer: true }),
poids: new fields.StringField({ initial: "" }),
taille: new fields.StringField({ initial: "" }),
cheveux: new fields.StringField({ initial: "" }),
poids: new fields.StringField({ initial: "70" }),
taille: new fields.StringField({ initial: "1,80m" }),
cheveux: new fields.StringField({ initial: "Brun" }),
sexe: new fields.StringField({ initial: "" }),
yeux: new fields.StringField({ initial: "" }),
yeux: new fields.StringField({ initial: "Verts" }),
description: new fields.HTMLField({ initial: "" }),
habitat: new fields.HTMLField({ initial: "" }),
notes: new fields.HTMLField({ initial: "" }),
statut: new fields.StringField({ initial: "" }),
gmnotes: new fields.HTMLField({ initial: "" }),
mainpreferee: new fields.StringField({ initial: "Droite" }),
statutresistant: new fields.StringField({ initial: "commun" })
}),
// Template core
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
+5 -2
View File
@@ -41,7 +41,9 @@
"modules/hawkmoon-main.js"
],
"styles": [
"styles/hawkmoon.css"
{
"src": "styles/hawkmoon.css"
}
],
"languages": [
{
@@ -350,5 +352,6 @@
"primaryTokenAttribute": "sante.vigueur",
"secondaryTokenAttribute": "bonneaventure.actuelle",
"socket": true,
"background": "systems/fvtt-hawkmoon-cyd/assets/ui/fond_hawkmoon.webp"
"background": "systems/fvtt-hawkmoon-cyd/assets/ui/fond_hawkmoon.webp",
"flags": {}
}
+7 -7
View File
@@ -576,12 +576,12 @@
</li>
<li class="flexrow item">
<label class="generic-label">Sexe</label>
<input type="text" class="" name="system.biodata.sex" value="{{system.biodata.sex}}"
<input type="text" class="input-field" name="system.biodata.sexe" value="{{system.biodata.sexe}}"
data-dtype="String" {{#if isPlayMode}}disabled{{/if}} />
</li>
<li class="item flexrow">
<label class="generic-label">Age</label>
<input type="text" class="" name="system.biodata.age" value="{{system.biodata.age}}"
<input type="text" class="input-field" name="system.biodata.age" value="{{system.biodata.age}}"
data-dtype="String" {{#if isPlayMode}}disabled{{/if}} />
</li>
</ul>
@@ -590,12 +590,12 @@
<ul>
<li class="item flexrow">
<label class="generic-label">Taille</label>
<input type="text" class="" name="system.biodata.size" value="{{system.biodata.size}}"
<input type="text" class="input-field" name="system.biodata.taille" value="{{system.biodata.taille}}"
data-dtype="String" {{#if isPlayMode}}disabled{{/if}} />
</li>
<li class="item flexrow">
<label class="generic-label">Cheveux</label>
<input type="text" class="" name="system.biodata.hair" value="{{system.biodata.hair}}"
<input type="text" class="input-field" name="system.biodata.cheveux" value="{{system.biodata.cheveux}}"
data-dtype="String" {{#if isPlayMode}}disabled{{/if}} />
</li>
</ul>
@@ -604,17 +604,17 @@
<div>
<li class="item flexrow">
<label class="generic-label">Yeux</label>
<input type="text" class="" name="system.biodata.eyes" value="{{system.biodata.eyes}}"
<input type="text" class="input-field" name="system.biodata.yeux" value="{{system.biodata.yeux}}"
data-dtype="String" {{#if isPlayMode}}disabled{{/if}} />
</li>
<li class="flexrow item">
<label class="generic-label">Main préférée</label>
<input type="text" class="" name="system.biodata.preferredhand" value="{{system.biodata.preferredhand}}"
<input type="text" class="input-field" name="system.biodata.mainpreferee" value="{{system.biodata.mainpreferee}}"
data-dtype="String" {{#if isPlayMode}}disabled{{/if}} />
</li>
<li class="flexrow item">
<label class="generic-label">Poids</label>
<input type="text" class="" name="system.biodata.weight" value="{{system.biodata.weight}}"
<input type="text" class="input-field" name="system.biodata.poids" value="{{system.biodata.poids}}"
data-dtype="String" {{#if isPlayMode}}disabled{{/if}} />
</li>
</div>