예제 #1
0
 private void AddRecipe(Recipe recipe)
 {
     if (!Recipes.ContainsKey(recipe.SpellId))
     {
         Recipes.Add(recipe.SpellId, recipe);
         recipe.InitIngredients();
         recipe.InitTools();
     }
 }
예제 #2
0
 public void AddRecipe(Recipe recipe)
 {
     if (Recipes.ContainsKey(recipe.ID))
     {
         return;
     }
     Recipes.Add(recipe.ID, recipe);
     recipe.InitIngredients();
     recipe.InitTools();
 }
예제 #3
0
 private void AddRecipe(Recipe recipe)
 {
     if (!Recipes.ContainsKey(recipe.SpellId))
     {
         Recipes.Add(recipe.SpellId, recipe);
         recipe.InitIngredients();
         recipe.InitTools();
     }
 }
 public void AddRecipe(Recipe recipe)
 {
     if (Recipes.ContainsKey(recipe.ID))
         return;
     Recipes.Add(recipe.ID, recipe);
     recipe.InitIngredients();
     recipe.InitTools();
 }