Log inGet started
Package

game_core.module

Newest version

README.md

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.