private bool CheckIfFactoryNeedResource() { // Debug.Log("Factoriiiiiiiies ??"); var fpws = MapManager.S.GetAllFactory().Select( f => (f, Astar.FindPath(_currentRoom, f)) ).Select( fp => (fp.Item1, fp.Item2, Astar.ComputePathWeight(fp.Item2)) ).OrderBy(fpw => fpw.Item3).ToList(); return(RRRR(fpws, ResourceStock.Priority.ABSOLUTE)); // return false; }