Skip to content

shopNear beta ​

Function of @v12-engine/engine

ts
export declare function shopNear(world: World, entity: Entity): Entity | undefined;

Whether a shop the player can trade with is close enough to the entity