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

activities

The replayable work of the city: thirteen activity TYPES, each a small

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

activities

The replayable work of the city: thirteen activity TYPES, each a small

authored job shape with a real decision in it and a consequence that lasts, and the written VARIANTS of each
(content.activityRows: one row per variant, where it is, for whom, with what numbers).

A type is a template: given a variant's row it builds a job in the mission runner's shape (steps, a `choose`
step, bonus objectives, rewards by choice, fail rewards). The board (logic.board) deals a district's variants
by the day. Text is in the catalog `pm_work`: per type `types.<type>.name`, `.pitch`, `.steps.s<n>`,
`.options.<choice>`, `.done`, `.failed`; per variant `<type>.<district>.<key>.title` and `.brief`.

  local Activities = require("metropolisGame.content.activities")
  Activities.types        -- { { id, unlock, perDay, rest, once? } } in board order
  Activities.variants     -- { variant } built from the rows; each is a job for logic.missionRunner
  Activities.byId(id)     -- a variant by id ("<type>_<district>_<key>")
  Activities.sites        -- named mural sites the variants need ({ [name] = { district, size, design, near, permit, carrier } })
  Activities.ofType("getaway")   Activities.count()   -- { [type] = { [district] = n } }

Type fields: unlock (Runner.meets requirements), perDay (variants a district shows a day), rest (days a variant
rests after it is done or failed), once (a collectible: never again once done).
Row fields (content.activityRows): { type, district, key, ...numbers and places the type's template reads }.
Every type's template is documented where it is defined below: what the row may carry, the decision, and what
each outcome changes for good.

The interface is documented in the header of init.luau; this file repeats it for the asset browser.

Interface

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

conforms to

zero/source-extract/v2

metropolisGame.content.activities — the replayable work of the city: thirteen activity TYPES, each a small authored job shape with a real decision in it and a consequence that lasts, and the written VARIANTS of each (content.activityRows: one row per variant, where it is, for whom, with what numbers). A type is a template: given a variant's row it builds a job in the mission runner's shape (steps, a `choose` step, bonus objectives, rewards by choice, fail rewards). The board (logic.board) deals a district's variants by the day. Text is in the catalog `pm_work`: per type `types.<type>.name`, `.pitch`, `.steps.s<n>`, `.options.<choice>`, `.done`, `.failed`; per variant `titleKey` and `briefKey` (by default `pm_work.<type>.<district>.<key>.title` / `.brief`). local Activities = require("metropolisGame.content.activities") Activities.types -- { { id, unlock, perDay, rest, once? } } in board order Activities.variants -- { variant } built from the rows; each is a job for logic.missionRunner Activities.byId(id) -- a variant by id ("<type>_<district>_<key>") Activities.sites -- named mural sites the variants need ({ [name] = { district, size, design, near, permit, carrier } }) Activities.ofType("getaway") Activities.count() -- { [type] = { [district] = n } } Type fields: unlock (Runner.meets requirements), perDay (variants a district shows a day), rest (days a variant rests after it is done or failed), once (a collectible: never again once done). Row fields (content.activityRows): { type, district, key, ...numbers and places the type's template reads }. Every type's template is documented where it is defined below: what the row may carry, the decision, and what each outcome changes for good.

near(place: string) → any

argtypedescription
placestring

commission(v: any, r: any) → void

COMMISSION: a legal shopfront for sous. Quality is the whole score. Row: near (place), size, design, pay (trust for the client's district contact), inspector (bool: one turns up asking for the permit). Decision when the inspector comes: pay him off (sous, clean), argue and finish before he is back with a Warden (a clock, and heat if it runs out), or walk away (unpaid; the street remembers an unfinished wall).

argtypedescription
vany
rany

scrub_call(v: any, r: any) → void

SCRUB CALL: a crew is coming for the oldest wall she signed in the district. Row: seconds (notice), vans (1 or 2), escort (bool: a patrol car rides with it). Decision: stop it (block the road, paint the windscreen, foul the tank: each its own offence and cost), or let it go and repaint the wall better (the district's colour dips until she does; a repainted wall counts again).

argtypedescription
vany
rany

study(v: any, r: any) → void

STUDY: Odile wants a landmark drawn from three places; the sketch becomes a design. Row: views = { place, place, place }, design. Decision at the end: keep the sketch (the design is hers to paint; Odile's trust) or sell it to Aurore's gallery (sous now; the design turns up as other people's commissions and is no longer new).

argtypedescription
vany
rany

roof_line(v: any, r: any) → void

ROOF LINE: one of Ines's marked routes over the roofs. Row: from, to (places), via = { place, ... }, seconds. Touch the ground before the end and it is over. Decision at the end: chalk the route for the crew (it shows on everyone's map and Ines's trust rises, and after a few chases the Wardens post a man at its foot) or keep it to herself (hers alone, and it stays unwatched).

argtypedescription
vany
rany

paint_run(v: any, r: any) → void

PAINT RUN: Rook's deliveries: open tubs in the van, a clock, checkpoints. Row: from, to (places), seconds, pay. Decision before she sets off: the main road (short, and it is where the Wardens check vans) or the back streets (long, corners that spill). Spilled paint is paint not delivered: pay follows the load.

argtypedescription
vany
rany

box_round(v: any, r: any) → void

BOX ROUND: Teo's list: jam every call box on a street in one unbroken pass, unreported. Row: street (place), boxes (n), seconds. Decision at the end: have Teo log them as faults (they stay dead two days, Teo's trust; a repair crew then comes with an escort) or leave them (dead until morning; nobody connects it to her).

argtypedescription
vany
rany

getaway(v: any, r: any) → void

GETAWAY CONTRACT: somebody else's crew needs a driver. Row: crew (a name key), from, to (places), cars = { vehicle type, ... } (what stands ready), heat (the level the job starts at), pay. Decisions before the engine starts: which vehicle, and which way (the plan screen shows the road blocks that WILL stand). Pay falls with every level of heat above the start and with paint on the car.

argtypedescription
vany
rany

tram_tagging(v: any, r: any) → void

TRAM TAGGING: paint a moving tram along its route. Row: line (a name key), from, to (tram stops), size, design, seconds (the ride). Decision: from the back platform (in reach, in front of the passengers) or from the roofs it passes (unseen, and only where the roofs are). The piece then travels the city for three days and earns renown wherever it is seen; a Rough one is scrubbed at the depot the first night.

argtypedescription
vany
rany

colour_war(v: any, r: any) → void

COLOUR WAR: the Limewash Boys claim a wall she holds. Row: near (place), size, design, rival (a name key). Decision: out-paint them live (a race on the wall; winning takes their nerve, losing takes the wall), bargain (Sable takes a cut of the district's stipend and leaves the walls alone for a month), or tip off the Wardens (the Boys vanish for a week; so does the crew's trust, and the Wardens now know that wall).

argtypedescription
vany
rany

impound_break(v: any, r: any) → void

IMPOUND BREAK: what was confiscated stands in the Greywood fort. Row: item ("van" | "ladder" | "stash"), fee. Decision: sneak it out (on foot through the yard, unseen or not at all), drive it out (through the gate, with the fort's cars behind her), or pay (the fee, in the morning, at the window). What was taken is really gone until one of the three is done; after seven days it is sold.

argtypedescription
vany
rany

night_ferry(v: any, r: any) → void

NIGHT FERRY: pigment across the estuary by skiff, at night, under the searchlights. Row: from, to (piers), tins, seconds. Decision at the quay: a light boat (half the tins, quick between the beams) or a heavy one (all of them, slow). Caught in a beam the harbour launch comes; what is on board is lost.

argtypedescription
vany
rany

sketch(v: any, r: any) → void

SKETCH (a collectible, once): a viewpoint to draw from, or a stencil somebody lost. Row: at (place), gives = "design" | "tram_pass" | "stencil", design (for a design). No decision: finding it is the play.

argtypedescription
vany
rany

warden_shift(v: any, r: any) → void

WARDEN SHIFT: one named Warden, off duty, at a place Teo names. Row: warden (content.wardens id), at (place). Decision: pay him (his price: his beat goes unwatched one weekday a week), lean on him with what is in his file (free, if she holds the file), or walk away. Each time she relies on it there is a chance it is found out; then the beat is doubled for five days and he never deals again.

argtypedescription
vany
rany

byId(id: string) → any

argtypedescription
idstring

ofType(type_: string) → void

argtypedescription
type_string

count( ) → any

How many variants there are: { [type] = { [district] = n } }.

Problems

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

0problems
No problems reported. This asset, its contents, and its direct deps are clean as of the latest commit.
⌬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.