takeItem beta
Function of @v12-engine/engine
ts
export declare function takeItem(world: World, entity: Entity, instanceId: number): ItemInstance | undefined;Takes the item instance with this id out of the entity's inventory and returns it; undefined when it does not carry it