public static SL_Recipe CreateAlchemyRecipe(int resultID, string name, SL_Recipe.Ingredient ingredient1 = null, SL_Recipe.Ingredient ingredient2 = null, SL_Recipe.Ingredient ingredient3 = null, SL_Recipe.Ingredient ingredient4 = null) { List <SL_Recipe.Ingredient> ingredients = new List <SL_Recipe.Ingredient>(); if (ingredient1 != null) { ingredients.Add(ingredient1); } if (ingredient2 != null) { ingredients.Add(ingredient2); } if (ingredient3 != null) { ingredients.Add(ingredient3); } if (ingredient4 != null) { ingredients.Add(ingredient4); } return(new SL_Recipe() { UID = UID_PREFIX + name, StationType = Recipe.CraftingType.Alchemy, Ingredients = ingredients, Results = new List <SL_Recipe.ItemQty> { new SL_Recipe.ItemQty() { ItemID = resultID + TsarPlus.ID_OFFSET, Quantity = 1 } } }); }
public static SL_Recipe CreateTsarOilRecipe(int resultID, string name, SL_Recipe.Ingredient ingredient1 = null, SL_Recipe.Ingredient ingredient2 = null) { return(CreateAlchemyRecipe(resultID, name + "TsarOil", PURE_TSAR_ELIXIR, GREASY_FERN, ingredient1, ingredient2)); }
public static SL_Recipe CreateTsarWaxRecipe(int resultID, string name, SL_Recipe.Ingredient ingredient1 = null, SL_Recipe.Ingredient ingredient2 = null) { return(CreateAlchemyRecipe(resultID, name + "TsarWax", PURE_TSAR_ELIXIR, PETRIFIED_WOOD, ingredient1, ingredient2)); }
public static SL_Recipe CreateTsarResinRecipe(int resultID, string name, SL_Recipe.Ingredient ingredient1 = null, SL_Recipe.Ingredient ingredient2 = null) { return(CreateAlchemyRecipe(resultID, name + "TsarResin", PURE_TSAR_ELIXIR, COPAL, ingredient1, ingredient2)); }
public static SL_Recipe CreateTsarVarnishRecipe(int resultID, string name, SL_Recipe.Ingredient ingredient1 = null, SL_Recipe.Ingredient ingredient2 = null) { return(CreateAlchemyRecipe(resultID, name + "TsarVarnish", PURE_TSAR_ELIXIR, CRYSTAL_POWDER, ingredient1, ingredient2)); }