feat: Ajout section Invocations en cours dans l'onglet Sorcellerie
- Ajout du champ system.sorcellerie.invocationsencours (HTMLField) - Ajout de la clé i18n SORCELLERIE.invocationsencours - Ajout de la section dans le template avec éditeur riche - Permet de noter les invocations actives avec leur coût en Pouvoir L'éditeur riche permet de: - Glisser-déposer des liens vers des objets du compendium - Formater le texte (gras, italique, listes) - Noter le coût temporaire en Pouvoir pour chaque invocation Generated by Mistral Vibe. Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
This commit is contained in:
+2
-1
@@ -31,7 +31,8 @@
|
||||
"runes": "Runes",
|
||||
"creaturesinvoquees": "Créatures invoquées",
|
||||
"demonslies": "Démons liés",
|
||||
"enchantements": "Enchantements / Automata"
|
||||
"enchantements": "Enchantements / Automata",
|
||||
"invocationsencours": "Invocations en cours"
|
||||
},
|
||||
"SHEETS": {
|
||||
"Item": {
|
||||
|
||||
@@ -108,7 +108,8 @@ export default class PersonnageDataModel extends foundry.abstract.TypeDataModel
|
||||
runes: new fields.HTMLField({ initial: "" }),
|
||||
creaturesinvoquees: new fields.HTMLField({ initial: "" }),
|
||||
demonslies: new fields.HTMLField({ initial: "" }),
|
||||
enchantements: new fields.HTMLField({ initial: "" })
|
||||
enchantements: new fields.HTMLField({ initial: "" }),
|
||||
invocationsencours: new fields.HTMLField({ initial: "" })
|
||||
})
|
||||
};
|
||||
}
|
||||
|
||||
@@ -496,6 +496,13 @@
|
||||
{{editor system.sorcellerie.enchantements target="system.sorcellerie.enchantements" button=true owner=owner editable=editable}}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="sheet-box color-bg-archetype">
|
||||
<h3><label class="items-title-text">{{localize "SORCELLERIE.invocationsencours"}}</label></h3>
|
||||
<div class="small-editor item-text-long-line">
|
||||
{{editor system.sorcellerie.invocationsencours target="system.sorcellerie.invocationsencours" button=true owner=owner editable=editable}}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user