diff --git a/assets/icons/armor.webp b/assets/icons/armor.webp new file mode 100644 index 0000000..9f2e560 Binary files /dev/null and b/assets/icons/armor.webp differ diff --git a/assets/icons/item.webp b/assets/icons/item.webp new file mode 100644 index 0000000..d9dd00b Binary files /dev/null and b/assets/icons/item.webp differ diff --git a/assets/icons/weapon.webp b/assets/icons/weapon.webp new file mode 100644 index 0000000..5448394 Binary files /dev/null and b/assets/icons/weapon.webp differ diff --git a/modules/heritiers-config.js b/modules/heritiers-config.js index 5d5b3da..38b3a14 100644 --- a/modules/heritiers-config.js +++ b/modules/heritiers-config.js @@ -67,6 +67,48 @@ export const HERITIERS_CONFIG = { "26": "Légendaire", "28": "Mythique", "30": "Divine" + }, + + categorieArme : { + "trait": "Arme de trait", + "poing": "Arme de poing", + "epaule": "Arme d'épaule", + "lourde": "Arme lourde", + "blanche": "Arme blanche", + "improvise": "Arme improvisée", + "explosif": "Explosif" + }, + typeArme: { + "trait": "Trait", + "pistolet": "Pistolet", + "simpleaction": "Simple Action", + "doubleaction": "Double Action", + "doublecanon": "Double Canon", + "semiauto": "Semin Automatique", + "auto": "Automatique", + "manuel": "Manuel", + "verrou": "Verrou", + "special": "Spéciale", + "legere": "Légère", + "lourde": "Lourde", + "explosif": "Explosif" + }, + armeLegalite: { + "libre": "Libre (L)", + "controlee": "Contrôlée (C)", + "prohibee": "Prohibée (P)" + }, + armeDissimulation :{ + "tresfacile": "Très facile (TF)", + "facile": "Facile (F)", + "difficile": "Difficile (D)", + "impossible": "Impossible (I)" + }, + typeProtection : { + "balle": "Protège ds balles", + "melee": "Protège en mélée", + "tout": "Tout type de dégats" } + } \ No newline at end of file diff --git a/modules/heritiers-item.js b/modules/heritiers-item.js index dc11093..385cbbe 100644 --- a/modules/heritiers-item.js +++ b/modules/heritiers-item.js @@ -12,6 +12,9 @@ export const defaultItemImg = { protection: "systems/fvtt-les-heritiers/assets/icons/protection.webp", atoutfeerique: "systems/fvtt-les-heritiers/assets/icons/fairy_atout.webp", capacitenaturelle: "systems/fvtt-les-heritiers/assets/icons/natural_capacity.webp", + arme: "systems/fvtt-les-heritiers/assets/icons/weapon.webp", + accessoire: "systems/fvtt-les-heritiers/assets/icons/item.webp", + protection: "systems/fvtt-les-heritiers/assets/icons/armor.webp", } /** diff --git a/templates/item-accessoire-sheet.html b/templates/item-accessoire-sheet.html index 57792cc..fff340e 100644 --- a/templates/item-accessoire-sheet.html +++ b/templates/item-accessoire-sheet.html @@ -9,12 +9,30 @@ {{> systems/fvtt-les-heritiers/templates/partial-item-description.html}}
- +
diff --git a/templates/item-arme-sheet.html b/templates/item-arme-sheet.html index 7059777..30f1c0d 100644 --- a/templates/item-arme-sheet.html +++ b/templates/item-arme-sheet.html @@ -11,77 +11,125 @@
diff --git a/templates/item-protection-sheet.html b/templates/item-protection-sheet.html index 04026bc..914f489 100644 --- a/templates/item-protection-sheet.html +++ b/templates/item-protection-sheet.html @@ -11,18 +11,60 @@