harvest/game/scripts/crop_unit.gd
2026-10-03 12:14:28 -04:00

7 lines
274 B
GDScript

class_name CropUnit
extends Node3D
## One stealable crop unit: a cluster of plants (this node's children) with one ID in FarmState.
## The crop field holds 6 plots of 5 units; each unit is one row segment of its plot.
@export var unit_id: int = 0
@export var plot: int = 0