Dark
Dark
Custom Classes by Item Type?
Hello Everyone, I’m trying to set up custom document classes for items based on their type. For example, a Weapon class if type === "weapon", Armor class if type === "armor", etc. I know it’s pretty straightforward to assign different sheets using Items.registerSheet(..., { types: [...] }), but I wanted to know if the document itself could be a custom class, not just the sheet. Any guidance is appreciated.
5 replies