Ajout d'un champ pour les métiers

This commit is contained in:
Vincent Vandemeulebrouck 2024-10-01 01:59:51 +02:00
parent e89a8ba232
commit 50d923061b
3 changed files with 6 additions and 0 deletions

View File

@ -53,6 +53,7 @@ const TABLEAU_SORTS = [...Array(NB_SORTS).keys()]
const MAPPING_BASE = [
{ column: "ID", getter: (actor, context) => actor.id },
{ column: "name", getter: (actor, context) => actor.name },
{ column: "metier", getter: (actor, context) => actor.system.metier },
// { column: "biographie", getter: (actor, context) => actor.system.biographie },
{ column: "taille", getter: (actor, context) => actor.system.carac.taille.value },
{ column: "apparence", getter: (actor, context) => actor.system.carac.apparence.value },

View File

@ -15,6 +15,7 @@
}
},
"background": {
"metier": "",
"biographie": "Histoire personnelle...",
"notes": "Notes",
"notesmj": "Notes du MJ",

View File

@ -172,6 +172,10 @@
<label for="system.poids">Poids :</label>
<input class="flex-grow" type="text" name="system.poids" value="{{system.poids}}" data-dtype="String"/>
</li>
<li class="item flexrow list-item">
<label for="system.metier">Métier :</label>
<input class="flex-grow" type="text" name="system.metier" value="{{system.metier}}" data-dtype="String"/>
</li>
</ul>
<ul class="item-list alterne-list">
<li class="item flexrow list-item">