Minor fixes
This commit is contained in:
19
.history/module/documents/item_20241206134814.mjs
Normal file
19
.history/module/documents/item_20241206134814.mjs
Normal file
@@ -0,0 +1,19 @@
|
||||
export const defaultItemImg = {
|
||||
weapon: "systems/fvtt-lethal-fantasy/assets/icons/icon_weapon.webp",
|
||||
armor: "systems/fvtt-lethal-fantasy/assets/icons/icon_armor.webp",
|
||||
equipment: "systems/fvtt-lethal-fantasy/assets/icons/icon_equipment.webp",
|
||||
skill: "systems/fvtt-lethal-fantasy/assets/icons/icon_skill.webp",
|
||||
gift: "systems/fvtt-lethal-fantasy/assets/icons/icon_gift.webp",
|
||||
invulnerability: "systems/fvtt-lethal-fantasy/assets/icons/icon_invulnerability.webp",
|
||||
shield: "systems/fvtt-lethal-fantasy/assets/icons/icon_shield.webp",
|
||||
spell: "systems/fvtt-lethal-fantasy/assets/icons/icon_spell.webp"
|
||||
}
|
||||
|
||||
export default class LethalFantasyItem extends Item {
|
||||
constructor(data, context) {
|
||||
if (!data.img) {
|
||||
data.img = defaultItemImg[data.type];
|
||||
}
|
||||
super(data, context);
|
||||
}
|
||||
}
|
||||
20
.history/module/documents/item_20241209231729.mjs
Normal file
20
.history/module/documents/item_20241209231729.mjs
Normal file
@@ -0,0 +1,20 @@
|
||||
export const defaultItemImg = {
|
||||
weapon: "systems/fvtt-lethal-fantasy/assets/icons/icon_weapon.webp",
|
||||
armor: "systems/fvtt-lethal-fantasy/assets/icons/icon_armor.webp",
|
||||
equipment: "systems/fvtt-lethal-fantasy/assets/icons/icon_equipment.webp",
|
||||
skill: "systems/fvtt-lethal-fantasy/assets/icons/icon_skill.webp",
|
||||
gift: "systems/fvtt-lethal-fantasy/assets/icons/icon_gift.webp",
|
||||
invulnerability: "systems/fvtt-lethal-fantasy/assets/icons/icon_invulnerability.webp",
|
||||
shield: "systems/fvtt-lethal-fantasy/assets/icons/icon_shield.webp",
|
||||
spell: "systems/fvtt-lethal-fantasy/assets/icons/icon_spell.webp",
|
||||
|
||||
}
|
||||
|
||||
export default class LethalFantasyItem extends Item {
|
||||
constructor(data, context) {
|
||||
if (!data.img) {
|
||||
data.img = defaultItemImg[data.type];
|
||||
}
|
||||
super(data, context);
|
||||
}
|
||||
}
|
||||
20
.history/module/documents/item_20241209231731.mjs
Normal file
20
.history/module/documents/item_20241209231731.mjs
Normal file
@@ -0,0 +1,20 @@
|
||||
export const defaultItemImg = {
|
||||
weapon: "systems/fvtt-lethal-fantasy/assets/icons/icon_weapon.webp",
|
||||
armor: "systems/fvtt-lethal-fantasy/assets/icons/icon_armor.webp",
|
||||
equipment: "systems/fvtt-lethal-fantasy/assets/icons/icon_equipment.webp",
|
||||
skill: "systems/fvtt-lethal-fantasy/assets/icons/icon_skill.webp",
|
||||
gift: "systems/fvtt-lethal-fantasy/assets/icons/icon_gift.webp",
|
||||
invulnerability: "systems/fvtt-lethal-fantasy/assets/icons/icon_invulnerability.webp",
|
||||
shield: "systems/fvtt-lethal-fantasy/assets/icons/icon_shield.webp",
|
||||
spell: "systems/fvtt-lethal-fantasy/assets/icons/icon_spell.webp",
|
||||
|
||||
}
|
||||
|
||||
export default class LethalFantasyItem extends Item {
|
||||
constructor(data, context) {
|
||||
if (!data.img) {
|
||||
data.img = defaultItemImg[data.type];
|
||||
}
|
||||
super(data, context);
|
||||
}
|
||||
}
|
||||
20
.history/module/documents/item_20241209231733.mjs
Normal file
20
.history/module/documents/item_20241209231733.mjs
Normal file
@@ -0,0 +1,20 @@
|
||||
export const defaultItemImg = {
|
||||
weapon: "systems/fvtt-lethal-fantasy/assets/icons/icon_weapon.webp",
|
||||
armor: "systems/fvtt-lethal-fantasy/assets/icons/icon_armor.webp",
|
||||
equipment: "systems/fvtt-lethal-fantasy/assets/icons/icon_equipment.webp",
|
||||
skill: "systems/fvtt-lethal-fantasy/assets/icons/icon_skill.webp",
|
||||
gift: "systems/fvtt-lethal-fantasy/assets/icons/icon_gift.webp",
|
||||
invulnerability: "systems/fvtt-lethal-fantasy/assets/icons/icon_invulnerability.webp",
|
||||
shield: "systems/fvtt-lethal-fantasy/assets/icons/icon_shield.webp",
|
||||
spell: "systems/fvtt-lethal-fantasy/assets/icons/icon_spell.webp",
|
||||
mira
|
||||
}
|
||||
|
||||
export default class LethalFantasyItem extends Item {
|
||||
constructor(data, context) {
|
||||
if (!data.img) {
|
||||
data.img = defaultItemImg[data.type];
|
||||
}
|
||||
super(data, context);
|
||||
}
|
||||
}
|
||||
20
.history/module/documents/item_20241209231735.mjs
Normal file
20
.history/module/documents/item_20241209231735.mjs
Normal file
@@ -0,0 +1,20 @@
|
||||
export const defaultItemImg = {
|
||||
weapon: "systems/fvtt-lethal-fantasy/assets/icons/icon_weapon.webp",
|
||||
armor: "systems/fvtt-lethal-fantasy/assets/icons/icon_armor.webp",
|
||||
equipment: "systems/fvtt-lethal-fantasy/assets/icons/icon_equipment.webp",
|
||||
skill: "systems/fvtt-lethal-fantasy/assets/icons/icon_skill.webp",
|
||||
gift: "systems/fvtt-lethal-fantasy/assets/icons/icon_gift.webp",
|
||||
invulnerability: "systems/fvtt-lethal-fantasy/assets/icons/icon_invulnerability.webp",
|
||||
shield: "systems/fvtt-lethal-fantasy/assets/icons/icon_shield.webp",
|
||||
spell: "systems/fvtt-lethal-fantasy/assets/icons/icon_spell.webp",
|
||||
miracle
|
||||
}
|
||||
|
||||
export default class LethalFantasyItem extends Item {
|
||||
constructor(data, context) {
|
||||
if (!data.img) {
|
||||
data.img = defaultItemImg[data.type];
|
||||
}
|
||||
super(data, context);
|
||||
}
|
||||
}
|
||||
20
.history/module/documents/item_20241209231739.mjs
Normal file
20
.history/module/documents/item_20241209231739.mjs
Normal file
@@ -0,0 +1,20 @@
|
||||
export const defaultItemImg = {
|
||||
weapon: "systems/fvtt-lethal-fantasy/assets/icons/icon_weapon.webp",
|
||||
armor: "systems/fvtt-lethal-fantasy/assets/icons/icon_armor.webp",
|
||||
equipment: "systems/fvtt-lethal-fantasy/assets/icons/icon_equipment.webp",
|
||||
skill: "systems/fvtt-lethal-fantasy/assets/icons/icon_skill.webp",
|
||||
gift: "systems/fvtt-lethal-fantasy/assets/icons/icon_gift.webp",
|
||||
invulnerability: "systems/fvtt-lethal-fantasy/assets/icons/icon_invulnerability.webp",
|
||||
shield: "systems/fvtt-lethal-fantasy/assets/icons/icon_shield.webp",
|
||||
spell: "systems/fvtt-lethal-fantasy/assets/icons/icon_spell.webp",
|
||||
miracle: "systems/fvtt-lethal-fantasy/assets/icons/icon_miracle.webp",
|
||||
}
|
||||
|
||||
export default class LethalFantasyItem extends Item {
|
||||
constructor(data, context) {
|
||||
if (!data.img) {
|
||||
data.img = defaultItemImg[data.type];
|
||||
}
|
||||
super(data, context);
|
||||
}
|
||||
}
|
||||
20
.history/module/documents/item_20241209231740.mjs
Normal file
20
.history/module/documents/item_20241209231740.mjs
Normal file
@@ -0,0 +1,20 @@
|
||||
export const defaultItemImg = {
|
||||
weapon: "systems/fvtt-lethal-fantasy/assets/icons/icon_weapon.webp",
|
||||
armor: "systems/fvtt-lethal-fantasy/assets/icons/icon_armor.webp",
|
||||
equipment: "systems/fvtt-lethal-fantasy/assets/icons/icon_equipment.webp",
|
||||
skill: "systems/fvtt-lethal-fantasy/assets/icons/icon_skill.webp",
|
||||
gift: "systems/fvtt-lethal-fantasy/assets/icons/icon_gift.webp",
|
||||
invulnerability: "systems/fvtt-lethal-fantasy/assets/icons/icon_invulnerability.webp",
|
||||
shield: "systems/fvtt-lethal-fantasy/assets/icons/icon_shield.webp",
|
||||
spell: "systems/fvtt-lethal-fantasy/assets/icons/icon_spell.webp",
|
||||
miracle: "systems/fvtt-lethal-fantasy/assets/icons/icon_miracle.webp"
|
||||
}
|
||||
|
||||
export default class LethalFantasyItem extends Item {
|
||||
constructor(data, context) {
|
||||
if (!data.img) {
|
||||
data.img = defaultItemImg[data.type];
|
||||
}
|
||||
super(data, context);
|
||||
}
|
||||
}
|
||||
20
.history/module/documents/item_20241209231806.mjs
Normal file
20
.history/module/documents/item_20241209231806.mjs
Normal file
@@ -0,0 +1,20 @@
|
||||
export const defaultItemImg = {
|
||||
weapon: "systems/fvtt-lethal-fantasy/assets/icons/icon_weapon.webp",
|
||||
armor: "systems/fvtt-lethal-fantasy/assets/icons/icon_armor.webp",
|
||||
equipment: "systems/fvtt-lethal-fantasy/assets/icons/icon_equipment.webp",
|
||||
skill: "systems/fvtt-lethal-fantasy/assets/icons/icon_skill.webp",
|
||||
gift: "systems/fvtt-lethal-fantasy/assets/icons/icon_gift.webp",
|
||||
invulnerability: "systems/fvtt-lethal-fantasy/assets/icons/icon_invulnerability.webp",
|
||||
shield: "systems/fvtt-lethal-fantasy/assets/icons/icon_shield.webp",
|
||||
spell: "systems/fvtt-lethal-fantasy/assets/icons/icon_spell.webp",
|
||||
miracle: "systems/fvtt-lethal-fantasy/assets/icons/icon_miracle.webp"
|
||||
}
|
||||
|
||||
export default class LethalFantasyItem extends Item {
|
||||
constructor(data, context) {
|
||||
if (!data.img) {
|
||||
data.img = defaultItemImg[data.type];
|
||||
}
|
||||
super(data, context);
|
||||
}
|
||||
}
|
||||
20
.history/module/documents/item_20241217065944.mjs
Normal file
20
.history/module/documents/item_20241217065944.mjs
Normal file
@@ -0,0 +1,20 @@
|
||||
export const defaultItemImg = {
|
||||
weapon: "systems/fvtt-lethal-fantasy/assets/icons/icon_weapon.webp",
|
||||
armor: "systems/fvtt-lethal-fantasy/assets/icons/icon_armor.webp",
|
||||
equipment: "systems/fvtt-lethal-fantasy/assets/icons/icon_equipment.webp",
|
||||
skill: "systems/fvtt-lethal-fantasy/assets/icons/icon_skill.webp",
|
||||
gift: "systems/fvtt-lethal-fantasy/assets/icons/icon_gift.webp",
|
||||
vulnerability: "systems/fvtt-lethal-fantasy/assets/icons/icon_invulnerability.webp",
|
||||
shield: "systems/fvtt-lethal-fantasy/assets/icons/icon_shield.webp",
|
||||
spell: "systems/fvtt-lethal-fantasy/assets/icons/icon_spell.webp",
|
||||
miracle: "systems/fvtt-lethal-fantasy/assets/icons/icon_miracle.webp"
|
||||
}
|
||||
|
||||
export default class LethalFantasyItem extends Item {
|
||||
constructor(data, context) {
|
||||
if (!data.img) {
|
||||
data.img = defaultItemImg[data.type];
|
||||
}
|
||||
super(data, context);
|
||||
}
|
||||
}
|
||||
20
.history/module/documents/item_20241217065947.mjs
Normal file
20
.history/module/documents/item_20241217065947.mjs
Normal file
@@ -0,0 +1,20 @@
|
||||
export const defaultItemImg = {
|
||||
weapon: "systems/fvtt-lethal-fantasy/assets/icons/icon_weapon.webp",
|
||||
armor: "systems/fvtt-lethal-fantasy/assets/icons/icon_armor.webp",
|
||||
equipment: "systems/fvtt-lethal-fantasy/assets/icons/icon_equipment.webp",
|
||||
skill: "systems/fvtt-lethal-fantasy/assets/icons/icon_skill.webp",
|
||||
gift: "systems/fvtt-lethal-fantasy/assets/icons/icon_gift.webp",
|
||||
vulnerability: "systems/fvtt-lethal-fantasy/assets/icons/icon_vulnerability.webp",
|
||||
shield: "systems/fvtt-lethal-fantasy/assets/icons/icon_shield.webp",
|
||||
spell: "systems/fvtt-lethal-fantasy/assets/icons/icon_spell.webp",
|
||||
miracle: "systems/fvtt-lethal-fantasy/assets/icons/icon_miracle.webp"
|
||||
}
|
||||
|
||||
export default class LethalFantasyItem extends Item {
|
||||
constructor(data, context) {
|
||||
if (!data.img) {
|
||||
data.img = defaultItemImg[data.type];
|
||||
}
|
||||
super(data, context);
|
||||
}
|
||||
}
|
||||
20
.history/module/documents/item_20241217065948.mjs
Normal file
20
.history/module/documents/item_20241217065948.mjs
Normal file
@@ -0,0 +1,20 @@
|
||||
export const defaultItemImg = {
|
||||
weapon: "systems/fvtt-lethal-fantasy/assets/icons/icon_weapon.webp",
|
||||
armor: "systems/fvtt-lethal-fantasy/assets/icons/icon_armor.webp",
|
||||
equipment: "systems/fvtt-lethal-fantasy/assets/icons/icon_equipment.webp",
|
||||
skill: "systems/fvtt-lethal-fantasy/assets/icons/icon_skill.webp",
|
||||
gift: "systems/fvtt-lethal-fantasy/assets/icons/icon_gift.webp",
|
||||
vulnerability: "systems/fvtt-lethal-fantasy/assets/icons/icon_vulnerability.webp",
|
||||
shield: "systems/fvtt-lethal-fantasy/assets/icons/icon_shield.webp",
|
||||
spell: "systems/fvtt-lethal-fantasy/assets/icons/icon_spell.webp",
|
||||
miracle: "systems/fvtt-lethal-fantasy/assets/icons/icon_miracle.webp"
|
||||
}
|
||||
|
||||
export default class LethalFantasyItem extends Item {
|
||||
constructor(data, context) {
|
||||
if (!data.img) {
|
||||
data.img = defaultItemImg[data.type];
|
||||
}
|
||||
super(data, context);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user