▣
module · drop-in viewer
asset⌬ modulemoduleprimary: init.luau·part ofpackage MatchFlow.package·originates fromworld 40bc9b7f-d…
catalog
Every MatchFlow style, tagged, so a game can list or filter them: the 8 formats, 10 countdowns, 4 results screens, 7 HUD layouts, 5 hill looks and 3 looks.
by·posted 1d ago
What it does
catalog
Every MatchFlow style, tagged, so a game can list or filter them: the 8 formats, 10 countdowns, 4 results screens, 7 HUD layouts, 5 hill looks and 3 looks.
local Catalog = require("MatchFlow.catalog")
Catalog.list("countdown") -- { { kind, id, name, description, tags, aliases, field } }
Catalog.filter({ tag = "retro" }) -- every retro style, of any kind
Catalog.filter({ kind = "hudLayout", anyTag = { "sports", "racing" } })
Catalog.get("results", "winnerBanner").id -- "banner": older names resolve
Catalog.tags() -- every tag in use, sorted
filter takes kind, tag (one tag), tags (all of them) and anyTag (at least one). Every tag comes from Catalog.VOCABULARY: retro, scifi, sports, fantasy, cartoon, minimal, party, arena, racing, arcade, broadcast, competitive, coop, casual, strategy, versus, team. field names where the id goes (MatchFlow.countdownStyle, Hill.look, ...). Results return copies.
Discussion
Scoped to this part · feeds back into the world's score.
Sign in to post.sign in
No comments yet. Be the first.