/// <summary> /// Gets the wardrobeRecipes from this collections arbitrary recipes list /// </summary> public List <UMATextRecipe> GetArbitraryRecipes(DynamicCharacterSystem dcs) { List <UMATextRecipe> recipesWeGot = new List <UMATextRecipe>(); for (int i = 0; i < arbitraryRecipes.Count; i++) { recipesWeGot.Add(dcs.GetRecipe(arbitraryRecipes[i], true)); } return(recipesWeGot); }
/// <summary> /// Gets the wardrobeRecipes for the given race from the WardrobeCollection /// </summary> public List <UMATextRecipe> GetRacesRecipes(string race, DynamicCharacterSystem dcs) { var recipesToGet = GetRacesWardrobeSet(race); List <UMATextRecipe> recipesWeGot = new List <UMATextRecipe>(); for (int i = 0; i < recipesToGet.Count; i++) { recipesWeGot.Add(dcs.GetRecipe(recipesToGet[i].recipe, true)); } return(recipesWeGot); }
/// <summary> /// Gets the recipe names for the given race from the WardrobeCollection /// </summary> public List <string> GetRacesRecipeNames(string race, DynamicCharacterSystem dcs) { var recipesToGet = GetRacesWardrobeSet(race); List <string> recipesWeGot = new List <string>(); for (int i = 0; i < recipesToGet.Count; i++) { recipesWeGot.Add(recipesToGet[i].recipe); } return(recipesWeGot); }