void Update () {
			int currentCapacity = foragerMemory.info.currentCapacity;
			GameObject target = foragerMemory.foragerCommunicated;

			if (target == null) {
				if (timer > 1f) {
					foragerCommunicate.EstablishCommunication ();
					timer = 0f;
				}
			} else {
				foragerMovement.GoTo (target.transform.position);
				foragerMemory.currentAction = "Communicate";
				return;
			}

			timer += Time.deltaTime;

			if (currentCapacity != 30) {
				if (foragerMemory.openlist.Count == 0) {
					foragerExplore.Explore ();
					foragerMemory.currentAction = "Explore";
				} else {
					FoodInfo info = foragerMemory.PickBestFood ();
					foragerMovement.GoTo (info.position);
					foragerMemory.currentAction = "Go to food";
				}
			} else {
				foragerMovement.GoTo (foragerMemory.hivePos);
				foragerMemory.currentAction = "Go home";
			}
		}
        void Update()
        {
            int currentCapacity = foragerMemory.info.currentCapacity;

            if (currentCapacity != 30)
            {
                if (foragerMemory.openlist.Count == 0)
                {
                    foragerExplore.Explore();
                }
                else
                {
                    FoodInfo info = foragerMemory.PickBestFood();
                    foragerMovement.GoTo(info.position);
                    foragerMemory.currentAction = "Go to food";
                }
            }
            else
            {
                foragerMovement.GoTo(foragerMemory.hivePos);
                foragerMemory.currentAction = "Go home";
            }
        }