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

game_core

A Luau module holding the whole gameplay loop: the crop catalogue (carrot / tomato / corn with cost, sell price and grow time), the shared coin economy (read and written on the synced `garden_state` entity's `coins` attribute), nearest-plot resolution against a player's position,

by◐eeeaa·posted 2mo ago
What it does

garden_manager — the Grow a Garden game core

A Luau module holding the whole gameplay loop: the crop catalogue (carrot / tomato / corn with cost, sell price and grow time), the shared coin economy (read and written on the synced garden_state entity's coins attribute), nearest-plot resolution against a player's position, plant/harvest actions, seed selection, and the seed-shop HUD screen (garden_hud) built from CSS-parity widget trees.

Required by scenes/main.scene/entrypoint.luau. Register plots from the scene entrypoint's onLoad, subscribe Interact in localPlayerReady, and call hudTick() from update.

Interface

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

conforms to

zero/source-extract/v2

garden_manager.luau — the whole game: crops, coins, plots, shop, HUD. Required by scenes/main.scene/entrypoint.luau. All state lives on a single synced "garden_state" entity so every player sees the same coins (co-op garden); planting is local-per-plot for responsiveness.

setStateEntity(ent: ?) → void

argtypedescription
ent?

registerPlot(ent: ?) → void

argtypedescription
ent?

coins( ) → void

addCoins(n: ?) → void

argtypedescription
n?

say(msg: ?) → void

argtypedescription
msg?

nearestPlot(pos: ?) → void

argtypedescription
pos?

interact(playerPos: ?) → void

argtypedescription
playerPos?

selectSeed(kind: ?) → void

argtypedescription
kind?

selected( ) → void

seedRow(kind: ?) → void

argtypedescription
kind?

buildHud( ) → void

mountHud( ) → void

onCallback(id: ?) → void

argtypedescription
id?

hudTick( ) → void

calm HUD refresh; returns seconds until next wanted tick

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
◇
component · born here
❒asset
# GardenPlot <!-- zero:scaffolded-readme --> <!-- Replace the line below with what this component provides and who consumes it, then delete both comment lines. --> TODO: describe this component.
▲ 0↑ born
backing path · garden/game_core.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.