Expanded recipe group usage

This commit is contained in:
Altixal authored and Cameron Ewell committed 2026-03-04 16:45:04 -05:00
1 parent e047d71ed5
commit 1c09414f01
7 files changed
+11 -11

No files matched your search

+1 -1
View File
@@ -32,7 +32,7 @@ namespace CalamityMod.Items.LabFinders
{
CreateRecipe().
AddIngredient<LabSeekingMechanism>().
AddIngredient(ItemID.IceBlock, 50).
AddRecipeGroup("AnyIceBlock", 50).
AddTile(TileID.Anvils).
Register();
}
+1 -1
View File
@@ -49,7 +49,7 @@ namespace CalamityMod.Items.SummonItems
public override void AddRecipes()
{
CreateRecipe().
AddIngredient(ItemID.SandBlock, 40).
AddRecipeGroup("Sand", 40).
AddIngredient(ItemID.AntlionMandible, 4).
AddIngredient<StormlionMandible>(2).
AddTile(TileID.DemonAltar).
+1 -1
View File
@@ -50,7 +50,7 @@ namespace CalamityMod.Items.Tools.ClimateChange
public override void AddRecipes()
{
CreateRecipe().
AddIngredient(ItemID.SandBlock, 50).
AddRecipeGroup("Sand", 50).
AddRecipeGroup("AnyAdamantiteBar", 10).
AddIngredient(ItemID.AncientCloth, 5).
AddTile(TileID.MythrilAnvil).
+1 -1
View File
@@ -76,7 +76,7 @@ namespace CalamityMod.Items.Weapons.Magic
public override void AddRecipes()
{
CreateRecipe().
AddIngredient(ItemID.IceBlock, 30).
AddRecipeGroup("AnyIceBlock", 30).
AddIngredient(ItemID.Feather, 3).
AddIngredient(ItemID.FallenStar, 5).
AddIngredient(ItemID.Cloud, 10).
+1 -1
View File
@@ -327,7 +327,7 @@ namespace CalamityMod.Items.Weapons.Melee
AddIngredient(ItemType<AerialiteBar>(), 10).
AddIngredient(ItemID.HellstoneBar, 10).
AddIngredient(ItemID.DirtBlock, 50).
AddIngredient(ItemID.StoneBlock, 50).
AddRecipeGroup("AnyStoneBlock", 50).
AddTile(TileID.Anvils).
Register();
}
+1 -1
View File
@@ -61,7 +61,7 @@ namespace CalamityMod.Items.Weapons.Melee
.AddIngredient(ItemID.SoulofNight, 10)
.AddIngredient<EssenceofHavoc>(5)
.AddIngredient(ItemID.Obsidian, 10)
.AddIngredient(ItemID.StoneBlock, 100)
.AddRecipeGroup("AnyStoneBlock", 100)
.AddIngredient(ItemID.Amethyst, 2)
.AddTile(TileID.Anvils)
.Register();
+5 -5
View File
@@ -485,7 +485,7 @@ namespace CalamityMod.Systems
// Life Crystal
Recipe.Create(ItemID.LifeCrystal).
AddIngredient(ItemID.StoneBlock, 5).
AddRecipeGroup("AnyStoneBlock", 5).
AddIngredient(ItemID.Ruby, 2).
AddIngredient(ItemID.HealingPotion).
AddTile(TileID.Anvils).
@@ -1436,7 +1436,7 @@ namespace CalamityMod.Systems
// Encumbering Stone
r = Recipe.Create(ItemID.EncumberingStone);
r.AddIngredient(ItemID.StoneBlock, 100);
r.AddRecipeGroup("AnyStoneBlock", 100);
r.AddTile(TileID.Anvils);
r.Register();
}
@@ -1448,13 +1448,13 @@ namespace CalamityMod.Systems
// Wooden Chest weapons
// Wooden Boomerang
Recipe r = Recipe.Create(ItemID.WoodenBoomerang);
r.AddIngredient(ItemID.Wood, 7);
r.AddRecipeGroup("Wood", 7);
r.AddTile(TileID.WorkBenches);
r.Register();
// Wand of Sparking
r = Recipe.Create(ItemID.WandofSparking);
r.AddIngredient(ItemID.Wood, 5);
r.AddRecipeGroup("Wood", 5);
r.AddIngredient(ItemID.Torch, 3);
r.AddIngredient(ItemID.FallenStar);
r.AddCondition(Condition.NotRemixWorld);
@@ -1599,7 +1599,7 @@ namespace CalamityMod.Systems
r = Recipe.Create(ItemID.SandstorminaBottle);
r.AddIngredient(ItemID.Bottle);
r.AddIngredient(ItemID.Cloud, 5);
r.AddIngredient(ItemID.SandBlock, 5);
r.AddRecipeGroup("Sand", 5);
r.AddIngredient<PearlShard>(3);
r.AddIngredient(ItemID.Feather, 3);
r.AddTile(TileID.Anvils);