/// <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); }
public override UMATextRecipe GetRecipe(string filename, bool dynamicallyAdd = true) { return(dynamicCharacterSystem.GetRecipe(filename, dynamicallyAdd)); }