AddIngredient part 2.5

This commit is contained in:
Altixal committed 2023-10-01 10:22:39 +07:00
1 parent 8725d1e02f
commit c841efe2e4
8 files changed
+11 -11

No files matched your search

+1 -1
View File
@@ -24,7 +24,7 @@ namespace CalamityMod.Items.Accessories
public override void AddRecipes()
{
Recipe r = Recipe.Create(ItemID.AvengerEmblem);
r.AddIngredient(ModContent.ItemType<RogueEmblem>());
r.AddIngredient<RogueEmblem>();
r.AddIngredient(ItemID.SoulofMight, 5);
r.AddIngredient(ItemID.SoulofSight, 5);
r.AddIngredient(ItemID.SoulofFright, 5);
@@ -98,8 +98,8 @@ namespace CalamityMod.Items.DraedonMisc
public override void AddRecipes()
{
CreateRecipe().
AddIngredient(ModContent.ItemType<MysteriousCircuitry>(), 10).
AddIngredient(ModContent.ItemType<DubiousPlating>(), 10).
AddIngredient<MysteriousCircuitry>(10).
AddIngredient<DubiousPlating>(10).
AddIngredient(ItemID.Glass, 50).
AddCondition(SchematicRecipe.ConstructRecipeCondition("Planetoid", out Func<bool> condition), condition).
AddTile(TileID.Anvils).
+1 -1
View File
@@ -27,7 +27,7 @@ namespace CalamityMod.Items.Fishing.FishingRods
public override void AddRecipes()
{
CreateRecipe().
AddIngredient(ModContent.ItemType<AerialiteBar>(), 6).
AddIngredient<AerialiteBar>(6).
AddIngredient(ItemID.SunplateBlock, 3).
AddTile(TileID.SkyMill).
Register();
+1 -1
View File
@@ -33,7 +33,7 @@ namespace CalamityMod.Items.Weapons.Magic
public override void AddRecipes()
{
CreateRecipe().
AddIngredient(ModContent.ItemType<PrimordialEarth>()).
AddIngredient<PrimordialEarth>().
AddIngredient(ItemID.AncientBattleArmorMaterial, 5).
AddIngredient<CosmiliteBar>(8).
AddIngredient<EndothermicEnergy>(20).
+2 -2
View File
@@ -143,8 +143,8 @@ namespace CalamityMod.Items.Weapons.Ranged
{
CreateRecipe().
AddRecipeGroup("AnyGoldBar", 8).
AddIngredient(ModContent.ItemType<StormlionMandible>()).
AddIngredient(ModContent.ItemType<BloodOrb>()).
AddIngredient<StormlionMandible>().
AddIngredient<BloodOrb>().
AddIngredient(ItemID.CopperCoin, 4).
AddTile(TileID.Anvils).
Register();
@@ -66,7 +66,7 @@ namespace CalamityMod.Items.Weapons.Ranged
AddIngredient(ItemID.FragmentVortex, 10).
AddIngredient<GalacticaSingularity>(6). //This should be removed
AddIngredient<CoreofCalamity>(). // This should be removed
AddIngredient(ModContent.ItemType<Stardust>(), 25). // This should be removed
AddIngredient<Stardust>(25). // This should be removed
AddTile(TileID.LunarCraftingStation).
Register();
}
+2 -2
View File
@@ -56,8 +56,8 @@ namespace CalamityMod.Items.Weapons.Rogue
public override void AddRecipes()
{
CreateRecipe().
AddIngredient(ModContent.ItemType<ShatteredSun>()).
AddIngredient(ModContent.ItemType<AuricBar>(), 5).
AddIngredient<ShatteredSun>().
AddIngredient<AuricBar>(5).
AddTile<CosmicAnvil>().
Register();
}
@@ -68,7 +68,7 @@ namespace CalamityMod.Items.Weapons.Summon
AddIngredient(ItemID.StardustDragonStaff).
AddIngredient(ItemID.LightShard).
AddIngredient(ItemID.DarkShard).
AddIngredient(ModContent.ItemType<TwistingNether>(), 3).
AddIngredient<TwistingNether>(3).
AddTile(TileID.LunarCraftingStation).
Register();
}