public static void AddRecipeGroups()
 {
     yoyoStringGroup = new RecipeGroup(() => "PortableStorage:YoYoStrings", ItemID.RedString, ItemID.OrangeString, ItemID.YellowString, ItemID.LimeString, ItemID.GreenString, ItemID.TealString, ItemID.CyanString, ItemID.SkyBlueString, ItemID.BlueString, ItemID.PurpleString, ItemID.VioletString, ItemID.PinkString, ItemID.BrownString, ItemID.WhiteString, ItemID.RainbowString, ItemID.BlackString);
     RecipeGroup.RegisterGroup("PortableStorage:YoYoStrings", yoyoStringGroup);
     tier1HMBarsGroup = new RecipeGroup(() => "PortableStorage:T1HMBars", ItemID.CobaltBar, ItemID.PalladiumBar);
     RecipeGroup.RegisterGroup("PortableStorage:T1HMBars", tier1HMBarsGroup);
     ichorFlameGroup = new RecipeGroup(() => "PortableStorage:IchorCursedFlame", ItemID.Ichor, ItemID.CursedFlame);
     RecipeGroup.RegisterGroup("PortableStorage:IchorCursedFlame", ichorFlameGroup);
 }
 private static KeyValuePair <string, RecipeGroup> GetPair(ref KeyValuePair <string, RecipeGroup> source, string name, string desc, int[] item_ids)
 {
     if (string.IsNullOrEmpty(source.Key))
     {
         var rg = new RecipeGroup(() => Lang.misc[37].ToString() + " " + desc, item_ids);
         source = new KeyValuePair <string, RecipeGroup>("HamstarHelpers:" + name, rg);
     }
     return(source);
 }
Beispiel #3
0
        public void AddRGBars()
        {
            RecipeGroup group = new RecipeGroup(() => Lang.misc[37] + " " + "Demonite/Crimtane", new int[]
            {
                ItemID.DemoniteBar, ItemID.CrimtaneBar
            });

            RecipeGroup.RegisterGroup("UnuBattleRods:BossBars", group);

            group = new RecipeGroup(() => Lang.misc[37] + " " + "Rotten Chunk/Vertebrea", new int[]
            {
                ItemID.RottenChunk, ItemID.Vertebrae
            });
            RecipeGroup.RegisterGroup("UnuBattleRods:EvilDrop", group);

            group = new RecipeGroup(() => Lang.misc[37] + " " + "Shadow Scales/Tissue Samples", new int[]
            {
                ItemID.ShadowScale, ItemID.TissueSample
            });
            RecipeGroup.RegisterGroup("UnuBattleRods:EvilScale", group);

            group = new RecipeGroup(() => Lang.misc[37] + " " + "Copper/Tin Bar", new int[]
            {
                ItemID.CopperBar, ItemID.TinBar
            });
            RecipeGroup.RegisterGroup("UnuBattleRods:Tier0Bars", group);

            group = new RecipeGroup(() => Lang.misc[37] + " " + "Silver/Tungsten Bar", new int[]
            {
                ItemID.SilverBar, ItemID.TungstenBar
            });
            RecipeGroup.RegisterGroup("UnuBattleRods:Tier2Bars", group);

            group = new RecipeGroup(() => Lang.misc[37] + " " + "Gold/Platinum Bar", new int[]
            {
                ItemID.GoldBar, ItemID.PlatinumBar
            });
            RecipeGroup.RegisterGroup("UnuBattleRods:Tier3Bars", group);

            group = new RecipeGroup(() => Lang.misc[37] + " " + "Cobalt/Palladium Bar", new int[]
            {
                ItemID.CobaltBar, ItemID.PalladiumBar
            });
            RecipeGroup.RegisterGroup("UnuBattleRods:HMTier1Bars", group);

            group = new RecipeGroup(() => Lang.misc[37] + " " + "Mythril/Orichalcum Bar", new int[]
            {
                ItemID.MythrilBar, ItemID.OrichalcumBar
            });
            RecipeGroup.RegisterGroup("UnuBattleRods:HMTier2Bars", group);

            group = new RecipeGroup(() => Lang.misc[37] + " " + "Adamantite/Titanium Bar", new int[]
            {
                ItemID.AdamantiteBar, ItemID.TitaniumBar
            });
            RecipeGroup.RegisterGroup("UnuBattleRods:HMTier3Bars", group);
        }
Beispiel #4
0
        public override void AddRecipeGroups()
        {
            RecipeGroup group = new RecipeGroup(() => "Vines", new int[] {
                ItemID.Vine,
                ItemID.VineRope
            });

            RecipeGroup.RegisterGroup("Light:Vines", group);
        }
        ////////////////

        private void AddRecipeGroupsOuter()
        {
            NPCBannerHelpers.InitializeBanners();

            foreach (var kv in RecipeGroupHelpers.Groups)
            {
                RecipeGroup.RegisterGroup(kv.Key, kv.Value);
            }
        }
 public override void AddRecipeGroups()
 {
     RecipeGroup.RegisterGroup("CommunityPack:DungeonBrick", new RecipeGroup(() => Language.GetTextValue("LegacyMisc.37") + " Dungeon Brick", new int[]
     {
         ItemID.BlueBrick,
         ItemID.GreenBrick,
         ItemID.RedBrick
     }));
 }
Beispiel #7
0
        public override void AddRecipeGroups()
        {
            RecipeGroup group = new RecipeGroup(() => Lang.misc[37] + " " + "Titanium Bar", new int[]
            {
                ItemID.TitaniumBar,
                ItemID.AdamantiteBar
            });

            RecipeGroup.RegisterGroup("Titanium Bars", group);
        }
Beispiel #8
0
        public static void RecipeGroups()
        {
            void Come(string internalName, string displayName, int[] ingredientID, Action <RecipeGroup> action = null)
            {
                RecipeGroup recipeGroup = new RecipeGroup(() => internalName, ingredientID);

                action?.Invoke(recipeGroup);
                RecipeGroup.RegisterGroup(displayName, recipeGroup);
            }
        }
Beispiel #9
0
        public override void AddRecipeGroups()
        {
            RecipeGroup group_00 = new RecipeGroup(() => Language.GetTextValue("LegacyMisc.37") + " Shadow Scale", new int[]
            {
                ItemID.ShadowScale,
                ItemID.TissueSample
            });

            RecipeGroup.RegisterGroup("Farlin:ShadowScale", group_00);
        }
        public override void AddRecipeGroups()
        {
            RecipeGroup group = new RecipeGroup(() => Lang.misc[37] + " Gold Bar", new int[]
            {
                ItemID.GoldBar,
                ItemID.PlatinumBar
            });

            RecipeGroup.RegisterGroup("FranksRandoms:GoldBars", group);
        }
        public override void AddRecipeGroups()
        {
            RecipeGroup group = new RecipeGroup(() => Language.GetTextValue("LegacyMisc.37") + " Iron", new int[]
            {
                ItemID.IronBar,
                ItemID.LeadBar
            });

            RecipeGroup.RegisterGroup("VanityContest:Iron", group);
        }
Beispiel #12
0
 public static void AddRecipeGroups()
 {
     RecipeGroup.RegisterGroup("OdeMod:CrimtaneBar",
                               new RecipeGroup(() => $"{Language.GetTextValue("LegacyMisc.37")} {Language.GetTextValue("ItemName.CrimtaneBar")}",
                                               new int[]
     {
         ItemID.DemoniteBar,
         ItemID.CrimtaneBar
     }));
 }
Beispiel #13
0
        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);
        }
Beispiel #14
0
        public async Task NewRecipeGroupAsync()
        {
            NewNamedItemDialog dialog = new NewNamedItemDialog("Enter Group Name");
            var result = await dialog.ShowAsync();

            RecipeGroup newGroup = new RecipeGroup(dialog.TextEntry);

            CurrentRecipeGroups.Add(newGroup);
            RaisePropertyChanged(nameof(CurrentRecipeGroups));
        }
        public override void AddRecipeGroups()         // Groups for items of one type (i.e. iron and lead bars)
        {
            RecipeGroup group = new RecipeGroup(() => Lang.misc[37] + " Silver Bar", new int[]
            {
                ItemID.SilverBar,
                ItemID.TungstenBar
            });

            RecipeGroup.RegisterGroup("SilverBar", group);
        }
Beispiel #16
0
 public override void AddRecipeGroups()
 {
     RecipeGroup.RegisterGroup(
         "Antiaris:SilverBar",
         new RecipeGroup(() => Language.GetTextValue("LegacyMisc.37") + " " + Lang.GetItemNameValue(ItemID.SilverBar), new int[] {
         ItemID.SilverBar,
         ItemID.TungstenBar,
     })
         );
 }
Beispiel #17
0
        public override void AddRecipeGroups()
        {
            RecipeGroup group = new RecipeGroup(() => Lang.misc[37] + " Evil Bar", new int[]
            {
                ItemID.DemoniteBar,
                ItemID.CrimtaneBar,
            });

            RecipeGroup.RegisterGroup("EvilBar", group);
        }
        public override void AddRecipeGroups()
        {
            RecipeGroup group = new RecipeGroup(() => Language.GetTextValue("LegacyMisc.37") + "Any Iron", new int[]
            {
                ItemID.IronBar,
                ItemID.LeadBar
            });

            RecipeGroup.RegisterGroup("MemesAwakened:Iron", group);
        }
Beispiel #19
0
        ////////////////

        public override void AddRecipeGroups()
        {
            var ninjaItem = new RecipeGroup(delegate() { return(Lang.misc[37] + " martial arts master item"); },
                                            ItemID.Tabi, ItemID.BlackBelt);
            var greaterHook = new RecipeGroup(delegate() { return(Lang.misc[37] + " greater biome hook"); },
                                              ItemID.IlluminantHook, ItemID.WormHook, ItemID.TendonHook, ItemID.ThornHook);

            RecipeGroup.RegisterGroup("Stamina:MartialArtsMasterItems", ninjaItem);
            RecipeGroup.RegisterGroup("Stamina:GreaterBiomeHook", greaterHook);
        }
        public override void AddRecipeGroups()
        {
            RecipeGroup group = new RecipeGroup(() => Lang.misc[37] + " Gold Bar", new int[]
            {
                ItemID.GoldBar,
                ItemID.PlatinumBar
            });

            RecipeGroup.RegisterGroup("ExtraGunGear:GoldBar", group);
        }
        public override void AddRecipeGroups()
        {
            RecipeGroup group = new RecipeGroup(() => Language.GetTextValue("LegacyMisc.37") + " Iron Ore", new int[] {
                ItemID.IronOre,
                ItemID.LeadOre
            }
                                                );

            RecipeGroup.RegisterGroup("NovaEdge:FerrumOre", group);
        }
Beispiel #22
0
        public override void AddRecipeGroups()
        {
            RecipeGroup GoldOrPlat = new RecipeGroup(() => Language.GetTextValue("LegacyMisc.37") + " " + Lang.GetItemNameValue(19), new[]
            {
                19,
                706
            });

            RecipeGroup.RegisterGroup("PrimordialSands:Gold or Platinum Bars", GoldOrPlat);
        }
Beispiel #23
0
        public override void AddRecipeGroups()
        {
            var evilGroup = new RecipeGroup(() => Language.GetTextValue("LegacyMisc.37") + " evil item", new int[]
            {
                ItemID.RottenChunk,
                ItemID.Vertebrae
            });

            RecipeGroup.RegisterGroup("InterestingItems:EvilItems", evilGroup);
        }
        public override void AddRecipeGroups()
        {
            RecipeGroup group = new RecipeGroup(() => Lang.misc[37] + "Cobalt Bar", new int[]
            {
                ItemID.CobaltBar,
                ItemID.PalladiumBar
            });

            RecipeGroup.RegisterGroup("DragonHunterItems:CobaltBar", group);
        }
Beispiel #25
0
        protected override void AddRecipeGroups()
        {
            //Aerospec
            RecipeGroup group = new RecipeGroup(() => Lang.misc[37] + " Aerospec Helmet", ModContent.ItemType <AerospecHat>(), ModContent.ItemType <AerospecHeadgear>(), ModContent.ItemType <AerospecHelm>(), ModContent.ItemType <AerospecHood>(), ModContent.ItemType <AerospecHelmet>());

            RecipeGroup.RegisterGroup("FargowiltasSouls:AnyAerospecHelmet", group);

            //Ataxia
            group = new RecipeGroup(() => Lang.misc[37] + " Ataxia Helmet", ModContent.ItemType <AtaxiaHeadgear>(), ModContent.ItemType <AtaxiaHelm>(), ModContent.ItemType <AtaxiaHood>(), ModContent.ItemType <AtaxiaHelmet>(), ModContent.ItemType <AtaxiaMask>());
            RecipeGroup.RegisterGroup("FargowiltasSouls:AnyAtaxiaHelmet", group);

            //Auric
            group = new RecipeGroup(() => Lang.misc[37] + " Auric Helmet", ModContent.ItemType <AuricTeslaHelm>(), ModContent.ItemType <AuricTeslaPlumedHelm>(), ModContent.ItemType <AuricTeslaHoodedFacemask>(), ModContent.ItemType <AuricTeslaSpaceHelmet>(), ModContent.ItemType <AuricTeslaWireHemmedVisage>());
            RecipeGroup.RegisterGroup("FargowiltasSouls:AnyAuricHelmet", group);

            //Bloodflare
            group = new RecipeGroup(() => Lang.misc[37] + " Bloodflare Helmet", ModContent.ItemType <BloodflareHelm>(), ModContent.ItemType <BloodflareHelmet>(), ModContent.ItemType <BloodflareHornedHelm>(), ModContent.ItemType <BloodflareHornedMask>(), ModContent.ItemType <BloodflareMask>());
            RecipeGroup.RegisterGroup("FargowiltasSouls:AnyBloodflareHelmet", group);

            //Daedalus
            group = new RecipeGroup(() => Lang.misc[37] + " Daedalus Helmet", ModContent.ItemType <DaedalusHelm>(), ModContent.ItemType <DaedalusHelmet>(), ModContent.ItemType <DaedalusHat>(), ModContent.ItemType <DaedalusHeadgear>(), ModContent.ItemType <DaedalusVisor>());
            RecipeGroup.RegisterGroup("FargowiltasSouls:AnyDaedalusHelmet", group);

            // Godslayer
            group = new RecipeGroup(() => Lang.misc[37] + " Godslayer Helmet", ModContent.ItemType <GodSlayerHelm>(), ModContent.ItemType <GodSlayerHelmet>(), ModContent.ItemType <GodSlayerVisage>(), ModContent.ItemType <GodSlayerHornedHelm>(), ModContent.ItemType <GodSlayerMask>());
            RecipeGroup.RegisterGroup("FargowiltasSouls:AnyGodslayerHelmet", group);

            // Reaver
            group = new RecipeGroup(() => Lang.misc[37] + " Reaver Helmet", ModContent.ItemType <ReaverHelm>(), ModContent.ItemType <ReaverVisage>(), ModContent.ItemType <ReaverMask>(), ModContent.ItemType <ReaverHelmet>(), ModContent.ItemType <ReaverCap>());
            RecipeGroup.RegisterGroup("FargowiltasSouls:AnyReaverHelmet", group);

            //Silva
            group = new RecipeGroup(() => Lang.misc[37] + " Silva Helmet", ModContent.ItemType <SilvaHelm>(), ModContent.ItemType <SilvaHornedHelm>(), ModContent.ItemType <SilvaMaskedCap>(), ModContent.ItemType <SilvaHelmet>(), ModContent.ItemType <SilvaMask>());
            RecipeGroup.RegisterGroup("FargowiltasSouls:AnySilvaHelmet", group);

            //Statigel
            group = new RecipeGroup(() => Lang.misc[37] + " Statigel Helmet", ModContent.ItemType <StatigelHelm>(), ModContent.ItemType <StatigelHeadgear>(), ModContent.ItemType <StatigelCap>(), ModContent.ItemType <StatigelHood>(), ModContent.ItemType <StatigelMask>());
            RecipeGroup.RegisterGroup("FargowiltasSouls:AnyStatigelHelmet", group);
            //evil effigy
            group = new RecipeGroup(() => Lang.misc[37] + " Evil Effigy", ModContent.ItemType <CorruptionEffigy>(), ModContent.ItemType <CrimsonEffigy>());
            RecipeGroup.RegisterGroup("FargowiltasSouls:AnyEvilEffigy", group);

            //Tarragon
            group = new RecipeGroup(() => Lang.misc[37] + " Tarragon Helmet", ModContent.ItemType <TarragonHelm>(), ModContent.ItemType <TarragonVisage>(), ModContent.ItemType <TarragonMask>(), ModContent.ItemType <TarragonHornedHelm>(), ModContent.ItemType <TarragonHelmet>());
            RecipeGroup.RegisterGroup("FargowiltasSouls:AnyTarragonHelmet", group);

            //Victide
            group = new RecipeGroup(() => Lang.misc[37] + " Victide Helmet", ModContent.ItemType <VictideHelm>(), ModContent.ItemType <VictideVisage>(), ModContent.ItemType <VictideMask>(), ModContent.ItemType <VictideHelmet>(), ModContent.ItemType <VictideHeadgear>());
            RecipeGroup.RegisterGroup("FargowiltasSouls:AnyVictideHelmet", group);

            //Wulfrum
            group = new RecipeGroup(() => Lang.misc[37] + " Wulfrum Helmet", ModContent.ItemType <WulfrumHelm>(), ModContent.ItemType <WulfrumHeadgear>(), ModContent.ItemType <WulfrumHood>(), ModContent.ItemType <WulfrumHelmet>(), ModContent.ItemType <WulfrumMask>());
            RecipeGroup.RegisterGroup("FargowiltasSouls:AnyWulfrumHelmet", group);
        }
Beispiel #26
0
        public override void AddRecipeGroups()
        {
            RecipeGroup group = new RecipeGroup(() => Lang.misc[37] + " " + "Corruption/Crimson boss mask", new int[]
            {
                ItemID.EaterMask, ItemID.BrainMask
            });

            RecipeGroup.RegisterGroup("AlchemistNPC:EvilMask", group);
            group = new RecipeGroup(() => Lang.misc[37] + " " + "Cultist mask/hood", new int[]
            {
                ItemID.BossMaskCultist, ItemID.WhiteLunaticHood, ItemID.BlueLunaticHood
            });
            RecipeGroup.RegisterGroup("AlchemistNPC:CultistMask", group);
            group = new RecipeGroup(() => Lang.misc[37] + " " + "tier 3 Hardmode Bar", new int[]
            {
                ItemID.AdamantiteBar, ItemID.TitaniumBar
            });
            RecipeGroup.RegisterGroup("AlchemistNPC:Tier3Bar", group);
            group = new RecipeGroup(() => Lang.misc[37] + " " + "Crimson/Corruption bar", new int[]
            {
                ItemID.DemoniteBar, ItemID.CrimtaneBar
            });
            RecipeGroup.RegisterGroup("AlchemistNPC:EvilBar", group);
            group = new RecipeGroup(() => Lang.misc[37] + " " + "evil mushroom", new int[]
            {
                ItemID.VileMushroom, ItemID.ViciousMushroom
            });
            RecipeGroup.RegisterGroup("AlchemistNPC:EvilMush", group);
            group = new RecipeGroup(() => Lang.misc[37] + " " + "evil component", new int[]
            {
                ItemID.ShadowScale, ItemID.TissueSample
            });
            RecipeGroup.RegisterGroup("AlchemistNPC:EvilComponent", group);
            group = new RecipeGroup(() => Lang.misc[37] + " " + "tier 2 anvil", new int[]
            {
                ItemID.MythrilAnvil, ItemID.OrichalcumAnvil
            });
            RecipeGroup.RegisterGroup("AlchemistNPC:AnyAnvil", group);
            group = new RecipeGroup(() => Lang.misc[37] + " " + "tier 2 forge", new int[]
            {
                ItemID.AdamantiteForge, ItemID.TitaniumForge
            });
            RecipeGroup.RegisterGroup("AlchemistNPC:AnyForge", group);
            group = new RecipeGroup(() => Lang.misc[37] + " " + "tier 1 anvil", new int[]
            {
                ItemID.IronAnvil, ItemID.LeadAnvil
            });
            RecipeGroup.RegisterGroup("AlchemistNPC:AnyPreHMAnvil", group);
            group = new RecipeGroup(() => Lang.misc[37] + " " + "Celestial Wings", new int[]
            {
                ItemID.WingsSolar, ItemID.WingsNebula, ItemID.WingsStardust, ItemID.WingsVortex
            });
            RecipeGroup.RegisterGroup("AlchemistNPC:AnyCelestialWings", group);
        }
Beispiel #27
0
        public override void AddRecipeGroups()
        {
            RecipeGroup group = new RecipeGroup(() => Lang.misc[37] + " " + GetItem("Gold_Platinum").item.name, new int[]
            {
                ItemType("Gold_Platinum"),
                ItemID.GoldBar,
                ItemID.PlatinumBar
            });

            RecipeGroup.RegisterGroup("rwby_mod:Gold_Platinum", group);
        }
Beispiel #28
0
        /// <summary>
        /// Adds a recipe group ingredient to this recipe with the given RecipeGroupID and stack size. Vanilla recipe group IDs can be found in Terraria.ID.RecipeGroupID and modded recipe group IDs will be returned from RecipeGroup.RegisterGroup.
        /// </summary>
        /// <param name="recipeGroupID">The RecipeGroupID.</param>
        /// <param name="stack">The stack.</param>
        /// <exception cref="RecipeException">A recipe group with the ID " + recipeGroupID + " does not exist.</exception>
        public void AddRecipeGroup(int recipeGroupID, int stack = 1)
        {
            if (!RecipeGroup.recipeGroups.ContainsKey(recipeGroupID))
            {
                throw new RecipeException("A recipe group with the ID " + recipeGroupID + " does not exist.");
            }
            RecipeGroup rec = RecipeGroup.recipeGroups[recipeGroupID];

            AddIngredient(rec.ValidItems[rec.IconicItemIndex], stack);
            acceptedGroups.Add(recipeGroupID);
        }
Beispiel #29
0
        ////

        public override void AddRecipeGroups()
        {
            string grpName = Language.GetTextValue("LegacyMisc.37") + " " + Lang.GetItemNameValue(ItemID.MagicMirror);

            var group = new RecipeGroup(() => grpName,
                                        (int)ItemID.MagicMirror, (int)ItemID.IceMirror
                                        );

            this.MagicMirrorsRecipeGroupName = this.GetType().Name + ":AnyMagicMirror";
            RecipeGroup.RegisterGroup(this.MagicMirrorsRecipeGroupName, group);
        }
Beispiel #30
0
        public override void AddRecipeGroups()
        {
            RecipeGroup group = new RecipeGroup(() => Lang.misc[37] + " " + GetItem("ExampleItem").item.name, new int[]
            {
                ItemType("ExampleItem"),
                ItemType("EquipMaterial"),
                ItemType("BossItem")
            });

            RecipeGroup.RegisterGroup("ExampleMod:ExampleItem", group);
        }
		internal static void AddOldVanillaGroups()
		{
			RecipeGroup rec = new RecipeGroup(() => Lang.misc[37] + " " + Main.itemName[9], new int[]
				{
					ItemID.Wood,
					ItemID.Ebonwood,
					ItemID.RichMahogany,
					ItemID.Pearlwood,
					ItemID.Shadewood,
					ItemID.SpookyWood,
					ItemID.BorealWood,
					ItemID.PalmWood
				});
			RecipeGroupID.Wood = RecipeGroup.RegisterGroup("Wood", rec);
			rec = new RecipeGroup(() => Lang.misc[37] + " " + Main.itemName[22], new int[]
				{
					ItemID.IronBar,
					ItemID.LeadBar
				});
			RecipeGroupID.IronBar = RecipeGroup.RegisterGroup("IronBar", rec);
			rec = new RecipeGroup(() => Lang.misc[37] + " " + Lang.misc[38], new int[]
				{
					ItemID.RedPressurePlate,
					ItemID.GreenPressurePlate,
					ItemID.GrayPressurePlate,
					ItemID.BrownPressurePlate,
					ItemID.BluePressurePlate,
					ItemID.YellowPressurePlate,
					ItemID.LihzahrdPressurePlate
				});
			RecipeGroupID.PressurePlate = RecipeGroup.RegisterGroup("PresurePlate", rec);
			rec = new RecipeGroup(() => Lang.misc[37] + " " + Main.itemName[169], new int[]
				{
					ItemID.SandBlock,
					ItemID.PearlsandBlock,
					ItemID.CrimsandBlock,
					ItemID.EbonsandBlock,
					ItemID.HardenedSand
				});
			RecipeGroupID.Sand = RecipeGroup.RegisterGroup("Sand", rec);
			rec = new RecipeGroup(() => Lang.misc[37] + " " + Lang.misc[51], new int[]
				{
					ItemID.FragmentSolar,
					ItemID.FragmentVortex,
					ItemID.FragmentNebula,
					ItemID.FragmentStardust
				});
			RecipeGroupID.Fragment = RecipeGroup.RegisterGroup("Fragment", rec);
		}
 static CraftGroup<ItemDef, ItemRef> ItemGroupFromVanilla(RecipeGroup g)
 {
     return new CraftGroup<ItemDef, ItemRef>(
         g.ValidItems.Select(t => new ItemRef(t)), g.GetText(), new ItemRef(g.IconicItemIndex));
 }
Beispiel #33
0
 public override void AddRecipeGroups()
 {
     RecipeGroup group = new RecipeGroup(() => Lang.misc[37] + " " + GetItem("ExampleItem").item.name, new int[]
     {
         ItemType("ExampleItem"),
         ItemType("EquipMaterial"),
         ItemType("BossItem")
     });
     RecipeGroup.RegisterGroup("ExampleMod:ExampleItem", group);
 }