@@ -9,73 +9,15 @@ namespace BiomeExtractorsMod.Common.Database
99{
1010 public class Recipes : ModSystem
1111 {
12- public readonly string goldBarGroupName = nameof ( ItemID . GoldBar ) ;
13- public readonly string basicExtractorGroupName = $ "{ nameof ( BiomeExtractorsMod ) } :{ nameof ( BiomeExtractorItemIron ) } ";
14- public readonly string demonicExtractorGroupName = $ "{ nameof ( BiomeExtractorsMod ) } :{ nameof ( BiomeExtractorItemCorruption ) } ";
15- public readonly string steampunkExtractorGroupName = $ "{ nameof ( BiomeExtractorsMod ) } :{ nameof ( BiomeExtractorItemAdamantite ) } ";
12+ public static readonly string goldBarGroupName = nameof ( ItemID . GoldBar ) ;
13+ public static readonly string basicExtractorGroupName = $ "{ nameof ( BiomeExtractorsMod ) } :{ nameof ( BiomeExtractorItemIron ) } ";
14+ public static readonly string demonicExtractorGroupName = $ "{ nameof ( BiomeExtractorsMod ) } :{ nameof ( BiomeExtractorItemCorruption ) } ";
15+ public static readonly string steampunkExtractorGroupName = $ "{ nameof ( BiomeExtractorsMod ) } :{ nameof ( BiomeExtractorItemAdamantite ) } ";
1616
1717 public override void AddRecipeGroups ( )
1818 {
1919 RecipeGroup goldBar = new ( ( ) => $ "{ Language . GetTextValue ( "LegacyMisc.37" ) } { Lang . GetItemNameValue ( ItemID . GoldBar ) } ", ItemID . GoldBar , ItemID . PlatinumBar ) ;
2020 RecipeGroup . RegisterGroup ( goldBarGroupName , goldBar ) ;
2121 }
22-
23-
24- public override void AddRecipes ( )
25- {
26- Recipe . Create ( ModContent . ItemType < BiomeScanner > ( ) )
27- . AddIngredient ( ItemID . Lens , 2 )
28- . AddIngredient ( ItemID . Wire , 5 )
29- . AddRecipeGroup ( goldBarGroupName , 2 )
30- . AddTile ( TileID . TinkerersWorkbench )
31- . Register ( ) ;
32-
33-
34- Recipe . Create ( ModContent . ItemType < UpgradeKitCorruption > ( ) )
35- . AddIngredient ( ItemID . DemoniteBar , 5 )
36- . AddIngredient ( ItemID . VilePowder , 12 )
37- . AddTile ( TileID . TinkerersWorkbench )
38- . Register ( ) ;
39-
40- Recipe . Create ( ModContent . ItemType < UpgradeKitCrimson > ( ) )
41- . AddIngredient ( ItemID . CrimtaneBar , 5 )
42- . AddIngredient ( ItemID . ViciousPowder , 12 )
43- . AddTile ( TileID . TinkerersWorkbench )
44- . Register ( ) ;
45-
46- Recipe . Create ( ModContent . ItemType < UpgradeKitInfernal > ( ) )
47- . AddIngredient ( ItemID . HellstoneBar , 5 )
48- . AddIngredient ( ItemID . Meteorite , 12 )
49- . AddTile ( TileID . TinkerersWorkbench )
50- . Register ( ) ;
51-
52- Recipe . Create ( ModContent . ItemType < UpgradeKitAdamantite > ( ) )
53- . AddIngredient ( ItemID . AdamantiteBar , 5 )
54- . AddIngredient ( ItemID . Cog , 12 )
55- . AddTile ( TileID . MythrilAnvil ) //covers both
56- . Register ( ) ;
57-
58- Recipe . Create ( ModContent . ItemType < UpgradeKitTitanium > ( ) )
59- . AddIngredient ( ItemID . TitaniumBar , 5 )
60- . AddIngredient ( ItemID . Cog , 12 )
61- . AddTile ( TileID . MythrilAnvil ) //covers both
62- . Register ( ) ;
63-
64- Recipe . Create ( ModContent . ItemType < UpgradeKitCyber > ( ) )
65- . AddIngredient ( ItemID . ChlorophyteBar , 5 )
66- . AddIngredient ( ItemID . Nanites , 12 )
67- . AddTile ( TileID . MythrilAnvil )
68- . Register ( ) ;
69-
70- Recipe . Create ( ModContent . ItemType < UpgradeKitLunar > ( ) )
71- . AddIngredient ( ItemID . FragmentNebula , 8 )
72- . AddIngredient ( ItemID . FragmentSolar , 8 )
73- . AddIngredient ( ItemID . FragmentStardust , 8 )
74- . AddIngredient ( ItemID . FragmentVortex , 8 )
75- . AddTile ( TileID . LunarCraftingStation )
76- . AddCustomShimmerResult ( ModContent . ItemType < UpgradeKitEthereal > ( ) )
77- . AddDecraftCondition ( Condition . DownedMoonLord )
78- . Register ( ) ;
79- }
8022 }
8123}
0 commit comments