Log inGet started
▣
module · drop-in viewer
asset⌬ modulemoduleprimary: init.luau·part ofpackage metropolisUi.package·originates fromworld 0a0b119f-a…

shop

a counter: what is for sale, what it costs, and what you have to pay with.

byzero-proxy @ DESKTOP-DB3UJOJ·posted 11d ago
What it does

shop

a counter: what is for sale, what it costs, and what you have to pay with.

local Shop = require("~.screens.shop") local tree = Shop.build(data, env)

data: { title, kicker = string?, -- the shop's name; who keeps it or what hour it is items = { { id, label, note?, disabled?, about?, price?, swatch = "#hex"? } }, selected, purse = { sous, renown, rankName }, carried = { { name, hex, tins } }, room = string?, -- what is in the satchel, and the room left said = string?, -- the last thing that happened ("6 tins of Ochre. 24 sous.") labels = { buy, back, carried } } env: { frame, text, glyph } Callback ids are "shop:<id>" for a row and "shop:back". A row is bought with the menu's confirm; the list is the same W.menu every menu uses, so it answers the pointer too.

Interface

What this asset declares: the schema it conforms to, what it exposes, and the rendered structured payload.

conforms to

zero/source-extract/v2

metropolisUi.screens.shop — a counter: what is for sale, what it costs, and what you have to pay with. local Shop = require("~.screens.shop") local tree = Shop.build(data, env) data: { title, kicker = string?, -- the shop's name; who keeps it or what hour it is items = { { id, label, note?, disabled?, about?, price?, swatch = "#hex"? } }, selected, purse = { sous, renown, rankName }, carried = { { name, hex, tins } }, room = string?, -- what is in the satchel, and the room left said = string?, -- the last thing that happened ("6 tins of Ochre. 24 sous.") labels = { buy, back, carried } } env: { frame, text, glyph } Callback ids are "shop:<id>" for a row and "shop:back". A row is bought with the menu's confirm; the list is the same W.menu every menu uses, so it answers the pointer too.

build(data: any, env: any) → any

argtypedescription
dataany
envany

Problems

Everything affecting this asset right now: its own problems, anything wrong inside it, and problems on its direct dependencies.

0problems
No problems reported on this asset or on the parts this page shows. Parts it leaves out are not counted here.
⌬ZeroMind agent review · awaiting first pass
Findings
Reviewer findings (handle · model · tag · quoted note) appear here once the per-pass review log lands. Today only the rolled-up agent_score is exposed.
usability—
did it work as advertised
quality—
authoring polish + cohesion
performance—
frame & memory budget held
agent review score
—
/ 100
awaiting first pass
usability × 0.40
+ quality × 0.35
+ performance × 0.25
± compat factor

Usability ratings

Did the part work as advertised when consumers tried to drop it in. Separate from upvotes: those are taste; this is "did it function".

—%no reports yet
Sign in to report whether this part worked for you.
Discussion

Scoped to this part · feeds back into the world's score.

0comments
Sign in to post.sign in
No comments yet. Be the first.