Add item icons

This commit is contained in:
2026-03-31 17:15:03 +02:00
parent fb04448ab0
commit ee3aef1576
23 changed files with 26 additions and 9 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 492 B

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 6.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 514 B

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 7.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 526 B

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 6.5 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 6.5 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 7.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 468 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 562 B

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 5.9 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 6.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 538 B

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 6.0 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 7.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 526 B

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 5.6 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 7.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 492 B

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 5.5 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 5.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 564 B

View File

@@ -1,13 +1,17 @@
const defaultItemImg = {
weapon: "systems/fvtt-oath-hammer/assets/icons/icon_weapon.webp",
armor: "systems/fvtt-oath-hammer/assets/icons/icon_armor.webp",
ammunition: "systems/fvtt-oath-hammer/assets/icons/icon_ammunition.webp",
equipment: "systems/fvtt-oath-hammer/assets/icons/icon_equipment.webp",
spell: "systems/fvtt-oath-hammer/assets/icons/icon_spell.webp",
miracle: "systems/fvtt-oath-hammer/assets/icons/icon_miracle.webp",
"magic-item": "systems/fvtt-oath-hammer/assets/icons/icon_magic_item.webp",
trait: "systems/fvtt-oath-hammer/assets/icons/icon_ability.webp",
oath: "systems/fvtt-oath-hammer/assets/icons/icon_oath.webp"
weapon: "systems/fvtt-oath-hammer/assets/icons/icon_weapon.svg",
armor: "systems/fvtt-oath-hammer/assets/icons/icon_armor.svg",
ammunition: "systems/fvtt-oath-hammer/assets/icons/icon_ammunition.svg",
equipment: "systems/fvtt-oath-hammer/assets/icons/icon_equipment.svg",
spell: "systems/fvtt-oath-hammer/assets/icons/icon_spell.svg",
miracle: "systems/fvtt-oath-hammer/assets/icons/icon_miracle.svg",
"magic-item": "systems/fvtt-oath-hammer/assets/icons/icon_magic_item.svg",
trait: "systems/fvtt-oath-hammer/assets/icons/icon_ability.svg",
oath: "systems/fvtt-oath-hammer/assets/icons/icon_oath.svg",
building: "systems/fvtt-oath-hammer/assets/icons/icon_building.svg",
class: "systems/fvtt-oath-hammer/assets/icons/icon_class.svg",
skillnpc: "systems/fvtt-oath-hammer/assets/icons/icon_skillnpc.svg",
npcattack: "systems/fvtt-oath-hammer/assets/icons/icon_npcattack.svg",
}
export default class OathHammerItem extends Item {