diff --git a/src/assets/DS4-MAT.png b/src/assets/DS4-MAT.png new file mode 100644 index 00000000..09e41dfc Binary files /dev/null and b/src/assets/DS4-MAT.png differ diff --git a/src/assets/DS4-MRA.png b/src/assets/DS4-MRA.png new file mode 100644 index 00000000..82e6501b Binary files /dev/null and b/src/assets/DS4-MRA.png differ diff --git a/src/assets/DS4-RAT.png b/src/assets/DS4-RAT.png new file mode 100644 index 00000000..c292458d Binary files /dev/null and b/src/assets/DS4-RAT.png differ diff --git a/src/module/config.ts b/src/module/config.ts index 07c97ca1..0b0720fd 100644 --- a/src/module/config.ts +++ b/src/module/config.ts @@ -66,4 +66,14 @@ export const DS4 = { chain: "DS4.ArmorMaterialTypeChain", plate: "DS4.ArmorMaterialTypePlate", }, + + /** + * * Define the file paths to icon images + * @type {Object} + */ + attackTypesIcons: { + melee: "systems/ds4/assets/DS4-MAT.png", + meleeRanged: "systems/ds4/assets/DS4-MRA.png", + ranged: "systems/ds4/assets/DS4-RAT.png", + }, }; diff --git a/src/templates/actor/partials/items.hbs b/src/templates/actor/partials/items.hbs index 6b48fe37..22ddfe40 100644 --- a/src/templates/actor/partials/items.hbs +++ b/src/templates/actor/partials/items.hbs @@ -45,7 +45,11 @@ {{!-- name --}}

{{item.name}}

{{!-- item specifics --}} -
{{lookup ../../config.attackTypes itemData.attackType}}
{{!-- SPECIFIC --}} +
+ +
{{!-- SPECIFIC --}}
{{itemData.weaponBonus}}
{{!-- SPECIFIC --}}
{{itemData.opponentDefense}}
{{!-- SPECIFIC --}}