7 lines
274 B
GDScript
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
|