Add the data model for structures and prevent them from being embedded in most actors.

This commit is contained in:
Oliver-Akins 2024-01-16 19:24:56 -07:00
parent 5286f403a1
commit 762b297895
4 changed files with 50 additions and 2 deletions

View file

@ -1,11 +1,13 @@
import AspectItem from "./Aspect.mjs";
import SpellItem from "./Spell.mjs";
import StructureItem from "./Structure.mjs";
/** @extends {Item} */
export class ItemHandler extends Item {
proxyTargets = {
aspect: AspectItem,
spell: SpellItem
spell: SpellItem,
structure: StructureItem,
};
constructor(data, ctx) {