swarm-0.5.0.0: data/scenarios/Testing/836-pathfinding/_836-automatic-waypoint-navigation/gardener.sw
def harvestPlant =
emptyHere <- isempty;
if emptyHere {
watch down;
wait 1000;
} {
wait 50;
harvest;
return ();
};
end;
def go =
harvestPlant;
go;
end;
go;