diff --git a/CalPlayer/CalamityPlayerMiscEffects.cs b/CalPlayer/CalamityPlayerMiscEffects.cs index 07bcb3ca60..e1eb1c6536 100644 --- a/CalPlayer/CalamityPlayerMiscEffects.cs +++ b/CalPlayer/CalamityPlayerMiscEffects.cs @@ -4086,8 +4086,8 @@ namespace CalamityMod.CalPlayer if (item is null || item.stack <= 0) continue; - if (item.type == ModContent.ItemType()) - CalamityUtils.ConsumeItemViaQuickBuff(Player, item, SunkenStew.BuffType, SunkenStew.BuffDuration, true); + if (item.type == ModContent.ItemType()) + CalamityUtils.ConsumeItemViaQuickBuff(Player, item, HadalStew.BuffType, HadalStew.BuffDuration, true); if (item.type == ModContent.ItemType()) CalamityUtils.ConsumeItemViaQuickBuff(Player, item, Margarita.BuffType, Margarita.BuffDuration, false); if (item.type == ModContent.ItemType()) diff --git a/Items/Accessories/CelestialJewel.cs b/Items/Accessories/CelestialJewel.cs index c792c7b0cd..59322d1203 100644 --- a/Items/Accessories/CelestialJewel.cs +++ b/Items/Accessories/CelestialJewel.cs @@ -50,7 +50,7 @@ namespace CalamityMod.Items.Accessories CreateRecipe(). AddIngredient(). AddIngredient(ItemID.TeleportationPotion, 3). - AddIngredient(15). + AddIngredient(15). AddIngredient(15). AddTile(TileID.MythrilAnvil). Register(); diff --git a/Items/Fishing/AstralCatches/AstralCrate.cs b/Items/Fishing/AstralCatches/AstralCrate.cs index 7842071e17..8528a32be3 100644 --- a/Items/Fishing/AstralCatches/AstralCrate.cs +++ b/Items/Fishing/AstralCatches/AstralCrate.cs @@ -53,7 +53,7 @@ namespace CalamityMod.Items.Fishing.AstralCatches DropHelper.DropItem(s, player, ItemID.FallenStar, 5, 10); DropHelper.DropItemChance(s, player, ItemID.Meteorite, 0.2f, 10, 20); DropHelper.DropItemChance(s, player, ItemID.MeteoriteBar, 0.1f, 1, 3); - DropHelper.DropItemCondition(s, player, ModContent.ItemType(), DownedBossSystem.downedAstrumAureus, 0.2f, 2, 5); + DropHelper.DropItemCondition(s, player, ModContent.ItemType(), DownedBossSystem.downedAstrumAureus, 0.2f, 2, 5); DropHelper.DropItemCondition(s, player, ModContent.ItemType(), DownedBossSystem.downedAstrumDeus, 0.2f, 10, 20); DropHelper.DropItemCondition(s, player, ModContent.ItemType(), DownedBossSystem.downedAstrumDeus, 0.1f, 1, 3); DropHelper.DropItemCondition(s, player, ModContent.ItemType(), DownedBossSystem.downedAstrumDeus, 0.25f, 5, 10); diff --git a/Items/Placeables/Furniture/AstralBeaconItem.cs b/Items/Placeables/Furniture/AstralBeaconItem.cs index d4a2ddabf6..3f4e7c9052 100644 --- a/Items/Placeables/Furniture/AstralBeaconItem.cs +++ b/Items/Placeables/Furniture/AstralBeaconItem.cs @@ -29,7 +29,7 @@ namespace CalamityMod.Items.Placeables.Furniture } public override void AddRecipes() { - CreateRecipe(1).AddIngredient(ModContent.ItemType(), 5).AddIngredient(ModContent.ItemType(), 20).AddIngredient(ModContent.ItemType(), 30).AddTile(TileID.LunarCraftingStation).Register(); + CreateRecipe(1).AddIngredient(ModContent.ItemType(), 5).AddIngredient(ModContent.ItemType(), 20).AddIngredient(ModContent.ItemType(), 30).AddTile(TileID.LunarCraftingStation).Register(); } } } diff --git a/Items/Potions/AstralInjection.cs b/Items/Potions/AstralInjection.cs index e77c9827e4..590a3e824c 100644 --- a/Items/Potions/AstralInjection.cs +++ b/Items/Potions/AstralInjection.cs @@ -53,14 +53,14 @@ namespace CalamityMod.Items.Potions CreateRecipe(4). AddIngredient(ItemID.BottledWater, 4). AddIngredient(4). - AddIngredient(). + AddIngredient(). AddTile(TileID.AlchemyTable). Register(); CreateRecipe(8). AddIngredient(ItemID.BottledWater, 4). AddIngredient(5). - AddIngredient(). + AddIngredient(). AddTile(TileID.AlchemyTable). Register(); } diff --git a/Items/Potions/AstralJelly.cs b/Items/Potions/AureusCell.cs similarity index 96% rename from Items/Potions/AstralJelly.cs rename to Items/Potions/AureusCell.cs index acdfac8cfd..02ebebb271 100644 --- a/Items/Potions/AstralJelly.cs +++ b/Items/Potions/AureusCell.cs @@ -5,7 +5,8 @@ using Terraria.ModLoader; namespace CalamityMod.Items.Potions { - public class AstralJelly : ModItem + [LegacyName("AstralJelly")] + public class AureusCell : ModItem { public override void SetStaticDefaults() { diff --git a/Items/Potions/AstralJelly.png b/Items/Potions/AureusCell.png similarity index 100% rename from Items/Potions/AstralJelly.png rename to Items/Potions/AureusCell.png diff --git a/Items/Potions/GravityNormalizerPotion.cs b/Items/Potions/GravityNormalizerPotion.cs index 249a8054f5..e0691c1397 100644 --- a/Items/Potions/GravityNormalizerPotion.cs +++ b/Items/Potions/GravityNormalizerPotion.cs @@ -37,7 +37,7 @@ namespace CalamityMod.Items.Potions { CreateRecipe(). AddIngredient(ItemID.GravitationPotion). - AddIngredient(). + AddIngredient(). AddIngredient(). AddTile(TileID.AlchemyTable). Register(); @@ -45,7 +45,7 @@ namespace CalamityMod.Items.Potions CreateRecipe(). AddIngredient(ItemID.BottledWater). AddIngredient(10). - AddIngredient(). + AddIngredient(). AddTile(TileID.AlchemyTable). Register(); } diff --git a/Items/Potions/SunkenStew.cs b/Items/Potions/HadalStew.cs similarity index 97% rename from Items/Potions/SunkenStew.cs rename to Items/Potions/HadalStew.cs index 98b617d1da..abc9acae0e 100644 --- a/Items/Potions/SunkenStew.cs +++ b/Items/Potions/HadalStew.cs @@ -8,7 +8,8 @@ using System.Linq; namespace CalamityMod.Items.Potions { - public class SunkenStew : ModItem + [LegacyName("SunkenStew")] + public class HadalStew : ModItem { public static int BuffType = BuffID.WellFed2; public static int BuffDuration = 216000; diff --git a/Items/Potions/SunkenStew.png b/Items/Potions/HadalStew.png similarity index 100% rename from Items/Potions/SunkenStew.png rename to Items/Potions/HadalStew.png diff --git a/Items/SummonItems/Abomination.cs b/Items/SummonItems/Abombination.cs similarity index 96% rename from Items/SummonItems/Abomination.cs rename to Items/SummonItems/Abombination.cs index f37887a35d..3690c81e1c 100644 --- a/Items/SummonItems/Abomination.cs +++ b/Items/SummonItems/Abombination.cs @@ -8,7 +8,8 @@ using Terraria.Audio; namespace CalamityMod.Items.SummonItems { - public class Abomination : ModItem + [LegacyName("Abomination")] + public class Abombination : ModItem { public override void SetStaticDefaults() { diff --git a/Items/SummonItems/Abomination.png b/Items/SummonItems/Abombination.png similarity index 100% rename from Items/SummonItems/Abomination.png rename to Items/SummonItems/Abombination.png diff --git a/Items/SummonItems/EyeofExtinction.cs b/Items/SummonItems/CeremonialUrn.cs similarity index 92% rename from Items/SummonItems/EyeofExtinction.cs rename to Items/SummonItems/CeremonialUrn.cs index 26e1590cbb..d281431f42 100644 --- a/Items/SummonItems/EyeofExtinction.cs +++ b/Items/SummonItems/CeremonialUrn.cs @@ -4,7 +4,8 @@ using Terraria.ModLoader; namespace CalamityMod.Items.SummonItems { - public class EyeofExtinction : ModItem + [LegacyName("EyeofExtinction")] + public class CeremonialUrn : ModItem { public override void SetStaticDefaults() { diff --git a/Items/SummonItems/EyeofExtinction.png b/Items/SummonItems/CeremonialUrn.png similarity index 100% rename from Items/SummonItems/EyeofExtinction.png rename to Items/SummonItems/CeremonialUrn.png diff --git a/Items/SummonItems/AncientMedallion.cs b/Items/SummonItems/DeathWhistle.cs similarity index 96% rename from Items/SummonItems/AncientMedallion.cs rename to Items/SummonItems/DeathWhistle.cs index 6979423418..2ada9293d9 100644 --- a/Items/SummonItems/AncientMedallion.cs +++ b/Items/SummonItems/DeathWhistle.cs @@ -8,7 +8,8 @@ using Terraria.DataStructures; namespace CalamityMod.Items.SummonItems { - public class AncientMedallion : ModItem + [LegacyName("AncientMedallion")] + public class DeathWhistle : ModItem { public override void SetStaticDefaults() { diff --git a/Items/SummonItems/AncientMedallion.png b/Items/SummonItems/DeathWhistle.png similarity index 100% rename from Items/SummonItems/AncientMedallion.png rename to Items/SummonItems/DeathWhistle.png diff --git a/Items/SummonItems/DriedSeafood.cs b/Items/SummonItems/DesertMedallion.cs similarity index 97% rename from Items/SummonItems/DriedSeafood.cs rename to Items/SummonItems/DesertMedallion.cs index 355df70b74..2579426664 100644 --- a/Items/SummonItems/DriedSeafood.cs +++ b/Items/SummonItems/DesertMedallion.cs @@ -9,7 +9,8 @@ using Terraria.Audio; namespace CalamityMod.Items.SummonItems { - public class DriedSeafood : ModItem + [LegacyName("DriedSeafood")] + public class DesertMedallion : ModItem { public override void SetStaticDefaults() { diff --git a/Items/SummonItems/DriedSeafood.png b/Items/SummonItems/DesertMedallion.png similarity index 100% rename from Items/SummonItems/DriedSeafood.png rename to Items/SummonItems/DesertMedallion.png diff --git a/Items/SummonItems/BirbPheromones.cs b/Items/SummonItems/ExoticPheromones.cs similarity index 95% rename from Items/SummonItems/BirbPheromones.cs rename to Items/SummonItems/ExoticPheromones.cs index e18c902728..37825f03b9 100644 --- a/Items/SummonItems/BirbPheromones.cs +++ b/Items/SummonItems/ExoticPheromones.cs @@ -8,7 +8,8 @@ using Terraria.Audio; namespace CalamityMod.Items.SummonItems { - public class BirbPheromones : ModItem + [LegacyName("BirbPheromones")] + public class ExoticPheromones : ModItem { public override void SetStaticDefaults() { diff --git a/Items/SummonItems/BirbPheromones.png b/Items/SummonItems/ExoticPheromones.png similarity index 100% rename from Items/SummonItems/BirbPheromones.png rename to Items/SummonItems/ExoticPheromones.png diff --git a/Items/SummonItems/BlightedEyeball.cs b/Items/SummonItems/EyeofDesolation.cs similarity index 95% rename from Items/SummonItems/BlightedEyeball.cs rename to Items/SummonItems/EyeofDesolation.cs index bfb8a540af..ccb89e036a 100644 --- a/Items/SummonItems/BlightedEyeball.cs +++ b/Items/SummonItems/EyeofDesolation.cs @@ -8,7 +8,8 @@ using Terraria.Audio; namespace CalamityMod.Items.SummonItems { - public class BlightedEyeball : ModItem + [LegacyName("BlightedEyeball")] + public class EyeofDesolation : ModItem { public override void SetStaticDefaults() { diff --git a/Items/SummonItems/BlightedEyeball.png b/Items/SummonItems/EyeofDesolation.png similarity index 100% rename from Items/SummonItems/BlightedEyeball.png rename to Items/SummonItems/EyeofDesolation.png diff --git a/Items/SummonItems/ChickenEgg.cs b/Items/SummonItems/JungleDragonEgg.cs similarity index 96% rename from Items/SummonItems/ChickenEgg.cs rename to Items/SummonItems/JungleDragonEgg.cs index e7a08e13bb..bb0f66b500 100644 --- a/Items/SummonItems/ChickenEgg.cs +++ b/Items/SummonItems/JungleDragonEgg.cs @@ -8,7 +8,8 @@ using Terraria.Audio; namespace CalamityMod.Items.SummonItems { - public class ChickenEgg : ModItem + [LegacyName("ChickenEgg")] + public class JungleDragonEgg : ModItem { public override void SetStaticDefaults() { diff --git a/Items/SummonItems/ChickenEgg.png b/Items/SummonItems/JungleDragonEgg.png similarity index 100% rename from Items/SummonItems/ChickenEgg.png rename to Items/SummonItems/JungleDragonEgg.png diff --git a/Items/SummonItems/BulbofDoom.cs b/Items/SummonItems/Portabulb.cs similarity index 96% rename from Items/SummonItems/BulbofDoom.cs rename to Items/SummonItems/Portabulb.cs index 975dcc3ec4..2d8aca8c63 100644 --- a/Items/SummonItems/BulbofDoom.cs +++ b/Items/SummonItems/Portabulb.cs @@ -7,7 +7,8 @@ using Terraria.Audio; namespace CalamityMod.Items.SummonItems { - public class BulbofDoom : ModItem + [LegacyName("BulbofDoom")] + public class Portabulb : ModItem { public override void SetStaticDefaults() { diff --git a/Items/SummonItems/BulbofDoom.png b/Items/SummonItems/Portabulb.png similarity index 100% rename from Items/SummonItems/BulbofDoom.png rename to Items/SummonItems/Portabulb.png diff --git a/Items/SummonItems/ProfanedCoreUnlimited.cs b/Items/SummonItems/ProfanedCore.cs similarity index 95% rename from Items/SummonItems/ProfanedCoreUnlimited.cs rename to Items/SummonItems/ProfanedCore.cs index 9ba4cbad62..4f9d8bfc12 100644 --- a/Items/SummonItems/ProfanedCoreUnlimited.cs +++ b/Items/SummonItems/ProfanedCore.cs @@ -8,7 +8,8 @@ using Terraria.DataStructures; namespace CalamityMod.Items.SummonItems { - public class ProfanedCoreUnlimited : ModItem + [LegacyName("ProfanedCoreUnlimited")] + public class ProfanedCore : ModItem { public override void SetStaticDefaults() { diff --git a/Items/SummonItems/ProfanedCoreUnlimited.png b/Items/SummonItems/ProfanedCore.png similarity index 100% rename from Items/SummonItems/ProfanedCoreUnlimited.png rename to Items/SummonItems/ProfanedCore.png diff --git a/Items/SummonItems/RuneofCos.cs b/Items/SummonItems/RuneofKos.cs similarity index 97% rename from Items/SummonItems/RuneofCos.cs rename to Items/SummonItems/RuneofKos.cs index 805b282ce0..822a7caf68 100644 --- a/Items/SummonItems/RuneofCos.cs +++ b/Items/SummonItems/RuneofKos.cs @@ -10,7 +10,8 @@ using Terraria.Audio; namespace CalamityMod.Items.SummonItems { - public class RuneofCos : ModItem + [LegacyName("RuneofCos")] + public class RuneofKos : ModItem { public override void SetStaticDefaults() { diff --git a/Items/SummonItems/RuneofCos.png b/Items/SummonItems/RuneofKos.png similarity index 100% rename from Items/SummonItems/RuneofCos.png rename to Items/SummonItems/RuneofKos.png diff --git a/Items/SummonItems/Starcore.cs b/Items/SummonItems/Starcore.cs index 13cd8cb101..62cab52239 100644 --- a/Items/SummonItems/Starcore.cs +++ b/Items/SummonItems/Starcore.cs @@ -27,7 +27,7 @@ namespace CalamityMod.Items.SummonItems { CreateRecipe(). AddIngredient(25). - AddIngredient(8). + AddIngredient(8). AddIngredient(4). AddTile(TileID.LunarCraftingStation). Register(); diff --git a/Items/SummonItems/BossRush.cs b/Items/SummonItems/Terminus.cs similarity index 94% rename from Items/SummonItems/BossRush.cs rename to Items/SummonItems/Terminus.cs index 184a435b2c..80d44c3156 100644 --- a/Items/SummonItems/BossRush.cs +++ b/Items/SummonItems/Terminus.cs @@ -4,7 +4,8 @@ using Terraria.ModLoader; namespace CalamityMod.Items.SummonItems { - public class BossRush : ModItem + [LegacyName("BossRush")] + public class Terminus : ModItem { public override void SetStaticDefaults() { diff --git a/Items/SummonItems/BossRush.png b/Items/SummonItems/Terminus.png similarity index 100% rename from Items/SummonItems/BossRush.png rename to Items/SummonItems/Terminus.png diff --git a/Items/TreasureBags/AbyssalTreasure.cs b/Items/TreasureBags/AbyssalTreasure.cs index 7141d541f8..d20f2a5219 100644 --- a/Items/TreasureBags/AbyssalTreasure.cs +++ b/Items/TreasureBags/AbyssalTreasure.cs @@ -72,7 +72,7 @@ namespace CalamityMod.Items.TreasureBags DropHelper.DropItem(s, player, ItemID.HellfireArrow, 10, 20); break; case 2: - DropHelper.DropItem(s, player, ModContent.ItemType()); + DropHelper.DropItem(s, player, ModContent.ItemType()); break; case 3: DropHelper.DropItem(s, player, ItemID.StickyDynamite); diff --git a/Items/TreasureBags/AstrageldonBag.cs b/Items/TreasureBags/AstrageldonBag.cs index 041ff4db7d..c32289be7f 100644 --- a/Items/TreasureBags/AstrageldonBag.cs +++ b/Items/TreasureBags/AstrageldonBag.cs @@ -55,7 +55,7 @@ namespace CalamityMod.Items.TreasureBags player.TryGettingDevArmor(s); // Materials - DropHelper.DropItem(s, player, ModContent.ItemType(), 12, 16); + DropHelper.DropItem(s, player, ModContent.ItemType(), 12, 16); DropHelper.DropItem(s, player, ModContent.ItemType(), 30, 40); DropHelper.DropItem(s, player, ItemID.FallenStar, 20, 30); diff --git a/Items/Weapons/Ranged/Auralis.cs b/Items/Weapons/Ranged/Auralis.cs index a400f05613..9f54e6ea86 100644 --- a/Items/Weapons/Ranged/Auralis.cs +++ b/Items/Weapons/Ranged/Auralis.cs @@ -77,7 +77,7 @@ namespace CalamityMod.Items.Weapons.Ranged CreateRecipe(). AddIngredient(ItemID.SniperRifle). AddIngredient(5). - AddIngredient(5). + AddIngredient(5). AddIngredient(50). AddTile(TileID.LunarCraftingStation). Register(); diff --git a/Items/Weapons/Ranged/StarCannonEX.cs b/Items/Weapons/Ranged/StarCannonEX.cs index 249fac95ef..93cdb26194 100644 --- a/Items/Weapons/Ranged/StarCannonEX.cs +++ b/Items/Weapons/Ranged/StarCannonEX.cs @@ -65,7 +65,7 @@ namespace CalamityMod.Items.Weapons.Ranged { CreateRecipe(). AddIngredient(ItemID.SuperStarCannon). - AddIngredient(10). + AddIngredient(10). AddIngredient(25). AddTile(TileID.MythrilAnvil). Register(); diff --git a/Items/Weapons/Summon/UniverseSplitter.cs b/Items/Weapons/Summon/UniverseSplitter.cs index 8934a32375..30dfcb1ba4 100644 --- a/Items/Weapons/Summon/UniverseSplitter.cs +++ b/Items/Weapons/Summon/UniverseSplitter.cs @@ -81,7 +81,7 @@ namespace CalamityMod.Items.Weapons.Summon public override void AddRecipes() { CreateRecipe(). - AddIngredient(). + AddIngredient(). AddIngredient(5). AddTile(). Register(); diff --git a/ModSupport/WeakReferenceSupport.cs b/ModSupport/WeakReferenceSupport.cs index dc5d878a9c..2d647f8556 100644 --- a/ModSupport/WeakReferenceSupport.cs +++ b/ModSupport/WeakReferenceSupport.cs @@ -269,7 +269,7 @@ namespace CalamityMod { BossDifficulty.TryGetValue("DesertScourge", out float order); List segments = new List() { NPCType(), NPCType(), NPCType() }; - int summon = ItemType(); + int summon = ItemType(); List loot = new List() { ItemType(), ItemID.SandBlock, ItemType(), ItemID.Coral, ItemID.Seashell, ItemID.Starfish, ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemID.LesserHealingPotion }; List collection = new List() { ItemType(), ItemType(), ItemType() }; string instructions = $"Use a [i:{summon}] in the Desert Biome"; @@ -378,7 +378,7 @@ namespace CalamityMod { BossDifficulty.TryGetValue("Calamitas", out float order); int type = NPCType(); - int summon = ItemType(); + int summon = ItemType(); List loot = new List() { ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemID.BrokenHeroSword, ItemID.GreaterHealingPotion }; List collection = new List() { ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType() }; string instructions = $"Use an [i:{summon}] at Night"; @@ -415,7 +415,7 @@ namespace CalamityMod BossDifficulty.TryGetValue("AstrumAureus", out float order); int type = NPCType(); int summon = ItemType(); - List loot = new List() { ItemType(), ItemType(), ItemID.FallenStar, ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemID.GreaterHealingPotion }; + List loot = new List() { ItemType(), ItemType(), ItemID.FallenStar, ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemID.GreaterHealingPotion }; List collection = new List() { ItemType(), ItemType(), ItemType() }; string instructions = $"Use an [i:{summon}] at Night in the Astral Biome"; string despawn = CalamityUtils.ColorMessage("Astrum Aureus’ program has been executed. Initiate recall.", new Color(0xFF, 0xD7, 0x00)); @@ -427,7 +427,7 @@ namespace CalamityMod { BossDifficulty.TryGetValue("PlaguebringerGoliath", out float order); int type = NPCType(); - int summon = ItemType(); + int summon = ItemType(); List loot = new List() { ItemType(), ItemType(), ItemType(), ItemID.Stinger, ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemID.GreaterHealingPotion }; List collection = new List() { ItemType(), ItemType(), ItemType(), ItemType() }; string instructions = $"Use an [i:{summon}] in the Jungle Biome"; @@ -440,7 +440,7 @@ namespace CalamityMod { BossDifficulty.TryGetValue("Ravager", out float order); List segments = new List() { NPCType(), NPCType(), NPCType(), NPCType(), NPCType(), NPCType() }; - int summon = ItemType(); + int summon = ItemType(); List loot = new List() { ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemID.GreaterHealingPotion }; List collection = new List() { ItemType(), ItemType(), ItemType() }; string instructions = $"Use a [i:{summon}]"; @@ -470,7 +470,7 @@ namespace CalamityMod BossDifficulty.TryGetValue("ProfanedGuardians", out float order); int type = NPCType(); int summon = ItemType(); - List loot = new List() { ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemID.SuperHealingPotion }; + List loot = new List() { ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemID.SuperHealingPotion }; List collection = new List() { ItemType(), ItemType(), ItemType() }; string instructions = $"Use a [i:{summon}] in the Hallow or Underworld Biomes"; string despawn = CalamityUtils.ColorMessage("The guardians must protect their goddess at all costs.", new Color(0xFF, 0xA5, 0x00)); @@ -482,7 +482,7 @@ namespace CalamityMod { BossDifficulty.TryGetValue("Dragonfolly", out float order); int type = NPCType(); - int summon = ItemType(); + int summon = ItemType(); List loot = new List() { ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType() }; List collection = new List() { ItemType(), ItemType(), ItemType() }; string instructions = $"Use [i:{summon}] in the Jungle Biome"; @@ -494,8 +494,8 @@ namespace CalamityMod { BossDifficulty.TryGetValue("Providence", out float order); int type = NPCType(); - int summon = ItemType(); - List loot = new List() { ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType() }; + int summon = ItemType(); + List loot = new List() { ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType() }; List collection = new List() { ItemType(), ItemType(), ItemType() }; string instructions = $"Use [i:{summon}] in the Hallow or Underworld Biomes"; string despawn = CalamityUtils.ColorMessage("The Profaned Goddess vanishes in a burning blaze.", new Color(0xFF, 0xA5, 0x00)); @@ -507,7 +507,7 @@ namespace CalamityMod { BossDifficulty.TryGetValue("CeaselessVoid", out float order); List bosses = new List() { NPCType(), NPCType() }; - int summon = ItemType(); + int summon = ItemType(); List loot = new List() { ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType() }; List collection = new List() { ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType() }; string instructions = $"Use a [i:{summon}] in the Dungeon"; @@ -519,7 +519,7 @@ namespace CalamityMod { BossDifficulty.TryGetValue("StormWeaver", out float order); List segments = new List() { NPCType(), NPCType(), NPCType() }; - int summon = ItemType(); + int summon = ItemType(); List loot = new List() { ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType() }; List collection = new List() { ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType() }; string instructions = $"Use a [i:{summon}] in Space"; @@ -532,7 +532,7 @@ namespace CalamityMod { BossDifficulty.TryGetValue("Signus", out float order); int type = NPCType(); - int summon = ItemType(); + int summon = ItemType(); List loot = new List() { ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType() }; List collection = new List() { ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType() }; string instructions = $"Use a [i:{summon}] in the Underworld"; @@ -582,7 +582,7 @@ namespace CalamityMod { BossDifficulty.TryGetValue("Yharon", out float order); int type = NPCType(); - int summon = ItemType(); + int summon = ItemType(); List loot = new List() { ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), /*ItemType(), */ItemType() }; List collection = new List() { ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType() }; string instructions = $"Use a [i:{summon}] in the Jungle Biome"; @@ -611,7 +611,7 @@ namespace CalamityMod BossDifficulty.TryGetValue("SupremeCalamitas", out float order); int type = NPCType(); int summon1 = ItemType(); - int summon2 = ItemType(); + int summon2 = ItemType(); int altar = ItemType(); List summons = new List() { summon1, summon2 }; List loot = new List() { ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType() }; @@ -753,7 +753,7 @@ namespace CalamityMod new List() { ItemType(), ItemType(), ItemType(), ItemID.JungleKey }, new List() { ItemType() } ); - AddSummons(bossChecklist, "Plantera", new List() { ItemType() }); + AddSummons(bossChecklist, "Plantera", new List() { ItemType() }); // Golem AddLoot(bossChecklist, "Golem", diff --git a/NPCs/AstrumAureus/AstrumAureus.cs b/NPCs/AstrumAureus/AstrumAureus.cs index 145baebd39..d48bee56a7 100644 --- a/NPCs/AstrumAureus/AstrumAureus.cs +++ b/NPCs/AstrumAureus/AstrumAureus.cs @@ -348,7 +348,7 @@ namespace CalamityMod.NPCs.AstrumAureus normalOnly.Add(DropHelper.PerPlayer(ModContent.ItemType())); // Other - normalOnly.Add(DropHelper.PerPlayer(ModContent.ItemType(), 1, 9, 12)); + normalOnly.Add(DropHelper.PerPlayer(ModContent.ItemType(), 1, 9, 12)); normalOnly.Add(ModContent.ItemType(), 10); normalOnly.Add(ItemDropRule.ByCondition(DropHelper.If(() => NPC.downedMoonlord), ModContent.ItemType())); diff --git a/NPCs/ProfanedGuardians/ProfanedGuardianBoss.cs b/NPCs/ProfanedGuardians/ProfanedGuardianBoss.cs index 82ea345ba2..3a34459452 100644 --- a/NPCs/ProfanedGuardians/ProfanedGuardianBoss.cs +++ b/NPCs/ProfanedGuardians/ProfanedGuardianBoss.cs @@ -478,7 +478,7 @@ namespace CalamityMod.NPCs.ProfanedGuardians npcLoot.Add(ModContent.ItemType(), 7); npcLoot.Add(ModContent.ItemType(), 10); npcLoot.Add(ModContent.ItemType(), 10); - npcLoot.Add(ModContent.ItemType()); + npcLoot.Add(ModContent.ItemType()); // Lore npcLoot.AddConditionalPerPlayer(() => !DownedBossSystem.downedGuardians, ModContent.ItemType()); diff --git a/NPCs/Providence/Providence.cs b/NPCs/Providence/Providence.cs index 236641fdb2..3329701f0b 100644 --- a/NPCs/Providence/Providence.cs +++ b/NPCs/Providence/Providence.cs @@ -1535,7 +1535,7 @@ namespace CalamityMod.NPCs.Providence npcLoot.Add(ItemDropRule.BossBag(ModContent.ItemType())); // Drops Rune of Cos on first kill - npcLoot.AddIf(() => !DownedBossSystem.downedProvidence, ModContent.ItemType()); + npcLoot.AddIf(() => !DownedBossSystem.downedProvidence, ModContent.ItemType()); npcLoot.AddIf(info => { diff --git a/Tiles/Furniture/SCalAltar.cs b/Tiles/Furniture/SCalAltar.cs index d89027c8db..6399d21565 100644 --- a/Tiles/Furniture/SCalAltar.cs +++ b/Tiles/Furniture/SCalAltar.cs @@ -62,7 +62,7 @@ namespace CalamityMod.Tiles.Furniture int top = j - tile.TileFrameY / 18; if (!Main.LocalPlayer.HasItem(ModContent.ItemType()) && - !Main.LocalPlayer.HasItem(ModContent.ItemType())) + !Main.LocalPlayer.HasItem(ModContent.ItemType())) { return true; } @@ -73,7 +73,7 @@ namespace CalamityMod.Tiles.Furniture if (CalamityUtils.CountProjectiles(ModContent.ProjectileType()) > 0) return true; - bool usingSpecialItem = Main.LocalPlayer.HasItem(ModContent.ItemType()); + bool usingSpecialItem = Main.LocalPlayer.HasItem(ModContent.ItemType()); Vector2 ritualSpawnPosition = new Vector2(left + Width / 2, top).ToWorldCoordinates(); ritualSpawnPosition += new Vector2(-10f, -24f); @@ -89,8 +89,8 @@ namespace CalamityMod.Tiles.Furniture public override void MouseOver(int i, int j) { - if (Main.LocalPlayer.HasItem(ModContent.ItemType())) - Main.LocalPlayer.cursorItemIconID = ModContent.ItemType(); + if (Main.LocalPlayer.HasItem(ModContent.ItemType())) + Main.LocalPlayer.cursorItemIconID = ModContent.ItemType(); else Main.LocalPlayer.cursorItemIconID = ModContent.ItemType(); @@ -100,8 +100,8 @@ namespace CalamityMod.Tiles.Furniture public override void MouseOverFar(int i, int j) { - if (Main.LocalPlayer.HasItem(ModContent.ItemType())) - Main.LocalPlayer.cursorItemIconID = ModContent.ItemType(); + if (Main.LocalPlayer.HasItem(ModContent.ItemType())) + Main.LocalPlayer.cursorItemIconID = ModContent.ItemType(); else Main.LocalPlayer.cursorItemIconID = ModContent.ItemType(); diff --git a/Utilities/CalamityRecipes.cs b/Utilities/CalamityRecipes.cs index 2d323b100e..f575c4b755 100644 --- a/Utilities/CalamityRecipes.cs +++ b/Utilities/CalamityRecipes.cs @@ -98,7 +98,7 @@ namespace CalamityMod ItemID.PumpkinPie, ModContent.ItemType(), ModContent.ItemType(), - ModContent.ItemType() + ModContent.ItemType() }); RecipeGroup.RegisterGroup("AnyFood", group); } diff --git a/World/MiscWorldgenRoutines.cs b/World/MiscWorldgenRoutines.cs index 784aa85847..6ebd5642fe 100644 --- a/World/MiscWorldgenRoutines.cs +++ b/World/MiscWorldgenRoutines.cs @@ -110,7 +110,7 @@ namespace CalamityMod.World if (type == ModContent.TileType()) { PutItemInChest(ref chest, ModContent.ItemType(), 30, 80); - PutItemInChest(ref chest, ModContent.ItemType(), 10, 14); + PutItemInChest(ref chest, ModContent.ItemType(), 10, 14); PutItemInChest(ref chest, ModContent.ItemType(), 8); PutItemInChest(ref chest, ModContent.ItemType(), 3, 5); PutItemInChest(ref chest, ItemID.FallenStar, 12, 30); @@ -132,7 +132,7 @@ namespace CalamityMod.World // 50% chance of 1 or 2 of the following potions int[] potions = new int[] { - ModContent.ItemType(), ItemID.WaterWalkingPotion, ItemID.ShinePotion, ItemID.GillsPotion, ItemID.FlipperPotion + ModContent.ItemType(), ItemID.WaterWalkingPotion, ItemID.ShinePotion, ItemID.GillsPotion, ItemID.FlipperPotion }; PutItemInChest(ref chest, ModContent.ItemType(), 4, 7, WorldGen.genRand.NextBool()); PutItemInChest(ref chest, WorldGen.genRand.Next(potions), 1, 2, WorldGen.genRand.NextBool()); diff --git a/World/UndergroundShrines.cs b/World/UndergroundShrines.cs index ba8650b67f..f2bbf73d97 100644 --- a/World/UndergroundShrines.cs +++ b/World/UndergroundShrines.cs @@ -146,7 +146,7 @@ namespace CalamityMod.World chestType = 51; break; case UndergroundShrineType.Abyss: - item = ModContent.ItemType(); + item = ModContent.ItemType(); chestType = 4; break; }