five-on-it / apps/level-editor/src/scripts/blocks/shop
apps/level-editor/src/scripts/blocks/shop
Marks a node of the editor scene as a shop: a counter standing on the node's origin, serving from the node's +z, never scaled, turned with yaw only. The interaction key at it opens the shop's panel: what it sells (item ids separated by spaces or commas), each at the game's price, paid in the player's Cash. The library's block:shop carries it: place instances of that mesh for npm run level:export to read.