diff --git a/Items/Accessories/InfectedJewel.cs b/Items/Accessories/InfectedJewel.cs index 86c11199ca..c5c18c08f6 100644 --- a/Items/Accessories/InfectedJewel.cs +++ b/Items/Accessories/InfectedJewel.cs @@ -32,7 +32,7 @@ namespace CalamityMod.Items.Accessories CreateRecipe(). AddIngredient(). AddIngredient(10). - AddIngredient(25). + AddIngredient(25). AddTile(TileID.MythrilAnvil). Register(); } diff --git a/Items/Accessories/Purity.cs b/Items/Accessories/Radiance.cs similarity index 95% rename from Items/Accessories/Purity.cs rename to Items/Accessories/Radiance.cs index 4bdeeaa82d..b8f71335c4 100644 --- a/Items/Accessories/Purity.cs +++ b/Items/Accessories/Radiance.cs @@ -10,8 +10,8 @@ using Terraria.ModLoader; namespace CalamityMod.Items.Accessories { - [LegacyName("AstralArcanum")] - public class Purity : ModItem, ILocalizedModType + [LegacyName("AstralArcanum", "Purity")] + public class Radiance : ModItem, ILocalizedModType { public new string LocalizationCategory => "Items.Accessories"; public override void SetStaticDefaults() diff --git a/Items/Accessories/Purity.png b/Items/Accessories/Radiance.png similarity index 100% rename from Items/Accessories/Purity.png rename to Items/Accessories/Radiance.png diff --git a/Items/Fishing/AstralCatches/AstralCrate.cs b/Items/Fishing/AstralCatches/AstralCrate.cs index 9c5c6ec6db..690c4c8e8b 100644 --- a/Items/Fishing/AstralCatches/AstralCrate.cs +++ b/Items/Fishing/AstralCatches/AstralCrate.cs @@ -55,7 +55,7 @@ namespace CalamityMod.Items.Fishing.AstralCatches var postAstrumDeus = itemLoot.DefineConditionalDropSet(() => DownedBossSystem.downedAstrumDeus); // Materials - itemLoot.Add(ModContent.ItemType(), 1, 5, 10); + itemLoot.Add(ModContent.ItemType(), 1, 5, 10); itemLoot.Add(ItemID.FallenStar, 1, 5, 10); itemLoot.Add(ItemID.Meteorite, 5, 10, 20); itemLoot.Add(ItemID.MeteoriteBar, 10, 1, 3); diff --git a/Items/Materials/AstralBar.cs b/Items/Materials/AstralBar.cs index 2bf49e1fb2..d9b21326f3 100644 --- a/Items/Materials/AstralBar.cs +++ b/Items/Materials/AstralBar.cs @@ -28,7 +28,7 @@ namespace CalamityMod.Items.Materials public override void AddRecipes() { CreateRecipe(). - AddIngredient(3). + AddIngredient(3). AddIngredient(2). AddTile(TileID.LunarCraftingStation). Register(); diff --git a/Items/Materials/MeldConstruct.cs b/Items/Materials/MeldConstruct.cs index b49062f647..feded67f84 100644 --- a/Items/Materials/MeldConstruct.cs +++ b/Items/Materials/MeldConstruct.cs @@ -25,7 +25,7 @@ namespace CalamityMod.Items.Materials { CreateRecipe(3). AddIngredient(6). - AddIngredient(3). + AddIngredient(3). AddTile(TileID.LunarCraftingStation). Register(); } diff --git a/Items/Materials/Stardust.cs b/Items/Materials/StarblightSoot.cs similarity index 86% rename from Items/Materials/Stardust.cs rename to Items/Materials/StarblightSoot.cs index a7a658f3f7..a22b09e580 100644 --- a/Items/Materials/Stardust.cs +++ b/Items/Materials/StarblightSoot.cs @@ -4,7 +4,8 @@ using Terraria.ModLoader; namespace CalamityMod.Items.Materials { - public class Stardust : ModItem, ILocalizedModType + [LegacyName("Stardust")] + public class StarblightSoot : ModItem, ILocalizedModType { public new string LocalizationCategory => "Items.Materials"; public override void SetStaticDefaults() diff --git a/Items/Materials/Stardust.png b/Items/Materials/StarblightSoot.png similarity index 100% rename from Items/Materials/Stardust.png rename to Items/Materials/StarblightSoot.png diff --git a/Items/PermanentBoosters/CometShard.cs b/Items/PermanentBoosters/CometShard.cs index 1f308af6b8..90cd2c4417 100644 --- a/Items/PermanentBoosters/CometShard.cs +++ b/Items/PermanentBoosters/CometShard.cs @@ -71,7 +71,7 @@ namespace CalamityMod.Items.PermanentBoosters CreateRecipe(). AddIngredient(ItemID.MeteoriteBar, 10). AddIngredient(ItemID.FallenStar, 10). - AddIngredient(50). + AddIngredient(50). AddTile(TileID.Anvils). Register(); } diff --git a/Items/Placeables/CelestialRemains.cs b/Items/Placeables/CelestialRemains.cs index 2dd1b4e2d6..c597021aad 100644 --- a/Items/Placeables/CelestialRemains.cs +++ b/Items/Placeables/CelestialRemains.cs @@ -82,7 +82,7 @@ namespace CalamityMod.Items.Placeables } else if (val < 68.03f) { - resultType = ModContent.ItemType(); + resultType = ModContent.ItemType(); resultStack = Main.rand.Next(1, 11); } else if (val < 69.03f) diff --git a/Items/Placeables/Furniture/AstralBeaconItem.cs b/Items/Placeables/Furniture/AstralBeaconItem.cs index 3e5a720a0e..0abe100357 100644 --- a/Items/Placeables/Furniture/AstralBeaconItem.cs +++ b/Items/Placeables/Furniture/AstralBeaconItem.cs @@ -29,7 +29,7 @@ namespace CalamityMod.Items.Placeables.Furniture { CreateRecipe(). AddIngredient(5). - AddIngredient(20). + AddIngredient(20). AddIngredient(30). AddTile(TileID.LunarCraftingStation). Register(); diff --git a/Items/Placeables/Furniture/AstralTorch.cs b/Items/Placeables/Furniture/AstralTorch.cs index fe74ba5bc3..4a537b11e8 100644 --- a/Items/Placeables/Furniture/AstralTorch.cs +++ b/Items/Placeables/Furniture/AstralTorch.cs @@ -59,7 +59,7 @@ namespace CalamityMod.Items.Placeables.Furniture { CreateRecipe(3). AddIngredient(ItemID.Torch, 3). - AddIngredient(). + AddIngredient(). Register(); } } diff --git a/Items/Placeables/NovaeSlag.cs b/Items/Placeables/NovaeSlag.cs index 37415c3674..78983dd0f0 100644 --- a/Items/Placeables/NovaeSlag.cs +++ b/Items/Placeables/NovaeSlag.cs @@ -70,7 +70,7 @@ namespace CalamityMod.Items.Placeables } else if (val < 58.03f) { - resultType = ModContent.ItemType(); + resultType = ModContent.ItemType(); resultStack = Main.rand.Next(1, 21); } else if (val < 61.03f) diff --git a/Items/Potions/AstralInjection.cs b/Items/Potions/AstralInjection.cs index fd3aed69f5..682a341ce2 100644 --- a/Items/Potions/AstralInjection.cs +++ b/Items/Potions/AstralInjection.cs @@ -50,7 +50,7 @@ namespace CalamityMod.Items.Potions { CreateRecipe(15). AddIngredient(ItemID.BottledWater, 15). - AddIngredient(4). + AddIngredient(4). AddIngredient(). AddTile(TileID.AlchemyTable). AddConsumeItemCallback(Recipe.ConsumptionRules.Alchemy). diff --git a/Items/SummonItems/AstralChunk.cs b/Items/SummonItems/AstralChunk.cs index dc9a0d9b4b..c5094efa77 100644 --- a/Items/SummonItems/AstralChunk.cs +++ b/Items/SummonItems/AstralChunk.cs @@ -56,7 +56,7 @@ namespace CalamityMod.Items.SummonItems public override void AddRecipes() { CreateRecipe(). - AddIngredient(30). + AddIngredient(30). AddIngredient(ItemID.FallenStar, 20). AddTile(TileID.Anvils). Register(); diff --git a/Items/SummonItems/Starcore.cs b/Items/SummonItems/Starcore.cs index e405deae7f..c1fb8b87ce 100644 --- a/Items/SummonItems/Starcore.cs +++ b/Items/SummonItems/Starcore.cs @@ -28,7 +28,7 @@ namespace CalamityMod.Items.SummonItems public override void AddRecipes() { CreateRecipe(). - AddIngredient(25). + AddIngredient(25). AddIngredient(8). AddIngredient(4). AddTile(TileID.LunarCraftingStation). diff --git a/Items/TreasureBags/AstrumAureusBag.cs b/Items/TreasureBags/AstrumAureusBag.cs index cb7ede8821..b94f45c744 100644 --- a/Items/TreasureBags/AstrumAureusBag.cs +++ b/Items/TreasureBags/AstrumAureusBag.cs @@ -64,7 +64,7 @@ namespace CalamityMod.Items.TreasureBags // Materials itemLoot.Add(ModContent.ItemType(), 1, 12, 16); - itemLoot.Add(ModContent.ItemType(), 1, 30, 40); + itemLoot.Add(ModContent.ItemType(), 1, 30, 40); itemLoot.Add(ItemID.FallenStar, 1, 20, 30); // Weapons diff --git a/Items/TreasureBags/AstrumDeusBag.cs b/Items/TreasureBags/AstrumDeusBag.cs index c1f50152be..0edb610266 100644 --- a/Items/TreasureBags/AstrumDeusBag.cs +++ b/Items/TreasureBags/AstrumDeusBag.cs @@ -63,7 +63,7 @@ namespace CalamityMod.Items.TreasureBags itemLoot.Add(ItemDropRule.CoinsBasedOnNPCValue(ModContent.NPCType())); // Materials - itemLoot.Add(ModContent.ItemType(), 1, 60, 90); + itemLoot.Add(ModContent.ItemType(), 1, 60, 90); itemLoot.Add(ItemID.FallenStar, 1, 30, 50); // Weapons diff --git a/Items/TreasureBags/ProvidenceBag.cs b/Items/TreasureBags/ProvidenceBag.cs index 7445639905..4feb1ba07a 100644 --- a/Items/TreasureBags/ProvidenceBag.cs +++ b/Items/TreasureBags/ProvidenceBag.cs @@ -65,7 +65,7 @@ namespace CalamityMod.Items.TreasureBags itemLoot.Add(DropHelper.CalamityStyle(DropHelper.BagWeaponDropRateFraction, new int[] { ModContent.ItemType(), - ModContent.ItemType(), + ModContent.ItemType(), ModContent.ItemType(), ModContent.ItemType(), ModContent.ItemType(), diff --git a/Items/Weapons/Melee/SolarFlare.cs b/Items/Weapons/Melee/BurningRevelation.cs similarity index 87% rename from Items/Weapons/Melee/SolarFlare.cs rename to Items/Weapons/Melee/BurningRevelation.cs index 8bf48025bc..85c2b4d6e8 100644 --- a/Items/Weapons/Melee/SolarFlare.cs +++ b/Items/Weapons/Melee/BurningRevelation.cs @@ -5,7 +5,8 @@ using Terraria.ModLoader; namespace CalamityMod.Items.Weapons.Melee { - public class SolarFlare : ModItem, ILocalizedModType + [LegacyName("SolarFlare")] + public class BurningRevelation : ModItem, ILocalizedModType { public new string LocalizationCategory => "Items.Weapons.Melee"; public override void SetStaticDefaults() @@ -32,7 +33,7 @@ namespace CalamityMod.Items.Weapons.Melee Item.noUseGraphic = true; Item.noMelee = true; - Item.shoot = ModContent.ProjectileType(); + Item.shoot = ModContent.ProjectileType(); Item.shootSpeed = 16f; Item.value = CalamityGlobalItem.RarityTurquoiseBuyPrice; diff --git a/Items/Weapons/Melee/SolarFlare.png b/Items/Weapons/Melee/BurningRevelation.png similarity index 100% rename from Items/Weapons/Melee/SolarFlare.png rename to Items/Weapons/Melee/BurningRevelation.png diff --git a/Items/Weapons/Melee/TheOracle.cs b/Items/Weapons/Melee/TheOracle.cs index 985ac51930..6708ca7991 100644 --- a/Items/Weapons/Melee/TheOracle.cs +++ b/Items/Weapons/Melee/TheOracle.cs @@ -52,7 +52,7 @@ namespace CalamityMod.Items.Weapons.Melee public override void AddRecipes() { CreateRecipe(). - AddIngredient(). + AddIngredient(). AddIngredient(). AddIngredient(5). AddTile(). diff --git a/Items/Weapons/Melee/TrueBiomeBlade.cs b/Items/Weapons/Melee/TrueBiomeBlade.cs index c562f63b80..d465084ed8 100644 --- a/Items/Weapons/Melee/TrueBiomeBlade.cs +++ b/Items/Weapons/Melee/TrueBiomeBlade.cs @@ -388,7 +388,7 @@ namespace CalamityMod.Items.Weapons.Melee AddIngredient(ItemID.SoulofMight). AddIngredient(ItemID.SoulofSight). AddIngredient(ItemID.PixieDust, 2). - AddIngredient(10). + AddIngredient(10). AddTile(TileID.MythrilAnvil). Register(); } diff --git a/Items/Weapons/Ranged/Auralis.cs b/Items/Weapons/Ranged/Auralis.cs index a346b19b08..b65b6d0d34 100644 --- a/Items/Weapons/Ranged/Auralis.cs +++ b/Items/Weapons/Ranged/Auralis.cs @@ -69,7 +69,7 @@ namespace CalamityMod.Items.Weapons.Ranged AddIngredient(ItemID.SniperRifle). AddIngredient(5). AddIngredient(5). - AddIngredient(50). + AddIngredient(50). AddTile(TileID.LunarCraftingStation). Register(); } diff --git a/Items/Weapons/Rogue/RadiantStar.cs b/Items/Weapons/Rogue/RadiantStar.cs index 8fafb6889e..16e52c9fc5 100644 --- a/Items/Weapons/Rogue/RadiantStar.cs +++ b/Items/Weapons/Rogue/RadiantStar.cs @@ -49,7 +49,7 @@ namespace CalamityMod.Items.Weapons.Rogue CreateRecipe(). AddIngredient(). AddIngredient(10). - AddIngredient(15). + AddIngredient(15). AddIngredient(ItemID.FallenStar, 10). AddTile(TileID.LunarCraftingStation). Register(); diff --git a/Items/Weapons/Typeless/LunicEye.cs b/Items/Weapons/Typeless/LunicEye.cs index c1382ea084..83600706cf 100644 --- a/Items/Weapons/Typeless/LunicEye.cs +++ b/Items/Weapons/Typeless/LunicEye.cs @@ -44,7 +44,7 @@ namespace CalamityMod.Items.Weapons.Typeless { CreateRecipe(). AddRecipeGroup("AnyCobaltBar", 10). - AddIngredient(20). + AddIngredient(20). AddTile(TileID.Anvils). Register(); } diff --git a/Items/Weapons/Typeless/StarStruckWater.cs b/Items/Weapons/Typeless/StarStruckWater.cs index 9ab9498f8f..110edb02eb 100644 --- a/Items/Weapons/Typeless/StarStruckWater.cs +++ b/Items/Weapons/Typeless/StarStruckWater.cs @@ -39,7 +39,7 @@ namespace CalamityMod.Items.Weapons.Typeless { CreateRecipe(10). AddIngredient(ItemID.BottledWater, 10). - AddIngredient(2). + AddIngredient(2). AddIngredient(). Register(); } diff --git a/Localization/en-US/Mods.CalamityMod.Items.Accessories.hjson b/Localization/en-US/Mods.CalamityMod.Items.Accessories.hjson index 329846ae88..5a2ee1af9e 100644 --- a/Localization/en-US/Mods.CalamityMod.Items.Accessories.hjson +++ b/Localization/en-US/Mods.CalamityMod.Items.Accessories.hjson @@ -1316,8 +1316,19 @@ ProfanedSoulCrystal: { ''' } -Purity: { - DisplayName: Purity +QuiverofNihility: { + DisplayName: Quiver of Nihility + Tooltip: + ''' + 5% increased ranged critical strike chance + Summons a ring of four void fields to orbit you + Arrows that pass through these fields gain a 75% damage boost and double the speed + 'Filled with a substance darker than the night sky' + ''' +} + +Radiance: { + DisplayName: Radiance Tooltip: ''' +100 max life @@ -1335,17 +1346,6 @@ Purity: { ''' } -QuiverofNihility: { - DisplayName: Quiver of Nihility - Tooltip: - ''' - 5% increased ranged critical strike chance - Summons a ring of four void fields to orbit you - Arrows that pass through these fields gain a 75% damage boost and double the speed - 'Filled with a substance darker than the night sky' - ''' -} - RadiantOoze: { DisplayName: Radiant Ooze Tooltip: diff --git a/Localization/en-US/Mods.CalamityMod.Items.Materials.hjson b/Localization/en-US/Mods.CalamityMod.Items.Materials.hjson index 3832adc9b4..6c23f21453 100644 --- a/Localization/en-US/Mods.CalamityMod.Items.Materials.hjson +++ b/Localization/en-US/Mods.CalamityMod.Items.Materials.hjson @@ -302,8 +302,8 @@ SolarVeil: { Tooltip: Sunlight cannot penetrate the fabric of this cloth } -Stardust: { - DisplayName: Stardust +StarblightSoot: { + DisplayName: Starblight Soot Tooltip: "" } diff --git a/Localization/en-US/Mods.CalamityMod.Items.Weapons.Melee.hjson b/Localization/en-US/Mods.CalamityMod.Items.Weapons.Melee.hjson index d42b8a42b1..58ce679f5b 100644 --- a/Localization/en-US/Mods.CalamityMod.Items.Weapons.Melee.hjson +++ b/Localization/en-US/Mods.CalamityMod.Items.Weapons.Melee.hjson @@ -239,6 +239,15 @@ BrokenBiomeBlade: { DefaultFunction: Does nothing... yet } +BurningRevelation: { + DisplayName: Burning Revelation + Tooltip: + ''' + Emits large holy explosions on hit + An exceptionally agile yoyo + ''' +} + BurntSienna: { DisplayName: Burnt Sienna Tooltip: Causes enemies to erupt into healing projectiles on death @@ -1040,15 +1049,6 @@ SmokingComet: { Tooltip: Rains stars from the sky } -SolarFlare: { - DisplayName: Solar Flare - Tooltip: - ''' - Emits large holy explosions on hit - An exceptionally agile yoyo - ''' -} - SolsticeClaymore: { DisplayName: Solstice Claymore Tooltip: diff --git a/ModSupport/WeakReferenceSupport.cs b/ModSupport/WeakReferenceSupport.cs index 3d31d57f06..32f4280027 100644 --- a/ModSupport/WeakReferenceSupport.cs +++ b/ModSupport/WeakReferenceSupport.cs @@ -235,7 +235,6 @@ namespace CalamityMod ItemRedirect(ItemType(), "Pineapple (calamity)"); ItemRedirect(ItemType(), "Trash Can (pet)"); ItemRedirect(ItemType(), "Butcher (weapon)"); - ItemRedirect(ItemType(), "Purity (accessory)"); ItemRedirect(ItemType(), "Sandstorm (weapon)"); ItemRedirect(ItemType(), "Thunderstorm (weapon)"); // Lore items diff --git a/NPCs/Astral/Aries.cs b/NPCs/Astral/Aries.cs index ce94a721d9..76984fe721 100644 --- a/NPCs/Astral/Aries.cs +++ b/NPCs/Astral/Aries.cs @@ -128,7 +128,7 @@ namespace CalamityMod.NPCs.Astral public override void ModifyNPCLoot(NPCLoot npcLoot) { - npcLoot.Add(DropHelper.NormalVsExpertQuantity(ModContent.ItemType(), 2, 1, 2, 1, 3)); + npcLoot.Add(DropHelper.NormalVsExpertQuantity(ModContent.ItemType(), 2, 1, 2, 1, 3)); npcLoot.AddIf(() => DownedBossSystem.downedAstrumAureus, ModContent.ItemType(), 7); } } diff --git a/NPCs/Astral/AstralProbe.cs b/NPCs/Astral/AstralProbe.cs index bce7d6cf7d..337b44f461 100644 --- a/NPCs/Astral/AstralProbe.cs +++ b/NPCs/Astral/AstralProbe.cs @@ -338,7 +338,7 @@ namespace CalamityMod.NPCs.Astral public override void ModifyNPCLoot(NPCLoot npcLoot) { - npcLoot.Add(DropHelper.NormalVsExpertQuantity(ModContent.ItemType(), 2, 1, 2, 1, 3)); + npcLoot.Add(DropHelper.NormalVsExpertQuantity(ModContent.ItemType(), 2, 1, 2, 1, 3)); } public override float SpawnChance(NPCSpawnInfo spawnInfo) diff --git a/NPCs/Astral/AstralSlime.cs b/NPCs/Astral/AstralSlime.cs index 46e1cb2284..bd9d700934 100644 --- a/NPCs/Astral/AstralSlime.cs +++ b/NPCs/Astral/AstralSlime.cs @@ -100,7 +100,7 @@ namespace CalamityMod.NPCs.Astral public override void ModifyNPCLoot(NPCLoot npcLoot) { - npcLoot.Add(DropHelper.NormalVsExpertQuantity(ModContent.ItemType(), 2, 1, 2, 1, 3)); + npcLoot.Add(DropHelper.NormalVsExpertQuantity(ModContent.ItemType(), 2, 1, 2, 1, 3)); npcLoot.AddIf(() => DownedBossSystem.downedAstrumAureus, ModContent.ItemType(), 7); var postDeus = npcLoot.DefineConditionalDropSet(() => DownedBossSystem.downedAstrumDeus); diff --git a/NPCs/Astral/AstralachneaWall.cs b/NPCs/Astral/AstralachneaWall.cs index 008bf67d41..988cf850db 100644 --- a/NPCs/Astral/AstralachneaWall.cs +++ b/NPCs/Astral/AstralachneaWall.cs @@ -155,8 +155,8 @@ namespace CalamityMod.NPCs.Astral public static void ModifyAstralachneaLoot(NPCLoot npcLoot) { - npcLoot.AddIf(() => !Main.expertMode, ModContent.ItemType(), 2, 2, 3); - npcLoot.AddIf(() => Main.expertMode, ModContent.ItemType(), 1, 1, 4); + npcLoot.AddIf(() => !Main.expertMode, ModContent.ItemType(), 2, 2, 3); + npcLoot.AddIf(() => Main.expertMode, ModContent.ItemType(), 1, 1, 4); npcLoot.AddIf(() => DownedBossSystem.downedAstrumAureus, ModContent.ItemType(), 7); } diff --git a/NPCs/Astral/Atlas.cs b/NPCs/Astral/Atlas.cs index 8f159e4f43..5089169c16 100644 --- a/NPCs/Astral/Atlas.cs +++ b/NPCs/Astral/Atlas.cs @@ -657,7 +657,7 @@ namespace CalamityMod.NPCs.Astral public override void ModifyNPCLoot(NPCLoot npcLoot) { npcLoot.Add(ModContent.ItemType()); - npcLoot.Add(DropHelper.NormalVsExpertQuantity(ModContent.ItemType(), 1, 6, 8, 7, 9)); + npcLoot.Add(DropHelper.NormalVsExpertQuantity(ModContent.ItemType(), 1, 6, 8, 7, 9)); npcLoot.AddIf(() => DownedBossSystem.downedAstrumAureus, ModContent.ItemType(), 7); } } diff --git a/NPCs/Astral/FusionFeeder.cs b/NPCs/Astral/FusionFeeder.cs index e5a53cbf34..49a6b73e71 100644 --- a/NPCs/Astral/FusionFeeder.cs +++ b/NPCs/Astral/FusionFeeder.cs @@ -322,7 +322,7 @@ namespace CalamityMod.NPCs.Astral public override void ModifyNPCLoot(NPCLoot npcLoot) { npcLoot.Add(ItemID.SharkFin, 8); - npcLoot.Add(DropHelper.NormalVsExpertQuantity(ModContent.ItemType(), 1, 2, 3, 3, 4)); + npcLoot.Add(DropHelper.NormalVsExpertQuantity(ModContent.ItemType(), 1, 2, 3, 3, 4)); } } } diff --git a/NPCs/Astral/Hadarian.cs b/NPCs/Astral/Hadarian.cs index 4ad21f25b4..f71ed2a2df 100644 --- a/NPCs/Astral/Hadarian.cs +++ b/NPCs/Astral/Hadarian.cs @@ -221,7 +221,7 @@ namespace CalamityMod.NPCs.Astral public override void ModifyNPCLoot(NPCLoot npcLoot) { - npcLoot.Add(DropHelper.NormalVsExpertQuantity(ModContent.ItemType(), 1, 1, 3, 1, 4)); + npcLoot.Add(DropHelper.NormalVsExpertQuantity(ModContent.ItemType(), 1, 1, 3, 1, 4)); npcLoot.AddIf(() => DownedBossSystem.downedAstrumAureus, ModContent.ItemType(), 10); } } diff --git a/NPCs/Astral/HiveEnemy.cs b/NPCs/Astral/HiveEnemy.cs index 7529bb4fc6..75d9527c5d 100644 --- a/NPCs/Astral/HiveEnemy.cs +++ b/NPCs/Astral/HiveEnemy.cs @@ -159,7 +159,7 @@ namespace CalamityMod.NPCs.Astral public override void ModifyNPCLoot(NPCLoot npcLoot) { - npcLoot.Add(DropHelper.NormalVsExpertQuantity(ModContent.ItemType(), 1, 1, 3, 1, 4)); + npcLoot.Add(DropHelper.NormalVsExpertQuantity(ModContent.ItemType(), 1, 1, 3, 1, 4)); npcLoot.AddIf(() => DownedBossSystem.downedAstrumAureus, ModContent.ItemType(), 7); } } diff --git a/NPCs/Astral/Mantis.cs b/NPCs/Astral/Mantis.cs index a1c1558071..f2abb227c0 100644 --- a/NPCs/Astral/Mantis.cs +++ b/NPCs/Astral/Mantis.cs @@ -250,7 +250,7 @@ namespace CalamityMod.NPCs.Astral public override void ModifyNPCLoot(NPCLoot npcLoot) { - npcLoot.Add(DropHelper.NormalVsExpertQuantity(ModContent.ItemType(), 1, 1, 2, 1, 3)); + npcLoot.Add(DropHelper.NormalVsExpertQuantity(ModContent.ItemType(), 1, 1, 2, 1, 3)); npcLoot.AddIf(() => DownedBossSystem.downedAstrumAureus, ModContent.ItemType(), 7); } } diff --git a/NPCs/Astral/Nova.cs b/NPCs/Astral/Nova.cs index 7869fe2cb7..3eec7f005b 100644 --- a/NPCs/Astral/Nova.cs +++ b/NPCs/Astral/Nova.cs @@ -297,7 +297,7 @@ namespace CalamityMod.NPCs.Astral var exploded = npcLoot.DefineConditionalDropSet((info) => info.npc.ai[3] <= -10000f); // 2-3 Stardust (3-4 Expert+) - exploded.OnFailedConditions(DropHelper.NormalVsExpertQuantity(ModContent.ItemType(), 1, 2, 3, 3, 4)); + exploded.OnFailedConditions(DropHelper.NormalVsExpertQuantity(ModContent.ItemType(), 1, 2, 3, 3, 4)); exploded.OnFailedConditions(ItemDropRule.ByCondition(DropHelper.If(() => DownedBossSystem.downedAstrumAureus), ModContent.ItemType(), 7)); // If exploded, then have a chance to drop Glorious End and nothing else diff --git a/NPCs/Astral/SightseerCollider.cs b/NPCs/Astral/SightseerCollider.cs index be6958cc53..9e8dc3fec8 100644 --- a/NPCs/Astral/SightseerCollider.cs +++ b/NPCs/Astral/SightseerCollider.cs @@ -157,7 +157,7 @@ namespace CalamityMod.NPCs.Astral public override void ModifyNPCLoot(NPCLoot npcLoot) { - npcLoot.Add(DropHelper.NormalVsExpertQuantity(ModContent.ItemType(), 1, 1, 2, 1, 3)); + npcLoot.Add(DropHelper.NormalVsExpertQuantity(ModContent.ItemType(), 1, 1, 2, 1, 3)); } } } diff --git a/NPCs/Astral/SightseerSpitter.cs b/NPCs/Astral/SightseerSpitter.cs index 9bc3205ed2..018a3f7efe 100644 --- a/NPCs/Astral/SightseerSpitter.cs +++ b/NPCs/Astral/SightseerSpitter.cs @@ -186,7 +186,7 @@ namespace CalamityMod.NPCs.Astral public override void ModifyNPCLoot(NPCLoot npcLoot) { - npcLoot.Add(DropHelper.NormalVsExpertQuantity(ModContent.ItemType(), 1, 2, 3, 3, 4)); + npcLoot.Add(DropHelper.NormalVsExpertQuantity(ModContent.ItemType(), 1, 2, 3, 3, 4)); } } diff --git a/NPCs/Astral/StellarCulex.cs b/NPCs/Astral/StellarCulex.cs index 87f8f9eebe..7cdb6f1050 100644 --- a/NPCs/Astral/StellarCulex.cs +++ b/NPCs/Astral/StellarCulex.cs @@ -135,7 +135,7 @@ namespace CalamityMod.NPCs.Astral public override void ModifyNPCLoot(NPCLoot npcLoot) { - npcLoot.Add(DropHelper.NormalVsExpertQuantity(ModContent.ItemType(), 1, 1, 2, 1, 3)); + npcLoot.Add(DropHelper.NormalVsExpertQuantity(ModContent.ItemType(), 1, 1, 2, 1, 3)); npcLoot.AddIf(() => DownedBossSystem.downedAstrumAureus, ModContent.ItemType(), 7); } } diff --git a/NPCs/AstrumDeus/AstrumDeusHead.cs b/NPCs/AstrumDeus/AstrumDeusHead.cs index 181b292122..ed43b0fe56 100644 --- a/NPCs/AstrumDeus/AstrumDeusHead.cs +++ b/NPCs/AstrumDeus/AstrumDeusHead.cs @@ -229,7 +229,7 @@ namespace CalamityMod.NPCs.AstrumDeus } } - public override void BossLoot(ref string name, ref int potionType) => potionType = ModContent.ItemType(); + public override void BossLoot(ref string name, ref int potionType) => potionType = ModContent.ItemType(); public static bool ShouldNotDropThings(NPC npc) => npc.Calamity().newAI[0] == 0f || ((CalamityWorld.death || BossRushEvent.BossRushActive) && npc.Calamity().newAI[0] != 3f); @@ -311,7 +311,7 @@ namespace CalamityMod.NPCs.AstrumDeus // Materials normalOnly.Add(ItemID.FallenStar, 1, 25, 40); - normalOnly.Add(ModContent.ItemType(), 1, 50, 80); + normalOnly.Add(ModContent.ItemType(), 1, 50, 80); } npcLoot.DefineConditionalDropSet(() => true).Add(DropHelper.PerPlayer(ItemID.SuperHealingPotion, 1, 5, 15), hideLootReport: true); // Healing Potions don't show up in the Bestiary diff --git a/NPCs/Providence/Providence.cs b/NPCs/Providence/Providence.cs index 0619b23fc4..79471eeab9 100644 --- a/NPCs/Providence/Providence.cs +++ b/NPCs/Providence/Providence.cs @@ -2071,7 +2071,7 @@ namespace CalamityMod.NPCs.Providence int[] weapons = new int[] { ModContent.ItemType(), - ModContent.ItemType(), + ModContent.ItemType(), ModContent.ItemType(), ModContent.ItemType(), ModContent.ItemType(), diff --git a/Projectiles/Melee/Yoyos/SolarFlareYoyo.cs b/Projectiles/Melee/Yoyos/BurningRevelationYoyo.cs similarity index 96% rename from Projectiles/Melee/Yoyos/SolarFlareYoyo.cs rename to Projectiles/Melee/Yoyos/BurningRevelationYoyo.cs index e05dd23d09..c1b176f8e6 100644 --- a/Projectiles/Melee/Yoyos/SolarFlareYoyo.cs +++ b/Projectiles/Melee/Yoyos/BurningRevelationYoyo.cs @@ -9,9 +9,9 @@ using Terraria.ModLoader; namespace CalamityMod.Projectiles.Melee.Yoyos { - public class SolarFlareYoyo : ModProjectile + public class BurningRevelationYoyo : ModProjectile { - public override LocalizedText DisplayName => CalamityUtils.GetItemName(); + public override LocalizedText DisplayName => CalamityUtils.GetItemName(); public const int MaxUpdates = 3; public override void SetStaticDefaults() diff --git a/Projectiles/Melee/Yoyos/SolarFlareYoyo.png b/Projectiles/Melee/Yoyos/BurningRevelationYoyo.png similarity index 100% rename from Projectiles/Melee/Yoyos/SolarFlareYoyo.png rename to Projectiles/Melee/Yoyos/BurningRevelationYoyo.png diff --git a/Projectiles/Summon/LiliesOfFinalityAriane.cs b/Projectiles/Summon/LiliesOfFinalityAriane.cs index 4d094e340a..1da87b762c 100644 --- a/Projectiles/Summon/LiliesOfFinalityAriane.cs +++ b/Projectiles/Summon/LiliesOfFinalityAriane.cs @@ -216,7 +216,7 @@ namespace CalamityMod.Projectiles.Summon if (!Projectile.getRect().Intersects(Elster.getRect())) { int walkDirection = Sign(Elster.Center.X - Projectile.Center.X); - float maxSpeed = Utils.Remap(Abs(Elster.Center.X - Projectile.Center.X), 160f, 0f, 6f, 0f); + float maxSpeed = Utils.Remap(Abs(Elster.Center.X - Projectile.Center.X), 160f, 0f, 8f, 0f); Projectile.velocity.X += 0.08f * walkDirection; if (Abs(Projectile.velocity.X) > maxSpeed) Projectile.velocity.X = maxSpeed * walkDirection; @@ -257,7 +257,7 @@ namespace CalamityMod.Projectiles.Summon return; } - FlyTowardsPlace(Owner.velocity.Length() + 6f, Owner.Center, Sign(Projectile.velocity.X)); + FlyTowardsPlace(Owner.velocity.Length() + 8f, Owner.Center, Sign(Projectile.velocity.X)); Animation = AnimationState.Fly; } diff --git a/Projectiles/Summon/LiliesOfFinalityElster.cs b/Projectiles/Summon/LiliesOfFinalityElster.cs index f226867adb..a34bfd5172 100644 --- a/Projectiles/Summon/LiliesOfFinalityElster.cs +++ b/Projectiles/Summon/LiliesOfFinalityElster.cs @@ -201,7 +201,7 @@ namespace CalamityMod.Projectiles.Summon if (!Projectile.WithinRange(idlePosition, 8f)) { int walkDirection = Sign(idlePosition.X - Projectile.Center.X); - float maxSpeed = Utils.Remap(Abs(idlePosition.X - Projectile.Center.X), 160f, 0f, 6f, 0f); + float maxSpeed = Utils.Remap(Abs(idlePosition.X - Projectile.Center.X), 160f, 0f, 8f, 0f); Projectile.velocity.X += 0.08f * walkDirection; if (Abs(Projectile.velocity.X) > maxSpeed) Projectile.velocity.X = maxSpeed * walkDirection; @@ -234,7 +234,7 @@ namespace CalamityMod.Projectiles.Summon return; } - FlyTowardsPlace(Owner.velocity.Length() + 6f, Owner.Center, Sign(Projectile.velocity.X), AnimationState.Fly); + FlyTowardsPlace(Owner.velocity.Length() + 8f, Owner.Center, Sign(Projectile.velocity.X), AnimationState.Fly); Projectile.rotation = MathHelper.ToRadians(Projectile.velocity.Length()) * Sign(Projectile.velocity.X); ElevationDust(false); } diff --git a/Tiles/Astral/AstralTree.cs b/Tiles/Astral/AstralTree.cs index 37d8204aae..9bc4e6c1d6 100644 --- a/Tiles/Astral/AstralTree.cs +++ b/Tiles/Astral/AstralTree.cs @@ -115,7 +115,7 @@ namespace CalamityMod.Tiles.Astral else if (Main.rand.NextBool(15)) { createLeaves = true; - int type = ModContent.ItemType(); + int type = ModContent.ItemType(); if (!Main.dayTime && Main.rand.NextBool()) type = ItemID.FallenStar; Item.NewItem(WorldGen.GetItemSource_FromTreeShake(x, y), new Vector2(x, y) * 16, type, randAmt); diff --git a/Tiles/AstralDesert/AstralPalmTree.cs b/Tiles/AstralDesert/AstralPalmTree.cs index c5b9c46c13..4ccdbe2be0 100644 --- a/Tiles/AstralDesert/AstralPalmTree.cs +++ b/Tiles/AstralDesert/AstralPalmTree.cs @@ -101,7 +101,7 @@ namespace CalamityMod.Tiles.AstralDesert else if (Main.rand.NextBool(15)) { createLeaves = true; - int type = ModContent.ItemType(); + int type = ModContent.ItemType(); if (!Main.dayTime && Main.rand.NextBool()) type = ItemID.FallenStar; Item.NewItem(WorldGen.GetItemSource_FromTreeShake(x, y), new Vector2(x, y) * 16, type, randAmt); diff --git a/Tiles/AstralSnow/AstralSnowTree.cs b/Tiles/AstralSnow/AstralSnowTree.cs index b9d738433f..f36ecac3c4 100644 --- a/Tiles/AstralSnow/AstralSnowTree.cs +++ b/Tiles/AstralSnow/AstralSnowTree.cs @@ -117,7 +117,7 @@ namespace CalamityMod.Tiles.AstralSnow else if (Main.rand.NextBool(15)) { createLeaves = true; - int type = ModContent.ItemType(); + int type = ModContent.ItemType(); if (!Main.dayTime && Main.rand.NextBool()) type = ItemID.FallenStar; Item.NewItem(WorldGen.GetItemSource_FromTreeShake(x, y), new Vector2(x, y) * 16, type, randAmt); diff --git a/Utilities/CalamityRecipes.cs b/Utilities/CalamityRecipes.cs index b309b9055d..aecfb2bfc3 100644 --- a/Utilities/CalamityRecipes.cs +++ b/Utilities/CalamityRecipes.cs @@ -528,7 +528,7 @@ namespace CalamityMod // Fallen Stars from Stardust Recipe.Create(ItemID.FallenStar). - AddIngredient(5). + AddIngredient(5). AddTile(TileID.Anvils). Register() .DisableDecraft(); diff --git a/World/MiscWorldgenRoutines.cs b/World/MiscWorldgenRoutines.cs index cb1e3dd3ea..f413f99e1e 100644 --- a/World/MiscWorldgenRoutines.cs +++ b/World/MiscWorldgenRoutines.cs @@ -77,7 +77,7 @@ namespace CalamityMod.World // Astral Chest has completely different loot in it if (type == ModContent.TileType()) { - PutItemInChest(ref chest, ModContent.ItemType(), 30, 80); + PutItemInChest(ref chest, ModContent.ItemType(), 30, 80); PutItemInChest(ref chest, ModContent.ItemType(), 10, 14); PutItemInChest(ref chest, ModContent.ItemType(), 8); PutItemInChest(ref chest, ModContent.ItemType(), 3, 5);