From 4bf9023deb2e87c16355a015abcb38f8dfeebe42 Mon Sep 17 00:00:00 2001 From: CongratsIsTrash <1q2w3e4dasd@gmail.com> Date: Thu, 9 May 2024 16:30:01 -0400 Subject: [PATCH] Stardust -> Starblight Soot --- Items/Accessories/InfectedJewel.cs | 2 +- Items/Fishing/AstralCatches/AstralCrate.cs | 2 +- Items/Materials/AstralBar.cs | 2 +- Items/Materials/MeldConstruct.cs | 2 +- Items/Materials/{Stardust.cs => StarblightSoot.cs} | 2 +- .../Materials/{Stardust.png => StarblightSoot.png} | Bin Items/PermanentBoosters/CometShard.cs | 2 +- Items/Placeables/CelestialRemains.cs | 2 +- Items/Placeables/Furniture/AstralBeaconItem.cs | 2 +- Items/Placeables/Furniture/AstralTorch.cs | 2 +- Items/Placeables/NovaeSlag.cs | 2 +- Items/Potions/AstralInjection.cs | 2 +- Items/SummonItems/AstralChunk.cs | 2 +- Items/SummonItems/Starcore.cs | 2 +- Items/TreasureBags/AstrumAureusBag.cs | 2 +- Items/TreasureBags/AstrumDeusBag.cs | 2 +- Items/Weapons/Melee/TrueBiomeBlade.cs | 2 +- Items/Weapons/Ranged/Auralis.cs | 2 +- Items/Weapons/Rogue/RadiantStar.cs | 2 +- Items/Weapons/Typeless/LunicEye.cs | 2 +- Items/Weapons/Typeless/StarStruckWater.cs | 2 +- NPCs/Astral/Aries.cs | 2 +- NPCs/Astral/AstralProbe.cs | 2 +- NPCs/Astral/AstralSlime.cs | 2 +- NPCs/Astral/AstralachneaWall.cs | 4 ++-- NPCs/Astral/Atlas.cs | 2 +- NPCs/Astral/FusionFeeder.cs | 2 +- NPCs/Astral/Hadarian.cs | 2 +- NPCs/Astral/HiveEnemy.cs | 2 +- NPCs/Astral/Mantis.cs | 2 +- NPCs/Astral/Nova.cs | 2 +- NPCs/Astral/SightseerCollider.cs | 2 +- NPCs/Astral/SightseerSpitter.cs | 2 +- NPCs/Astral/StellarCulex.cs | 2 +- NPCs/AstrumDeus/AstrumDeusHead.cs | 4 ++-- Tiles/Astral/AstralTree.cs | 2 +- Tiles/AstralDesert/AstralPalmTree.cs | 2 +- Tiles/AstralSnow/AstralSnowTree.cs | 2 +- Utilities/CalamityRecipes.cs | 2 +- World/MiscWorldgenRoutines.cs | 2 +- 40 files changed, 41 insertions(+), 41 deletions(-) rename Items/Materials/{Stardust.cs => StarblightSoot.cs} (90%) rename Items/Materials/{Stardust.png => StarblightSoot.png} (100%) 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/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 90% rename from Items/Materials/Stardust.cs rename to Items/Materials/StarblightSoot.cs index a7a658f3f7..063e76ad5d 100644 --- a/Items/Materials/Stardust.cs +++ b/Items/Materials/StarblightSoot.cs @@ -4,7 +4,7 @@ using Terraria.ModLoader; namespace CalamityMod.Items.Materials { - public class Stardust : ModItem, ILocalizedModType + 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/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/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/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);