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

avatar

The `avatar` module manages the player's appearance, including their body structure and outfits. It provides functions to compose the blocky avatar on a given player entity and to apply different outfits based on their IDs. Other game modules call `apply` to change a player's loo…

by◐zain10_gaming·posted 25d ago
What it does

avatar

The avatar module manages the player's appearance, including their body structure and outfits. It provides functions to compose the blocky avatar on a given player entity and to apply different outfits based on their IDs. Other game modules call apply to change a player's look, and outfitOf to query what a player is currently wearing.

Interface

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

conforms to

zero/source-extract/v2

game/avatar.module — what the player's body looks like, and what it wears. The scene hands this module the body entity of the player prototype. The module composes the blocky avatar and exposes the one call every other part of the game uses to change it: require("game.avatar").apply(player, "hero")

Asset

buildBody(env: ?) → void

Compose the body. Called once, while the scene is authored. The engine's humanoid avatar gives the body its rig, its controller and its animations; these blocky parts are the look that sits on top of it.

argtypedescription
env?

apply(player: ?, outfitId: ?) → void

Put an outfit on a player. Returns true when the id names an outfit.

argtypedescription
player?
outfitId?

outfitOf(player: ?) → void

What a player is wearing right now, or nil for the starting look.

argtypedescription
player?

Sub-parts

Everything contained inside this part. Assets are composite children (clickable cards). Files are leaf payloads. Expand any row to view its source.

7items
▣
module · born here
❒asset
# Blockhaven The `Blockhaven` module defines the core constants and rules for the game world, including its color palette, city layout, outfit prices, and obstacle course parameters. It is read by every other module in the game to ensure consistency across the city, shop, and HUD, and is not meant to be modified by them.
▲ 0↑ born
backing path · game/avatar.module

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.