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

paint

This game's configuration of paintKit: the tools that paint walls, the paint

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

paint

This game's configuration of paintKit: the tools that paint walls, the paint

ARMS that fire the same tins, the eight pigments and what each does in a fight, cover for everything that can
be painted out, Wren's own colour, the mural sizes and the designs that go on the walls.

  local PaintContent = require("metropolisGame.content.paint")
  PaintContent.config                  -- overrides for paintKit.modules.config
  PaintContent.pigments                -- { { id, hex, safe, pattern } } in shop order (safe: colour-blind safe hex)
  PaintContent.pigment("ochre")        -- one of them
  PaintContent.arms                    -- { id, ... } arm ids in wheel order
  PaintContent.sizes.piece             -- { scale, cols, rows, renown, colour, width, height } (width/height in metres)
  PaintContent.designs.piece           -- { { id, rows }, ... } authored pictures for that size
  PaintContent.design("piece", 2)      -- a paintKit design built from the nth picture (wraps round)
  PaintContent.designById("piece", "fish")

Numbers follow s3/design/game_direction.md §1 (arms) and GAME_DESIGN.md §4.1 (tools); every one is here, none
in code. Designs are text: one character per block of `scale` x `scale` cells; a cell is 0.25 m. Letters:
  o ochre  v viridian  m vermilion  c ultramarine  k white  b lampblack  s saffron  h heather  . bare wall

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.paint — this game's configuration of paintKit: the tools that paint walls, the paint ARMS that fire the same tins, the eight pigments and what each does in a fight, cover for everything that can be painted out, Wren's own colour, the mural sizes and the designs that go on the walls. local PaintContent = require("metropolisGame.content.paint") PaintContent.config -- overrides for paintKit.modules.config PaintContent.pigments -- { { id, hex, safe, pattern } } in shop order (safe: colour-blind safe hex) PaintContent.pigment("ochre") -- one of them PaintContent.arms -- { id, ... } arm ids in wheel order PaintContent.sizes.piece -- { scale, cols, rows, renown, colour, width, height } (width/height in metres) PaintContent.designs.piece -- { { id, rows }, ... } authored pictures for that size PaintContent.design("piece", 2) -- a paintKit design built from the nth picture (wraps round) PaintContent.designById("piece", "fish") Numbers follow s3/design/game_direction.md §1 (arms) and GAME_DESIGN.md §4.1 (tools); every one is here, none in code. Designs are text: one character per block of `scale` x `scale` cells; a cell is 0.25 m. Letters: o ochre v viridian m vermilion c ultramarine k white b lampblack s saffron h heather . bare wall

pigment(id: string) → any

argtypedescription
idstring

design(size: string, n: number) → any

A paintKit design for a size, built from its nth authored picture (n wraps round the list).

argtypedescription
sizestring
nnumber

designById(size: string, id: string) → any

The design of a size with a given id, built for paintKit (nil when there is none).

argtypedescription
sizestring
idstring

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.