From f2a659ddbdf919166b49784ff99f9f64095f71e9 Mon Sep 17 00:00:00 2001 From: LeRatierBretonnien Date: Fri, 30 Dec 2022 09:21:52 +0100 Subject: [PATCH] New items and cleanup --- modules/heritiers-config.js | 35 +++++++++++++- system.json | 4 +- template.json | 6 +++ templates/item-pouvoir-sheet.html | 76 +++++++++++++++++++++++++++++-- 4 files changed, 114 insertions(+), 7 deletions(-) diff --git a/modules/heritiers-config.js b/modules/heritiers-config.js index 4221863..11aebb0 100644 --- a/modules/heritiers-config.js +++ b/modules/heritiers-config.js @@ -1,6 +1,17 @@ export const HERITIERS_CONFIG = { + caracList: { + "agi": "Agilité", + "con": "Constitution", + "for": "Force", + "prec": "Précision", + "esp": "Esprit", + "per": "Perception", + "pres": "Présence", + "san": "Sang-Froid" + }, + competenceCategorie : { "utile": "Utile", "futile": "Futile" @@ -14,10 +25,30 @@ export const HERITIERS_CONFIG = { "savant": "Savant", "gentleman": "Gentleman" }, - + baseTestPouvoir: { + "feerie": "Féerie", + "Masque": "Masque" + }, + resistancePouvoir: { + "physiquepassive": "Physique Passive", + "physiqueactive": "Physique Active", + "psychiquepassive": "Psychique Passive", + "psychiqueactive": "Psychique Active", + "autre": "Autre", + }, typePouvoir: { "actif": "Actif", - "passif": "Passif" + "passif": "Passif", + "metamorphose": "Métamorphose" + }, + niveauPouvoir: { + "normal": "Normal", + "profond": "Profond", + "legendaire": "Légendaire" + }, + masquePouvoir: { + "masque": "Masqué", + "demasque": "Démasqué" } } \ No newline at end of file diff --git a/system.json b/system.json index 5662537..47e4e22 100644 --- a/system.json +++ b/system.json @@ -1,7 +1,7 @@ { "id": "fvtt-les-heritiers", "description": "Les Héritiers pour FoundryVTT", - "version": "10.0.1", + "version": "10.0.2", "authors": [ { "name": "Uberwald/LeRatierBretonnien", @@ -19,7 +19,7 @@ "gridUnits": "m", "license": "LICENSE.txt", "manifest": "https://www.uberwald.me/gitea/public/fvtt-les-heritiers/raw/branch/master/system.json", - "download": "https://www.uberwald.me/gitea/public/fvtt-les-heritiers/archive/fvtt-les-heritiers-10.0.1.zip", + "download": "https://www.uberwald.me/gitea/public/fvtt-les-heritiers/archive/fvtt-les-heritiers-10.0.2.zip", "languages": [ { "lang": "fr", diff --git a/template.json b/template.json index 8497505..7553501 100644 --- a/template.json +++ b/template.json @@ -257,11 +257,17 @@ }, "pouvoir": { "pouvoirtype": "", + "masquetype": "", + "niveau": "", "activation": "", + "istest": false, + "feeriemasque": "feerie", + "carac": "pre", "cibles": "", "effet": "", "portee": "", "resistance": "", + "resistanceautre":"", "description": "" }, "atoutfeerique": { diff --git a/templates/item-pouvoir-sheet.html b/templates/item-pouvoir-sheet.html index 6c63575..346d2a8 100644 --- a/templates/item-pouvoir-sheet.html +++ b/templates/item-pouvoir-sheet.html @@ -12,6 +12,18 @@