Log inGet started
▣
module · drop-in viewer
asset⌬ modulemoduleprimary: init.luau·originates fromworld 57e766d1-6…

interact

<!-- zero:scaffolded-readme --> <!-- Replace the line below with what this module provides and who consumes it, then delete both comment lines. -->

by◐kemz·posted 18d ago
What it does

interact

<!-- zero:scaffolded-readme --> <!-- Replace the line below with what this module provides and who consumes it, then delete both comment lines. -->

TODO: describe this module.

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.player.interact — the one verb. Everything the player can act on in this city goes through here: a shop, a door, a car, a person to talk to, and the street arguments the whole game turns on. A slice does not implement its own prompt or its own key — it offers an interactable at a place and says what taking it does. WHY THIS EXISTS. The memory slice's street chains used to resolve on proximity: walking near the argument investigated it, and there was no way to walk past closer and choose not to. That is not a decision, it is a collision. Now a chain offers `INVESTIGATE` and the player presses the key or does not, which is the difference between a mechanic and a cutscene. Pure registry, no per-frame work: the `Interactor` component polls it.

offer(offer: any) → any

Offer something to act on. Re-offering an id updates it in place, so a slice can call this every frame with a moving position.

argtypedescription
offeranytable { id, verb, label, x, z, range?, enabled?, onTake? }

withdraw(id: string) → void

Stop offering something.

argtypedescription
idstringstring

nearest(x: number, z: number) → any

The thing the player is standing closest to, if it is in range.

argtypedescription
xnumbernumber
znumbernumber

take(id: string) → boolean

Take an offer: run whatever it said taking it does.

argtypedescription
idstringstring

all( ) →

Everything on offer right now.

count( ) → number

How many things are on offer.

clear( ) → void

Drop every offer. Used when the systems that made them are torn down.

Sub-parts

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

3items
This part has no composite children. See the Files segment for its leaf payloads.
backing path · game/player/interact.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.