Hi all!
I should receive information about all recipes, like calories time and materials,I will try use the next code, but for it I should have some dlls which don't work
using Eco.Gameplay.Items;
using System.Collections.Generic;
public List<Recipe> GetAllRecipes()
{
List<Recipe> allRecipes = new List<Recipe>();
foreach (var recipeType in Recipe.AllRecipes)
{
Recipe recipe = recipeType.Value;
allRecipes.Add(recipe);
}
return allRecipes;
}
Display More
(using Eco.Gameplay.Items) don't work, and as I understood I should use the next dlls:
- Eco.Core.dll
- Eco.Gameplay.dll
- Eco.ModKit.dll
- Eco.Shared.dll
but when I add it to the unity project I receiving error about
QuoteAssembly 'Assets/Eco Assemblies/Eco.Core.dll' will not be loaded due to errors:Eco.Core references strong named System.Collections.Immutable Assembly references: 7.0.0.0 Found in project: 6.0.0.0.
Assembly 'Assets/Eco Assemblies/Eco.Core.dll' will not be loaded due to errors:Unable to resolve reference 'DotNetZip'. Is the assembly missing or incompatible with the current platform
and if I try disable validation I receiving the next
QuoteLoading assembly failed: "Assets/Eco Assemblies/Eco.Core.dll" reason: File does not contain a valid CIL image
Can somebody help me with it?