From 411c8f9bce8980253c25866a23219e383ec4b46b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois-Xavier=20Guillois?= Date: Tue, 30 May 2023 15:42:33 +0200 Subject: [PATCH] sheet terms --- lang/en.json | 94 ++++++------------- module/system/config.mjs | 18 ++-- module/system/handlebars-manager.mjs | 2 +- template.json | 88 ++++++++--------- templates/actor/actor-character-sheet.html | 29 ++---- templates/actor/parts/actor-id.hbs | 4 +- .../{actor-instincts.hbs => actor-totem.hbs} | 0 templates/actor/parts/character-header.hbs | 2 +- 8 files changed, 95 insertions(+), 142 deletions(-) rename templates/actor/parts/{actor-instincts.hbs => actor-totem.hbs} (100%) diff --git a/lang/en.json b/lang/en.json index 4a47784..aa84f91 100644 --- a/lang/en.json +++ b/lang/en.json @@ -33,8 +33,8 @@ "TOTEM.tooling":"Equipement", "ABILITIES": { - "strength": { "name": "Puissance"}, - "constitution": { "name": "Résistance"}, + "vigor": { "name": "Vigueur"}, + "health": { "name": "Santé"}, "precision":{ "name": "Précision"}, "reflexes":{ "name": "Réflexes"}, "knowledge":{ "name": "Connaissance"}, @@ -56,17 +56,17 @@ "TOTEM.skill_level.master": "Maître", "TOTEM.skill_level.legend": "Légende", - "INSTINCTS": { - "architect": { "name": "L'Architecte"}, - "sword": { "name": "L'épée"}, - "flail": { "name": "Le fléau"}, - "man": { "name": "L'Homme"}, - "keeper": { "name": "Le Gardien"}, - "hand": { "name": "La Main"}, - "mask": { "name": "Le Masque"}, - "void": { "name": "Le Néant"}, - "bone": { "name": "L'Os"}, - "traveller": { "name": "Le Voyageur"} + "TOTEMS": { + "human": { "name": "L'Humain", "number":1}, + "predator": { "name": "Le prédateur", "number":2}, + "scavenger": { "name": "Le Charognard", "number":3}, + "symbiote": { "name": "Le Symbiote", "number":4}, + "parasite": { "name": "Le Parasite", "number":5}, + "builder": { "name": "Le Bâtisseur", "number":6}, + "horde": { "name": "La Horde", "number":7}, + "hive": { "name": "La Ruche", "number":8}, + "loner": { "name": "Le solitaire", "number":9}, + "adapted": { "name": "L'adapté", "number":10} }, "ABILITY_CATEGORIES": { "physical": { "name": "Physique"}, @@ -89,71 +89,33 @@ "rumors": { "name": "Cité"}, "healing": { "name": "Soins"}, "animalism": { "name": "Animalisme"}, - "riding": { "name": "Monture"}, + "dissection": { "name": "Dissection"}, "wildlife": { "name": "Faune"}, - "territory": { "name": "Territoire"}, - "tracks": { "name": "Pistage"}, + "repulsion": { "name": "Répulsion"}, + "tracks": { "name": "Traces"}, "crafting": { "name": "Artisanat"}, - "manipulation": { "name": "Adresse"}, - "mecanisms": { "name": "Mécanismes"}, - "runes": { "name": "Runes"}, + "diy": { "name": "Bricolage"}, + "mecanical": { "name": "Mécanique"}, + "piloting": { "name": "Pilotage"}, + "technology": { "name": "Technologie"}, + "firearms": { "name": "Armes à feu"}, "armory": { "name": "Armurerie"}, "shield": { "name": "Bouclier"}, "close": { "name": "Corps-à-corps"}, - "archery": { "name": "Tir"}, + "archery": { "name": "Armes de tir"}, "throwing": { "name": "Lancer"}, "melee": { "name": "Mêlée"}, "atletics": { "name": "Atlétisme"}, "stealth": { "name": "Discrétion"}, "alertness": { "name": "Vigilance"}, "flora": { "name": "Flore"}, - "road": { "name": "Voyage"}, - "burst": { "name": "Eclat"}, - "moons": { "name": "Lunes"}, - "myths": { "name": "Mythes"}, - "pantheons": { "name": "Panthéons"}, - "rituals": { "name": "Rituels"} + "food": { "name": "Alimentation"}, + "environment": { "name": "Environnement"}, + "road": { "name": "Route"}, + "toxics": { "name": "Toxiques"}, + "ruins": { "name": "Vestiges"} }, "TOTEM.sexes.male":"Masculin", - "TOTEM.sexes.female":"Féminin", - - "SIGNS": { - "wolf":{ - "name":"Le Loup", - "description":"" - }, - "child":{ - "name":"L'Enfant", - "description":"" - }, - "tree":{ - "name":"L'Arbre", - "description":"" - }, - "specter":{ - "name":"Le Spectre", - "description":"" - }, - "whirlwind":{ - "name":"Le Tourbillon", - "description":"" - }, - "vulture":{ - "name":"Le Vautour", - "description":"" - }, - "ship":{ - "name":"Le Navire", - "description":"" - }, - "sword":{ - "name":"Le Glaive", - "description":"" - }, - "cat":{ - "name":"Le Chat", - "description":"" - } - } + "TOTEM.sexes.female":"Féminin" } \ No newline at end of file diff --git a/module/system/config.mjs b/module/system/config.mjs index 6ef5c71..5ebacc3 100644 --- a/module/system/config.mjs +++ b/module/system/config.mjs @@ -67,14 +67,16 @@ TOTEM.skillCategories = { TOTEM.sexes = {"male": "TOTEM.sexes.male", "female": "TOTEM.sexes.female"}; -TOTEM.signs = {"wolf":"SIGNS.wolf.name","child": "SIGNS.child.name" , -"tree": "SIGNS.tree.name" , -"specter": "SIGNS.specter.name" , -"whirlwind": "SIGNS.whirlwind.name" , -"vulture": "SIGNS.vulture.name" , -"ship": "SIGNS.ship.name" , -"sword": "SIGNS.sword.name" , -"cat": "SIGNS.cat.name" } +TOTEM.totems = {"human":"TOTEMS.human.name", +"predator": "TOTEMS.predator.name" , +"scavenger": "TOTEMS.scavenger.name" , +"symbiote": "TOTEMS.symbiote.name" , +"parasite": "TOTEMS.parasite.name" , +"builder": "TOTEMS.builder.name" , +"horde": "TOTEMS.horde.name" , +"hive": "TOTEMS.hive.name" , +"loner": "TOTEMS.loner.name", +"adapted": "TOTEMS.adapted.name" } TOTEM.origins = {"aon":"Aon", "avhorae": "Avhorae" , diff --git a/module/system/handlebars-manager.mjs b/module/system/handlebars-manager.mjs index 317ae88..a4c935b 100644 --- a/module/system/handlebars-manager.mjs +++ b/module/system/handlebars-manager.mjs @@ -12,7 +12,7 @@ "systems/totem/templates/actor/parts/actor-features.html", "systems/totem/templates/actor/parts/actor-spells.html", "systems/totem/templates/actor/parts/actor-id.hbs", - "systems/totem/templates/actor/parts/actor-instincts.hbs", + "systems/totem/templates/actor/parts/actor-totem.hbs", "systems/totem/templates/actor/parts/character-features.hbs", "systems/totem/templates/actor/parts/character-header.hbs", "systems/totem/templates/actor/parts/actor-items.html", diff --git a/template.json b/template.json index b198d58..22f8807 100644 --- a/template.json +++ b/template.json @@ -22,7 +22,7 @@ "identity": { "height": 0, "weight": 0, - "sign": "", + "totem": "", "age": 15, "origin": "" }, @@ -63,13 +63,13 @@ } }, "abilities": { - "strength": { + "vigor": { "value": 0, "min": 0, "max": 5, "category": "physical" }, - "constitution": { + "health": { "value": 0, "min": 0, "max": 5, @@ -118,21 +118,21 @@ "min": 0, "max": 5, "category": "man", - "rarity":0 + "rarity":1 }, "civilization": { "value": 0, "min": 0, "max": 5, "category": "man", - "rarity":0 + "rarity":2 }, "psychology": { "value": 0, "min": 0, "max": 5, "category": "man", - "rarity":0 + "rarity":1 }, "rumors": { "value": 0, @@ -146,7 +146,7 @@ "min": 0, "max": 5, "category": "man", - "rarity":0 + "rarity":1 }, "animalism": { "value": 0, @@ -155,7 +155,7 @@ "category": "animal", "rarity":1 }, - "riding": { + "dissection": { "value": 0, "min": 0, "max": 5, @@ -167,9 +167,9 @@ "min": 0, "max": 5, "category": "animal", - "rarity":0 + "rarity":1 }, - "territory": { + "repulsion": { "value": 0, "min": 0, "max": 5, @@ -188,42 +188,42 @@ "min": 0, "max": 5, "category": "tool", - "rarity":1 + "rarity":2 }, - "manipulation": { + "diy": { "value": 0, "min": 0, "max": 5, "category": "tool", "rarity":0 }, - "mecanisms": { + "mecanical": { "value": 0, "min": 0, "max": 5, "category": "tool", "rarity":2 }, - "runes": { + "piloting": { "value": 0, "min": 0, "max": 5, "category": "tool", "rarity":1 }, - "armory": { + "technology": { "value": 0, "min": 0, "max": 5, "category": "tool", "rarity":2 }, - "shield": { + "firearms": { "value": 0, "min": 0, "max": 5, "category": "weapon", - "rarity":1 + "rarity":2 }, "archery": { "value": 0, @@ -232,12 +232,12 @@ "category": "weapon", "rarity":0 }, - "close": { + "armory": { "value": 0, "min": 0, "max": 5, "category": "weapon", - "rarity":0 + "rarity":2 }, "throwing": { "value": 0, @@ -267,7 +267,7 @@ "category": "survival", "rarity":0 }, - "flora": { + "food": { "value": 0, "min": 0, "max": 5, @@ -281,47 +281,47 @@ "category": "survival", "rarity":0 }, - "road": { + "close": { "value": 0, "min": 0, "max": 5, "category": "survival", "rarity":0 }, - "burst": { + "environment": { + "value": 0, + "min": 0, + "max": 5, + "category": "world", + "rarity":1 + }, + "flora": { + "value": 0, + "min": 0, + "max": 5, + "category": "world", + "rarity":1 + }, + "road": { + "value": 0, + "min": 0, + "max": 5, + "category": "world", + "rarity":0 + }, + "toxics": { "value": 0, "min": 0, "max": 5, "category": "world", "rarity":2 }, - "moons": { + "ruins": { "value": 0, "min": 0, "max": 5, "category": "world", "rarity":1 - }, - "myths": { - "value": 0, - "min": 0, - "max": 5, - "category": "world", - "rarity":1 - }, - "pantheons": { - "value": 0, - "min": 0, - "max": 5, - "category": "world", - "rarity":1 - }, - "rituals": { - "value": 0, - "min": 0, - "max": 5, - "category": "world", - "rarity":2 } } }, diff --git a/templates/actor/actor-character-sheet.html b/templates/actor/actor-character-sheet.html index 19e2b93..e312e99 100644 --- a/templates/actor/actor-character-sheet.html +++ b/templates/actor/actor-character-sheet.html @@ -13,31 +13,26 @@ @@ -49,16 +44,10 @@ {{> "systems/totem/templates/actor/parts/character-features.hbs"}} -
-

Instincts

+
+

Totem

- {{> "systems/totem/templates/actor/parts/actor-instincts.hbs"}} -
-
-

Dieux

- - {{> "systems/totem/templates/actor/parts/actor-spells.html"}} - + {{> "systems/totem/templates/actor/parts/actor-totem.hbs"}}

Equipement

diff --git a/templates/actor/parts/actor-id.hbs b/templates/actor/parts/actor-id.hbs index 45eb75c..2679c03 100644 --- a/templates/actor/parts/actor-id.hbs +++ b/templates/actor/parts/actor-id.hbs @@ -31,9 +31,9 @@
  • - +
  • diff --git a/templates/actor/parts/actor-instincts.hbs b/templates/actor/parts/actor-totem.hbs similarity index 100% rename from templates/actor/parts/actor-instincts.hbs rename to templates/actor/parts/actor-totem.hbs diff --git a/templates/actor/parts/character-header.hbs b/templates/actor/parts/character-header.hbs index 79a1bfc..9b405bf 100644 --- a/templates/actor/parts/character-header.hbs +++ b/templates/actor/parts/character-header.hbs @@ -2,7 +2,7 @@

    - +