Attribute Item Subtype #76

Merged
Oliver merged 50 commits from feature/attribute-items into main 2026-04-27 02:12:56 +00:00
Showing only changes of commit 11f9e407a3 - Show all commits

View file

@ -343,6 +343,18 @@ export class PlayerSheet extends
}; };
async _prepareItem(item) { async _prepareItem(item) {
if (item.type !== "generic") {
return {
uuid: item.uuid,
img: item.img,
name: item.name,
equipped: false,
quantity: 0,
weight: 0,
isExpanded: false,
canExpand: false,
};
}
const ctx = { const ctx = {
uuid: item.uuid, uuid: item.uuid,
img: item.img, img: item.img,