hasRoomFor beta
Function of @v12-engine/engine
ts
export declare function hasRoomFor(world: World, entity: Entity, item: string, charges?: number): boolean;Whether the entity has room for an item: a free slot, or a stack of it with room (ItemDef.stack)