diff --git a/lang/en.json b/lang/en.json index 1c15c6e..91eae17 100644 --- a/lang/en.json +++ b/lang/en.json @@ -102,7 +102,9 @@ "BOL.ui.shieldMalus": "Malus de Bouclier", "BOL.ui.defenseScore": "Score de Defense", "BOL.ui.defender": "Défenseur", - + "BOL.ui.difficulty": "Difficulty", + "BOL.ui.spellProperties": "Spell Properties", + "BOL.featureCategory.origins": "Origines", "BOL.featureCategory.races": "Races", "BOL.featureCategory.careers": "Carrières", @@ -198,6 +200,7 @@ "BOL.itemProperty.slot" : "Emplacement utilisé", "BOL.itemProperty.reload": "Rechargement (Actions)", "BOL.itemProperty.weaponSize" : "Classe d'arme", + "BOL.itemProperty.difficulty": "Difficulty", "BOL.itemStat.quantity": "Quantité", "BOL.itemStat.weight": "Poids", diff --git a/lang/fr.json b/lang/fr.json index e7656e3..16f6244 100644 --- a/lang/fr.json +++ b/lang/fr.json @@ -103,6 +103,8 @@ "BOL.ui.shieldMalus": "Malus de Bouclier", "BOL.ui.defenseScore": "Score de Defense", "BOL.ui.defender": "Défenseur", + "BOL.ui.difficulty": "Difficulté", + "BOL.ui.spellProperties": "Propriétés du Sort", "BOL.featureCategory.origins": "Origines", "BOL.featureCategory.races": "Races", @@ -199,6 +201,7 @@ "BOL.itemProperty.slot" : "Emplacement utilisé", "BOL.itemProperty.reload": "Rechargement (Actions)", "BOL.itemProperty.weaponSize" : "Classe d'arme", + "BOL.itemProperty.difficulty": "Difficulté", "BOL.itemStat.quantity": "Quantité", "BOL.itemStat.weight": "Poids", diff --git a/module/system/config.js b/module/system/config.js index cce742e..433a471 100644 --- a/module/system/config.js +++ b/module/system/config.js @@ -189,8 +189,8 @@ BOL.itemProperties2 = { "throwing" : "BOL.itemProperty.throwing", "activable" : "BOL.itemProperty.activable", "powder" : "BOL.itemProperty.powder", - "damage" : "BOL.itemProperty.damage" - + "damage" : "BOL.itemProperty.damage", + "difficulty": "BOL.itemProperty.difficulty" } BOL.itemStats = { diff --git a/module/system/templates.js b/module/system/templates.js index 8fab31f..42fe80e 100644 --- a/module/system/templates.js +++ b/module/system/templates.js @@ -23,13 +23,13 @@ export const preloadHandlebarsTemplates = async function () { "systems/bol/templates/item/parts/properties/item/vehicle-properties.hbs", "systems/bol/templates/item/parts/properties/item/protection-properties.hbs", "systems/bol/templates/item/parts/properties/item/weapon-properties.hbs", + "systems/bol/templates/item/parts/properties/item/spell-properties.hbs", "systems/bol/templates/item/parts/properties/item/magical-properties.hbs", "systems/bol/templates/item/parts/properties/feature/career-properties.hbs", "systems/bol/templates/item/parts/properties/feature/boon-properties.hbs", "systems/bol/templates/item/parts/properties/feature/flaw-properties.hbs", "systems/bol/templates/item/parts/properties/feature/origin-properties.hbs", "systems/bol/templates/item/parts/properties/feature/race-properties.hbs", - "systems/bol/templates/item/parts/properties/feature/spell-properties.hbs", // DIALOGS "systems/bol/templates/roll/parts/roll-dialog-modifiers.hbs", "systems/bol/templates/roll/parts/roll-dialog-attribute.hbs" diff --git a/templates/item/parts/properties/item/spell-properties.hbs b/templates/item/parts/properties/item/spell-properties.hbs index b96b439..47edf1c 100644 --- a/templates/item/parts/properties/item/spell-properties.hbs +++ b/templates/item/parts/properties/item/spell-properties.hbs @@ -1,7 +1,16 @@

{{localize "BOL.ui.spellProperties"}}

-
- +
+
+
+ +
+
+ + {{#each data.properties.mandatoryconditions as |cond key|}} + + {{/each}} +
\ No newline at end of file