forked from SamsonAllen13/ClickerClass
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathClickerRecipes.cs
More file actions
38 lines (35 loc) · 1008 Bytes
/
ClickerRecipes.cs
File metadata and controls
38 lines (35 loc) · 1008 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
using ClickerClass.Items.Accessories;
using Terraria;
using Terraria.ID;
using Terraria.Localization;
using Terraria.ModLoader;
namespace ClickerClass
{
internal class ClickerRecipes
{
private static ModRecipe GetNewRecipe()
{
return new ModRecipe(ClickerClass.mod);
}
public static void AddRecipes()
{
ModRecipe recipe = GetNewRecipe();
recipe.AddIngredient(ModContent.ItemType<ClickerEmblem>(), 1);
recipe.AddIngredient(ItemID.SoulofMight, 5);
recipe.AddIngredient(ItemID.SoulofSight, 5);
recipe.AddIngredient(ItemID.SoulofFright, 5);
recipe.AddTile(TileID.TinkerersWorkbench);
recipe.SetResult(ItemID.AvengerEmblem, 1);
recipe.AddRecipe();
}
public static void AddRecipeGroups()
{
RecipeGroup group = new RecipeGroup(() => Language.GetTextValue("LegacyMisc.37") + " " + Lang.GetItemNameValue(ItemID.SilverBar), new int[]
{
ItemID.SilverBar,
ItemID.TungstenBar,
});
RecipeGroup.RegisterGroup("ClickerClass:SilverBar", group);
}
}
}