Fix templates for new appv2

This commit is contained in:
2025-06-02 23:25:49 +02:00
parent c25320755a
commit a0f42204d5
24 changed files with 421 additions and 113 deletions

View File

@ -1,7 +1,11 @@
import { RdDItem } from "../item.js";
export default class RdDItemMonnaie extends RdDItem {
static get defaultIcon() {
return 'systems/foundryvtt-reve-de-dragon/icons/objets/piece_etain_poisson.webp'
constructor(data, context) {
if (!data.img) {
data.img = 'systems/foundryvtt-reve-de-dragon/icons/objets/piece_etain_poisson.webp'
}
super(data, context);
}
}