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