-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathAssRecipes.cs
61 lines (55 loc) · 2.14 KB
/
AssRecipes.cs
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
using AssortedCrazyThings.Items.Pets.CuteSlimes;
using Terraria;
using Terraria.ID;
using Terraria.Localization;
using Terraria.ModLoader;
namespace AssortedCrazyThings
{
[Content(ConfigurationSystem.AllFlags)]
public class AssRecipes : AssSystem
{
public static int RegularCuteSlimesGroup { get; private set; }
public static int EvilWoodGroup { get; private set; }
public static int GoldPlatinumGroup { get; private set; }
public static int AdamantiteTitaniumGroup { get; private set; }
public static int DemoniteCrimtaneGroup { get; private set; }
public override void AddRecipeGroups()
{
string any = Language.GetTextValue("LegacyMisc.37") + " ";
if (ContentConfig.Instance.CuteSlimes && ContentConfig.Instance.PlaceablesFunctional)
{
RegularCuteSlimesGroup = RecipeGroup.RegisterGroup("ACT:RegularCuteSlimes", new RecipeGroup(() => any + "Regular Bottled Slime", new int[]
{
ModContent.ItemType<CuteSlimeBlueItem>(),
ModContent.ItemType<CuteSlimeBlackItem>(),
ModContent.ItemType<CuteSlimeGreenItem>(),
ModContent.ItemType<CuteSlimePinkItem>(),
ModContent.ItemType<CuteSlimePurpleItem>(),
ModContent.ItemType<CuteSlimeRainbowItem>(),
ModContent.ItemType<CuteSlimeRedItem>(),
ModContent.ItemType<CuteSlimeYellowItem>()
}));
}
EvilWoodGroup = RecipeGroup.RegisterGroup(nameof(ItemID.Ebonwood), new RecipeGroup(() => any + Lang.GetItemNameValue(ItemID.Ebonwood), new int[]
{
ItemID.Ebonwood,
ItemID.Shadewood
}));
GoldPlatinumGroup = RecipeGroup.RegisterGroup(nameof(ItemID.GoldBar), new RecipeGroup(() => any + Lang.GetItemNameValue(ItemID.GoldBar), new int[]
{
ItemID.GoldBar,
ItemID.PlatinumBar
}));
AdamantiteTitaniumGroup = RecipeGroup.RegisterGroup(nameof(ItemID.AdamantiteBar), new RecipeGroup(() => any + Lang.GetItemNameValue(ItemID.AdamantiteBar), new int[]
{
ItemID.AdamantiteBar,
ItemID.TitaniumBar
}));
DemoniteCrimtaneGroup = RecipeGroup.RegisterGroup(nameof(ItemID.DemoniteBar), new RecipeGroup(() => any + Lang.GetItemNameValue(ItemID.DemoniteBar), new int[]
{
ItemID.DemoniteBar,
ItemID.CrimtaneBar
}));
}
}
}