Correction des biodatas
All checks were successful
Release Creation / build (release) Successful in 49s
All checks were successful
Release Creation / build (release) Successful in 49s
This commit is contained in:
@@ -9,16 +9,17 @@ export default class PersonnageDataModel extends foundry.abstract.TypeDataModel
|
|||||||
biodata: new fields.SchemaField({
|
biodata: new fields.SchemaField({
|
||||||
name: new fields.StringField({ initial: "" }),
|
name: new fields.StringField({ initial: "" }),
|
||||||
age: new fields.NumberField({ initial: 0, integer: true }),
|
age: new fields.NumberField({ initial: 0, integer: true }),
|
||||||
poids: new fields.StringField({ initial: "" }),
|
poids: new fields.StringField({ initial: "70" }),
|
||||||
taille: new fields.StringField({ initial: "" }),
|
taille: new fields.StringField({ initial: "1,80m" }),
|
||||||
cheveux: new fields.StringField({ initial: "" }),
|
cheveux: new fields.StringField({ initial: "Brun" }),
|
||||||
sexe: new fields.StringField({ initial: "" }),
|
sexe: new fields.StringField({ initial: "" }),
|
||||||
yeux: new fields.StringField({ initial: "" }),
|
yeux: new fields.StringField({ initial: "Verts" }),
|
||||||
description: new fields.HTMLField({ initial: "" }),
|
description: new fields.HTMLField({ initial: "" }),
|
||||||
habitat: new fields.HTMLField({ initial: "" }),
|
habitat: new fields.HTMLField({ initial: "" }),
|
||||||
notes: new fields.HTMLField({ initial: "" }),
|
notes: new fields.HTMLField({ initial: "" }),
|
||||||
statut: new fields.StringField({ initial: "" }),
|
statut: new fields.StringField({ initial: "" }),
|
||||||
gmnotes: new fields.HTMLField({ initial: "" }),
|
gmnotes: new fields.HTMLField({ initial: "" }),
|
||||||
|
mainpreferee: new fields.StringField({ initial: "Droite" }),
|
||||||
statutresistant: new fields.StringField({ initial: "commun" })
|
statutresistant: new fields.StringField({ initial: "commun" })
|
||||||
}),
|
}),
|
||||||
// Template core
|
// 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.
@@ -41,7 +41,9 @@
|
|||||||
"modules/hawkmoon-main.js"
|
"modules/hawkmoon-main.js"
|
||||||
],
|
],
|
||||||
"styles": [
|
"styles": [
|
||||||
"styles/hawkmoon.css"
|
{
|
||||||
|
"src": "styles/hawkmoon.css"
|
||||||
|
}
|
||||||
],
|
],
|
||||||
"languages": [
|
"languages": [
|
||||||
{
|
{
|
||||||
@@ -350,5 +352,6 @@
|
|||||||
"primaryTokenAttribute": "sante.vigueur",
|
"primaryTokenAttribute": "sante.vigueur",
|
||||||
"secondaryTokenAttribute": "bonneaventure.actuelle",
|
"secondaryTokenAttribute": "bonneaventure.actuelle",
|
||||||
"socket": true,
|
"socket": true,
|
||||||
"background": "systems/fvtt-hawkmoon-cyd/assets/ui/fond_hawkmoon.webp"
|
"background": "systems/fvtt-hawkmoon-cyd/assets/ui/fond_hawkmoon.webp",
|
||||||
|
"flags": {}
|
||||||
}
|
}
|
||||||
@@ -576,12 +576,12 @@
|
|||||||
</li>
|
</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="input-field" name="system.biodata.sexe" value="{{system.biodata.sexe}}"
|
||||||
data-dtype="String" {{#if isPlayMode}}disabled{{/if}} />
|
data-dtype="String" {{#if isPlayMode}}disabled{{/if}} />
|
||||||
</li>
|
</li>
|
||||||
<li class="item flexrow">
|
<li class="item flexrow">
|
||||||
<label class="generic-label">Age</label>
|
<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}} />
|
data-dtype="String" {{#if isPlayMode}}disabled{{/if}} />
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
@@ -590,12 +590,12 @@
|
|||||||
<ul>
|
<ul>
|
||||||
<li class="item flexrow">
|
<li class="item flexrow">
|
||||||
<label class="generic-label">Taille</label>
|
<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}} />
|
data-dtype="String" {{#if isPlayMode}}disabled{{/if}} />
|
||||||
</li>
|
</li>
|
||||||
<li class="item flexrow">
|
<li class="item flexrow">
|
||||||
<label class="generic-label">Cheveux</label>
|
<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}} />
|
data-dtype="String" {{#if isPlayMode}}disabled{{/if}} />
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
@@ -604,17 +604,17 @@
|
|||||||
<div>
|
<div>
|
||||||
<li class="item flexrow">
|
<li class="item flexrow">
|
||||||
<label class="generic-label">Yeux</label>
|
<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}} />
|
data-dtype="String" {{#if isPlayMode}}disabled{{/if}} />
|
||||||
</li>
|
</li>
|
||||||
<li class="flexrow item">
|
<li class="flexrow item">
|
||||||
<label class="generic-label">Main préférée</label>
|
<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}} />
|
data-dtype="String" {{#if isPlayMode}}disabled{{/if}} />
|
||||||
</li>
|
</li>
|
||||||
<li class="flexrow item">
|
<li class="flexrow item">
|
||||||
<label class="generic-label">Poids</label>
|
<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}} />
|
data-dtype="String" {{#if isPlayMode}}disabled{{/if}} />
|
||||||
</li>
|
</li>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user