economy.module
README.md
economy
Prices, payouts, ranks, and everything that can be bought: tools, paint arms,
what the van carries, what the crew does for trust rather than sous.
local Economy = require("metropolisGame.content.economy")
Economy.paint -- { tin, nightTin, shopOpens, shopShuts, stencil }
Economy.carry -- { satchel, slots, van, stash = { max, tins }, slips, stencils } what a new player has
Economy.tiers -- [tier] = { renown, colour, sous } multipliers on a size's base awards
Economy.audience -- { each, max } renown share per friend watching, and its cap
Economy.underNoses -- { level, factor } signing while this hunted multiplies renown
Economy.ranks -- renown thresholds; rank r (0-based) is reached at ranks[r + 1]
Economy.upgrades -- { { id, track, sous, rank, needs?, grants = { ... } } } in shop order
Economy.upgrade(id)
Economy.commission -- sous for legal work by size, before the tier multiplier
Economy.stipend -- { sous, everyDays } what a painted district sends
Economy.garages -- { opensAt, districts } colour at which a district's garage opens; which have one
Economy.safehouse -- { locker } tins a safehouse locker holds
Economy.services -- prices of things done for sous: { respray, plates, doctor, fence = { share }, bribeTip }
Economy.clock -- { dayMinutes, start, dawn, dusk, blend }
Economy.scrub -- how the scrub crews work
Economy.signHold -- seconds the sign control is held to sign a wall
Economy.near -- metres within which a named place or site counts as "here"
`track` is the progression track an upgrade belongs to, for the shop's tabs: "tools" (what paints walls),
"arms" (what fires paint), "carry" (satchel, slots, slips), "van" (the only vehicle that keeps upgrades),
"craft" (things that change how a job is done).
`grants` is read by logic.progression: satchel (capacity), slots (pigments loaded), slips (grabs broken per
incident), tool (a paintKit tool name), arm (a paintKit arm name), van (tins the van carries), flags (named
abilities a system checks: "jacket", "ladder", "roof_rack", "compartment", "plates", "stencils", "scope").
The interface is documented in the header of init.luau; this file repeats it for the asset browser.