From 5e4c4b436b14ed997238062c95c08d3f161c6923 Mon Sep 17 00:00:00 2001 From: Dominic Date: Sat, 11 Jun 2022 10:50:18 -0500 Subject: [PATCH 01/11] Fixed Cold Divinity right click doing no damage --- Items/CalamityGlobalItem.cs | 2 ++ Items/Weapons/Summon/ColdDivinity.cs | 1 - 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Items/CalamityGlobalItem.cs b/Items/CalamityGlobalItem.cs index 270ab8daf6..57489d9628 100644 --- a/Items/CalamityGlobalItem.cs +++ b/Items/CalamityGlobalItem.cs @@ -754,6 +754,8 @@ namespace CalamityMod.Items break; int coldDivinityDamage = (int)player.GetTotalDamage().ApplyTo(80); int projj = Projectile.NewProjectile(source, Main.MouseWorld, Vector2.Zero, ModContent.ProjectileType(), coldDivinityDamage, 1f, player.whoAmI, angle, 2f); + Main.projectile[projj].originalDamage = 80; + angle += angleVariance; for (int j = 0; j < 22; j++) { diff --git a/Items/Weapons/Summon/ColdDivinity.cs b/Items/Weapons/Summon/ColdDivinity.cs index 502cf413e9..c6bafbe2ca 100644 --- a/Items/Weapons/Summon/ColdDivinity.cs +++ b/Items/Weapons/Summon/ColdDivinity.cs @@ -96,5 +96,4 @@ namespace CalamityMod.Items.Weapons.Summon return base.AltFunctionUse(player); } } - } From 77e6b9fcc48e743e977b62dfacfc4ac45f55f2e2 Mon Sep 17 00:00:00 2001 From: mountaindrew10 Date: Sat, 11 Jun 2022 11:19:15 -0500 Subject: [PATCH 02/11] 1 - Storm Weaver, Rev+ Empress of Light and Aquatic Scourge edits. --- NPCs/Bumblebirb/Bumblefuck.cs | 6 ------ NPCs/Bumblebirb/Bumblefuck2.cs | 6 ------ NPCs/CalamityAI.cs | 8 ++++---- NPCs/CeaselessVoid/CeaselessVoid.cs | 2 -- NPCs/CeaselessVoid/DarkEnergy.cs | 2 -- NPCs/NormalNPCs/WildBumblefuck.cs | 6 ------ NPCs/ProfanedGuardians/ProfanedGuardianBoss.cs | 6 ------ NPCs/ProfanedGuardians/ProfanedGuardianBoss2.cs | 6 ------ NPCs/ProfanedGuardians/ProfanedGuardianBoss3.cs | 6 ------ NPCs/Signus/CosmicLantern.cs | 1 - NPCs/Signus/Signus.cs | 2 -- NPCs/StormWeaver/StormWeaverBody.cs | 6 ------ NPCs/StormWeaver/StormWeaverHead.cs | 15 +++++++-------- NPCs/StormWeaver/StormWeaverTail.cs | 6 ------ .../Bosses/EmpressofLightAI.cs | 4 ++-- Projectiles/Boss/DarkEnergyBall.cs | 1 - Projectiles/Boss/DarkEnergyBall2.cs | 1 - Projectiles/Boss/DoGBeam.cs | 1 - Projectiles/Boss/DoGBeamPortal.cs | 1 - Projectiles/Boss/EssenceDust.cs | 2 -- Projectiles/Boss/ProfanedSpear.cs | 1 - Projectiles/Boss/RedLightning.cs | 1 - Projectiles/Boss/RedLightningFeather.cs | 1 - Projectiles/Boss/SignusScythe.cs | 1 - 24 files changed, 13 insertions(+), 79 deletions(-) diff --git a/NPCs/Bumblebirb/Bumblefuck.cs b/NPCs/Bumblebirb/Bumblefuck.cs index b6429c129c..b6374ffd48 100644 --- a/NPCs/Bumblebirb/Bumblefuck.cs +++ b/NPCs/Bumblebirb/Bumblefuck.cs @@ -111,12 +111,6 @@ namespace CalamityMod.NPCs.Bumblebirb CalamityAI.BumblebirbAI(NPC, Mod); } - public override bool CanHitPlayer(Player target, ref int cooldownSlot) - { - cooldownSlot = 1; - return true; - } - public override void FindFrame(int frameHeight) { CalamityGlobalNPC calamityGlobalNPC = NPC.Calamity(); diff --git a/NPCs/Bumblebirb/Bumblefuck2.cs b/NPCs/Bumblebirb/Bumblefuck2.cs index 3802f366cb..13564cb88a 100644 --- a/NPCs/Bumblebirb/Bumblefuck2.cs +++ b/NPCs/Bumblebirb/Bumblefuck2.cs @@ -120,12 +120,6 @@ namespace CalamityMod.NPCs.Bumblebirb return false; } - public override bool CanHitPlayer(Player target, ref int cooldownSlot) - { - cooldownSlot = 1; - return true; - } - public override void HitEffect(int hitDirection, double damage) { for (int k = 0; k < 5; k++) diff --git a/NPCs/CalamityAI.cs b/NPCs/CalamityAI.cs index 8910196082..f64d9ea807 100644 --- a/NPCs/CalamityAI.cs +++ b/NPCs/CalamityAI.cs @@ -117,17 +117,16 @@ namespace CalamityMod.NPCs bool doSpiral = false; if (head && calamityGlobalNPC.newAI[0] == 1f && calamityGlobalNPC.newAI[2] == 1f && revenge) { - if (Vector2.Distance(npc.Center, player.Center) < 1000f) + doSpiral = calamityGlobalNPC.newAI[1] == 0f && calamityGlobalNPC.newAI[3] >= spiralGateValue; + if (Vector2.Distance(npc.Center, player.Center) < 1000f || doSpiral) calamityGlobalNPC.newAI[3] += 1f; - doSpiral = calamityGlobalNPC.newAI[1] == 0f && calamityGlobalNPC.newAI[3] >= spiralGateValue; if (doSpiral) { npc.localAI[3] = colorFadeTimeAfterSpiral; - float acidMistBarfDivisor = malice ? 2f : death ? 3f : 4f; - float toxicCloudBarfDivisor = malice ? 20f : death ? 30f : 40f; // Vomit acid mist + float acidMistBarfDivisor = (float)Math.Floor(malice ? 4f : death ? 5f : 6f) * (phase3 ? 1.5f : 1f); if (calamityGlobalNPC.newAI[3] % acidMistBarfDivisor == 0f) { if (Main.netMode != NetmodeID.MultiplayerClient) @@ -143,6 +142,7 @@ namespace CalamityMod.NPCs } // Vomit circular spreads of acid clouds while in phase 3 + float toxicCloudBarfDivisor = malice ? 20f : death ? 30f : 40f; if (calamityGlobalNPC.newAI[3] % toxicCloudBarfDivisor == 0f && phase3) { if (Main.netMode != NetmodeID.MultiplayerClient) diff --git a/NPCs/CeaselessVoid/CeaselessVoid.cs b/NPCs/CeaselessVoid/CeaselessVoid.cs index 0bad05fcca..6cea11bae2 100644 --- a/NPCs/CeaselessVoid/CeaselessVoid.cs +++ b/NPCs/CeaselessVoid/CeaselessVoid.cs @@ -110,8 +110,6 @@ namespace CalamityMod.NPCs.CeaselessVoid public override bool CanHitPlayer(Player target, ref int cooldownSlot) { - cooldownSlot = 1; - Rectangle targetHitbox = target.Hitbox; float dist1 = Vector2.Distance(NPC.Center, targetHitbox.TopLeft()); diff --git a/NPCs/CeaselessVoid/DarkEnergy.cs b/NPCs/CeaselessVoid/DarkEnergy.cs index fa914f6352..179becce31 100644 --- a/NPCs/CeaselessVoid/DarkEnergy.cs +++ b/NPCs/CeaselessVoid/DarkEnergy.cs @@ -273,8 +273,6 @@ namespace CalamityMod.NPCs.CeaselessVoid public override bool CanHitPlayer(Player target, ref int cooldownSlot) { - cooldownSlot = 1; - Rectangle targetHitbox = target.Hitbox; float dist1 = Vector2.Distance(NPC.Center, targetHitbox.TopLeft()); diff --git a/NPCs/NormalNPCs/WildBumblefuck.cs b/NPCs/NormalNPCs/WildBumblefuck.cs index bf5d8ba03c..99c23ef40f 100644 --- a/NPCs/NormalNPCs/WildBumblefuck.cs +++ b/NPCs/NormalNPCs/WildBumblefuck.cs @@ -118,12 +118,6 @@ namespace CalamityMod.NPCs.NormalNPCs return false; } - public override bool CanHitPlayer(Player target, ref int cooldownSlot) - { - cooldownSlot = 1; - return true; - } - public override void HitEffect(int hitDirection, double damage) { for (int k = 0; k < 5; k++) diff --git a/NPCs/ProfanedGuardians/ProfanedGuardianBoss.cs b/NPCs/ProfanedGuardians/ProfanedGuardianBoss.cs index d165f41bfe..82ea345ba2 100644 --- a/NPCs/ProfanedGuardians/ProfanedGuardianBoss.cs +++ b/NPCs/ProfanedGuardians/ProfanedGuardianBoss.cs @@ -466,12 +466,6 @@ namespace CalamityMod.NPCs.ProfanedGuardians return false; } - public override bool CanHitPlayer(Player target, ref int cooldownSlot) - { - cooldownSlot = 1; - return true; - } - public override void BossLoot(ref string name, ref int potionType) { name = "A Profaned Guardian"; diff --git a/NPCs/ProfanedGuardians/ProfanedGuardianBoss2.cs b/NPCs/ProfanedGuardians/ProfanedGuardianBoss2.cs index 68692df642..9826c824a8 100644 --- a/NPCs/ProfanedGuardians/ProfanedGuardianBoss2.cs +++ b/NPCs/ProfanedGuardians/ProfanedGuardianBoss2.cs @@ -365,12 +365,6 @@ namespace CalamityMod.NPCs.ProfanedGuardians return false; } - public override bool CanHitPlayer(Player target, ref int cooldownSlot) - { - cooldownSlot = 1; - return true; - } - public override void ModifyNPCLoot(NPCLoot npcLoot) => npcLoot.Add(ModContent.ItemType(), 4); public override void BossLoot(ref string name, ref int potionType) diff --git a/NPCs/ProfanedGuardians/ProfanedGuardianBoss3.cs b/NPCs/ProfanedGuardians/ProfanedGuardianBoss3.cs index 44086c3735..0b59e04500 100644 --- a/NPCs/ProfanedGuardians/ProfanedGuardianBoss3.cs +++ b/NPCs/ProfanedGuardians/ProfanedGuardianBoss3.cs @@ -213,12 +213,6 @@ namespace CalamityMod.NPCs.ProfanedGuardians return false; } - public override bool CanHitPlayer(Player target, ref int cooldownSlot) - { - cooldownSlot = 1; - return true; - } - public override void ModifyNPCLoot(NPCLoot npcLoot) => npcLoot.Add(ModContent.ItemType(), 4); public override void BossLoot(ref string name, ref int potionType) diff --git a/NPCs/Signus/CosmicLantern.cs b/NPCs/Signus/CosmicLantern.cs index a9275317cb..05af6b6543 100644 --- a/NPCs/Signus/CosmicLantern.cs +++ b/NPCs/Signus/CosmicLantern.cs @@ -159,7 +159,6 @@ namespace CalamityMod.NPCs.Signus public override bool CanHitPlayer(Player target, ref int cooldownSlot) { - cooldownSlot = 1; return NPC.alpha == 0; } diff --git a/NPCs/Signus/Signus.cs b/NPCs/Signus/Signus.cs index a284ce6f52..b5f3f05c88 100644 --- a/NPCs/Signus/Signus.cs +++ b/NPCs/Signus/Signus.cs @@ -846,8 +846,6 @@ namespace CalamityMod.NPCs.Signus // Can only hit the target if within certain distance public override bool CanHitPlayer(Player target, ref int cooldownSlot) { - cooldownSlot = 1; - Rectangle targetHitbox = target.Hitbox; float dist1 = Vector2.Distance(NPC.Center, targetHitbox.TopLeft()); diff --git a/NPCs/StormWeaver/StormWeaverBody.cs b/NPCs/StormWeaver/StormWeaverBody.cs index 184231a0b3..bddae5aeb4 100644 --- a/NPCs/StormWeaver/StormWeaverBody.cs +++ b/NPCs/StormWeaver/StormWeaverBody.cs @@ -304,12 +304,6 @@ namespace CalamityMod.NPCs.StormWeaver return false; } - public override bool CanHitPlayer(Player target, ref int cooldownSlot) - { - cooldownSlot = 1; - return true; - } - public override void OnHitPlayer(Player player, int damage, bool crit) { bool malice = CalamityWorld.malice || BossRushEvent.BossRushActive; diff --git a/NPCs/StormWeaver/StormWeaverHead.cs b/NPCs/StormWeaver/StormWeaverHead.cs index 9c8b20e067..4e113b51ab 100644 --- a/NPCs/StormWeaver/StormWeaverHead.cs +++ b/NPCs/StormWeaver/StormWeaverHead.cs @@ -256,6 +256,7 @@ namespace CalamityMod.NPCs.StormWeaver { NPC.localAI[1] = 0f; calamityGlobalNPC.newAI[0] = 0f; + calamityGlobalNPC.newAI[2] = 0f; NPC.TargetClosest(false); NPC.velocity.Y -= 3f; @@ -391,8 +392,10 @@ namespace CalamityMod.NPCs.StormWeaver } } - if (calamityGlobalNPC.newAI[2] == projectileGateValue) + if (calamityGlobalNPC.newAI[2] >= projectileGateValue) { + calamityGlobalNPC.newAI[2] = 0f; + // Dictates whether Storm Weaver will use frost or tornadoes if (phase4) calamityGlobalNPC.newAI[3] += 1f; @@ -465,8 +468,10 @@ namespace CalamityMod.NPCs.StormWeaver // Summon tornadoes if (useTornadoes) { - if (calamityGlobalNPC.newAI[2] == projectileGateValue) + if (calamityGlobalNPC.newAI[2] >= projectileGateValue) { + calamityGlobalNPC.newAI[2] = 0f; + // Dictates whether Storm Weaver will use frost or tornadoes calamityGlobalNPC.newAI[3] += 1f; @@ -820,12 +825,6 @@ namespace CalamityMod.NPCs.StormWeaver return false; } - public override bool CanHitPlayer(Player target, ref int cooldownSlot) - { - cooldownSlot = 1; - return true; - } - public override void OnHitPlayer(Player player, int damage, bool crit) { bool malice = CalamityWorld.malice || BossRushEvent.BossRushActive; diff --git a/NPCs/StormWeaver/StormWeaverTail.cs b/NPCs/StormWeaver/StormWeaverTail.cs index 55dfac3378..b5232a9b2f 100644 --- a/NPCs/StormWeaver/StormWeaverTail.cs +++ b/NPCs/StormWeaver/StormWeaverTail.cs @@ -304,12 +304,6 @@ namespace CalamityMod.NPCs.StormWeaver return false; } - public override bool CanHitPlayer(Player target, ref int cooldownSlot) - { - cooldownSlot = 1; - return true; - } - public override void OnHitPlayer(Player player, int damage, bool crit) { bool malice = CalamityWorld.malice || BossRushEvent.BossRushActive; diff --git a/NPCs/VanillaNPCOverrides/Bosses/EmpressofLightAI.cs b/NPCs/VanillaNPCOverrides/Bosses/EmpressofLightAI.cs index 726e1f5e54..2587b9fe1e 100644 --- a/NPCs/VanillaNPCOverrides/Bosses/EmpressofLightAI.cs +++ b/NPCs/VanillaNPCOverrides/Bosses/EmpressofLightAI.cs @@ -797,8 +797,8 @@ namespace CalamityMod.NPCs.VanillaNPCOverrides.Bosses npc.velocity *= 0.92f; npc.ai[1] += 1f; - extraPhaseTime = 30f * lessTimeSpentPerPhaseMultiplier; - if (npc.ai[1] >= 90f + extraPhaseTime) + extraPhaseTime = 60f * lessTimeSpentPerPhaseMultiplier; + if (npc.ai[1] >= 180f + extraPhaseTime) { npc.ai[0] = 1f; npc.ai[1] = 0f; diff --git a/Projectiles/Boss/DarkEnergyBall.cs b/Projectiles/Boss/DarkEnergyBall.cs index a17e1bd0d1..bd247df10c 100644 --- a/Projectiles/Boss/DarkEnergyBall.cs +++ b/Projectiles/Boss/DarkEnergyBall.cs @@ -28,7 +28,6 @@ namespace CalamityMod.Projectiles.Boss Projectile.timeLeft = 600; Projectile.penetrate = -1; Projectile.Opacity = 0f; - CooldownSlot = 1; } public override void AI() diff --git a/Projectiles/Boss/DarkEnergyBall2.cs b/Projectiles/Boss/DarkEnergyBall2.cs index 79679de462..a50b60cb32 100644 --- a/Projectiles/Boss/DarkEnergyBall2.cs +++ b/Projectiles/Boss/DarkEnergyBall2.cs @@ -30,7 +30,6 @@ namespace CalamityMod.Projectiles.Boss Projectile.timeLeft = 600; Projectile.penetrate = -1; Projectile.Opacity = 0f; - CooldownSlot = 1; } public override void AI() diff --git a/Projectiles/Boss/DoGBeam.cs b/Projectiles/Boss/DoGBeam.cs index cecaeb7367..dd21a9aecf 100644 --- a/Projectiles/Boss/DoGBeam.cs +++ b/Projectiles/Boss/DoGBeam.cs @@ -23,7 +23,6 @@ namespace CalamityMod.Projectiles.Boss Projectile.tileCollide = false; Projectile.penetrate = 1; Projectile.timeLeft = 960; - CooldownSlot = 1; } public override void AI() diff --git a/Projectiles/Boss/DoGBeamPortal.cs b/Projectiles/Boss/DoGBeamPortal.cs index e11d0abf07..0395bfc714 100644 --- a/Projectiles/Boss/DoGBeamPortal.cs +++ b/Projectiles/Boss/DoGBeamPortal.cs @@ -31,7 +31,6 @@ namespace CalamityMod.Projectiles.Boss Projectile.tileCollide = false; Projectile.timeLeft = 600; Projectile.penetrate = -1; - CooldownSlot = 1; } public override void SendExtraAI(BinaryWriter writer) diff --git a/Projectiles/Boss/EssenceDust.cs b/Projectiles/Boss/EssenceDust.cs index a6c17e75fe..577839a889 100644 --- a/Projectiles/Boss/EssenceDust.cs +++ b/Projectiles/Boss/EssenceDust.cs @@ -23,12 +23,10 @@ namespace CalamityMod.Projectiles.Boss Projectile.tileCollide = false; Projectile.penetrate = -1; Projectile.timeLeft = 60; - CooldownSlot = 1; } public override void AI() { - Projectile.velocity *= 0.985f; Lighting.AddLight(Projectile.Center, 0.45f, 0f, 0.55f); for (int num468 = 0; num468 < 5; num468++) { diff --git a/Projectiles/Boss/ProfanedSpear.cs b/Projectiles/Boss/ProfanedSpear.cs index 47788f1558..e24a61d7c8 100644 --- a/Projectiles/Boss/ProfanedSpear.cs +++ b/Projectiles/Boss/ProfanedSpear.cs @@ -26,7 +26,6 @@ namespace CalamityMod.Projectiles.Boss Projectile.penetrate = -1; Projectile.alpha = 255; Projectile.timeLeft = 300; - CooldownSlot = 1; } public override void SendExtraAI(BinaryWriter writer) diff --git a/Projectiles/Boss/RedLightning.cs b/Projectiles/Boss/RedLightning.cs index 94e449c12e..6986b2889e 100644 --- a/Projectiles/Boss/RedLightning.cs +++ b/Projectiles/Boss/RedLightning.cs @@ -31,7 +31,6 @@ namespace CalamityMod.Projectiles.Boss Projectile.tileCollide = false; Projectile.extraUpdates = 20; Projectile.timeLeft = 1260; - CooldownSlot = 1; } public override void SendExtraAI(BinaryWriter writer) diff --git a/Projectiles/Boss/RedLightningFeather.cs b/Projectiles/Boss/RedLightningFeather.cs index c508806ff4..ae13970215 100644 --- a/Projectiles/Boss/RedLightningFeather.cs +++ b/Projectiles/Boss/RedLightningFeather.cs @@ -27,7 +27,6 @@ namespace CalamityMod.Projectiles.Boss Projectile.tileCollide = false; Projectile.penetrate = -1; Projectile.timeLeft = 1200; - CooldownSlot = 1; } public override void AI() diff --git a/Projectiles/Boss/SignusScythe.cs b/Projectiles/Boss/SignusScythe.cs index cd9ea634bb..31217f453f 100644 --- a/Projectiles/Boss/SignusScythe.cs +++ b/Projectiles/Boss/SignusScythe.cs @@ -28,7 +28,6 @@ namespace CalamityMod.Projectiles.Boss Projectile.timeLeft = 420; Projectile.alpha = 100; Projectile.penetrate = -1; - CooldownSlot = 1; } public override void SendExtraAI(BinaryWriter writer) From 075a5f4b3835e115e7d3beebb8333163f54c04d0 Mon Sep 17 00:00:00 2001 From: mountaindrew10 Date: Sat, 11 Jun 2022 12:14:03 -0500 Subject: [PATCH 03/11] 1 - Aureus doesn't fire projectiles for 6 seconds after teleporting and made his homing projectiles have a slower max velocity. --- NPCs/CalamityAI.cs | 26 ++++++++++++++++++++------ Projectiles/Boss/AstralFlame.cs | 2 +- 2 files changed, 21 insertions(+), 7 deletions(-) diff --git a/NPCs/CalamityAI.cs b/NPCs/CalamityAI.cs index f64d9ea807..2c162a18e2 100644 --- a/NPCs/CalamityAI.cs +++ b/NPCs/CalamityAI.cs @@ -2333,11 +2333,20 @@ namespace CalamityMod.NPCs bool postMoonLordBuff = NPC.downedMoonlord && !BossRushEvent.BossRushActive; npc.damage = postMoonLordBuff ? npc.defDamage * 2 : npc.defDamage; + // Don't fire projectiles and don't increment phase timers for 6 seconds after the teleport phase to avoid cheap bullshit + float noProjectileOrPhaseIncrementTime = 360f; + // Don't deal contact damage for 2 seconds after the teleport phase to avoid cheap bullshit - if (npc.localAI[3] > 0f) + float noContactDamageTime = 120f; + + bool dontDealContactDamage = npc.localAI[3] > noProjectileOrPhaseIncrementTime - noContactDamageTime; + bool dontAttack = npc.localAI[3] > 0f; + if (dontAttack) { npc.localAI[3] -= 1f; - npc.damage = 0; + + if (dontDealContactDamage) + npc.damage = 0; } // Get a target @@ -2437,7 +2446,8 @@ namespace CalamityMod.NPCs // Fire projectiles while walking, teleporting, or falling if (npc.ai[0] == 2f || npc.ai[0] >= 5f) { - npc.localAI[0] += npc.ai[0] == 2f ? 1f : astralFlameBarrageTimerIncrement; + if (!dontAttack) + npc.localAI[0] += npc.ai[0] == 2f ? 1f : astralFlameBarrageTimerIncrement; float astralFlameBarrageGateValue = phase4 ? 30f : 60f; if (npc.localAI[0] >= astralFlameBarrageGateValue) @@ -2649,7 +2659,9 @@ namespace CalamityMod.NPCs } // Walk for a maximum of 6 seconds - npc.ai[1] += 1f; + if (!dontAttack) + npc.ai[1] += 1f; + if (npc.ai[1] >= ((malice ? 270f : 360f) - (death ? 90f * (1f - lifeRatio) : 0f))) { // Collide with tiles again @@ -2678,7 +2690,9 @@ namespace CalamityMod.NPCs npc.velocity.X *= 0.8f; // Half second delay before jumping - npc.ai[1] += 1f; + if (!dontAttack) + npc.ai[1] += 1f; + if (npc.ai[1] >= 30f) { npc.ai[1] = -20f; @@ -3062,7 +3076,7 @@ namespace CalamityMod.NPCs npc.alpha = 0; npc.ai[0] = phase3 ? (Main.rand.NextBool() ? 3f : 2f) : (Main.rand.NextBool() ? 1f : 2f); npc.ai[2] = 0f; - npc.localAI[3] = 120f; + npc.localAI[3] = noProjectileOrPhaseIncrementTime; npc.netUpdate = true; } diff --git a/Projectiles/Boss/AstralFlame.cs b/Projectiles/Boss/AstralFlame.cs index 4378ff74bd..9195214274 100644 --- a/Projectiles/Boss/AstralFlame.cs +++ b/Projectiles/Boss/AstralFlame.cs @@ -83,7 +83,7 @@ namespace CalamityMod.Projectiles.Boss Projectile.velocity.Normalize(); Projectile.velocity *= scaleFactor2; } - else if (Projectile.velocity.Length() < 18f) + else if (Projectile.velocity.Length() < 16f) Projectile.velocity *= 1.01f; Projectile.ai[1] += 1f; From 01eb15677940c0aeedb1ecf246d5807e6d33eda1 Mon Sep 17 00:00:00 2001 From: mountaindrew10 Date: Sat, 11 Jun 2022 12:26:40 -0500 Subject: [PATCH 04/11] 1 - Increased Rev+ Empress of Light DR during sun dance. --- NPCs/VanillaNPCOverrides/Bosses/EmpressofLightAI.cs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/NPCs/VanillaNPCOverrides/Bosses/EmpressofLightAI.cs b/NPCs/VanillaNPCOverrides/Bosses/EmpressofLightAI.cs index 2587b9fe1e..42f2eb6018 100644 --- a/NPCs/VanillaNPCOverrides/Bosses/EmpressofLightAI.cs +++ b/NPCs/VanillaNPCOverrides/Bosses/EmpressofLightAI.cs @@ -24,6 +24,9 @@ namespace CalamityMod.NPCs.VanillaNPCOverrides.Bosses // Reset damage every frame. npc.damage = npc.defDamage; + // Reset DR every frame. + calamityGlobalNPC.DR = 0.15f; + // Percent life remaining. float lifeRatio = npc.life / (float)npc.lifeMax; @@ -557,6 +560,9 @@ namespace CalamityMod.NPCs.VanillaNPCOverrides.Bosses // Avoid cheap bullshit. npc.damage = 0; + // Increase durability. + calamityGlobalNPC.DR = 0.575f; + int totalSunDances = 3; float sunDanceGateValue = death ? 40f : 50f; float totalSunDancePhaseTime = totalSunDances * sunDanceGateValue; From d2205941c2e2b7877574fedc58ad2eae548c06e3 Mon Sep 17 00:00:00 2001 From: Ozzatron Date: Sat, 11 Jun 2022 12:15:12 -0400 Subject: [PATCH 05/11] 1 - Renamed (almost) all armors internally 2 - Moved all armors into folders for organization --- CalPlayer/CalamityPlayer.cs | 17 +++++++---- CalPlayer/CalamityPlayerDrawEffects.cs | 2 +- CalPlayer/CalamityPlayerMiscEffects.cs | 5 ++-- CalPlayer/CalamityPlayerOnHit.cs | 10 +++---- CalPlayer/Dashes/GodslayerArmorDash.cs | 2 +- .../DrawLayers/FathomSwarmerTailLayer.cs | 2 +- DataStructures/GemTechArmorState.cs | 4 +-- Items/Accessories/OrnateShield.cs | 2 +- Items/Accessories/Wings/ExodusWings.cs | 4 +-- Items/Accessories/Wings/HadalMantle.cs | 2 +- Items/Accessories/Wings/SilvaWings.cs | 4 +-- Items/Accessories/Wings/StarlightWings.cs | 2 +- Items/Accessories/Wings/TarragonWings.cs | 8 +++--- .../{ => Aerospec}/AerospecBreastplate.cs | 2 +- .../{ => Aerospec}/AerospecBreastplate.png | Bin .../AerospecBreastplate_Body.png | Bin Items/Armor/{ => Aerospec}/AerospecHat.cs | 4 +-- Items/Armor/{ => Aerospec}/AerospecHat.png | Bin .../Armor/{ => Aerospec}/AerospecHat_Head.png | Bin .../Armor/{ => Aerospec}/AerospecHeadgear.cs | 4 +-- .../Armor/{ => Aerospec}/AerospecHeadgear.png | Bin .../{ => Aerospec}/AerospecHeadgear_Head.png | Bin Items/Armor/{ => Aerospec}/AerospecHelm.cs | 4 +-- Items/Armor/{ => Aerospec}/AerospecHelm.png | Bin .../{ => Aerospec}/AerospecHelm_Head.png | Bin Items/Armor/{ => Aerospec}/AerospecHelmet.cs | 8 +++--- Items/Armor/{ => Aerospec}/AerospecHelmet.png | Bin .../{ => Aerospec}/AerospecHelmet_Head.png | Bin Items/Armor/{ => Aerospec}/AerospecHood.cs | 4 +-- Items/Armor/{ => Aerospec}/AerospecHood.png | Bin .../{ => Aerospec}/AerospecHood_Head.png | Bin .../Armor/{ => Aerospec}/AerospecLeggings.cs | 2 +- .../Armor/{ => Aerospec}/AerospecLeggings.png | Bin .../{ => Aerospec}/AerospecLeggings_Legs.png | Bin Items/Armor/{ => Astral}/AstralBreastplate.cs | 2 +- .../Armor/{ => Astral}/AstralBreastplate.png | Bin .../{ => Astral}/AstralBreastplate_Body.png | Bin Items/Armor/{ => Astral}/AstralHelm.cs | 4 +-- Items/Armor/{ => Astral}/AstralHelm.png | Bin Items/Armor/{ => Astral}/AstralHelm_Head.png | Bin Items/Armor/{ => Astral}/AstralLeggings.cs | 2 +- Items/Armor/{ => Astral}/AstralLeggings.png | Bin .../{ => Astral}/AstralLeggings_Legs.png | Bin .../Armor/{ => Auric}/AuricTeslaBodyArmor.cs | 12 +++++--- .../Armor/{ => Auric}/AuricTeslaBodyArmor.png | Bin .../{ => Auric}/AuricTeslaBodyArmor_Back.png | Bin .../{ => Auric}/AuricTeslaBodyArmor_Body.png | Bin Items/Armor/{ => Auric}/AuricTeslaCuisses.cs | 8 ++++-- Items/Armor/{ => Auric}/AuricTeslaCuisses.png | Bin .../{ => Auric}/AuricTeslaCuisses_Legs.png | Bin .../{ => Auric}/AuricTeslaHoodedFacemask.cs | 15 ++++++---- .../{ => Auric}/AuricTeslaHoodedFacemask.png | Bin .../AuricTeslaHoodedFacemask_Head.png | Bin .../Armor/{ => Auric}/AuricTeslaPlumedHelm.cs | 14 +++++---- .../{ => Auric}/AuricTeslaPlumedHelm.png | Bin .../{ => Auric}/AuricTeslaPlumedHelm_Head.png | Bin .../Armor/{ => Auric}/AuricTeslaRoyalHelm.cs | 15 ++++++---- .../Armor/{ => Auric}/AuricTeslaRoyalHelm.png | Bin .../{ => Auric}/AuricTeslaRoyalHelm_Head.png | Bin .../{ => Auric}/AuricTeslaSpaceHelmet.cs | 19 ++++++------ .../{ => Auric}/AuricTeslaSpaceHelmet.png | Bin .../AuricTeslaSpaceHelmet_Head.png | Bin .../{ => Auric}/AuricTeslaWireHemmedVisage.cs | 15 ++++++---- .../AuricTeslaWireHemmedVisage.png | Bin .../AuricTeslaWireHemmedVisage_Head.png | Bin .../{ => Bloodflare}/BloodflareBodyArmor.cs | 2 +- .../{ => Bloodflare}/BloodflareBodyArmor.png | Bin .../BloodflareBodyArmor_Body.png | Bin .../{ => Bloodflare}/BloodflareCuisses.cs | 2 +- .../{ => Bloodflare}/BloodflareCuisses.png | Bin .../BloodflareCuisses_Legs.png | Bin .../BloodflareHeadMagic.cs} | 7 +++-- .../BloodflareHeadMagic.png} | Bin .../BloodflareHeadMagic_Head.png} | Bin .../BloodflareHeadMelee.cs} | 7 +++-- .../BloodflareHeadMelee.png} | Bin .../BloodflareHeadMelee_Head.png} | Bin .../BloodflareHeadRanged.cs} | 9 +++--- .../BloodflareHeadRanged.png} | Bin .../BloodflareHeadRanged_Head.png} | Bin .../BloodflareHeadRogue.cs} | 7 +++-- .../BloodflareHeadRogue.png} | Bin .../BloodflareHeadRogue_Head.png} | Bin .../BloodflareHeadSummon.cs} | 7 +++-- .../BloodflareHeadSummon.png} | Bin .../BloodflareHeadSummon_Head.png} | Bin Items/Armor/{ => Brimflame}/BrimflameBoots.cs | 2 +- .../Armor/{ => Brimflame}/BrimflameBoots.png | Bin .../{ => Brimflame}/BrimflameBoots_Legs.png | Bin Items/Armor/{ => Brimflame}/BrimflameRobes.cs | 2 +- .../Armor/{ => Brimflame}/BrimflameRobes.png | Bin .../{ => Brimflame}/BrimflameRobes_Body.png | Bin Items/Armor/{ => Brimflame}/BrimflameScowl.cs | 8 +++--- .../Armor/{ => Brimflame}/BrimflameScowl.png | Bin .../{ => Brimflame}/BrimflameScowl_Head.png | Bin .../{ => Daedalus}/DaedalusBreastplate.cs | 2 +- .../{ => Daedalus}/DaedalusBreastplate.png | Bin .../DaedalusBreastplate_Body.png | Bin .../Armor/{ => Daedalus}/DaedalusHeadMagic.cs | 4 +-- .../{ => Daedalus}/DaedalusHeadMagic.png | Bin .../{ => Daedalus}/DaedalusHeadMagic_Head.png | Bin .../Armor/{ => Daedalus}/DaedalusHeadMelee.cs | 4 +-- .../{ => Daedalus}/DaedalusHeadMelee.png | Bin .../{ => Daedalus}/DaedalusHeadMelee_Head.png | Bin .../{ => Daedalus}/DaedalusHeadRanged.cs | 4 +-- .../{ => Daedalus}/DaedalusHeadRanged.png | Bin .../DaedalusHeadRanged_Head.png | Bin .../Armor/{ => Daedalus}/DaedalusHeadRogue.cs | 4 +-- .../{ => Daedalus}/DaedalusHeadRogue.png | Bin .../{ => Daedalus}/DaedalusHeadRogue_Head.png | Bin .../{ => Daedalus}/DaedalusHeadSummon.cs | 6 ++-- .../{ => Daedalus}/DaedalusHeadSummon.png | Bin .../DaedalusHeadSummon_Head.png | Bin .../Armor/{ => Daedalus}/DaedalusLeggings.cs | 2 +- .../Armor/{ => Daedalus}/DaedalusLeggings.png | Bin .../{ => Daedalus}/DaedalusLeggings_Legs.png | Bin .../{ => Demonshade}/DemonshadeBreastplate.cs | 4 +-- .../DemonshadeBreastplate.png | Bin .../DemonshadeBreastplate_Arms.png | Bin .../DemonshadeBreastplate_Body.png | Bin .../{ => Demonshade}/DemonshadeGreaves.cs | 4 +-- .../{ => Demonshade}/DemonshadeGreaves.png | Bin .../DemonshadeGreaves_Legs.png | Bin .../Armor/{ => Demonshade}/DemonshadeHelm.cs | 12 ++++---- .../Armor/{ => Demonshade}/DemonshadeHelm.png | Bin .../DemonshadeHelm_Extension.png | Bin .../{ => Demonshade}/DemonshadeHelm_Head.png | Bin .../{ => DesertProwler}/DesertProwlerHat.cs | 4 +-- .../{ => DesertProwler}/DesertProwlerHat.png | Bin .../DesertProwlerHat_Head.png | Bin .../{ => DesertProwler}/DesertProwlerPants.cs | 2 +- .../DesertProwlerPants.png | Bin .../DesertProwlerPants_Legs.png | Bin .../{ => DesertProwler}/DesertProwlerShirt.cs | 2 +- .../DesertProwlerShirt.png | Bin .../DesertProwlerShirt_Body.png | Bin .../EmpyreanCloak.cs} | 11 +++---- .../EmpyreanCloak.png} | Bin .../EmpyreanCloak_Arms.png} | Bin .../EmpyreanCloak_Back.png} | Bin .../EmpyreanCloak_Body.png} | Bin .../EmpyreanCloak_Neck.png} | Bin .../EmpyreanCuisses.cs} | 8 +++--- .../EmpyreanCuisses.png} | Bin .../EmpyreanCuisses_Legs.png} | Bin .../EmpyreanMask.cs} | 27 +++++++++--------- .../EmpyreanMask.png} | Bin .../EmpyreanMask_Head.png} | Bin .../MeldTransformation_Arms.png | Bin .../MeldTransformation_Body.png | Bin .../MeldTransformation_Head.png | Bin .../MeldTransformation_Legs.png | Bin .../MeldTransformation_Neck.png | Bin .../FathomSwarmerArmor_Tail.png | Bin .../{ => FathomSwarmer}/FathomSwarmerBoots.cs | 2 +- .../FathomSwarmerBoots.png | Bin .../FathomSwarmerBoots_Legs.png | Bin .../FathomSwarmerBreastplate.cs | 2 +- .../FathomSwarmerBreastplate.png | Bin .../FathomSwarmerBreastplate_Body.png | Bin .../FathomSwarmerVisage.cs | 6 ++-- .../FathomSwarmerVisage.png | Bin .../FathomSwarmerVisage_Head.png | Bin .../{ => Fearmonger}/FearmongerGreathelm.cs | 5 ++-- .../{ => Fearmonger}/FearmongerGreathelm.png | Bin .../FearmongerGreathelm_Head.png | Bin .../{ => Fearmonger}/FearmongerGreaves.cs | 2 +- .../{ => Fearmonger}/FearmongerGreaves.png | Bin .../FearmongerGreaves_Legs.png | Bin .../{ => Fearmonger}/FearmongerPlateMail.cs | 2 +- .../{ => Fearmonger}/FearmongerPlateMail.png | Bin .../FearmongerPlateMail_Body.png | Bin Items/Armor/{ => GemTech}/GemTechBodyArmor.cs | 2 +- .../Armor/{ => GemTech}/GemTechBodyArmor.png | Bin .../{ => GemTech}/GemTechBodyArmor_Body.png | Bin Items/Armor/{ => GemTech}/GemTechHeadgear.cs | 14 ++++----- Items/Armor/{ => GemTech}/GemTechHeadgear.png | Bin .../{ => GemTech}/GemTechHeadgear_Head.png | Bin .../Armor/{ => GemTech}/GemTechSchynbaulds.cs | 2 +- .../{ => GemTech}/GemTechSchynbaulds.png | Bin .../{ => GemTech}/GemTechSchynbaulds_Legs.png | Bin .../{ => GodSlayer}/GodSlayerChestplate.cs | 4 +-- .../{ => GodSlayer}/GodSlayerChestplate.png | Bin .../GodSlayerChestplate_Body.png | Bin .../GodSlayerChestplate_BodyGlow.png | Bin .../GodSlayerHeadMelee.cs} | 9 +++--- .../GodSlayerHeadMelee.png} | Bin .../GodSlayerHeadMelee_Head.png} | Bin .../GodSlayerHeadMelee_HeadGlow.png} | Bin .../GodSlayerHeadRanged.cs} | 9 +++--- .../GodSlayerHeadRanged.png} | Bin .../GodSlayerHeadRanged_Head.png} | Bin .../GodSlayerHeadRanged_HeadGlow.png} | Bin .../GodSlayerHeadRogue.cs} | 9 +++--- .../GodSlayerHeadRogue.png} | Bin .../GodSlayerHeadRogue_Head.png} | Bin .../GodSlayerHeadRogue_HeadGlow.png} | Bin .../{ => GodSlayer}/GodSlayerLeggings.cs | 2 +- .../{ => GodSlayer}/GodSlayerLeggings.png | Bin .../GodSlayerLeggings_Legs.png | Bin .../GodSlayerLeggings_LegsGlow.png | Bin .../{ => Hydrothermic}/HydrothermicArmor.cs | 2 +- .../{ => Hydrothermic}/HydrothermicArmor.png | Bin .../HydrothermicArmor_Body.png | Bin .../HydrothermicHeadMagic.cs | 4 +-- .../HydrothermicHeadMagic.png | Bin .../HydrothermicHeadMagic_Head.png | Bin .../HydrothermicHeadMelee.cs | 6 ++-- .../HydrothermicHeadMelee.png | Bin .../HydrothermicHeadMelee_Head.png | Bin .../HydrothermicHeadRanged.cs | 4 +-- .../HydrothermicHeadRanged.png | Bin .../HydrothermicHeadRanged_Head.png | Bin .../HydrothermicHeadRogue.cs | 4 +-- .../HydrothermicHeadRogue.png | Bin .../HydrothermicHeadRogue_Head.png | Bin .../HydrothermicHeadSummon.cs | 8 +++--- .../HydrothermicHeadSummon.png | Bin .../HydrothermicHeadSummon_Head.png | Bin .../HydrothermicSubligar.cs | 2 +- .../HydrothermicSubligar.png | Bin .../HydrothermicSubligar_Legs.png | Bin .../{ => Mollusk}/MolluskShelleggings.cs | 2 +- .../{ => Mollusk}/MolluskShelleggings.png | Bin .../MolluskShelleggings_Legs.png | Bin Items/Armor/{ => Mollusk}/MolluskShellmet.cs | 6 ++-- Items/Armor/{ => Mollusk}/MolluskShellmet.png | Bin .../{ => Mollusk}/MolluskShellmet_Head.png | Bin .../Armor/{ => Mollusk}/MolluskShellplate.cs | 2 +- .../Armor/{ => Mollusk}/MolluskShellplate.png | Bin .../{ => Mollusk}/MolluskShellplate_Body.png | Bin .../{ => OmegaBlue}/OmegaBlueChestplate.cs | 4 +-- .../{ => OmegaBlue}/OmegaBlueChestplate.png | Bin .../OmegaBlueChestplate_Body.png | Bin .../Armor/{ => OmegaBlue}/OmegaBlueHelmet.cs | 16 +++++------ .../Armor/{ => OmegaBlue}/OmegaBlueHelmet.png | Bin .../{ => OmegaBlue}/OmegaBlueHelmet_Head.png | Bin .../OmegaBlueHelmet_HeadMadness.png | Bin .../OmegaBlueTentacles.cs} | 5 ++-- .../OmegaBlueTentacles.png} | Bin .../OmegaBlueTentacles_Legs.png} | Bin .../{ => PlagueReaper}/PlagueReaperMask.cs | 12 ++++---- .../{ => PlagueReaper}/PlagueReaperMask.png | Bin .../PlagueReaperMask_Head.png | Bin .../PlagueReaperStriders.cs | 2 +- .../PlagueReaperStriders.png | Bin .../PlagueReaperStriders_Legs.png | Bin .../{ => PlagueReaper}/PlagueReaperVest.cs | 2 +- .../{ => PlagueReaper}/PlagueReaperVest.png | Bin .../PlagueReaperVest_Body.png | Bin .../PlaguebringerCarapace.cs | 2 +- .../PlaguebringerCarapace.png | Bin .../PlaguebringerCarapace_Back.png | Bin .../PlaguebringerCarapace_Body.png | Bin .../PlaguebringerPistons.cs | 8 +++--- .../PlaguebringerPistons.png | Bin .../PlaguebringerPistons_Legs.png | Bin .../{ => Plaguebringer}/PlaguebringerVisor.cs | 6 ++-- .../PlaguebringerVisor.png | Bin .../PlaguebringerVisor_Head.png | Bin .../Armor/{ => Prismatic}/PrismaticGreaves.cs | 2 +- .../{ => Prismatic}/PrismaticGreaves.png | Bin .../{ => Prismatic}/PrismaticGreaves_Legs.png | Bin .../Armor/{ => Prismatic}/PrismaticHelmet.cs | 4 +-- .../Armor/{ => Prismatic}/PrismaticHelmet.png | Bin .../{ => Prismatic}/PrismaticHelmet_Head.png | Bin .../Armor/{ => Prismatic}/PrismaticRegalia.cs | 2 +- .../{ => Prismatic}/PrismaticRegalia.png | Bin .../{ => Prismatic}/PrismaticRegalia_Body.png | Bin Items/Armor/{ => Reaver}/ReaverCuisses.cs | 2 +- Items/Armor/{ => Reaver}/ReaverCuisses.png | Bin .../Armor/{ => Reaver}/ReaverCuisses_Legs.png | Bin .../ReaverHeadExplore.cs} | 25 ++++++++-------- .../ReaverHeadExplore.png} | Bin .../ReaverHeadExplore_Head.png} | Bin .../ReaverHeadMobility.cs} | 7 +++-- .../ReaverHeadMobility.png} | Bin .../ReaverHeadMobility_Head.png} | Bin .../ReaverHeadTank.cs} | 7 +++-- .../ReaverHeadTank.png} | Bin .../ReaverHeadTank_Head.png} | Bin Items/Armor/{ => Reaver}/ReaverScaleMail.cs | 2 +- Items/Armor/{ => Reaver}/ReaverScaleMail.png | Bin .../{ => Reaver}/ReaverScaleMail_Body.png | Bin Items/Armor/{ => Silva}/SilvaArmor.cs | 2 +- Items/Armor/{ => Silva}/SilvaArmor.png | Bin Items/Armor/{ => Silva}/SilvaArmor_Body.png | Bin .../SilvaHeadMagic.cs} | 7 +++-- .../SilvaHeadMagic.png} | Bin .../SilvaHeadMagic_Head.png} | Bin .../SilvaHeadSummon.cs} | 11 +++---- .../SilvaHeadSummon.png} | Bin .../SilvaHeadSummon_Head.png} | Bin Items/Armor/{ => Silva}/SilvaLeggings.cs | 2 +- Items/Armor/{ => Silva}/SilvaLeggings.png | Bin .../Armor/{ => Silva}/SilvaLeggings_Legs.png | Bin .../SnowRuffianChestplate.cs | 2 +- .../SnowRuffianChestplate.png | Bin .../SnowRuffianChestplate_Arms.png | Bin .../SnowRuffianChestplate_Body.png | Bin .../{ => SnowRuffian}/SnowRuffianGreaves.cs | 2 +- .../{ => SnowRuffian}/SnowRuffianGreaves.png | Bin .../SnowRuffianGreaves_Legs.png | Bin .../{ => SnowRuffian}/SnowRuffianMask.cs | 6 ++-- .../{ => SnowRuffian}/SnowRuffianMask.png | Bin .../SnowRuffianMask_Head.png | Bin .../{ => SnowRuffian}/SnowRuffianWings.png | Bin Items/Armor/{ => Statigel}/StatigelArmor.cs | 2 +- Items/Armor/{ => Statigel}/StatigelArmor.png | Bin .../{ => Statigel}/StatigelArmor_Body.png | Bin Items/Armor/{ => Statigel}/StatigelGreaves.cs | 2 +- .../Armor/{ => Statigel}/StatigelGreaves.png | Bin .../{ => Statigel}/StatigelGreaves_Legs.png | Bin .../StatigelHeadMagic.cs} | 7 +++-- .../StatigelHeadMagic.png} | Bin .../StatigelHeadMagic_Head.png} | Bin .../StatigelHeadMelee.cs} | 7 +++-- .../StatigelHeadMelee.png} | Bin .../StatigelHeadMelee_Head.png} | Bin .../StatigelHeadRanged.cs} | 7 +++-- .../StatigelHeadRanged.png} | Bin .../StatigelHeadRanged_Head.png} | Bin .../StatigelHeadRogue.cs} | 7 +++-- .../StatigelHeadRogue.png} | Bin .../StatigelHeadRogue_Head.png} | Bin .../StatigelHeadSummon.cs} | 13 +++++---- .../StatigelHeadSummon.png} | Bin .../StatigelHeadSummon_Head.png} | Bin .../SulphurousBreastplate.cs} | 5 ++-- .../SulphurousBreastplate.png} | Bin .../SulphurousBreastplate_Body.png} | Bin .../SulphurousHelmet.cs} | 9 +++--- .../SulphurousHelmet.png} | Bin .../SulphurousHelmet_Head.png} | Bin .../SulphurousLeggings.cs} | 5 ++-- .../SulphurousLeggings.png} | Bin .../SulphurousLeggings_Legs.png} | Bin .../{ => Tarragon}/TarragonBreastplate.cs | 2 +- .../{ => Tarragon}/TarragonBreastplate.png | Bin .../TarragonBreastplate_Body.png | Bin .../TarragonHeadMagic.cs} | 7 +++-- .../TarragonHeadMagic.png} | Bin .../TarragonHeadMagic_Head.png} | Bin .../TarragonHeadMelee.cs} | 9 +++--- .../TarragonHeadMelee.png} | Bin .../TarragonHeadMelee_Head.png} | Bin .../TarragonHeadRanged.cs} | 7 +++-- .../TarragonHeadRanged.png} | Bin .../TarragonHeadRanged_Head.png} | Bin .../TarragonHeadRogue.cs} | 7 +++-- .../TarragonHeadRogue.png} | Bin .../TarragonHeadRogue_Head.png} | Bin .../TarragonHeadSummon.cs} | 7 +++-- .../TarragonHeadSummon.png} | Bin .../TarragonHeadSummon_Head.png} | Bin .../Armor/{ => Tarragon}/TarragonLeggings.cs | 2 +- .../Armor/{ => Tarragon}/TarragonLeggings.png | Bin .../{ => Tarragon}/TarragonLeggings_Legs.png | Bin .../Armor/{ => TitanHeart}/TitanHeartBoots.cs | 2 +- .../{ => TitanHeart}/TitanHeartBoots.png | Bin .../{ => TitanHeart}/TitanHeartBoots_Legs.png | Bin .../{ => TitanHeart}/TitanHeartMantle.cs | 2 +- .../{ => TitanHeart}/TitanHeartMantle.png | Bin .../TitanHeartMantle_Arms.png | Bin .../TitanHeartMantle_Body.png | Bin .../Armor/{ => TitanHeart}/TitanHeartMask.cs | 6 ++-- .../Armor/{ => TitanHeart}/TitanHeartMask.png | Bin .../{ => TitanHeart}/TitanHeartMask_Head.png | Bin .../Armor/{ => Umbraphile}/UmbraphileBoots.cs | 2 +- .../{ => Umbraphile}/UmbraphileBoots.png | Bin .../{ => Umbraphile}/UmbraphileBoots_Legs.png | Bin .../Armor/{ => Umbraphile}/UmbraphileHood.cs | 4 +-- .../Armor/{ => Umbraphile}/UmbraphileHood.png | Bin .../{ => Umbraphile}/UmbraphileHood_Head.png | Bin .../{ => Umbraphile}/UmbraphileRegalia.cs | 2 +- .../{ => Umbraphile}/UmbraphileRegalia.png | Bin .../UmbraphileRegalia_Arms.png | Bin .../UmbraphileRegalia_Body.png | Bin Items/Armor/Vanity/GodSlayerHornedHelm.cs | 3 +- Items/Armor/Vanity/GodSlayerVisage.cs | 3 +- Items/Armor/Vanity/SilvaHelm.cs | 3 +- Items/Armor/Vanity/SilvaHornedHelm.cs | 3 +- Items/Armor/Vanity/SilvaMask.cs | 3 +- .../Armor/{ => Victide}/VictideBreastplate.cs | 10 +++---- .../{ => Victide}/VictideBreastplate.png | Bin .../{ => Victide}/VictideBreastplate_Body.png | Bin .../{ => Victide}/VictideBreastplate_Bulk.png | Bin .../{ => Victide}/VictideFaulds_Waist.png | Bin Items/Armor/{ => Victide}/VictideGreaves.cs | 4 +-- Items/Armor/{ => Victide}/VictideGreaves.png | Bin .../{ => Victide}/VictideGreaves_Legs.png | Bin Items/Armor/{ => Victide}/VictideHeadMagic.cs | 4 +-- .../Armor/{ => Victide}/VictideHeadMagic.png | Bin .../{ => Victide}/VictideHeadMagic_Head.png | Bin Items/Armor/{ => Victide}/VictideHeadMelee.cs | 4 +-- .../Armor/{ => Victide}/VictideHeadMelee.png | Bin .../{ => Victide}/VictideHeadMelee_Head.png | Bin .../Armor/{ => Victide}/VictideHeadRanged.cs | 4 +-- .../Armor/{ => Victide}/VictideHeadRanged.png | Bin .../{ => Victide}/VictideHeadRanged_Head.png | Bin Items/Armor/{ => Victide}/VictideHeadRogue.cs | 4 +-- .../Armor/{ => Victide}/VictideHeadRogue.png | Bin .../{ => Victide}/VictideHeadRogue_Head.png | Bin .../Armor/{ => Victide}/VictideHeadSummon.cs | 10 +++---- .../Armor/{ => Victide}/VictideHeadSummon.png | Bin .../{ => Victide}/VictideHeadSummon_Head.png | Bin Items/Armor/{ => Wulfrum}/WulfrumArmor.cs | 2 +- Items/Armor/{ => Wulfrum}/WulfrumArmor.png | Bin .../Armor/{ => Wulfrum}/WulfrumArmor_Body.png | Bin .../WulfrumHeadMagic.cs} | 7 +++-- .../WulfrumHeadMagic.png} | Bin .../WulfrumHeadMagic_Head.png} | Bin .../WulfrumHeadMelee.cs} | 5 ++-- .../WulfrumHeadMelee.png} | Bin .../WulfrumHeadMelee_Head.png} | Bin .../WulfrumHeadRanged.cs} | 7 +++-- .../WulfrumHeadRanged.png} | Bin .../WulfrumHeadRanged_Head.png} | Bin .../WulfrumHeadRogue.cs} | 7 +++-- .../WulfrumHeadRogue.png} | Bin .../WulfrumHeadRogue_Head.png} | Bin .../WulfrumHeadSummon.cs} | 5 ++-- .../WulfrumHeadSummon.png} | Bin .../WulfrumHeadSummon_Head.png} | Bin Items/Armor/{ => Wulfrum}/WulfrumLeggings.cs | 2 +- Items/Armor/{ => Wulfrum}/WulfrumLeggings.png | Bin .../{ => Wulfrum}/WulfrumLeggings_Legs.png | Bin Items/CalamityGlobalItemTooltip.cs | 2 +- 428 files changed, 442 insertions(+), 374 deletions(-) rename Items/Armor/{ => Aerospec}/AerospecBreastplate.cs (96%) rename Items/Armor/{ => Aerospec}/AerospecBreastplate.png (100%) rename Items/Armor/{ => Aerospec}/AerospecBreastplate_Body.png (100%) rename Items/Armor/{ => Aerospec}/AerospecHat.cs (95%) rename Items/Armor/{ => Aerospec}/AerospecHat.png (100%) rename Items/Armor/{ => Aerospec}/AerospecHat_Head.png (100%) rename Items/Armor/{ => Aerospec}/AerospecHeadgear.cs (96%) rename Items/Armor/{ => Aerospec}/AerospecHeadgear.png (100%) rename Items/Armor/{ => Aerospec}/AerospecHeadgear_Head.png (100%) rename Items/Armor/{ => Aerospec}/AerospecHelm.cs (95%) rename Items/Armor/{ => Aerospec}/AerospecHelm.png (100%) rename Items/Armor/{ => Aerospec}/AerospecHelm_Head.png (100%) rename Items/Armor/{ => Aerospec}/AerospecHelmet.cs (93%) rename Items/Armor/{ => Aerospec}/AerospecHelmet.png (100%) rename Items/Armor/{ => Aerospec}/AerospecHelmet_Head.png (100%) rename Items/Armor/{ => Aerospec}/AerospecHood.cs (95%) rename Items/Armor/{ => Aerospec}/AerospecHood.png (100%) rename Items/Armor/{ => Aerospec}/AerospecHood_Head.png (100%) rename Items/Armor/{ => Aerospec}/AerospecLeggings.cs (96%) rename Items/Armor/{ => Aerospec}/AerospecLeggings.png (100%) rename Items/Armor/{ => Aerospec}/AerospecLeggings_Legs.png (100%) rename Items/Armor/{ => Astral}/AstralBreastplate.cs (96%) rename Items/Armor/{ => Astral}/AstralBreastplate.png (100%) rename Items/Armor/{ => Astral}/AstralBreastplate_Body.png (100%) rename Items/Armor/{ => Astral}/AstralHelm.cs (95%) rename Items/Armor/{ => Astral}/AstralHelm.png (100%) rename Items/Armor/{ => Astral}/AstralHelm_Head.png (100%) rename Items/Armor/{ => Astral}/AstralLeggings.cs (96%) rename Items/Armor/{ => Astral}/AstralLeggings.png (100%) rename Items/Armor/{ => Astral}/AstralLeggings_Legs.png (100%) rename Items/Armor/{ => Auric}/AuricTeslaBodyArmor.cs (88%) rename Items/Armor/{ => Auric}/AuricTeslaBodyArmor.png (100%) rename Items/Armor/{ => Auric}/AuricTeslaBodyArmor_Back.png (100%) rename Items/Armor/{ => Auric}/AuricTeslaBodyArmor_Body.png (100%) rename Items/Armor/{ => Auric}/AuricTeslaCuisses.cs (88%) rename Items/Armor/{ => Auric}/AuricTeslaCuisses.png (100%) rename Items/Armor/{ => Auric}/AuricTeslaCuisses_Legs.png (100%) rename Items/Armor/{ => Auric}/AuricTeslaHoodedFacemask.cs (86%) rename Items/Armor/{ => Auric}/AuricTeslaHoodedFacemask.png (100%) rename Items/Armor/{ => Auric}/AuricTeslaHoodedFacemask_Head.png (100%) rename Items/Armor/{ => Auric}/AuricTeslaPlumedHelm.cs (89%) rename Items/Armor/{ => Auric}/AuricTeslaPlumedHelm.png (100%) rename Items/Armor/{ => Auric}/AuricTeslaPlumedHelm_Head.png (100%) rename Items/Armor/{ => Auric}/AuricTeslaRoyalHelm.cs (86%) rename Items/Armor/{ => Auric}/AuricTeslaRoyalHelm.png (100%) rename Items/Armor/{ => Auric}/AuricTeslaRoyalHelm_Head.png (100%) rename Items/Armor/{ => Auric}/AuricTeslaSpaceHelmet.cs (86%) rename Items/Armor/{ => Auric}/AuricTeslaSpaceHelmet.png (100%) rename Items/Armor/{ => Auric}/AuricTeslaSpaceHelmet_Head.png (100%) rename Items/Armor/{ => Auric}/AuricTeslaWireHemmedVisage.cs (86%) rename Items/Armor/{ => Auric}/AuricTeslaWireHemmedVisage.png (100%) rename Items/Armor/{ => Auric}/AuricTeslaWireHemmedVisage_Head.png (100%) rename Items/Armor/{ => Bloodflare}/BloodflareBodyArmor.cs (96%) rename Items/Armor/{ => Bloodflare}/BloodflareBodyArmor.png (100%) rename Items/Armor/{ => Bloodflare}/BloodflareBodyArmor_Body.png (100%) rename Items/Armor/{ => Bloodflare}/BloodflareCuisses.cs (96%) rename Items/Armor/{ => Bloodflare}/BloodflareCuisses.png (100%) rename Items/Armor/{ => Bloodflare}/BloodflareCuisses_Legs.png (100%) rename Items/Armor/{BloodflareHornedMask.cs => Bloodflare/BloodflareHeadMagic.cs} (93%) rename Items/Armor/{BloodflareHornedMask.png => Bloodflare/BloodflareHeadMagic.png} (100%) rename Items/Armor/{BloodflareHornedMask_Head.png => Bloodflare/BloodflareHeadMagic_Head.png} (100%) rename Items/Armor/{BloodflareMask.cs => Bloodflare/BloodflareHeadMelee.cs} (93%) rename Items/Armor/{BloodflareMask.png => Bloodflare/BloodflareHeadMelee.png} (100%) rename Items/Armor/{BloodflareMask_Head.png => Bloodflare/BloodflareHeadMelee_Head.png} (100%) rename Items/Armor/{BloodflareHornedHelm.cs => Bloodflare/BloodflareHeadRanged.cs} (90%) rename Items/Armor/{BloodflareHornedHelm.png => Bloodflare/BloodflareHeadRanged.png} (100%) rename Items/Armor/{BloodflareHornedHelm_Head.png => Bloodflare/BloodflareHeadRanged_Head.png} (100%) rename Items/Armor/{BloodflareHelm.cs => Bloodflare/BloodflareHeadRogue.cs} (94%) rename Items/Armor/{BloodflareHelm.png => Bloodflare/BloodflareHeadRogue.png} (100%) rename Items/Armor/{BloodflareHelm_Head.png => Bloodflare/BloodflareHeadRogue_Head.png} (100%) rename Items/Armor/{BloodflareHelmet.cs => Bloodflare/BloodflareHeadSummon.cs} (93%) rename Items/Armor/{BloodflareHelmet.png => Bloodflare/BloodflareHeadSummon.png} (100%) rename Items/Armor/{BloodflareHelmet_Head.png => Bloodflare/BloodflareHeadSummon_Head.png} (100%) rename Items/Armor/{ => Brimflame}/BrimflameBoots.cs (96%) rename Items/Armor/{ => Brimflame}/BrimflameBoots.png (100%) rename Items/Armor/{ => Brimflame}/BrimflameBoots_Legs.png (100%) rename Items/Armor/{ => Brimflame}/BrimflameRobes.cs (96%) rename Items/Armor/{ => Brimflame}/BrimflameRobes.png (100%) rename Items/Armor/{ => Brimflame}/BrimflameRobes_Body.png (100%) rename Items/Armor/{ => Brimflame}/BrimflameScowl.cs (93%) rename Items/Armor/{ => Brimflame}/BrimflameScowl.png (100%) rename Items/Armor/{ => Brimflame}/BrimflameScowl_Head.png (100%) rename Items/Armor/{ => Daedalus}/DaedalusBreastplate.cs (96%) rename Items/Armor/{ => Daedalus}/DaedalusBreastplate.png (100%) rename Items/Armor/{ => Daedalus}/DaedalusBreastplate_Body.png (100%) rename Items/Armor/{ => Daedalus}/DaedalusHeadMagic.cs (96%) rename Items/Armor/{ => Daedalus}/DaedalusHeadMagic.png (100%) rename Items/Armor/{ => Daedalus}/DaedalusHeadMagic_Head.png (100%) rename Items/Armor/{ => Daedalus}/DaedalusHeadMelee.cs (96%) rename Items/Armor/{ => Daedalus}/DaedalusHeadMelee.png (100%) rename Items/Armor/{ => Daedalus}/DaedalusHeadMelee_Head.png (100%) rename Items/Armor/{ => Daedalus}/DaedalusHeadRanged.cs (95%) rename Items/Armor/{ => Daedalus}/DaedalusHeadRanged.png (100%) rename Items/Armor/{ => Daedalus}/DaedalusHeadRanged_Head.png (100%) rename Items/Armor/{ => Daedalus}/DaedalusHeadRogue.cs (96%) rename Items/Armor/{ => Daedalus}/DaedalusHeadRogue.png (100%) rename Items/Armor/{ => Daedalus}/DaedalusHeadRogue_Head.png (100%) rename Items/Armor/{ => Daedalus}/DaedalusHeadSummon.cs (94%) rename Items/Armor/{ => Daedalus}/DaedalusHeadSummon.png (100%) rename Items/Armor/{ => Daedalus}/DaedalusHeadSummon_Head.png (100%) rename Items/Armor/{ => Daedalus}/DaedalusLeggings.cs (96%) rename Items/Armor/{ => Daedalus}/DaedalusLeggings.png (100%) rename Items/Armor/{ => Daedalus}/DaedalusLeggings_Legs.png (100%) rename Items/Armor/{ => Demonshade}/DemonshadeBreastplate.cs (94%) rename Items/Armor/{ => Demonshade}/DemonshadeBreastplate.png (100%) rename Items/Armor/{ => Demonshade}/DemonshadeBreastplate_Arms.png (100%) rename Items/Armor/{ => Demonshade}/DemonshadeBreastplate_Body.png (100%) rename Items/Armor/{ => Demonshade}/DemonshadeGreaves.cs (92%) rename Items/Armor/{ => Demonshade}/DemonshadeGreaves.png (100%) rename Items/Armor/{ => Demonshade}/DemonshadeGreaves_Legs.png (100%) rename Items/Armor/{ => Demonshade}/DemonshadeHelm.cs (92%) rename Items/Armor/{ => Demonshade}/DemonshadeHelm.png (100%) rename Items/Armor/{ => Demonshade}/DemonshadeHelm_Extension.png (100%) rename Items/Armor/{ => Demonshade}/DemonshadeHelm_Head.png (100%) rename Items/Armor/{ => DesertProwler}/DesertProwlerHat.cs (94%) rename Items/Armor/{ => DesertProwler}/DesertProwlerHat.png (100%) rename Items/Armor/{ => DesertProwler}/DesertProwlerHat_Head.png (100%) rename Items/Armor/{ => DesertProwler}/DesertProwlerPants.cs (95%) rename Items/Armor/{ => DesertProwler}/DesertProwlerPants.png (100%) rename Items/Armor/{ => DesertProwler}/DesertProwlerPants_Legs.png (100%) rename Items/Armor/{ => DesertProwler}/DesertProwlerShirt.cs (95%) rename Items/Armor/{ => DesertProwler}/DesertProwlerShirt.png (100%) rename Items/Armor/{ => DesertProwler}/DesertProwlerShirt_Body.png (100%) rename Items/Armor/{XerocPlateMail.cs => Empyrean/EmpyreanCloak.cs} (84%) rename Items/Armor/{XerocPlateMail.png => Empyrean/EmpyreanCloak.png} (100%) rename Items/Armor/{XerocPlateMail_Arms.png => Empyrean/EmpyreanCloak_Arms.png} (100%) rename Items/Armor/{XerocPlateMail_Back.png => Empyrean/EmpyreanCloak_Back.png} (100%) rename Items/Armor/{XerocPlateMail_Body.png => Empyrean/EmpyreanCloak_Body.png} (100%) rename Items/Armor/{XerocPlateMail_Neck.png => Empyrean/EmpyreanCloak_Neck.png} (100%) rename Items/Armor/{XerocCuisses.cs => Empyrean/EmpyreanCuisses.cs} (84%) rename Items/Armor/{XerocCuisses.png => Empyrean/EmpyreanCuisses.png} (100%) rename Items/Armor/{XerocCuisses_Legs.png => Empyrean/EmpyreanCuisses_Legs.png} (100%) rename Items/Armor/{XerocMask.cs => Empyrean/EmpyreanMask.cs} (78%) rename Items/Armor/{XerocMask.png => Empyrean/EmpyreanMask.png} (100%) rename Items/Armor/{XerocMask_Head.png => Empyrean/EmpyreanMask_Head.png} (100%) rename Items/Armor/{ => Empyrean}/MeldTransformation_Arms.png (100%) rename Items/Armor/{ => Empyrean}/MeldTransformation_Body.png (100%) rename Items/Armor/{ => Empyrean}/MeldTransformation_Head.png (100%) rename Items/Armor/{ => Empyrean}/MeldTransformation_Legs.png (100%) rename Items/Armor/{ => Empyrean}/MeldTransformation_Neck.png (100%) rename Items/Armor/{ => FathomSwarmer}/FathomSwarmerArmor_Tail.png (100%) rename Items/Armor/{ => FathomSwarmer}/FathomSwarmerBoots.cs (97%) rename Items/Armor/{ => FathomSwarmer}/FathomSwarmerBoots.png (100%) rename Items/Armor/{ => FathomSwarmer}/FathomSwarmerBoots_Legs.png (100%) rename Items/Armor/{ => FathomSwarmer}/FathomSwarmerBreastplate.cs (97%) rename Items/Armor/{ => FathomSwarmer}/FathomSwarmerBreastplate.png (100%) rename Items/Armor/{ => FathomSwarmer}/FathomSwarmerBreastplate_Body.png (100%) rename Items/Armor/{ => FathomSwarmer}/FathomSwarmerVisage.cs (94%) rename Items/Armor/{ => FathomSwarmer}/FathomSwarmerVisage.png (100%) rename Items/Armor/{ => FathomSwarmer}/FathomSwarmerVisage_Head.png (100%) rename Items/Armor/{ => Fearmonger}/FearmongerGreathelm.cs (94%) rename Items/Armor/{ => Fearmonger}/FearmongerGreathelm.png (100%) rename Items/Armor/{ => Fearmonger}/FearmongerGreathelm_Head.png (100%) rename Items/Armor/{ => Fearmonger}/FearmongerGreaves.cs (97%) rename Items/Armor/{ => Fearmonger}/FearmongerGreaves.png (100%) rename Items/Armor/{ => Fearmonger}/FearmongerGreaves_Legs.png (100%) rename Items/Armor/{ => Fearmonger}/FearmongerPlateMail.cs (97%) rename Items/Armor/{ => Fearmonger}/FearmongerPlateMail.png (100%) rename Items/Armor/{ => Fearmonger}/FearmongerPlateMail_Body.png (100%) rename Items/Armor/{ => GemTech}/GemTechBodyArmor.cs (96%) rename Items/Armor/{ => GemTech}/GemTechBodyArmor.png (100%) rename Items/Armor/{ => GemTech}/GemTechBodyArmor_Body.png (100%) rename Items/Armor/{ => GemTech}/GemTechHeadgear.cs (79%) rename Items/Armor/{ => GemTech}/GemTechHeadgear.png (100%) rename Items/Armor/{ => GemTech}/GemTechHeadgear_Head.png (100%) rename Items/Armor/{ => GemTech}/GemTechSchynbaulds.cs (96%) rename Items/Armor/{ => GemTech}/GemTechSchynbaulds.png (100%) rename Items/Armor/{ => GemTech}/GemTechSchynbaulds_Legs.png (100%) rename Items/Armor/{ => GodSlayer}/GodSlayerChestplate.cs (94%) rename Items/Armor/{ => GodSlayer}/GodSlayerChestplate.png (100%) rename Items/Armor/{ => GodSlayer}/GodSlayerChestplate_Body.png (100%) rename Items/Armor/{ => GodSlayer}/GodSlayerChestplate_BodyGlow.png (100%) rename Items/Armor/{GodSlayerHelm.cs => GodSlayer/GodSlayerHeadMelee.cs} (91%) rename Items/Armor/{GodSlayerHelm.png => GodSlayer/GodSlayerHeadMelee.png} (100%) rename Items/Armor/{GodSlayerHelm_Head.png => GodSlayer/GodSlayerHeadMelee_Head.png} (100%) rename Items/Armor/{GodSlayerHelm_HeadGlow.png => GodSlayer/GodSlayerHeadMelee_HeadGlow.png} (100%) rename Items/Armor/{GodSlayerHelmet.cs => GodSlayer/GodSlayerHeadRanged.cs} (90%) rename Items/Armor/{GodSlayerHelmet.png => GodSlayer/GodSlayerHeadRanged.png} (100%) rename Items/Armor/{GodSlayerHelmet_Head.png => GodSlayer/GodSlayerHeadRanged_Head.png} (100%) rename Items/Armor/{GodSlayerHelmet_HeadGlow.png => GodSlayer/GodSlayerHeadRanged_HeadGlow.png} (100%) rename Items/Armor/{GodSlayerMask.cs => GodSlayer/GodSlayerHeadRogue.cs} (92%) rename Items/Armor/{GodSlayerMask.png => GodSlayer/GodSlayerHeadRogue.png} (100%) rename Items/Armor/{GodSlayerMask_Head.png => GodSlayer/GodSlayerHeadRogue_Head.png} (100%) rename Items/Armor/{GodSlayerMask_HeadGlow.png => GodSlayer/GodSlayerHeadRogue_HeadGlow.png} (100%) rename Items/Armor/{ => GodSlayer}/GodSlayerLeggings.cs (96%) rename Items/Armor/{ => GodSlayer}/GodSlayerLeggings.png (100%) rename Items/Armor/{ => GodSlayer}/GodSlayerLeggings_Legs.png (100%) rename Items/Armor/{ => GodSlayer}/GodSlayerLeggings_LegsGlow.png (100%) rename Items/Armor/{ => Hydrothermic}/HydrothermicArmor.cs (96%) rename Items/Armor/{ => Hydrothermic}/HydrothermicArmor.png (100%) rename Items/Armor/{ => Hydrothermic}/HydrothermicArmor_Body.png (100%) rename Items/Armor/{ => Hydrothermic}/HydrothermicHeadMagic.cs (96%) rename Items/Armor/{ => Hydrothermic}/HydrothermicHeadMagic.png (100%) rename Items/Armor/{ => Hydrothermic}/HydrothermicHeadMagic_Head.png (100%) rename Items/Armor/{ => Hydrothermic}/HydrothermicHeadMelee.cs (94%) rename Items/Armor/{ => Hydrothermic}/HydrothermicHeadMelee.png (100%) rename Items/Armor/{ => Hydrothermic}/HydrothermicHeadMelee_Head.png (100%) rename Items/Armor/{ => Hydrothermic}/HydrothermicHeadRanged.cs (96%) rename Items/Armor/{ => Hydrothermic}/HydrothermicHeadRanged.png (100%) rename Items/Armor/{ => Hydrothermic}/HydrothermicHeadRanged_Head.png (100%) rename Items/Armor/{ => Hydrothermic}/HydrothermicHeadRogue.cs (97%) rename Items/Armor/{ => Hydrothermic}/HydrothermicHeadRogue.png (100%) rename Items/Armor/{ => Hydrothermic}/HydrothermicHeadRogue_Head.png (100%) rename Items/Armor/{ => Hydrothermic}/HydrothermicHeadSummon.cs (93%) rename Items/Armor/{ => Hydrothermic}/HydrothermicHeadSummon.png (100%) rename Items/Armor/{ => Hydrothermic}/HydrothermicHeadSummon_Head.png (100%) rename Items/Armor/{ => Hydrothermic}/HydrothermicSubligar.cs (96%) rename Items/Armor/{ => Hydrothermic}/HydrothermicSubligar.png (100%) rename Items/Armor/{ => Hydrothermic}/HydrothermicSubligar_Legs.png (100%) rename Items/Armor/{ => Mollusk}/MolluskShelleggings.cs (96%) rename Items/Armor/{ => Mollusk}/MolluskShelleggings.png (100%) rename Items/Armor/{ => Mollusk}/MolluskShelleggings_Legs.png (100%) rename Items/Armor/{ => Mollusk}/MolluskShellmet.cs (94%) rename Items/Armor/{ => Mollusk}/MolluskShellmet.png (100%) rename Items/Armor/{ => Mollusk}/MolluskShellmet_Head.png (100%) rename Items/Armor/{ => Mollusk}/MolluskShellplate.cs (96%) rename Items/Armor/{ => Mollusk}/MolluskShellplate.png (100%) rename Items/Armor/{ => Mollusk}/MolluskShellplate_Body.png (100%) rename Items/Armor/{ => OmegaBlue}/OmegaBlueChestplate.cs (94%) rename Items/Armor/{ => OmegaBlue}/OmegaBlueChestplate.png (100%) rename Items/Armor/{ => OmegaBlue}/OmegaBlueChestplate_Body.png (100%) rename Items/Armor/{ => OmegaBlue}/OmegaBlueHelmet.cs (86%) rename Items/Armor/{ => OmegaBlue}/OmegaBlueHelmet.png (100%) rename Items/Armor/{ => OmegaBlue}/OmegaBlueHelmet_Head.png (100%) rename Items/Armor/{ => OmegaBlue}/OmegaBlueHelmet_HeadMadness.png (100%) rename Items/Armor/{OmegaBlueLeggings.cs => OmegaBlue/OmegaBlueTentacles.cs} (91%) rename Items/Armor/{OmegaBlueLeggings.png => OmegaBlue/OmegaBlueTentacles.png} (100%) rename Items/Armor/{OmegaBlueLeggings_Legs.png => OmegaBlue/OmegaBlueTentacles_Legs.png} (100%) rename Items/Armor/{ => PlagueReaper}/PlagueReaperMask.cs (86%) rename Items/Armor/{ => PlagueReaper}/PlagueReaperMask.png (100%) rename Items/Armor/{ => PlagueReaper}/PlagueReaperMask_Head.png (100%) rename Items/Armor/{ => PlagueReaper}/PlagueReaperStriders.cs (96%) rename Items/Armor/{ => PlagueReaper}/PlagueReaperStriders.png (100%) rename Items/Armor/{ => PlagueReaper}/PlagueReaperStriders_Legs.png (100%) rename Items/Armor/{ => PlagueReaper}/PlagueReaperVest.cs (96%) rename Items/Armor/{ => PlagueReaper}/PlagueReaperVest.png (100%) rename Items/Armor/{ => PlagueReaper}/PlagueReaperVest_Body.png (100%) rename Items/Armor/{ => Plaguebringer}/PlaguebringerCarapace.cs (97%) rename Items/Armor/{ => Plaguebringer}/PlaguebringerCarapace.png (100%) rename Items/Armor/{ => Plaguebringer}/PlaguebringerCarapace_Back.png (100%) rename Items/Armor/{ => Plaguebringer}/PlaguebringerCarapace_Body.png (100%) rename Items/Armor/{ => Plaguebringer}/PlaguebringerPistons.cs (96%) rename Items/Armor/{ => Plaguebringer}/PlaguebringerPistons.png (100%) rename Items/Armor/{ => Plaguebringer}/PlaguebringerPistons_Legs.png (100%) rename Items/Armor/{ => Plaguebringer}/PlaguebringerVisor.cs (94%) rename Items/Armor/{ => Plaguebringer}/PlaguebringerVisor.png (100%) rename Items/Armor/{ => Plaguebringer}/PlaguebringerVisor_Head.png (100%) rename Items/Armor/{ => Prismatic}/PrismaticGreaves.cs (97%) rename Items/Armor/{ => Prismatic}/PrismaticGreaves.png (100%) rename Items/Armor/{ => Prismatic}/PrismaticGreaves_Legs.png (100%) rename Items/Armor/{ => Prismatic}/PrismaticHelmet.cs (95%) rename Items/Armor/{ => Prismatic}/PrismaticHelmet.png (100%) rename Items/Armor/{ => Prismatic}/PrismaticHelmet_Head.png (100%) rename Items/Armor/{ => Prismatic}/PrismaticRegalia.cs (97%) rename Items/Armor/{ => Prismatic}/PrismaticRegalia.png (100%) rename Items/Armor/{ => Prismatic}/PrismaticRegalia_Body.png (100%) rename Items/Armor/{ => Reaver}/ReaverCuisses.cs (96%) rename Items/Armor/{ => Reaver}/ReaverCuisses.png (100%) rename Items/Armor/{ => Reaver}/ReaverCuisses_Legs.png (100%) rename Items/Armor/{ReaverHeadgear.cs => Reaver/ReaverHeadExplore.cs} (82%) rename Items/Armor/{ReaverHeadgear.png => Reaver/ReaverHeadExplore.png} (100%) rename Items/Armor/{ReaverHeadgear_Head.png => Reaver/ReaverHeadExplore_Head.png} (100%) rename Items/Armor/{ReaverVisage.cs => Reaver/ReaverHeadMobility.cs} (93%) rename Items/Armor/{ReaverVisage.png => Reaver/ReaverHeadMobility.png} (100%) rename Items/Armor/{ReaverVisage_Head.png => Reaver/ReaverHeadMobility_Head.png} (100%) rename Items/Armor/{ReaverHelm.cs => Reaver/ReaverHeadTank.cs} (94%) rename Items/Armor/{ReaverHelm.png => Reaver/ReaverHeadTank.png} (100%) rename Items/Armor/{ReaverHelm_Head.png => Reaver/ReaverHeadTank_Head.png} (100%) rename Items/Armor/{ => Reaver}/ReaverScaleMail.cs (96%) rename Items/Armor/{ => Reaver}/ReaverScaleMail.png (100%) rename Items/Armor/{ => Reaver}/ReaverScaleMail_Body.png (100%) rename Items/Armor/{ => Silva}/SilvaArmor.cs (97%) rename Items/Armor/{ => Silva}/SilvaArmor.png (100%) rename Items/Armor/{ => Silva}/SilvaArmor_Body.png (100%) rename Items/Armor/{SilvaMaskedCap.cs => Silva/SilvaHeadMagic.cs} (93%) rename Items/Armor/{SilvaMaskedCap.png => Silva/SilvaHeadMagic.png} (100%) rename Items/Armor/{SilvaMaskedCap_Head.png => Silva/SilvaHeadMagic_Head.png} (100%) rename Items/Armor/{SilvaHelmet.cs => Silva/SilvaHeadSummon.cs} (92%) rename Items/Armor/{SilvaHelmet.png => Silva/SilvaHeadSummon.png} (100%) rename Items/Armor/{SilvaHelmet_Head.png => Silva/SilvaHeadSummon_Head.png} (100%) rename Items/Armor/{ => Silva}/SilvaLeggings.cs (97%) rename Items/Armor/{ => Silva}/SilvaLeggings.png (100%) rename Items/Armor/{ => Silva}/SilvaLeggings_Legs.png (100%) rename Items/Armor/{ => SnowRuffian}/SnowRuffianChestplate.cs (96%) rename Items/Armor/{ => SnowRuffian}/SnowRuffianChestplate.png (100%) rename Items/Armor/{ => SnowRuffian}/SnowRuffianChestplate_Arms.png (100%) rename Items/Armor/{ => SnowRuffian}/SnowRuffianChestplate_Body.png (100%) rename Items/Armor/{ => SnowRuffian}/SnowRuffianGreaves.cs (95%) rename Items/Armor/{ => SnowRuffian}/SnowRuffianGreaves.png (100%) rename Items/Armor/{ => SnowRuffian}/SnowRuffianGreaves_Legs.png (100%) rename Items/Armor/{ => SnowRuffian}/SnowRuffianMask.cs (94%) rename Items/Armor/{ => SnowRuffian}/SnowRuffianMask.png (100%) rename Items/Armor/{ => SnowRuffian}/SnowRuffianMask_Head.png (100%) rename Items/Armor/{ => SnowRuffian}/SnowRuffianWings.png (100%) rename Items/Armor/{ => Statigel}/StatigelArmor.cs (96%) rename Items/Armor/{ => Statigel}/StatigelArmor.png (100%) rename Items/Armor/{ => Statigel}/StatigelArmor_Body.png (100%) rename Items/Armor/{ => Statigel}/StatigelGreaves.cs (96%) rename Items/Armor/{ => Statigel}/StatigelGreaves.png (100%) rename Items/Armor/{ => Statigel}/StatigelGreaves_Legs.png (100%) rename Items/Armor/{StatigelCap.cs => Statigel/StatigelHeadMagic.cs} (92%) rename Items/Armor/{StatigelCap.png => Statigel/StatigelHeadMagic.png} (100%) rename Items/Armor/{StatigelCap_Head.png => Statigel/StatigelHeadMagic_Head.png} (100%) rename Items/Armor/{StatigelHelm.cs => Statigel/StatigelHeadMelee.cs} (92%) rename Items/Armor/{StatigelHelm.png => Statigel/StatigelHeadMelee.png} (100%) rename Items/Armor/{StatigelHelm_Head.png => Statigel/StatigelHeadMelee_Head.png} (100%) rename Items/Armor/{StatigelHeadgear.cs => Statigel/StatigelHeadRanged.cs} (91%) rename Items/Armor/{StatigelHeadgear.png => Statigel/StatigelHeadRanged.png} (100%) rename Items/Armor/{StatigelHeadgear_Head.png => Statigel/StatigelHeadRanged_Head.png} (100%) rename Items/Armor/{StatigelMask.cs => Statigel/StatigelHeadRogue.cs} (94%) rename Items/Armor/{StatigelMask.png => Statigel/StatigelHeadRogue.png} (100%) rename Items/Armor/{StatigelMask_Head.png => Statigel/StatigelHeadRogue_Head.png} (100%) rename Items/Armor/{StatigelHood.cs => Statigel/StatigelHeadSummon.cs} (91%) rename Items/Armor/{StatigelHood.png => Statigel/StatigelHeadSummon.png} (100%) rename Items/Armor/{StatigelHood_Head.png => Statigel/StatigelHeadSummon_Head.png} (100%) rename Items/Armor/{SulfurBreastplate.cs => Sulphurous/SulphurousBreastplate.cs} (90%) rename Items/Armor/{SulfurBreastplate.png => Sulphurous/SulphurousBreastplate.png} (100%) rename Items/Armor/{SulfurBreastplate_Body.png => Sulphurous/SulphurousBreastplate_Body.png} (100%) rename Items/Armor/{SulfurHelmet.cs => Sulphurous/SulphurousHelmet.cs} (89%) rename Items/Armor/{SulfurHelmet.png => Sulphurous/SulphurousHelmet.png} (100%) rename Items/Armor/{SulfurHelmet_Head.png => Sulphurous/SulphurousHelmet_Head.png} (100%) rename Items/Armor/{SulfurLeggings.cs => Sulphurous/SulphurousLeggings.cs} (91%) rename Items/Armor/{SulfurLeggings.png => Sulphurous/SulphurousLeggings.png} (100%) rename Items/Armor/{SulfurLeggings_Legs.png => Sulphurous/SulphurousLeggings_Legs.png} (100%) rename Items/Armor/{ => Tarragon}/TarragonBreastplate.cs (96%) rename Items/Armor/{ => Tarragon}/TarragonBreastplate.png (100%) rename Items/Armor/{ => Tarragon}/TarragonBreastplate_Body.png (100%) rename Items/Armor/{TarragonMask.cs => Tarragon/TarragonHeadMagic.cs} (93%) rename Items/Armor/{TarragonMask.png => Tarragon/TarragonHeadMagic.png} (100%) rename Items/Armor/{TarragonMask_Head.png => Tarragon/TarragonHeadMagic_Head.png} (100%) rename Items/Armor/{TarragonHelm.cs => Tarragon/TarragonHeadMelee.cs} (91%) rename Items/Armor/{TarragonHelm.png => Tarragon/TarragonHeadMelee.png} (100%) rename Items/Armor/{TarragonHelm_Head.png => Tarragon/TarragonHeadMelee_Head.png} (100%) rename Items/Armor/{TarragonVisage.cs => Tarragon/TarragonHeadRanged.cs} (93%) rename Items/Armor/{TarragonVisage.png => Tarragon/TarragonHeadRanged.png} (100%) rename Items/Armor/{TarragonVisage_Head.png => Tarragon/TarragonHeadRanged_Head.png} (100%) rename Items/Armor/{TarragonHelmet.cs => Tarragon/TarragonHeadRogue.cs} (94%) rename Items/Armor/{TarragonHelmet.png => Tarragon/TarragonHeadRogue.png} (100%) rename Items/Armor/{TarragonHelmet_Head.png => Tarragon/TarragonHeadRogue_Head.png} (100%) rename Items/Armor/{TarragonHornedHelm.cs => Tarragon/TarragonHeadSummon.cs} (93%) rename Items/Armor/{TarragonHornedHelm.png => Tarragon/TarragonHeadSummon.png} (100%) rename Items/Armor/{TarragonHornedHelm_Head.png => Tarragon/TarragonHeadSummon_Head.png} (100%) rename Items/Armor/{ => Tarragon}/TarragonLeggings.cs (96%) rename Items/Armor/{ => Tarragon}/TarragonLeggings.png (100%) rename Items/Armor/{ => Tarragon}/TarragonLeggings_Legs.png (100%) rename Items/Armor/{ => TitanHeart}/TitanHeartBoots.cs (96%) rename Items/Armor/{ => TitanHeart}/TitanHeartBoots.png (100%) rename Items/Armor/{ => TitanHeart}/TitanHeartBoots_Legs.png (100%) rename Items/Armor/{ => TitanHeart}/TitanHeartMantle.cs (96%) rename Items/Armor/{ => TitanHeart}/TitanHeartMantle.png (100%) rename Items/Armor/{ => TitanHeart}/TitanHeartMantle_Arms.png (100%) rename Items/Armor/{ => TitanHeart}/TitanHeartMantle_Body.png (100%) rename Items/Armor/{ => TitanHeart}/TitanHeartMask.cs (94%) rename Items/Armor/{ => TitanHeart}/TitanHeartMask.png (100%) rename Items/Armor/{ => TitanHeart}/TitanHeartMask_Head.png (100%) rename Items/Armor/{ => Umbraphile}/UmbraphileBoots.cs (96%) rename Items/Armor/{ => Umbraphile}/UmbraphileBoots.png (100%) rename Items/Armor/{ => Umbraphile}/UmbraphileBoots_Legs.png (100%) rename Items/Armor/{ => Umbraphile}/UmbraphileHood.cs (96%) rename Items/Armor/{ => Umbraphile}/UmbraphileHood.png (100%) rename Items/Armor/{ => Umbraphile}/UmbraphileHood_Head.png (100%) rename Items/Armor/{ => Umbraphile}/UmbraphileRegalia.cs (96%) rename Items/Armor/{ => Umbraphile}/UmbraphileRegalia.png (100%) rename Items/Armor/{ => Umbraphile}/UmbraphileRegalia_Arms.png (100%) rename Items/Armor/{ => Umbraphile}/UmbraphileRegalia_Body.png (100%) rename Items/Armor/{ => Victide}/VictideBreastplate.cs (89%) rename Items/Armor/{ => Victide}/VictideBreastplate.png (100%) rename Items/Armor/{ => Victide}/VictideBreastplate_Body.png (100%) rename Items/Armor/{ => Victide}/VictideBreastplate_Bulk.png (100%) rename Items/Armor/{ => Victide}/VictideFaulds_Waist.png (100%) rename Items/Armor/{ => Victide}/VictideGreaves.cs (92%) rename Items/Armor/{ => Victide}/VictideGreaves.png (100%) rename Items/Armor/{ => Victide}/VictideGreaves_Legs.png (100%) rename Items/Armor/{ => Victide}/VictideHeadMagic.cs (95%) rename Items/Armor/{ => Victide}/VictideHeadMagic.png (100%) rename Items/Armor/{ => Victide}/VictideHeadMagic_Head.png (100%) rename Items/Armor/{ => Victide}/VictideHeadMelee.cs (96%) rename Items/Armor/{ => Victide}/VictideHeadMelee.png (100%) rename Items/Armor/{ => Victide}/VictideHeadMelee_Head.png (100%) rename Items/Armor/{ => Victide}/VictideHeadRanged.cs (95%) rename Items/Armor/{ => Victide}/VictideHeadRanged.png (100%) rename Items/Armor/{ => Victide}/VictideHeadRanged_Head.png (100%) rename Items/Armor/{ => Victide}/VictideHeadRogue.cs (96%) rename Items/Armor/{ => Victide}/VictideHeadRogue.png (100%) rename Items/Armor/{ => Victide}/VictideHeadRogue_Head.png (100%) rename Items/Armor/{ => Victide}/VictideHeadSummon.cs (92%) rename Items/Armor/{ => Victide}/VictideHeadSummon.png (100%) rename Items/Armor/{ => Victide}/VictideHeadSummon_Head.png (100%) rename Items/Armor/{ => Wulfrum}/WulfrumArmor.cs (96%) rename Items/Armor/{ => Wulfrum}/WulfrumArmor.png (100%) rename Items/Armor/{ => Wulfrum}/WulfrumArmor_Body.png (100%) rename Items/Armor/{WulfrumHood.cs => Wulfrum/WulfrumHeadMagic.cs} (89%) rename Items/Armor/{WulfrumHood.png => Wulfrum/WulfrumHeadMagic.png} (100%) rename Items/Armor/{WulfrumHood_Head.png => Wulfrum/WulfrumHeadMagic_Head.png} (100%) rename Items/Armor/{WulfrumHelm.cs => Wulfrum/WulfrumHeadMelee.cs} (93%) rename Items/Armor/{WulfrumHelm.png => Wulfrum/WulfrumHeadMelee.png} (100%) rename Items/Armor/{WulfrumHelm_Head.png => Wulfrum/WulfrumHeadMelee_Head.png} (100%) rename Items/Armor/{WulfrumHeadgear.cs => Wulfrum/WulfrumHeadRanged.cs} (89%) rename Items/Armor/{WulfrumHeadgear.png => Wulfrum/WulfrumHeadRanged.png} (100%) rename Items/Armor/{WulfrumHeadgear_Head.png => Wulfrum/WulfrumHeadRanged_Head.png} (100%) rename Items/Armor/{WulfrumMask.cs => Wulfrum/WulfrumHeadRogue.cs} (92%) rename Items/Armor/{WulfrumMask.png => Wulfrum/WulfrumHeadRogue.png} (100%) rename Items/Armor/{WulfrumMask_Head.png => Wulfrum/WulfrumHeadRogue_Head.png} (100%) rename Items/Armor/{WulfrumHelmet.cs => Wulfrum/WulfrumHeadSummon.cs} (92%) rename Items/Armor/{WulfrumHelmet.png => Wulfrum/WulfrumHeadSummon.png} (100%) rename Items/Armor/{WulfrumHelmet_Head.png => Wulfrum/WulfrumHeadSummon_Head.png} (100%) rename Items/Armor/{ => Wulfrum}/WulfrumLeggings.cs (96%) rename Items/Armor/{ => Wulfrum}/WulfrumLeggings.png (100%) rename Items/Armor/{ => Wulfrum}/WulfrumLeggings_Legs.png (100%) diff --git a/CalPlayer/CalamityPlayer.cs b/CalPlayer/CalamityPlayer.cs index 40588aa805..980a213eb3 100644 --- a/CalPlayer/CalamityPlayer.cs +++ b/CalPlayer/CalamityPlayer.cs @@ -61,6 +61,13 @@ using Terraria.Chat; using CalamityMod.EntitySources; using CalamityMod.CalPlayer.Dashes; using CalamityMod.FluidSimulation; +using CalamityMod.Items.Armor.Bloodflare; +using CalamityMod.Items.Armor.Brimflame; +using CalamityMod.Items.Armor.Demonshade; +using CalamityMod.Items.Armor.GemTech; +using CalamityMod.Items.Armor.OmegaBlue; +using CalamityMod.Items.Armor.PlagueReaper; +using CalamityMod.Items.Armor.Silva; namespace CalamityMod.CalPlayer { @@ -2780,7 +2787,7 @@ namespace CalamityMod.CalPlayer if (Player.whoAmI == Main.myPlayer) Player.AddCooldown(BloodflareRangedSet.ID, 1800); - SoundEngine.PlaySound(BloodflareHornedHelm.ActivationSound, Player.Center); + SoundEngine.PlaySound(BloodflareHeadRanged.ActivationSound, Player.Center); for (int d = 0; d < 64; d++) { int dust = Dust.NewDust(new Vector2(Player.position.X, Player.position.Y + 16f), Player.width, Player.height - 16, (int)CalamityDusts.Phantoplasm, 0f, 0f, 0, default, 1f); @@ -2955,7 +2962,7 @@ namespace CalamityMod.CalPlayer // Gael's Greatsword replaces Rage Mode with an uber skull attack if (gaelRageAttackCooldown == 0 && Player.ActiveItem().type == ModContent.ItemType() && rage > 0f) { - SoundEngine.PlaySound(SilvaHelmet.DispelSound, Player.Center); + SoundEngine.PlaySound(SilvaHeadSummon.DispelSound, Player.Center); for (int i = 0; i < 3; i++) Dust.NewDust(Player.position, 120, 120, 218, 0f, 0f, 100, default, 1.5f); @@ -3840,7 +3847,7 @@ namespace CalamityMod.CalPlayer Main.dust[sVeilDustIndex2].noLight = false; } - SoundEngine.PlaySound(SilvaHelmet.DispelSound, Player.Center); + SoundEngine.PlaySound(SilvaHeadSummon.DispelSound, Player.Center); NetMessage.SendData(MessageID.Dodge, -1, -1, null, Player.whoAmI, 1f, 0f, 0f, 0, 0, 0); } @@ -3914,7 +3921,7 @@ namespace CalamityMod.CalPlayer Player.GiveIFrames(Player.longInvince ? 100 : 60, true); rogueStealth += 0.5f; - SoundEngine.PlaySound(SilvaHelmet.ActivationSound, Player.Center); + SoundEngine.PlaySound(SilvaHeadSummon.ActivationSound, Player.Center); var source = Player.GetSource_Accessory(FindAccessory(ModContent.ItemType())); for (int i = 0; i < 10; i++) @@ -4093,7 +4100,7 @@ namespace CalamityMod.CalPlayer { if (silvaCountdown == silvaReviveDuration && !hasSilvaEffect) { - SoundEngine.PlaySound(SilvaHelmet.ActivationSound, Player.position); + SoundEngine.PlaySound(SilvaHeadSummon.ActivationSound, Player.position); Player.AddBuff(ModContent.BuffType(), silvaReviveDuration); diff --git a/CalPlayer/CalamityPlayerDrawEffects.cs b/CalPlayer/CalamityPlayerDrawEffects.cs index ba03d6af79..57b9f7b469 100644 --- a/CalPlayer/CalamityPlayerDrawEffects.cs +++ b/CalPlayer/CalamityPlayerDrawEffects.cs @@ -665,7 +665,7 @@ namespace CalamityMod.CalPlayer } } else if (drawPlayer.Calamity().plaguebringerCarapace) - thingToDraw = ModContent.Request("CalamityMod/Items/Armor/PlaguebringerCarapace_Back").Value; + thingToDraw = ModContent.Request("CalamityMod/Items/Armor/Plaguebringer/PlaguebringerCarapace_Back").Value; if (thingToDraw is null) return; diff --git a/CalPlayer/CalamityPlayerMiscEffects.cs b/CalPlayer/CalamityPlayerMiscEffects.cs index f924cbf53a..07bcb3ca60 100644 --- a/CalPlayer/CalamityPlayerMiscEffects.cs +++ b/CalPlayer/CalamityPlayerMiscEffects.cs @@ -16,7 +16,8 @@ using CalamityMod.EntitySources; using CalamityMod.Events; using CalamityMod.Items; using CalamityMod.Items.Accessories; -using CalamityMod.Items.Armor; +using CalamityMod.Items.Armor.Brimflame; +using CalamityMod.Items.Armor.Silva; using CalamityMod.Items.DraedonMisc; using CalamityMod.Items.Dyes; using CalamityMod.Items.Fishing.AstralCatches; @@ -1238,7 +1239,7 @@ namespace CalamityMod.CalPlayer silvaCountdown -= 1; if (silvaCountdown <= 0) { - SoundEngine.PlaySound(SilvaHelmet.DispelSound, Player.Center); + SoundEngine.PlaySound(SilvaHeadSummon.DispelSound, Player.Center); Player.AddCooldown(SilvaRevive.ID, CalamityUtils.SecondsToFrames(5 * 60)); } diff --git a/CalPlayer/CalamityPlayerOnHit.cs b/CalPlayer/CalamityPlayerOnHit.cs index ea064d9bd0..e842ca5cf1 100644 --- a/CalPlayer/CalamityPlayerOnHit.cs +++ b/CalPlayer/CalamityPlayerOnHit.cs @@ -7,7 +7,7 @@ using CalamityMod.Cooldowns; using CalamityMod.Dusts; using CalamityMod.EntitySources; using CalamityMod.Items.Accessories; -using CalamityMod.Items.Armor; +using CalamityMod.Items.Armor.Reaver; using CalamityMod.Items.VanillaArmorChanges; using CalamityMod.Items.Weapons.Ranged; using CalamityMod.NPCs; @@ -1468,8 +1468,8 @@ namespace CalamityMod.CalPlayer } if (vexation) { - if ((Player.armor[0].type == ItemType() || Player.armor[0].type == ItemType() || - Player.armor[0].type == ItemType()) && Player.armor[1].type == ItemType() && + if ((Player.armor[0].type == ItemType() || Player.armor[0].type == ItemType() || + Player.armor[0].type == ItemType()) && Player.armor[1].type == ItemType() && Player.armor[2].type == ItemType()) { target.AddBuff(BuffID.CursedInferno, 90, false); @@ -1604,8 +1604,8 @@ namespace CalamityMod.CalPlayer } if (vexation) { - if ((Player.armor[0].type == ItemType() || Player.armor[0].type == ItemType() || - Player.armor[0].type == ItemType()) && Player.armor[1].type == ItemType() && + if ((Player.armor[0].type == ItemType() || Player.armor[0].type == ItemType() || + Player.armor[0].type == ItemType()) && Player.armor[1].type == ItemType() && Player.armor[2].type == ItemType()) { target.AddBuff(BuffID.CursedInferno, 90, false); diff --git a/CalPlayer/Dashes/GodslayerArmorDash.cs b/CalPlayer/Dashes/GodslayerArmorDash.cs index 9bfe4fbb66..39fe29a6ec 100644 --- a/CalPlayer/Dashes/GodslayerArmorDash.cs +++ b/CalPlayer/Dashes/GodslayerArmorDash.cs @@ -2,7 +2,7 @@ using CalamityMod.Buffs.DamageOverTime; using CalamityMod.Dusts; using CalamityMod.Enums; -using CalamityMod.Items.Armor; +using CalamityMod.Items.Armor.GodSlayer; using CalamityMod.NPCs.DevourerofGods; using Microsoft.Xna.Framework; using Terraria; diff --git a/CalPlayer/DrawLayers/FathomSwarmerTailLayer.cs b/CalPlayer/DrawLayers/FathomSwarmerTailLayer.cs index 9bc0138c76..a6666cf8c0 100644 --- a/CalPlayer/DrawLayers/FathomSwarmerTailLayer.cs +++ b/CalPlayer/DrawLayers/FathomSwarmerTailLayer.cs @@ -19,7 +19,7 @@ namespace CalamityMod.CalPlayer.DrawLayers protected override void Draw(ref PlayerDrawSet drawInfo) { - Texture2D texture = ModContent.Request("CalamityMod/Items/Armor/FathomSwarmerArmor_Tail").Value; + Texture2D texture = ModContent.Request("CalamityMod/Items/Armor/FathomSwarmer/FathomSwarmerArmor_Tail").Value; Player drawPlayer = drawInfo.drawPlayer; Rectangle frame = texture.Frame(1, 4, 0, drawPlayer.Calamity().tailFrame); int dyeShader = drawPlayer.dye?[2].dye ?? 0; diff --git a/DataStructures/GemTechArmorState.cs b/DataStructures/GemTechArmorState.cs index 1b9d91de8b..3cf53074f2 100644 --- a/DataStructures/GemTechArmorState.cs +++ b/DataStructures/GemTechArmorState.cs @@ -1,5 +1,4 @@ -using CalamityMod.Items.Armor; -using CalamityMod.Projectiles.Melee; +using CalamityMod.Projectiles.Melee; using CalamityMod.Projectiles.Ranged; using CalamityMod.Projectiles.Typeless; using Microsoft.Xna.Framework; @@ -7,6 +6,7 @@ using Terraria; using Terraria.ID; using Terraria.ModLoader; using Terraria.Audio; +using CalamityMod.Items.Armor.GemTech; namespace CalamityMod.DataStructures { diff --git a/Items/Accessories/OrnateShield.cs b/Items/Accessories/OrnateShield.cs index 82dcffd96a..bd50bcda66 100644 --- a/Items/Accessories/OrnateShield.cs +++ b/Items/Accessories/OrnateShield.cs @@ -1,9 +1,9 @@ using CalamityMod.Items.Materials; -using CalamityMod.Items.Armor; using Terraria; using Terraria.ID; using Terraria.ModLoader; using CalamityMod.CalPlayer.Dashes; +using CalamityMod.Items.Armor.Daedalus; namespace CalamityMod.Items.Accessories { diff --git a/Items/Accessories/Wings/ExodusWings.cs b/Items/Accessories/Wings/ExodusWings.cs index 935faa6374..5dc32e66f9 100644 --- a/Items/Accessories/Wings/ExodusWings.cs +++ b/Items/Accessories/Wings/ExodusWings.cs @@ -1,4 +1,4 @@ -using CalamityMod.Items.Armor; +using CalamityMod.Items.Armor.Empyrean; using CalamityMod.Items.Materials; using Microsoft.Xna.Framework; using Terraria; @@ -36,7 +36,7 @@ namespace CalamityMod.Items.Accessories.Wings public override void UpdateAccessory(Player player, bool hideVisual) { - if (player.armor[0].type == ModContent.ItemType() && player.armor[1].type == ModContent.ItemType() && player.armor[2].type == ModContent.ItemType()) + if (player.armor[0].type == ModContent.ItemType() && player.armor[1].type == ModContent.ItemType() && player.armor[2].type == ModContent.ItemType()) { player.GetDamage() += 0.05f; player.GetCritChance() += 5; diff --git a/Items/Accessories/Wings/HadalMantle.cs b/Items/Accessories/Wings/HadalMantle.cs index f2d6504d18..098a18d041 100644 --- a/Items/Accessories/Wings/HadalMantle.cs +++ b/Items/Accessories/Wings/HadalMantle.cs @@ -1,4 +1,4 @@ -using CalamityMod.Items.Armor; +using CalamityMod.Items.Armor.Hydrothermic; using CalamityMod.Items.Materials; using Microsoft.Xna.Framework; using Terraria; diff --git a/Items/Accessories/Wings/SilvaWings.cs b/Items/Accessories/Wings/SilvaWings.cs index e2112929d6..407965be72 100644 --- a/Items/Accessories/Wings/SilvaWings.cs +++ b/Items/Accessories/Wings/SilvaWings.cs @@ -1,4 +1,4 @@ -using CalamityMod.Items.Armor; +using CalamityMod.Items.Armor.Silva; using CalamityMod.Items.Materials; using CalamityMod.Items.Placeables; using CalamityMod.Tiles.Furniture.CraftingStations; @@ -39,7 +39,7 @@ namespace CalamityMod.Items.Accessories.Wings public override void UpdateAccessory(Player player, bool hideVisual) { - if ((player.armor[0].type == ModContent.ItemType() || player.armor[0].type == ModContent.ItemType()) && + if ((player.armor[0].type == ModContent.ItemType() || player.armor[0].type == ModContent.ItemType()) && player.armor[1].type == ModContent.ItemType() && player.armor[2].type == ModContent.ItemType()) { player.Calamity().silvaWings = true; diff --git a/Items/Accessories/Wings/StarlightWings.cs b/Items/Accessories/Wings/StarlightWings.cs index ab44067b33..28c84e9c78 100644 --- a/Items/Accessories/Wings/StarlightWings.cs +++ b/Items/Accessories/Wings/StarlightWings.cs @@ -1,4 +1,4 @@ -using CalamityMod.Items.Armor; +using CalamityMod.Items.Armor.Daedalus; using CalamityMod.Items.Materials; using Microsoft.Xna.Framework; using Terraria; diff --git a/Items/Accessories/Wings/TarragonWings.cs b/Items/Accessories/Wings/TarragonWings.cs index 3bfc250f81..929073a425 100644 --- a/Items/Accessories/Wings/TarragonWings.cs +++ b/Items/Accessories/Wings/TarragonWings.cs @@ -1,5 +1,5 @@ using CalamityMod.Dusts; -using CalamityMod.Items.Armor; +using CalamityMod.Items.Armor.Tarragon; using CalamityMod.Items.Materials; using Microsoft.Xna.Framework; using Terraria; @@ -38,9 +38,9 @@ namespace CalamityMod.Items.Accessories.Wings public override void UpdateAccessory(Player player, bool hideVisual) { - if ((player.armor[0].type == ModContent.ItemType() || player.armor[0].type == ModContent.ItemType() || - player.armor[0].type == ModContent.ItemType() || player.armor[0].type == ModContent.ItemType() || - player.armor[0].type == ModContent.ItemType()) && + if ((player.armor[0].type == ModContent.ItemType() || player.armor[0].type == ModContent.ItemType() || + player.armor[0].type == ModContent.ItemType() || player.armor[0].type == ModContent.ItemType() || + player.armor[0].type == ModContent.ItemType()) && player.armor[1].type == ModContent.ItemType() && player.armor[2].type == ModContent.ItemType()) { player.statDefense += 15; diff --git a/Items/Armor/AerospecBreastplate.cs b/Items/Armor/Aerospec/AerospecBreastplate.cs similarity index 96% rename from Items/Armor/AerospecBreastplate.cs rename to Items/Armor/Aerospec/AerospecBreastplate.cs index 876b55d0f5..88fe5f61d7 100644 --- a/Items/Armor/AerospecBreastplate.cs +++ b/Items/Armor/Aerospec/AerospecBreastplate.cs @@ -3,7 +3,7 @@ using Terraria; using Terraria.ID; using Terraria.ModLoader; -namespace CalamityMod.Items.Armor +namespace CalamityMod.Items.Armor.Aerospec { [AutoloadEquip(EquipType.Body)] public class AerospecBreastplate : ModItem diff --git a/Items/Armor/AerospecBreastplate.png b/Items/Armor/Aerospec/AerospecBreastplate.png similarity index 100% rename from Items/Armor/AerospecBreastplate.png rename to Items/Armor/Aerospec/AerospecBreastplate.png diff --git a/Items/Armor/AerospecBreastplate_Body.png b/Items/Armor/Aerospec/AerospecBreastplate_Body.png similarity index 100% rename from Items/Armor/AerospecBreastplate_Body.png rename to Items/Armor/Aerospec/AerospecBreastplate_Body.png diff --git a/Items/Armor/AerospecHat.cs b/Items/Armor/Aerospec/AerospecHat.cs similarity index 95% rename from Items/Armor/AerospecHat.cs rename to Items/Armor/Aerospec/AerospecHat.cs index 5dea592566..47c78e2456 100644 --- a/Items/Armor/AerospecHat.cs +++ b/Items/Armor/Aerospec/AerospecHat.cs @@ -4,7 +4,7 @@ using Terraria; using Terraria.ID; using Terraria.ModLoader; -namespace CalamityMod.Items.Armor +namespace CalamityMod.Items.Armor.Aerospec { [AutoloadEquip(EquipType.Head)] public class AerospecHat : ModItem @@ -40,7 +40,7 @@ namespace CalamityMod.Items.Armor player.setBonus = "5% increased movement speed and magic critical strike chance\n" + "Taking over 25 damage in one hit will cause a spread of homing feathers to fall\n" + "Allows you to fall more quickly and disables fall damage"; - CalamityPlayer modPlayer = player.Calamity(); + var modPlayer = player.Calamity(); modPlayer.aeroSet = true; player.noFallDmg = true; player.moveSpeed += 0.05f; diff --git a/Items/Armor/AerospecHat.png b/Items/Armor/Aerospec/AerospecHat.png similarity index 100% rename from Items/Armor/AerospecHat.png rename to Items/Armor/Aerospec/AerospecHat.png diff --git a/Items/Armor/AerospecHat_Head.png b/Items/Armor/Aerospec/AerospecHat_Head.png similarity index 100% rename from Items/Armor/AerospecHat_Head.png rename to Items/Armor/Aerospec/AerospecHat_Head.png diff --git a/Items/Armor/AerospecHeadgear.cs b/Items/Armor/Aerospec/AerospecHeadgear.cs similarity index 96% rename from Items/Armor/AerospecHeadgear.cs rename to Items/Armor/Aerospec/AerospecHeadgear.cs index 0e2d702fe7..f8cd46f0a7 100644 --- a/Items/Armor/AerospecHeadgear.cs +++ b/Items/Armor/Aerospec/AerospecHeadgear.cs @@ -4,7 +4,7 @@ using Terraria; using Terraria.ID; using Terraria.ModLoader; -namespace CalamityMod.Items.Armor +namespace CalamityMod.Items.Armor.Aerospec { [AutoloadEquip(EquipType.Head)] public class AerospecHeadgear : ModItem @@ -47,7 +47,7 @@ namespace CalamityMod.Items.Armor "Once you have built max stealth, you will be able to perform a Stealth Strike\n" + "Rogue stealth only reduces when you attack, it does not reduce while moving\n" + "The higher your rogue stealth the higher your rogue damage, crit, and movement speed"; - CalamityPlayer modPlayer = player.Calamity(); + var modPlayer = player.Calamity(); modPlayer.aeroSet = true; modPlayer.rogueStealthMax += 1f; player.noFallDmg = true; diff --git a/Items/Armor/AerospecHeadgear.png b/Items/Armor/Aerospec/AerospecHeadgear.png similarity index 100% rename from Items/Armor/AerospecHeadgear.png rename to Items/Armor/Aerospec/AerospecHeadgear.png diff --git a/Items/Armor/AerospecHeadgear_Head.png b/Items/Armor/Aerospec/AerospecHeadgear_Head.png similarity index 100% rename from Items/Armor/AerospecHeadgear_Head.png rename to Items/Armor/Aerospec/AerospecHeadgear_Head.png diff --git a/Items/Armor/AerospecHelm.cs b/Items/Armor/Aerospec/AerospecHelm.cs similarity index 95% rename from Items/Armor/AerospecHelm.cs rename to Items/Armor/Aerospec/AerospecHelm.cs index 0bce173889..55bd7fe9f1 100644 --- a/Items/Armor/AerospecHelm.cs +++ b/Items/Armor/Aerospec/AerospecHelm.cs @@ -4,7 +4,7 @@ using Terraria; using Terraria.ID; using Terraria.ModLoader; -namespace CalamityMod.Items.Armor +namespace CalamityMod.Items.Armor.Aerospec { [AutoloadEquip(EquipType.Head)] public class AerospecHelm : ModItem @@ -41,7 +41,7 @@ namespace CalamityMod.Items.Armor "Enemies are more likely to target you\n" + "Taking over 25 damage in one hit will cause a spread of homing feathers to fall\n" + "Allows you to fall more quickly and disables fall damage"; - CalamityPlayer modPlayer = player.Calamity(); + var modPlayer = player.Calamity(); modPlayer.aeroSet = true; player.noFallDmg = true; player.moveSpeed += 0.05f; diff --git a/Items/Armor/AerospecHelm.png b/Items/Armor/Aerospec/AerospecHelm.png similarity index 100% rename from Items/Armor/AerospecHelm.png rename to Items/Armor/Aerospec/AerospecHelm.png diff --git a/Items/Armor/AerospecHelm_Head.png b/Items/Armor/Aerospec/AerospecHelm_Head.png similarity index 100% rename from Items/Armor/AerospecHelm_Head.png rename to Items/Armor/Aerospec/AerospecHelm_Head.png diff --git a/Items/Armor/AerospecHelmet.cs b/Items/Armor/Aerospec/AerospecHelmet.cs similarity index 93% rename from Items/Armor/AerospecHelmet.cs rename to Items/Armor/Aerospec/AerospecHelmet.cs index 4db20e4020..8097503b02 100644 --- a/Items/Armor/AerospecHelmet.cs +++ b/Items/Armor/Aerospec/AerospecHelmet.cs @@ -6,7 +6,7 @@ using Terraria; using Terraria.ID; using Terraria.ModLoader; -namespace CalamityMod.Items.Armor +namespace CalamityMod.Items.Armor.Aerospec { [AutoloadEquip(EquipType.Head)] public class AerospecHelmet : ModItem @@ -43,7 +43,7 @@ namespace CalamityMod.Items.Armor "Summons a valkyrie to protect you\n" + "Taking over 25 damage in one hit will cause a spread of homing feathers to fall\n" + "Allows you to fall more quickly and disables fall damage"; - CalamityPlayer modPlayer = player.Calamity(); + var modPlayer = player.Calamity(); modPlayer.valkyrie = true; modPlayer.aeroSet = true; player.noFallDmg = true; @@ -56,8 +56,8 @@ namespace CalamityMod.Items.Armor } if (player.ownedProjectileCounts[ModContent.ProjectileType()] < 1) { - int damage = (int)player.GetTotalDamage().ApplyTo(20); - int p = Projectile.NewProjectile(source, player.Center.X, player.Center.Y, 0f, -1f, ModContent.ProjectileType(), damage, 0f, Main.myPlayer, 0f, 0f); + var damage = (int)player.GetTotalDamage().ApplyTo(20); + var p = Projectile.NewProjectile(source, player.Center.X, player.Center.Y, 0f, -1f, ModContent.ProjectileType(), damage, 0f, Main.myPlayer, 0f, 0f); if (Main.projectile.IndexInRange(p)) Main.projectile[p].originalDamage = 20; } diff --git a/Items/Armor/AerospecHelmet.png b/Items/Armor/Aerospec/AerospecHelmet.png similarity index 100% rename from Items/Armor/AerospecHelmet.png rename to Items/Armor/Aerospec/AerospecHelmet.png diff --git a/Items/Armor/AerospecHelmet_Head.png b/Items/Armor/Aerospec/AerospecHelmet_Head.png similarity index 100% rename from Items/Armor/AerospecHelmet_Head.png rename to Items/Armor/Aerospec/AerospecHelmet_Head.png diff --git a/Items/Armor/AerospecHood.cs b/Items/Armor/Aerospec/AerospecHood.cs similarity index 95% rename from Items/Armor/AerospecHood.cs rename to Items/Armor/Aerospec/AerospecHood.cs index 8ff5df6a16..ff9116a1d5 100644 --- a/Items/Armor/AerospecHood.cs +++ b/Items/Armor/Aerospec/AerospecHood.cs @@ -4,7 +4,7 @@ using Terraria; using Terraria.ID; using Terraria.ModLoader; -namespace CalamityMod.Items.Armor +namespace CalamityMod.Items.Armor.Aerospec { [AutoloadEquip(EquipType.Head)] public class AerospecHood : ModItem @@ -40,7 +40,7 @@ namespace CalamityMod.Items.Armor player.setBonus = "5% increased movement speed and ranged critical strike chance\n" + "Taking over 25 damage in one hit will cause a spread of homing feathers to fall\n" + "Allows you to fall more quickly and disables fall damage"; - CalamityPlayer modPlayer = player.Calamity(); + var modPlayer = player.Calamity(); modPlayer.aeroSet = true; player.noFallDmg = true; player.moveSpeed += 0.05f; diff --git a/Items/Armor/AerospecHood.png b/Items/Armor/Aerospec/AerospecHood.png similarity index 100% rename from Items/Armor/AerospecHood.png rename to Items/Armor/Aerospec/AerospecHood.png diff --git a/Items/Armor/AerospecHood_Head.png b/Items/Armor/Aerospec/AerospecHood_Head.png similarity index 100% rename from Items/Armor/AerospecHood_Head.png rename to Items/Armor/Aerospec/AerospecHood_Head.png diff --git a/Items/Armor/AerospecLeggings.cs b/Items/Armor/Aerospec/AerospecLeggings.cs similarity index 96% rename from Items/Armor/AerospecLeggings.cs rename to Items/Armor/Aerospec/AerospecLeggings.cs index 669f601756..147506a48c 100644 --- a/Items/Armor/AerospecLeggings.cs +++ b/Items/Armor/Aerospec/AerospecLeggings.cs @@ -3,7 +3,7 @@ using Terraria; using Terraria.ID; using Terraria.ModLoader; -namespace CalamityMod.Items.Armor +namespace CalamityMod.Items.Armor.Aerospec { [AutoloadEquip(EquipType.Legs)] public class AerospecLeggings : ModItem diff --git a/Items/Armor/AerospecLeggings.png b/Items/Armor/Aerospec/AerospecLeggings.png similarity index 100% rename from Items/Armor/AerospecLeggings.png rename to Items/Armor/Aerospec/AerospecLeggings.png diff --git a/Items/Armor/AerospecLeggings_Legs.png b/Items/Armor/Aerospec/AerospecLeggings_Legs.png similarity index 100% rename from Items/Armor/AerospecLeggings_Legs.png rename to Items/Armor/Aerospec/AerospecLeggings_Legs.png diff --git a/Items/Armor/AstralBreastplate.cs b/Items/Armor/Astral/AstralBreastplate.cs similarity index 96% rename from Items/Armor/AstralBreastplate.cs rename to Items/Armor/Astral/AstralBreastplate.cs index bf117edb0e..abfb8fcf09 100644 --- a/Items/Armor/AstralBreastplate.cs +++ b/Items/Armor/Astral/AstralBreastplate.cs @@ -3,7 +3,7 @@ using Terraria; using Terraria.ID; using Terraria.ModLoader; -namespace CalamityMod.Items.Armor +namespace CalamityMod.Items.Armor.Astral { [AutoloadEquip(EquipType.Body)] public class AstralBreastplate : ModItem diff --git a/Items/Armor/AstralBreastplate.png b/Items/Armor/Astral/AstralBreastplate.png similarity index 100% rename from Items/Armor/AstralBreastplate.png rename to Items/Armor/Astral/AstralBreastplate.png diff --git a/Items/Armor/AstralBreastplate_Body.png b/Items/Armor/Astral/AstralBreastplate_Body.png similarity index 100% rename from Items/Armor/AstralBreastplate_Body.png rename to Items/Armor/Astral/AstralBreastplate_Body.png diff --git a/Items/Armor/AstralHelm.cs b/Items/Armor/Astral/AstralHelm.cs similarity index 95% rename from Items/Armor/AstralHelm.cs rename to Items/Armor/Astral/AstralHelm.cs index ffeaaf42eb..b1afd3efdf 100644 --- a/Items/Armor/AstralHelm.cs +++ b/Items/Armor/Astral/AstralHelm.cs @@ -4,7 +4,7 @@ using Terraria; using Terraria.ID; using Terraria.ModLoader; -namespace CalamityMod.Items.Armor +namespace CalamityMod.Items.Armor.Astral { [AutoloadEquip(EquipType.Head)] public class AstralHelm : ModItem @@ -41,7 +41,7 @@ namespace CalamityMod.Items.Armor "35% increased damage and 25% increased critical strike chance\n" + "Whenever you crit an enemy fallen, hallowed, and astral stars will rain down\n" + "This effect has a 1 second cooldown before it can trigger again"; - CalamityPlayer modPlayer = player.Calamity(); + var modPlayer = player.Calamity(); modPlayer.astralStarRain = true; player.moveSpeed += 0.05f; player.GetDamage() += 0.35f; diff --git a/Items/Armor/AstralHelm.png b/Items/Armor/Astral/AstralHelm.png similarity index 100% rename from Items/Armor/AstralHelm.png rename to Items/Armor/Astral/AstralHelm.png diff --git a/Items/Armor/AstralHelm_Head.png b/Items/Armor/Astral/AstralHelm_Head.png similarity index 100% rename from Items/Armor/AstralHelm_Head.png rename to Items/Armor/Astral/AstralHelm_Head.png diff --git a/Items/Armor/AstralLeggings.cs b/Items/Armor/Astral/AstralLeggings.cs similarity index 96% rename from Items/Armor/AstralLeggings.cs rename to Items/Armor/Astral/AstralLeggings.cs index c9606de839..6386243624 100644 --- a/Items/Armor/AstralLeggings.cs +++ b/Items/Armor/Astral/AstralLeggings.cs @@ -3,7 +3,7 @@ using Terraria; using Terraria.ID; using Terraria.ModLoader; -namespace CalamityMod.Items.Armor +namespace CalamityMod.Items.Armor.Astral { [AutoloadEquip(EquipType.Legs)] public class AstralLeggings : ModItem diff --git a/Items/Armor/AstralLeggings.png b/Items/Armor/Astral/AstralLeggings.png similarity index 100% rename from Items/Armor/AstralLeggings.png rename to Items/Armor/Astral/AstralLeggings.png diff --git a/Items/Armor/AstralLeggings_Legs.png b/Items/Armor/Astral/AstralLeggings_Legs.png similarity index 100% rename from Items/Armor/AstralLeggings_Legs.png rename to Items/Armor/Astral/AstralLeggings_Legs.png diff --git a/Items/Armor/AuricTeslaBodyArmor.cs b/Items/Armor/Auric/AuricTeslaBodyArmor.cs similarity index 88% rename from Items/Armor/AuricTeslaBodyArmor.cs rename to Items/Armor/Auric/AuricTeslaBodyArmor.cs index 08befee8f1..baff093e1c 100644 --- a/Items/Armor/AuricTeslaBodyArmor.cs +++ b/Items/Armor/Auric/AuricTeslaBodyArmor.cs @@ -5,8 +5,12 @@ using CalamityMod.Tiles.Furniture.CraftingStations; using Terraria; using Terraria.ModLoader; using Terraria.ID; +using CalamityMod.Items.Armor.Bloodflare; +using CalamityMod.Items.Armor.GodSlayer; +using CalamityMod.Items.Armor.Silva; +using CalamityMod.Items.Armor.Tarragon; -namespace CalamityMod.Items.Armor +namespace CalamityMod.Items.Armor.Auric { [AutoloadEquip(EquipType.Body)] public class AuricTeslaBodyArmor : ModItem @@ -17,7 +21,7 @@ namespace CalamityMod.Items.Armor if (Main.netMode != NetmodeID.Server) { // Add equip textures - EquipLoader.AddEquipTexture(Mod, "CalamityMod/Items/Armor/AuricTeslaBodyArmor_Back", EquipType.Back, this); + EquipLoader.AddEquipTexture(Mod, "CalamityMod/Items/Armor/Auric/AuricTeslaBodyArmor_Back", EquipType.Back, this); } } @@ -41,7 +45,7 @@ namespace CalamityMod.Items.Armor public override void UpdateEquip(Player player) { - CalamityPlayer modPlayer = player.Calamity(); + var modPlayer = player.Calamity(); modPlayer.fBarrier = true; player.statLifeMax2 += 100; player.GetDamage() += 0.08f; @@ -58,7 +62,7 @@ namespace CalamityMod.Items.Armor AddIngredient(18). AddTile(). Register(); - + CreateRecipe(). AddIngredient(). AddIngredient(). diff --git a/Items/Armor/AuricTeslaBodyArmor.png b/Items/Armor/Auric/AuricTeslaBodyArmor.png similarity index 100% rename from Items/Armor/AuricTeslaBodyArmor.png rename to Items/Armor/Auric/AuricTeslaBodyArmor.png diff --git a/Items/Armor/AuricTeslaBodyArmor_Back.png b/Items/Armor/Auric/AuricTeslaBodyArmor_Back.png similarity index 100% rename from Items/Armor/AuricTeslaBodyArmor_Back.png rename to Items/Armor/Auric/AuricTeslaBodyArmor_Back.png diff --git a/Items/Armor/AuricTeslaBodyArmor_Body.png b/Items/Armor/Auric/AuricTeslaBodyArmor_Body.png similarity index 100% rename from Items/Armor/AuricTeslaBodyArmor_Body.png rename to Items/Armor/Auric/AuricTeslaBodyArmor_Body.png diff --git a/Items/Armor/AuricTeslaCuisses.cs b/Items/Armor/Auric/AuricTeslaCuisses.cs similarity index 88% rename from Items/Armor/AuricTeslaCuisses.cs rename to Items/Armor/Auric/AuricTeslaCuisses.cs index 1a3b8f3b8d..3f6e73aca1 100644 --- a/Items/Armor/AuricTeslaCuisses.cs +++ b/Items/Armor/Auric/AuricTeslaCuisses.cs @@ -1,10 +1,14 @@ -using CalamityMod.Items.Materials; +using CalamityMod.Items.Armor.Bloodflare; +using CalamityMod.Items.Armor.GodSlayer; +using CalamityMod.Items.Armor.Silva; +using CalamityMod.Items.Armor.Tarragon; +using CalamityMod.Items.Materials; using CalamityMod.Tiles.Furniture.CraftingStations; using Terraria; using Terraria.ID; using Terraria.ModLoader; -namespace CalamityMod.Items.Armor +namespace CalamityMod.Items.Armor.Auric { [AutoloadEquip(EquipType.Legs)] public class AuricTeslaCuisses : ModItem diff --git a/Items/Armor/AuricTeslaCuisses.png b/Items/Armor/Auric/AuricTeslaCuisses.png similarity index 100% rename from Items/Armor/AuricTeslaCuisses.png rename to Items/Armor/Auric/AuricTeslaCuisses.png diff --git a/Items/Armor/AuricTeslaCuisses_Legs.png b/Items/Armor/Auric/AuricTeslaCuisses_Legs.png similarity index 100% rename from Items/Armor/AuricTeslaCuisses_Legs.png rename to Items/Armor/Auric/AuricTeslaCuisses_Legs.png diff --git a/Items/Armor/AuricTeslaHoodedFacemask.cs b/Items/Armor/Auric/AuricTeslaHoodedFacemask.cs similarity index 86% rename from Items/Armor/AuricTeslaHoodedFacemask.cs rename to Items/Armor/Auric/AuricTeslaHoodedFacemask.cs index 796a58c654..b59db1ec37 100644 --- a/Items/Armor/AuricTeslaHoodedFacemask.cs +++ b/Items/Armor/Auric/AuricTeslaHoodedFacemask.cs @@ -5,8 +5,11 @@ using CalamityMod.Tiles.Furniture.CraftingStations; using Terraria; using Terraria.ModLoader; using CalamityMod.CalPlayer.Dashes; +using CalamityMod.Items.Armor.Bloodflare; +using CalamityMod.Items.Armor.GodSlayer; +using CalamityMod.Items.Armor.Tarragon; -namespace CalamityMod.Items.Armor +namespace CalamityMod.Items.Armor.Auric { [AutoloadEquip(EquipType.Head)] public class AuricTeslaHoodedFacemask : ModItem @@ -42,7 +45,7 @@ namespace CalamityMod.Items.Armor { player.setBonus = "Ranged Tarragon, Bloodflare and God Slayer armor effects\n" + "All projectiles spawn healing auric orbs on enemy hits"; - CalamityPlayer modPlayer = player.Calamity(); + var modPlayer = player.Calamity(); modPlayer.tarraSet = true; modPlayer.tarraRanged = true; modPlayer.bloodflareSet = true; @@ -61,7 +64,7 @@ namespace CalamityMod.Items.Armor public override void UpdateEquip(Player player) { - CalamityPlayer modPlayer = player.Calamity(); + var modPlayer = player.Calamity(); modPlayer.auricBoost = true; player.GetDamage() += 0.3f; player.GetCritChance() += 30; @@ -70,9 +73,9 @@ namespace CalamityMod.Items.Armor public override void AddRecipes() { CreateRecipe(). - AddIngredient(). - AddIngredient(). - AddIngredient(). + AddIngredient(). + AddIngredient(). + AddIngredient(). AddIngredient(). AddIngredient(12). AddTile(). diff --git a/Items/Armor/AuricTeslaHoodedFacemask.png b/Items/Armor/Auric/AuricTeslaHoodedFacemask.png similarity index 100% rename from Items/Armor/AuricTeslaHoodedFacemask.png rename to Items/Armor/Auric/AuricTeslaHoodedFacemask.png diff --git a/Items/Armor/AuricTeslaHoodedFacemask_Head.png b/Items/Armor/Auric/AuricTeslaHoodedFacemask_Head.png similarity index 100% rename from Items/Armor/AuricTeslaHoodedFacemask_Head.png rename to Items/Armor/Auric/AuricTeslaHoodedFacemask_Head.png diff --git a/Items/Armor/AuricTeslaPlumedHelm.cs b/Items/Armor/Auric/AuricTeslaPlumedHelm.cs similarity index 89% rename from Items/Armor/AuricTeslaPlumedHelm.cs rename to Items/Armor/Auric/AuricTeslaPlumedHelm.cs index d0a91ed09e..c1b4470d32 100644 --- a/Items/Armor/AuricTeslaPlumedHelm.cs +++ b/Items/Armor/Auric/AuricTeslaPlumedHelm.cs @@ -5,8 +5,10 @@ using CalamityMod.Tiles.Furniture.CraftingStations; using Terraria; using Terraria.ModLoader; using CalamityMod.CalPlayer.Dashes; +using CalamityMod.Items.Armor.Bloodflare; +using CalamityMod.Items.Armor.Tarragon; -namespace CalamityMod.Items.Armor +namespace CalamityMod.Items.Armor.Auric { [AutoloadEquip(EquipType.Head)] public class AuricTeslaPlumedHelm : ModItem @@ -46,7 +48,7 @@ namespace CalamityMod.Items.Armor "Once you have built max stealth, you will be able to perform a Stealth Strike\n" + "Rogue stealth only reduces when you attack, it does not reduce while moving\n" + "The higher your rogue stealth the higher your rogue damage, crit, and movement speed"; - CalamityPlayer modPlayer = player.Calamity(); + var modPlayer = player.Calamity(); modPlayer.tarraSet = true; modPlayer.tarraThrowing = true; modPlayer.bloodflareSet = true; @@ -67,7 +69,7 @@ namespace CalamityMod.Items.Armor public override void UpdateEquip(Player player) { - CalamityPlayer modPlayer = player.Calamity(); + var modPlayer = player.Calamity(); modPlayer.auricBoost = true; player.GetDamage() += 0.2f; player.GetCritChance() += 20; @@ -77,9 +79,9 @@ namespace CalamityMod.Items.Armor public override void AddRecipes() { CreateRecipe(). - AddIngredient(). - AddIngredient(). - AddIngredient(). + AddIngredient(). + AddIngredient(). + AddIngredient(). AddIngredient(). AddIngredient(12). AddTile(). diff --git a/Items/Armor/AuricTeslaPlumedHelm.png b/Items/Armor/Auric/AuricTeslaPlumedHelm.png similarity index 100% rename from Items/Armor/AuricTeslaPlumedHelm.png rename to Items/Armor/Auric/AuricTeslaPlumedHelm.png diff --git a/Items/Armor/AuricTeslaPlumedHelm_Head.png b/Items/Armor/Auric/AuricTeslaPlumedHelm_Head.png similarity index 100% rename from Items/Armor/AuricTeslaPlumedHelm_Head.png rename to Items/Armor/Auric/AuricTeslaPlumedHelm_Head.png diff --git a/Items/Armor/AuricTeslaRoyalHelm.cs b/Items/Armor/Auric/AuricTeslaRoyalHelm.cs similarity index 86% rename from Items/Armor/AuricTeslaRoyalHelm.cs rename to Items/Armor/Auric/AuricTeslaRoyalHelm.cs index 1367b890db..980f6f3644 100644 --- a/Items/Armor/AuricTeslaRoyalHelm.cs +++ b/Items/Armor/Auric/AuricTeslaRoyalHelm.cs @@ -5,8 +5,11 @@ using CalamityMod.Tiles.Furniture.CraftingStations; using Terraria; using Terraria.ModLoader; using CalamityMod.CalPlayer.Dashes; +using CalamityMod.Items.Armor.Bloodflare; +using CalamityMod.Items.Armor.GodSlayer; +using CalamityMod.Items.Armor.Tarragon; -namespace CalamityMod.Items.Armor +namespace CalamityMod.Items.Armor.Auric { [AutoloadEquip(EquipType.Head)] [LegacyName("AuricTeslaHelm")] @@ -44,7 +47,7 @@ namespace CalamityMod.Items.Armor player.setBonus = "Melee Tarragon, Bloodflare and God Slayer effects\n" + "Enemies are more likely to target you\n" + "All projectiles spawn healing auric orbs on enemy hits"; - CalamityPlayer modPlayer = player.Calamity(); + var modPlayer = player.Calamity(); modPlayer.tarraSet = true; modPlayer.tarraMelee = true; modPlayer.bloodflareSet = true; @@ -64,7 +67,7 @@ namespace CalamityMod.Items.Armor public override void UpdateEquip(Player player) { - CalamityPlayer modPlayer = player.Calamity(); + var modPlayer = player.Calamity(); modPlayer.auricBoost = true; player.GetDamage() += 0.2f; player.GetCritChance() += 20; @@ -73,9 +76,9 @@ namespace CalamityMod.Items.Armor public override void AddRecipes() { CreateRecipe(). - AddIngredient(). - AddIngredient(). - AddIngredient(). + AddIngredient(). + AddIngredient(). + AddIngredient(). AddIngredient(). AddIngredient(12). AddTile(). diff --git a/Items/Armor/AuricTeslaRoyalHelm.png b/Items/Armor/Auric/AuricTeslaRoyalHelm.png similarity index 100% rename from Items/Armor/AuricTeslaRoyalHelm.png rename to Items/Armor/Auric/AuricTeslaRoyalHelm.png diff --git a/Items/Armor/AuricTeslaRoyalHelm_Head.png b/Items/Armor/Auric/AuricTeslaRoyalHelm_Head.png similarity index 100% rename from Items/Armor/AuricTeslaRoyalHelm_Head.png rename to Items/Armor/Auric/AuricTeslaRoyalHelm_Head.png diff --git a/Items/Armor/AuricTeslaSpaceHelmet.cs b/Items/Armor/Auric/AuricTeslaSpaceHelmet.cs similarity index 86% rename from Items/Armor/AuricTeslaSpaceHelmet.cs rename to Items/Armor/Auric/AuricTeslaSpaceHelmet.cs index 68d4f127f0..755d9f3472 100644 --- a/Items/Armor/AuricTeslaSpaceHelmet.cs +++ b/Items/Armor/Auric/AuricTeslaSpaceHelmet.cs @@ -1,13 +1,16 @@ using CalamityMod.Buffs.Summon; using CalamityMod.CalPlayer; using CalamityMod.Items.Accessories; +using CalamityMod.Items.Armor.Bloodflare; +using CalamityMod.Items.Armor.Silva; +using CalamityMod.Items.Armor.Tarragon; using CalamityMod.Items.Materials; using CalamityMod.Projectiles.Summon; using CalamityMod.Tiles.Furniture.CraftingStations; using Terraria; using Terraria.ModLoader; -namespace CalamityMod.Items.Armor +namespace CalamityMod.Items.Armor.Auric { [AutoloadEquip(EquipType.Head)] public class AuricTeslaSpaceHelmet : ModItem @@ -45,7 +48,7 @@ namespace CalamityMod.Items.Armor "All projectiles spawn healing auric orbs on enemy hits\n" + "Max run speed and acceleration boosted by 5%\n" + "+6 max minions and 75% increased minion damage"; - CalamityPlayer modPlayer = player.Calamity(); + var modPlayer = player.Calamity(); modPlayer.tarraSet = true; modPlayer.tarraSummon = true; modPlayer.bloodflareSet = true; @@ -69,8 +72,8 @@ namespace CalamityMod.Items.Armor } if (player.ownedProjectileCounts[ModContent.ProjectileType()] < 1) { - int damage = (int)player.GetTotalDamage().ApplyTo(1200); - int p = Projectile.NewProjectile(source, player.Center.X, player.Center.Y, 0f, -1f, ModContent.ProjectileType(), damage, 0f, Main.myPlayer, -20f, 0f); + var damage = (int)player.GetTotalDamage().ApplyTo(1200); + var p = Projectile.NewProjectile(source, player.Center.X, player.Center.Y, 0f, -1f, ModContent.ProjectileType(), damage, 0f, Main.myPlayer, -20f, 0f); if (Main.projectile.IndexInRange(p)) Main.projectile[p].originalDamage = 1200; } @@ -79,7 +82,7 @@ namespace CalamityMod.Items.Armor public override void UpdateEquip(Player player) { - CalamityPlayer modPlayer = player.Calamity(); + var modPlayer = player.Calamity(); modPlayer.auricBoost = true; player.GetDamage() += 0.15f; } @@ -87,9 +90,9 @@ namespace CalamityMod.Items.Armor public override void AddRecipes() { CreateRecipe(). - AddIngredient(). - AddIngredient(). - AddIngredient(). + AddIngredient(). + AddIngredient(). + AddIngredient(). AddIngredient(). AddIngredient(12). AddTile(). diff --git a/Items/Armor/AuricTeslaSpaceHelmet.png b/Items/Armor/Auric/AuricTeslaSpaceHelmet.png similarity index 100% rename from Items/Armor/AuricTeslaSpaceHelmet.png rename to Items/Armor/Auric/AuricTeslaSpaceHelmet.png diff --git a/Items/Armor/AuricTeslaSpaceHelmet_Head.png b/Items/Armor/Auric/AuricTeslaSpaceHelmet_Head.png similarity index 100% rename from Items/Armor/AuricTeslaSpaceHelmet_Head.png rename to Items/Armor/Auric/AuricTeslaSpaceHelmet_Head.png diff --git a/Items/Armor/AuricTeslaWireHemmedVisage.cs b/Items/Armor/Auric/AuricTeslaWireHemmedVisage.cs similarity index 86% rename from Items/Armor/AuricTeslaWireHemmedVisage.cs rename to Items/Armor/Auric/AuricTeslaWireHemmedVisage.cs index 3aa2eab331..65667c423e 100644 --- a/Items/Armor/AuricTeslaWireHemmedVisage.cs +++ b/Items/Armor/Auric/AuricTeslaWireHemmedVisage.cs @@ -1,11 +1,14 @@ using CalamityMod.CalPlayer; using CalamityMod.Items.Accessories; +using CalamityMod.Items.Armor.Bloodflare; +using CalamityMod.Items.Armor.Silva; +using CalamityMod.Items.Armor.Tarragon; using CalamityMod.Items.Materials; using CalamityMod.Tiles.Furniture.CraftingStations; using Terraria; using Terraria.ModLoader; -namespace CalamityMod.Items.Armor +namespace CalamityMod.Items.Armor.Auric { [AutoloadEquip(EquipType.Head)] public class AuricTeslaWireHemmedVisage : ModItem @@ -42,7 +45,7 @@ namespace CalamityMod.Items.Armor player.setBonus = "Magic Tarragon, Bloodflare and Silva armor effects\n" + "All projectiles spawn healing auric orbs on enemy hits\n" + "Max run speed and acceleration boosted by 5%"; - CalamityPlayer modPlayer = player.Calamity(); + var modPlayer = player.Calamity(); modPlayer.tarraSet = true; modPlayer.tarraMage = true; modPlayer.bloodflareSet = true; @@ -58,7 +61,7 @@ namespace CalamityMod.Items.Armor public override void UpdateEquip(Player player) { - CalamityPlayer modPlayer = player.Calamity(); + var modPlayer = player.Calamity(); modPlayer.auricBoost = true; player.manaCost *= 0.8f; player.GetDamage() += 0.3f; @@ -69,9 +72,9 @@ namespace CalamityMod.Items.Armor public override void AddRecipes() { CreateRecipe(). - AddIngredient(). - AddIngredient(). - AddIngredient(). + AddIngredient(). + AddIngredient(). + AddIngredient(). AddIngredient(). AddIngredient(12). AddTile(). diff --git a/Items/Armor/AuricTeslaWireHemmedVisage.png b/Items/Armor/Auric/AuricTeslaWireHemmedVisage.png similarity index 100% rename from Items/Armor/AuricTeslaWireHemmedVisage.png rename to Items/Armor/Auric/AuricTeslaWireHemmedVisage.png diff --git a/Items/Armor/AuricTeslaWireHemmedVisage_Head.png b/Items/Armor/Auric/AuricTeslaWireHemmedVisage_Head.png similarity index 100% rename from Items/Armor/AuricTeslaWireHemmedVisage_Head.png rename to Items/Armor/Auric/AuricTeslaWireHemmedVisage_Head.png diff --git a/Items/Armor/BloodflareBodyArmor.cs b/Items/Armor/Bloodflare/BloodflareBodyArmor.cs similarity index 96% rename from Items/Armor/BloodflareBodyArmor.cs rename to Items/Armor/Bloodflare/BloodflareBodyArmor.cs index ad901b017b..d5444cef65 100644 --- a/Items/Armor/BloodflareBodyArmor.cs +++ b/Items/Armor/Bloodflare/BloodflareBodyArmor.cs @@ -3,7 +3,7 @@ using Terraria; using Terraria.ID; using Terraria.ModLoader; -namespace CalamityMod.Items.Armor +namespace CalamityMod.Items.Armor.Bloodflare { [AutoloadEquip(EquipType.Body)] public class BloodflareBodyArmor : ModItem diff --git a/Items/Armor/BloodflareBodyArmor.png b/Items/Armor/Bloodflare/BloodflareBodyArmor.png similarity index 100% rename from Items/Armor/BloodflareBodyArmor.png rename to Items/Armor/Bloodflare/BloodflareBodyArmor.png diff --git a/Items/Armor/BloodflareBodyArmor_Body.png b/Items/Armor/Bloodflare/BloodflareBodyArmor_Body.png similarity index 100% rename from Items/Armor/BloodflareBodyArmor_Body.png rename to Items/Armor/Bloodflare/BloodflareBodyArmor_Body.png diff --git a/Items/Armor/BloodflareCuisses.cs b/Items/Armor/Bloodflare/BloodflareCuisses.cs similarity index 96% rename from Items/Armor/BloodflareCuisses.cs rename to Items/Armor/Bloodflare/BloodflareCuisses.cs index 1bd703181e..d3484f877e 100644 --- a/Items/Armor/BloodflareCuisses.cs +++ b/Items/Armor/Bloodflare/BloodflareCuisses.cs @@ -3,7 +3,7 @@ using Terraria; using Terraria.ID; using Terraria.ModLoader; -namespace CalamityMod.Items.Armor +namespace CalamityMod.Items.Armor.Bloodflare { [AutoloadEquip(EquipType.Legs)] public class BloodflareCuisses : ModItem diff --git a/Items/Armor/BloodflareCuisses.png b/Items/Armor/Bloodflare/BloodflareCuisses.png similarity index 100% rename from Items/Armor/BloodflareCuisses.png rename to Items/Armor/Bloodflare/BloodflareCuisses.png diff --git a/Items/Armor/BloodflareCuisses_Legs.png b/Items/Armor/Bloodflare/BloodflareCuisses_Legs.png similarity index 100% rename from Items/Armor/BloodflareCuisses_Legs.png rename to Items/Armor/Bloodflare/BloodflareCuisses_Legs.png diff --git a/Items/Armor/BloodflareHornedMask.cs b/Items/Armor/Bloodflare/BloodflareHeadMagic.cs similarity index 93% rename from Items/Armor/BloodflareHornedMask.cs rename to Items/Armor/Bloodflare/BloodflareHeadMagic.cs index ef30343796..ce1e720e96 100644 --- a/Items/Armor/BloodflareHornedMask.cs +++ b/Items/Armor/Bloodflare/BloodflareHeadMagic.cs @@ -4,10 +4,11 @@ using Terraria; using Terraria.ID; using Terraria.ModLoader; -namespace CalamityMod.Items.Armor +namespace CalamityMod.Items.Armor.Bloodflare { [AutoloadEquip(EquipType.Head)] - public class BloodflareHornedMask : ModItem + [LegacyName("BloodflareHornedMask")] + public class BloodflareHeadMagic : ModItem { public override void SetStaticDefaults() { @@ -38,7 +39,7 @@ namespace CalamityMod.Items.Armor public override void UpdateArmorSet(Player player) { - CalamityPlayer modPlayer = player.Calamity(); + var modPlayer = player.Calamity(); modPlayer.bloodflareSet = true; modPlayer.bloodflareMage = true; player.setBonus = "Greatly increases life regen\n" + diff --git a/Items/Armor/BloodflareHornedMask.png b/Items/Armor/Bloodflare/BloodflareHeadMagic.png similarity index 100% rename from Items/Armor/BloodflareHornedMask.png rename to Items/Armor/Bloodflare/BloodflareHeadMagic.png diff --git a/Items/Armor/BloodflareHornedMask_Head.png b/Items/Armor/Bloodflare/BloodflareHeadMagic_Head.png similarity index 100% rename from Items/Armor/BloodflareHornedMask_Head.png rename to Items/Armor/Bloodflare/BloodflareHeadMagic_Head.png diff --git a/Items/Armor/BloodflareMask.cs b/Items/Armor/Bloodflare/BloodflareHeadMelee.cs similarity index 93% rename from Items/Armor/BloodflareMask.cs rename to Items/Armor/Bloodflare/BloodflareHeadMelee.cs index d675ba567c..82e4f87fab 100644 --- a/Items/Armor/BloodflareMask.cs +++ b/Items/Armor/Bloodflare/BloodflareHeadMelee.cs @@ -4,10 +4,11 @@ using Terraria; using Terraria.ID; using Terraria.ModLoader; -namespace CalamityMod.Items.Armor +namespace CalamityMod.Items.Armor.Bloodflare { [AutoloadEquip(EquipType.Head)] - public class BloodflareMask : ModItem + [LegacyName("BloodflareMask")] + public class BloodflareHeadMelee : ModItem { public override void SetStaticDefaults() { @@ -38,7 +39,7 @@ namespace CalamityMod.Items.Armor public override void UpdateArmorSet(Player player) { - CalamityPlayer modPlayer = player.Calamity(); + var modPlayer = player.Calamity(); modPlayer.bloodflareSet = true; modPlayer.bloodflareMelee = true; player.setBonus = "Greatly increases life regen\n" + diff --git a/Items/Armor/BloodflareMask.png b/Items/Armor/Bloodflare/BloodflareHeadMelee.png similarity index 100% rename from Items/Armor/BloodflareMask.png rename to Items/Armor/Bloodflare/BloodflareHeadMelee.png diff --git a/Items/Armor/BloodflareMask_Head.png b/Items/Armor/Bloodflare/BloodflareHeadMelee_Head.png similarity index 100% rename from Items/Armor/BloodflareMask_Head.png rename to Items/Armor/Bloodflare/BloodflareHeadMelee_Head.png diff --git a/Items/Armor/BloodflareHornedHelm.cs b/Items/Armor/Bloodflare/BloodflareHeadRanged.cs similarity index 90% rename from Items/Armor/BloodflareHornedHelm.cs rename to Items/Armor/Bloodflare/BloodflareHeadRanged.cs index 70dc9c9478..700ab532d4 100644 --- a/Items/Armor/BloodflareHornedHelm.cs +++ b/Items/Armor/Bloodflare/BloodflareHeadRanged.cs @@ -5,10 +5,11 @@ using Terraria.ID; using Terraria.ModLoader; using Terraria.Audio; -namespace CalamityMod.Items.Armor +namespace CalamityMod.Items.Armor.Bloodflare { [AutoloadEquip(EquipType.Head)] - public class BloodflareHornedHelm : ModItem + [LegacyName("BloodflareHornedHelm")] + public class BloodflareHeadRanged : ModItem { public static readonly SoundStyle ActivationSound = new("CalamityMod/Sounds/Custom/AbilitySounds/BloodflareRangerActivation"); @@ -41,10 +42,10 @@ namespace CalamityMod.Items.Armor public override void UpdateArmorSet(Player player) { - CalamityPlayer modPlayer = player.Calamity(); + var modPlayer = player.Calamity(); modPlayer.bloodflareSet = true; modPlayer.bloodflareRanged = true; - string hotkey = CalamityKeybinds.SetBonusHotKey.TooltipHotkeyString(); + var hotkey = CalamityKeybinds.SetBonusHotKey.TooltipHotkeyString(); player.setBonus = "Greatly increases life regen\n" + "Enemies below 50% life drop a heart when struck\n" + "This effect has a 5 second cooldown\n" + diff --git a/Items/Armor/BloodflareHornedHelm.png b/Items/Armor/Bloodflare/BloodflareHeadRanged.png similarity index 100% rename from Items/Armor/BloodflareHornedHelm.png rename to Items/Armor/Bloodflare/BloodflareHeadRanged.png diff --git a/Items/Armor/BloodflareHornedHelm_Head.png b/Items/Armor/Bloodflare/BloodflareHeadRanged_Head.png similarity index 100% rename from Items/Armor/BloodflareHornedHelm_Head.png rename to Items/Armor/Bloodflare/BloodflareHeadRanged_Head.png diff --git a/Items/Armor/BloodflareHelm.cs b/Items/Armor/Bloodflare/BloodflareHeadRogue.cs similarity index 94% rename from Items/Armor/BloodflareHelm.cs rename to Items/Armor/Bloodflare/BloodflareHeadRogue.cs index 4c9a9e47fc..364b96d7ef 100644 --- a/Items/Armor/BloodflareHelm.cs +++ b/Items/Armor/Bloodflare/BloodflareHeadRogue.cs @@ -4,10 +4,11 @@ using Terraria; using Terraria.ID; using Terraria.ModLoader; -namespace CalamityMod.Items.Armor +namespace CalamityMod.Items.Armor.Bloodflare { [AutoloadEquip(EquipType.Head)] - public class BloodflareHelm : ModItem + [LegacyName("BloodflareHelm")] + public class BloodflareHeadRogue : ModItem { public override void SetStaticDefaults() { @@ -38,7 +39,7 @@ namespace CalamityMod.Items.Armor public override void UpdateArmorSet(Player player) { - CalamityPlayer modPlayer = player.Calamity(); + var modPlayer = player.Calamity(); modPlayer.bloodflareSet = true; modPlayer.bloodflareThrowing = true; modPlayer.rogueStealthMax += 1.2f; diff --git a/Items/Armor/BloodflareHelm.png b/Items/Armor/Bloodflare/BloodflareHeadRogue.png similarity index 100% rename from Items/Armor/BloodflareHelm.png rename to Items/Armor/Bloodflare/BloodflareHeadRogue.png diff --git a/Items/Armor/BloodflareHelm_Head.png b/Items/Armor/Bloodflare/BloodflareHeadRogue_Head.png similarity index 100% rename from Items/Armor/BloodflareHelm_Head.png rename to Items/Armor/Bloodflare/BloodflareHeadRogue_Head.png diff --git a/Items/Armor/BloodflareHelmet.cs b/Items/Armor/Bloodflare/BloodflareHeadSummon.cs similarity index 93% rename from Items/Armor/BloodflareHelmet.cs rename to Items/Armor/Bloodflare/BloodflareHeadSummon.cs index 4ff5154dfb..8521a2effc 100644 --- a/Items/Armor/BloodflareHelmet.cs +++ b/Items/Armor/Bloodflare/BloodflareHeadSummon.cs @@ -4,10 +4,11 @@ using Terraria; using Terraria.ID; using Terraria.ModLoader; -namespace CalamityMod.Items.Armor +namespace CalamityMod.Items.Armor.Bloodflare { [AutoloadEquip(EquipType.Head)] - public class BloodflareHelmet : ModItem + [LegacyName("BloodflareHelmet")] + public class BloodflareHeadSummon : ModItem { public override void SetStaticDefaults() { @@ -38,7 +39,7 @@ namespace CalamityMod.Items.Armor public override void UpdateArmorSet(Player player) { - CalamityPlayer modPlayer = player.Calamity(); + var modPlayer = player.Calamity(); modPlayer.bloodflareSet = true; modPlayer.bloodflareSummon = true; modPlayer.WearingPostMLSummonerSet = true; diff --git a/Items/Armor/BloodflareHelmet.png b/Items/Armor/Bloodflare/BloodflareHeadSummon.png similarity index 100% rename from Items/Armor/BloodflareHelmet.png rename to Items/Armor/Bloodflare/BloodflareHeadSummon.png diff --git a/Items/Armor/BloodflareHelmet_Head.png b/Items/Armor/Bloodflare/BloodflareHeadSummon_Head.png similarity index 100% rename from Items/Armor/BloodflareHelmet_Head.png rename to Items/Armor/Bloodflare/BloodflareHeadSummon_Head.png diff --git a/Items/Armor/BrimflameBoots.cs b/Items/Armor/Brimflame/BrimflameBoots.cs similarity index 96% rename from Items/Armor/BrimflameBoots.cs rename to Items/Armor/Brimflame/BrimflameBoots.cs index b17a242a76..24f913c744 100644 --- a/Items/Armor/BrimflameBoots.cs +++ b/Items/Armor/Brimflame/BrimflameBoots.cs @@ -3,7 +3,7 @@ using Terraria; using Terraria.ID; using Terraria.ModLoader; -namespace CalamityMod.Items.Armor +namespace CalamityMod.Items.Armor.Brimflame { [AutoloadEquip(EquipType.Legs)] public class BrimflameBoots : ModItem diff --git a/Items/Armor/BrimflameBoots.png b/Items/Armor/Brimflame/BrimflameBoots.png similarity index 100% rename from Items/Armor/BrimflameBoots.png rename to Items/Armor/Brimflame/BrimflameBoots.png diff --git a/Items/Armor/BrimflameBoots_Legs.png b/Items/Armor/Brimflame/BrimflameBoots_Legs.png similarity index 100% rename from Items/Armor/BrimflameBoots_Legs.png rename to Items/Armor/Brimflame/BrimflameBoots_Legs.png diff --git a/Items/Armor/BrimflameRobes.cs b/Items/Armor/Brimflame/BrimflameRobes.cs similarity index 96% rename from Items/Armor/BrimflameRobes.cs rename to Items/Armor/Brimflame/BrimflameRobes.cs index 737488d4f6..1dd388e5f6 100644 --- a/Items/Armor/BrimflameRobes.cs +++ b/Items/Armor/Brimflame/BrimflameRobes.cs @@ -3,7 +3,7 @@ using Terraria; using Terraria.ID; using Terraria.ModLoader; -namespace CalamityMod.Items.Armor +namespace CalamityMod.Items.Armor.Brimflame { [AutoloadEquip(EquipType.Body)] public class BrimflameRobes : ModItem diff --git a/Items/Armor/BrimflameRobes.png b/Items/Armor/Brimflame/BrimflameRobes.png similarity index 100% rename from Items/Armor/BrimflameRobes.png rename to Items/Armor/Brimflame/BrimflameRobes.png diff --git a/Items/Armor/BrimflameRobes_Body.png b/Items/Armor/Brimflame/BrimflameRobes_Body.png similarity index 100% rename from Items/Armor/BrimflameRobes_Body.png rename to Items/Armor/Brimflame/BrimflameRobes_Body.png diff --git a/Items/Armor/BrimflameScowl.cs b/Items/Armor/Brimflame/BrimflameScowl.cs similarity index 93% rename from Items/Armor/BrimflameScowl.cs rename to Items/Armor/Brimflame/BrimflameScowl.cs index 316717fe79..19d0d275ef 100644 --- a/Items/Armor/BrimflameScowl.cs +++ b/Items/Armor/Brimflame/BrimflameScowl.cs @@ -7,7 +7,7 @@ using Terraria.ID; using Terraria.ModLoader; using Terraria.Audio; -namespace CalamityMod.Items.Armor +namespace CalamityMod.Items.Armor.Brimflame { [AutoloadEquip(EquipType.Head)] public class BrimflameScowl : ModItem @@ -37,7 +37,7 @@ namespace CalamityMod.Items.Armor private void UpdateFrenzy(Player player) { - CalamityPlayer modPlayer = player.Calamity(); + var modPlayer = player.Calamity(); if (!frenzy) { if (modPlayer.brimflameFrenzy) @@ -77,11 +77,11 @@ namespace CalamityMod.Items.Armor public override void UpdateArmorSet(Player player) { - CalamityPlayer modPlayer = player.Calamity(); + var modPlayer = player.Calamity(); modPlayer.brimflameSet = true; player.GetDamage() += 0.15f; player.GetCritChance() += 15; - string hotkey = CalamityKeybinds.SetBonusHotKey.TooltipHotkeyString(); + var hotkey = CalamityKeybinds.SetBonusHotKey.TooltipHotkeyString(); player.setBonus = "Grants an additional 15% increased magic damage and crit\n" + "Press " + hotkey + " to trigger a brimflame frenzy effect\n" + "While under this effect, your damage is significantly boosted\n" + diff --git a/Items/Armor/BrimflameScowl.png b/Items/Armor/Brimflame/BrimflameScowl.png similarity index 100% rename from Items/Armor/BrimflameScowl.png rename to Items/Armor/Brimflame/BrimflameScowl.png diff --git a/Items/Armor/BrimflameScowl_Head.png b/Items/Armor/Brimflame/BrimflameScowl_Head.png similarity index 100% rename from Items/Armor/BrimflameScowl_Head.png rename to Items/Armor/Brimflame/BrimflameScowl_Head.png diff --git a/Items/Armor/DaedalusBreastplate.cs b/Items/Armor/Daedalus/DaedalusBreastplate.cs similarity index 96% rename from Items/Armor/DaedalusBreastplate.cs rename to Items/Armor/Daedalus/DaedalusBreastplate.cs index 2ce7096627..7d17a35da1 100644 --- a/Items/Armor/DaedalusBreastplate.cs +++ b/Items/Armor/Daedalus/DaedalusBreastplate.cs @@ -3,7 +3,7 @@ using Terraria; using Terraria.ID; using Terraria.ModLoader; -namespace CalamityMod.Items.Armor +namespace CalamityMod.Items.Armor.Daedalus { [AutoloadEquip(EquipType.Body)] public class DaedalusBreastplate : ModItem diff --git a/Items/Armor/DaedalusBreastplate.png b/Items/Armor/Daedalus/DaedalusBreastplate.png similarity index 100% rename from Items/Armor/DaedalusBreastplate.png rename to Items/Armor/Daedalus/DaedalusBreastplate.png diff --git a/Items/Armor/DaedalusBreastplate_Body.png b/Items/Armor/Daedalus/DaedalusBreastplate_Body.png similarity index 100% rename from Items/Armor/DaedalusBreastplate_Body.png rename to Items/Armor/Daedalus/DaedalusBreastplate_Body.png diff --git a/Items/Armor/DaedalusHeadMagic.cs b/Items/Armor/Daedalus/DaedalusHeadMagic.cs similarity index 96% rename from Items/Armor/DaedalusHeadMagic.cs rename to Items/Armor/Daedalus/DaedalusHeadMagic.cs index c95c731b2d..21ffed537b 100644 --- a/Items/Armor/DaedalusHeadMagic.cs +++ b/Items/Armor/Daedalus/DaedalusHeadMagic.cs @@ -4,7 +4,7 @@ using Terraria; using Terraria.ID; using Terraria.ModLoader; -namespace CalamityMod.Items.Armor +namespace CalamityMod.Items.Armor.Daedalus { [AutoloadEquip(EquipType.Head)] [LegacyName("DaedalusHat")] @@ -43,7 +43,7 @@ namespace CalamityMod.Items.Armor player.setBonus = "5% increased magic damage\n" + "You have a 10% chance to absorb physical attacks and projectiles when hit\n" + "If you absorb an attack you are healed for 1/2 of that attack's damage"; - CalamityPlayer modPlayer = player.Calamity(); + var modPlayer = player.Calamity(); modPlayer.daedalusAbsorb = true; player.GetDamage() += 0.05f; } diff --git a/Items/Armor/DaedalusHeadMagic.png b/Items/Armor/Daedalus/DaedalusHeadMagic.png similarity index 100% rename from Items/Armor/DaedalusHeadMagic.png rename to Items/Armor/Daedalus/DaedalusHeadMagic.png diff --git a/Items/Armor/DaedalusHeadMagic_Head.png b/Items/Armor/Daedalus/DaedalusHeadMagic_Head.png similarity index 100% rename from Items/Armor/DaedalusHeadMagic_Head.png rename to Items/Armor/Daedalus/DaedalusHeadMagic_Head.png diff --git a/Items/Armor/DaedalusHeadMelee.cs b/Items/Armor/Daedalus/DaedalusHeadMelee.cs similarity index 96% rename from Items/Armor/DaedalusHeadMelee.cs rename to Items/Armor/Daedalus/DaedalusHeadMelee.cs index 0eb1c5af30..5ee6d5a462 100644 --- a/Items/Armor/DaedalusHeadMelee.cs +++ b/Items/Armor/Daedalus/DaedalusHeadMelee.cs @@ -4,7 +4,7 @@ using Terraria; using Terraria.ID; using Terraria.ModLoader; -namespace CalamityMod.Items.Armor +namespace CalamityMod.Items.Armor.Daedalus { [AutoloadEquip(EquipType.Head)] [LegacyName("DaedalusHelm")] @@ -45,7 +45,7 @@ namespace CalamityMod.Items.Armor "You reflect projectiles back at enemies\n" + "Reflected projectiles deal 50% less damage to you\n" + "This reflect has a 90 second cooldown which is shared with all other dodges and reflects"; - CalamityPlayer modPlayer = player.Calamity(); + var modPlayer = player.Calamity(); modPlayer.daedalusReflect = true; player.GetDamage() += 0.05f; player.aggro += 500; diff --git a/Items/Armor/DaedalusHeadMelee.png b/Items/Armor/Daedalus/DaedalusHeadMelee.png similarity index 100% rename from Items/Armor/DaedalusHeadMelee.png rename to Items/Armor/Daedalus/DaedalusHeadMelee.png diff --git a/Items/Armor/DaedalusHeadMelee_Head.png b/Items/Armor/Daedalus/DaedalusHeadMelee_Head.png similarity index 100% rename from Items/Armor/DaedalusHeadMelee_Head.png rename to Items/Armor/Daedalus/DaedalusHeadMelee_Head.png diff --git a/Items/Armor/DaedalusHeadRanged.cs b/Items/Armor/Daedalus/DaedalusHeadRanged.cs similarity index 95% rename from Items/Armor/DaedalusHeadRanged.cs rename to Items/Armor/Daedalus/DaedalusHeadRanged.cs index 3f2e878d1a..28ec930522 100644 --- a/Items/Armor/DaedalusHeadRanged.cs +++ b/Items/Armor/Daedalus/DaedalusHeadRanged.cs @@ -4,7 +4,7 @@ using Terraria; using Terraria.ID; using Terraria.ModLoader; -namespace CalamityMod.Items.Armor +namespace CalamityMod.Items.Armor.Daedalus { [AutoloadEquip(EquipType.Head)] [LegacyName("DaedalusHelmet")] @@ -42,7 +42,7 @@ namespace CalamityMod.Items.Armor { player.setBonus = "5% increased ranged damage\n" + "Getting hit causes you to emit a blast of crystal shards"; - CalamityPlayer modPlayer = player.Calamity(); + var modPlayer = player.Calamity(); modPlayer.daedalusShard = true; player.GetDamage() += 0.05f; } diff --git a/Items/Armor/DaedalusHeadRanged.png b/Items/Armor/Daedalus/DaedalusHeadRanged.png similarity index 100% rename from Items/Armor/DaedalusHeadRanged.png rename to Items/Armor/Daedalus/DaedalusHeadRanged.png diff --git a/Items/Armor/DaedalusHeadRanged_Head.png b/Items/Armor/Daedalus/DaedalusHeadRanged_Head.png similarity index 100% rename from Items/Armor/DaedalusHeadRanged_Head.png rename to Items/Armor/Daedalus/DaedalusHeadRanged_Head.png diff --git a/Items/Armor/DaedalusHeadRogue.cs b/Items/Armor/Daedalus/DaedalusHeadRogue.cs similarity index 96% rename from Items/Armor/DaedalusHeadRogue.cs rename to Items/Armor/Daedalus/DaedalusHeadRogue.cs index 09296affeb..509e95c1c5 100644 --- a/Items/Armor/DaedalusHeadRogue.cs +++ b/Items/Armor/Daedalus/DaedalusHeadRogue.cs @@ -4,7 +4,7 @@ using Terraria; using Terraria.ID; using Terraria.ModLoader; -namespace CalamityMod.Items.Armor +namespace CalamityMod.Items.Armor.Daedalus { [AutoloadEquip(EquipType.Head)] [LegacyName("DaedalusVisor")] @@ -46,7 +46,7 @@ namespace CalamityMod.Items.Armor "Once you have built max stealth, you will be able to perform a Stealth Strike\n" + "Rogue stealth only reduces when you attack, it does not reduce while moving\n" + "The higher your rogue stealth the higher your rogue damage, crit, and movement speed"; - CalamityPlayer modPlayer = player.Calamity(); + var modPlayer = player.Calamity(); modPlayer.daedalusSplit = true; modPlayer.rogueStealthMax += 1.05f; player.GetDamage() += 0.05f; diff --git a/Items/Armor/DaedalusHeadRogue.png b/Items/Armor/Daedalus/DaedalusHeadRogue.png similarity index 100% rename from Items/Armor/DaedalusHeadRogue.png rename to Items/Armor/Daedalus/DaedalusHeadRogue.png diff --git a/Items/Armor/DaedalusHeadRogue_Head.png b/Items/Armor/Daedalus/DaedalusHeadRogue_Head.png similarity index 100% rename from Items/Armor/DaedalusHeadRogue_Head.png rename to Items/Armor/Daedalus/DaedalusHeadRogue_Head.png diff --git a/Items/Armor/DaedalusHeadSummon.cs b/Items/Armor/Daedalus/DaedalusHeadSummon.cs similarity index 94% rename from Items/Armor/DaedalusHeadSummon.cs rename to Items/Armor/Daedalus/DaedalusHeadSummon.cs index 1685328c08..b33894c950 100644 --- a/Items/Armor/DaedalusHeadSummon.cs +++ b/Items/Armor/Daedalus/DaedalusHeadSummon.cs @@ -7,7 +7,7 @@ using Terraria; using Terraria.ID; using Terraria.ModLoader; -namespace CalamityMod.Items.Armor +namespace CalamityMod.Items.Armor.Daedalus { [AutoloadEquip(EquipType.Head)] [LegacyName("DaedalusHeadgear")] @@ -44,7 +44,7 @@ namespace CalamityMod.Items.Armor { player.setBonus = "20% increased minion damage and +2 max minions\n" + "A daedalus crystal floats above you to protect you"; - CalamityPlayer modPlayer = player.Calamity(); + var modPlayer = player.Calamity(); modPlayer.daedalusCrystal = true; if (player.whoAmI == Main.myPlayer) { @@ -55,7 +55,7 @@ namespace CalamityMod.Items.Armor } if (player.ownedProjectileCounts[ModContent.ProjectileType()] < 1) { - int damage = (int)player.GetTotalDamage().ApplyTo(95); + var damage = (int)player.GetTotalDamage().ApplyTo(95); var p = Projectile.NewProjectileDirect(source, player.Center, -Vector2.UnitY, ModContent.ProjectileType(), damage, 0f, Main.myPlayer, 50f, 0f); p.originalDamage = 95; } diff --git a/Items/Armor/DaedalusHeadSummon.png b/Items/Armor/Daedalus/DaedalusHeadSummon.png similarity index 100% rename from Items/Armor/DaedalusHeadSummon.png rename to Items/Armor/Daedalus/DaedalusHeadSummon.png diff --git a/Items/Armor/DaedalusHeadSummon_Head.png b/Items/Armor/Daedalus/DaedalusHeadSummon_Head.png similarity index 100% rename from Items/Armor/DaedalusHeadSummon_Head.png rename to Items/Armor/Daedalus/DaedalusHeadSummon_Head.png diff --git a/Items/Armor/DaedalusLeggings.cs b/Items/Armor/Daedalus/DaedalusLeggings.cs similarity index 96% rename from Items/Armor/DaedalusLeggings.cs rename to Items/Armor/Daedalus/DaedalusLeggings.cs index 1cae9a9877..be39e1cd31 100644 --- a/Items/Armor/DaedalusLeggings.cs +++ b/Items/Armor/Daedalus/DaedalusLeggings.cs @@ -3,7 +3,7 @@ using Terraria; using Terraria.ID; using Terraria.ModLoader; -namespace CalamityMod.Items.Armor +namespace CalamityMod.Items.Armor.Daedalus { [AutoloadEquip(EquipType.Legs)] public class DaedalusLeggings : ModItem diff --git a/Items/Armor/DaedalusLeggings.png b/Items/Armor/Daedalus/DaedalusLeggings.png similarity index 100% rename from Items/Armor/DaedalusLeggings.png rename to Items/Armor/Daedalus/DaedalusLeggings.png diff --git a/Items/Armor/DaedalusLeggings_Legs.png b/Items/Armor/Daedalus/DaedalusLeggings_Legs.png similarity index 100% rename from Items/Armor/DaedalusLeggings_Legs.png rename to Items/Armor/Daedalus/DaedalusLeggings_Legs.png diff --git a/Items/Armor/DemonshadeBreastplate.cs b/Items/Armor/Demonshade/DemonshadeBreastplate.cs similarity index 94% rename from Items/Armor/DemonshadeBreastplate.cs rename to Items/Armor/Demonshade/DemonshadeBreastplate.cs index 74795b8483..7a3aef92e9 100644 --- a/Items/Armor/DemonshadeBreastplate.cs +++ b/Items/Armor/Demonshade/DemonshadeBreastplate.cs @@ -4,7 +4,7 @@ using CalamityMod.Tiles.Furniture.CraftingStations; using Terraria; using Terraria.ModLoader; -namespace CalamityMod.Items.Armor +namespace CalamityMod.Items.Armor.Demonshade { [AutoloadEquip(EquipType.Body)] public class DemonshadeBreastplate : ModItem @@ -31,7 +31,7 @@ namespace CalamityMod.Items.Armor public override void UpdateEquip(Player player) { - CalamityPlayer modPlayer = player.Calamity(); + var modPlayer = player.Calamity(); modPlayer.shadeRegen = true; player.thorns += 100f; player.statLifeMax2 += 200; diff --git a/Items/Armor/DemonshadeBreastplate.png b/Items/Armor/Demonshade/DemonshadeBreastplate.png similarity index 100% rename from Items/Armor/DemonshadeBreastplate.png rename to Items/Armor/Demonshade/DemonshadeBreastplate.png diff --git a/Items/Armor/DemonshadeBreastplate_Arms.png b/Items/Armor/Demonshade/DemonshadeBreastplate_Arms.png similarity index 100% rename from Items/Armor/DemonshadeBreastplate_Arms.png rename to Items/Armor/Demonshade/DemonshadeBreastplate_Arms.png diff --git a/Items/Armor/DemonshadeBreastplate_Body.png b/Items/Armor/Demonshade/DemonshadeBreastplate_Body.png similarity index 100% rename from Items/Armor/DemonshadeBreastplate_Body.png rename to Items/Armor/Demonshade/DemonshadeBreastplate_Body.png diff --git a/Items/Armor/DemonshadeGreaves.cs b/Items/Armor/Demonshade/DemonshadeGreaves.cs similarity index 92% rename from Items/Armor/DemonshadeGreaves.cs rename to Items/Armor/Demonshade/DemonshadeGreaves.cs index 66236980d3..ad8f1d57f1 100644 --- a/Items/Armor/DemonshadeGreaves.cs +++ b/Items/Armor/Demonshade/DemonshadeGreaves.cs @@ -4,7 +4,7 @@ using CalamityMod.Tiles.Furniture.CraftingStations; using Terraria; using Terraria.ModLoader; -namespace CalamityMod.Items.Armor +namespace CalamityMod.Items.Armor.Demonshade { [AutoloadEquip(EquipType.Legs)] public class DemonshadeGreaves : ModItem @@ -29,7 +29,7 @@ namespace CalamityMod.Items.Armor public override void UpdateEquip(Player player) { - CalamityPlayer modPlayer = player.Calamity(); + var modPlayer = player.Calamity(); modPlayer.shadowSpeed = true; player.moveSpeed += 0.3f; } diff --git a/Items/Armor/DemonshadeGreaves.png b/Items/Armor/Demonshade/DemonshadeGreaves.png similarity index 100% rename from Items/Armor/DemonshadeGreaves.png rename to Items/Armor/Demonshade/DemonshadeGreaves.png diff --git a/Items/Armor/DemonshadeGreaves_Legs.png b/Items/Armor/Demonshade/DemonshadeGreaves_Legs.png similarity index 100% rename from Items/Armor/DemonshadeGreaves_Legs.png rename to Items/Armor/Demonshade/DemonshadeGreaves_Legs.png diff --git a/Items/Armor/DemonshadeHelm.cs b/Items/Armor/Demonshade/DemonshadeHelm.cs similarity index 92% rename from Items/Armor/DemonshadeHelm.cs rename to Items/Armor/Demonshade/DemonshadeHelm.cs index 20d18b184e..97c2e9afcd 100644 --- a/Items/Armor/DemonshadeHelm.cs +++ b/Items/Armor/Demonshade/DemonshadeHelm.cs @@ -9,7 +9,7 @@ using Terraria.ModLoader; using Terraria.DataStructures; using Terraria.Audio; -namespace CalamityMod.Items.Armor +namespace CalamityMod.Items.Armor.Demonshade { [AutoloadEquip(EquipType.Head)] public class DemonshadeHelm : ModItem, IExtendedHat @@ -46,14 +46,14 @@ namespace CalamityMod.Items.Armor public override void UpdateArmorSet(Player player) { - string hotkey = CalamityKeybinds.SetBonusHotKey.TooltipHotkeyString(); + var hotkey = CalamityKeybinds.SetBonusHotKey.TooltipHotkeyString(); player.setBonus = "100% increased minion damage and +10 max minions\n" + "All attacks inflict the demon flame debuff\n" + "Shadowbeams and demon scythes will fire down when you are hit\n" + "A friendly red devil follows you around\n" + "Press " + hotkey + " to enrage nearby enemies with a dark magic spell for 10 seconds\n" + "This makes them do 25% more damage but they also take 125% more damage"; - CalamityPlayer modPlayer = player.Calamity(); + var modPlayer = player.Calamity(); modPlayer.dsSetBonus = true; modPlayer.wearingRogueArmor = true; modPlayer.WearingPostMLSummonerSet = true; @@ -67,8 +67,8 @@ namespace CalamityMod.Items.Armor } if (player.ownedProjectileCounts[ModContent.ProjectileType()] < 1) { - int baseDamage = 10000; - int damage = (int)player.GetTotalDamage().ApplyTo(10000); + var baseDamage = 10000; + var damage = (int)player.GetTotalDamage().ApplyTo(10000); var devil = Projectile.NewProjectileDirect(source, player.Center, -Vector2.UnitY, ModContent.ProjectileType(), damage, 0f, Main.myPlayer, 0f, 0f); devil.originalDamage = baseDamage; } @@ -91,7 +91,7 @@ namespace CalamityMod.Items.Armor Register(); } - public string ExtensionTexture => "CalamityMod/Items/Armor/DemonshadeHelm_Extension"; + public string ExtensionTexture => "CalamityMod/Items/Armor/Demonshade/DemonshadeHelm_Extension"; public Vector2 ExtensionSpriteOffset(PlayerDrawSet drawInfo) => new Vector2(0, -4f); } } diff --git a/Items/Armor/DemonshadeHelm.png b/Items/Armor/Demonshade/DemonshadeHelm.png similarity index 100% rename from Items/Armor/DemonshadeHelm.png rename to Items/Armor/Demonshade/DemonshadeHelm.png diff --git a/Items/Armor/DemonshadeHelm_Extension.png b/Items/Armor/Demonshade/DemonshadeHelm_Extension.png similarity index 100% rename from Items/Armor/DemonshadeHelm_Extension.png rename to Items/Armor/Demonshade/DemonshadeHelm_Extension.png diff --git a/Items/Armor/DemonshadeHelm_Head.png b/Items/Armor/Demonshade/DemonshadeHelm_Head.png similarity index 100% rename from Items/Armor/DemonshadeHelm_Head.png rename to Items/Armor/Demonshade/DemonshadeHelm_Head.png diff --git a/Items/Armor/DesertProwlerHat.cs b/Items/Armor/DesertProwler/DesertProwlerHat.cs similarity index 94% rename from Items/Armor/DesertProwlerHat.cs rename to Items/Armor/DesertProwler/DesertProwlerHat.cs index 2c7d6a233a..fc76d67628 100644 --- a/Items/Armor/DesertProwlerHat.cs +++ b/Items/Armor/DesertProwler/DesertProwlerHat.cs @@ -4,7 +4,7 @@ using Terraria; using Terraria.ID; using Terraria.ModLoader; -namespace CalamityMod.Items.Armor +namespace CalamityMod.Items.Armor.DesertProwler { [AutoloadEquip(EquipType.Head)] public class DesertProwlerHat : ModItem @@ -34,7 +34,7 @@ namespace CalamityMod.Items.Armor { player.setBonus = "Ranged attacks deal an extra 1 flat damage\n" + "Ranged crits can rarely whip up a sandstorm"; - CalamityPlayer modPlayer = player.Calamity(); + var modPlayer = player.Calamity(); modPlayer.desertProwler = true; } diff --git a/Items/Armor/DesertProwlerHat.png b/Items/Armor/DesertProwler/DesertProwlerHat.png similarity index 100% rename from Items/Armor/DesertProwlerHat.png rename to Items/Armor/DesertProwler/DesertProwlerHat.png diff --git a/Items/Armor/DesertProwlerHat_Head.png b/Items/Armor/DesertProwler/DesertProwlerHat_Head.png similarity index 100% rename from Items/Armor/DesertProwlerHat_Head.png rename to Items/Armor/DesertProwler/DesertProwlerHat_Head.png diff --git a/Items/Armor/DesertProwlerPants.cs b/Items/Armor/DesertProwler/DesertProwlerPants.cs similarity index 95% rename from Items/Armor/DesertProwlerPants.cs rename to Items/Armor/DesertProwler/DesertProwlerPants.cs index 694a41a094..04970dde6b 100644 --- a/Items/Armor/DesertProwlerPants.cs +++ b/Items/Armor/DesertProwler/DesertProwlerPants.cs @@ -3,7 +3,7 @@ using Terraria; using Terraria.ID; using Terraria.ModLoader; -namespace CalamityMod.Items.Armor +namespace CalamityMod.Items.Armor.DesertProwler { [AutoloadEquip(EquipType.Legs)] public class DesertProwlerPants : ModItem diff --git a/Items/Armor/DesertProwlerPants.png b/Items/Armor/DesertProwler/DesertProwlerPants.png similarity index 100% rename from Items/Armor/DesertProwlerPants.png rename to Items/Armor/DesertProwler/DesertProwlerPants.png diff --git a/Items/Armor/DesertProwlerPants_Legs.png b/Items/Armor/DesertProwler/DesertProwlerPants_Legs.png similarity index 100% rename from Items/Armor/DesertProwlerPants_Legs.png rename to Items/Armor/DesertProwler/DesertProwlerPants_Legs.png diff --git a/Items/Armor/DesertProwlerShirt.cs b/Items/Armor/DesertProwler/DesertProwlerShirt.cs similarity index 95% rename from Items/Armor/DesertProwlerShirt.cs rename to Items/Armor/DesertProwler/DesertProwlerShirt.cs index 782dfa63a8..107dda9fd3 100644 --- a/Items/Armor/DesertProwlerShirt.cs +++ b/Items/Armor/DesertProwler/DesertProwlerShirt.cs @@ -3,7 +3,7 @@ using Terraria; using Terraria.ID; using Terraria.ModLoader; -namespace CalamityMod.Items.Armor +namespace CalamityMod.Items.Armor.DesertProwler { [AutoloadEquip(EquipType.Body)] public class DesertProwlerShirt : ModItem diff --git a/Items/Armor/DesertProwlerShirt.png b/Items/Armor/DesertProwler/DesertProwlerShirt.png similarity index 100% rename from Items/Armor/DesertProwlerShirt.png rename to Items/Armor/DesertProwler/DesertProwlerShirt.png diff --git a/Items/Armor/DesertProwlerShirt_Body.png b/Items/Armor/DesertProwler/DesertProwlerShirt_Body.png similarity index 100% rename from Items/Armor/DesertProwlerShirt_Body.png rename to Items/Armor/DesertProwler/DesertProwlerShirt_Body.png diff --git a/Items/Armor/XerocPlateMail.cs b/Items/Armor/Empyrean/EmpyreanCloak.cs similarity index 84% rename from Items/Armor/XerocPlateMail.cs rename to Items/Armor/Empyrean/EmpyreanCloak.cs index 5ff935b838..a30a96bea1 100644 --- a/Items/Armor/XerocPlateMail.cs +++ b/Items/Armor/Empyrean/EmpyreanCloak.cs @@ -3,17 +3,18 @@ using Terraria; using Terraria.ID; using Terraria.ModLoader; -namespace CalamityMod.Items.Armor +namespace CalamityMod.Items.Armor.Empyrean { [AutoloadEquip(EquipType.Body)] - public class XerocPlateMail : ModItem + [LegacyName("XerocPlateMail")] + public class EmpyreanCloak : ModItem { public override void Load() { if (Main.netMode != NetmodeID.Server) { - EquipLoader.AddEquipTexture(Mod, "CalamityMod/Items/Armor/XerocPlateMail_Neck", EquipType.Neck, this); - EquipLoader.AddEquipTexture(Mod, "CalamityMod/Items/Armor/XerocPlateMail_Back", EquipType.Back, this); + EquipLoader.AddEquipTexture(Mod, "CalamityMod/Items/Armor/Empyrean/EmpyreanCloak_Neck", EquipType.Neck, this); + EquipLoader.AddEquipTexture(Mod, "CalamityMod/Items/Armor/Empyrean/EmpyreanCloak_Back", EquipType.Back, this); } } @@ -27,7 +28,7 @@ namespace CalamityMod.Items.Armor if (Main.netMode != NetmodeID.Server) { - int equipSlot = EquipLoader.GetEquipSlot(Mod, Name, EquipType.Body); + var equipSlot = EquipLoader.GetEquipSlot(Mod, Name, EquipType.Body); ArmorIDs.Body.Sets.HidesArms[equipSlot] = true; ArmorIDs.Body.Sets.HidesTopSkin[equipSlot] = true; } diff --git a/Items/Armor/XerocPlateMail.png b/Items/Armor/Empyrean/EmpyreanCloak.png similarity index 100% rename from Items/Armor/XerocPlateMail.png rename to Items/Armor/Empyrean/EmpyreanCloak.png diff --git a/Items/Armor/XerocPlateMail_Arms.png b/Items/Armor/Empyrean/EmpyreanCloak_Arms.png similarity index 100% rename from Items/Armor/XerocPlateMail_Arms.png rename to Items/Armor/Empyrean/EmpyreanCloak_Arms.png diff --git a/Items/Armor/XerocPlateMail_Back.png b/Items/Armor/Empyrean/EmpyreanCloak_Back.png similarity index 100% rename from Items/Armor/XerocPlateMail_Back.png rename to Items/Armor/Empyrean/EmpyreanCloak_Back.png diff --git a/Items/Armor/XerocPlateMail_Body.png b/Items/Armor/Empyrean/EmpyreanCloak_Body.png similarity index 100% rename from Items/Armor/XerocPlateMail_Body.png rename to Items/Armor/Empyrean/EmpyreanCloak_Body.png diff --git a/Items/Armor/XerocPlateMail_Neck.png b/Items/Armor/Empyrean/EmpyreanCloak_Neck.png similarity index 100% rename from Items/Armor/XerocPlateMail_Neck.png rename to Items/Armor/Empyrean/EmpyreanCloak_Neck.png diff --git a/Items/Armor/XerocCuisses.cs b/Items/Armor/Empyrean/EmpyreanCuisses.cs similarity index 84% rename from Items/Armor/XerocCuisses.cs rename to Items/Armor/Empyrean/EmpyreanCuisses.cs index 444a9f9283..2d8aa1f320 100644 --- a/Items/Armor/XerocCuisses.cs +++ b/Items/Armor/Empyrean/EmpyreanCuisses.cs @@ -3,17 +3,17 @@ using Terraria; using Terraria.ID; using Terraria.ModLoader; -namespace CalamityMod.Items.Armor +namespace CalamityMod.Items.Armor.Empyrean { [AutoloadEquip(EquipType.Legs)] - public class XerocCuisses : ModItem + [LegacyName("XerocCuisses")] + public class EmpyreanCuisses : ModItem { public override void SetStaticDefaults() { SacrificeTotal = 1; DisplayName.SetDefault("Empyrean Cuisses"); - Tooltip.SetDefault("Speed of the cosmos\n" + - "5% increased rogue damage and critical strike chance\n" + + Tooltip.SetDefault("5% increased rogue damage and critical strike chance\n" + "15% increased movement speed"); } diff --git a/Items/Armor/XerocCuisses.png b/Items/Armor/Empyrean/EmpyreanCuisses.png similarity index 100% rename from Items/Armor/XerocCuisses.png rename to Items/Armor/Empyrean/EmpyreanCuisses.png diff --git a/Items/Armor/XerocCuisses_Legs.png b/Items/Armor/Empyrean/EmpyreanCuisses_Legs.png similarity index 100% rename from Items/Armor/XerocCuisses_Legs.png rename to Items/Armor/Empyrean/EmpyreanCuisses_Legs.png diff --git a/Items/Armor/XerocMask.cs b/Items/Armor/Empyrean/EmpyreanMask.cs similarity index 78% rename from Items/Armor/XerocMask.cs rename to Items/Armor/Empyrean/EmpyreanMask.cs index e6e47ed0b1..1a69660ed5 100644 --- a/Items/Armor/XerocMask.cs +++ b/Items/Armor/Empyrean/EmpyreanMask.cs @@ -4,20 +4,20 @@ using Terraria; using Terraria.ID; using Terraria.ModLoader; -namespace CalamityMod.Items.Armor +namespace CalamityMod.Items.Armor.Empyrean { [AutoloadEquip(EquipType.Head)] - public class XerocMask : ModItem + [LegacyName("XerocMask")] + public class EmpyreanMask : ModItem { - public override void Load() { if (Main.netMode != NetmodeID.Server) { - EquipLoader.AddEquipTexture(Mod, "CalamityMod/Items/Armor/MeldTransformation_Head", EquipType.Head, name : "MeldTransformation"); - EquipLoader.AddEquipTexture(Mod, "CalamityMod/Items/Armor/MeldTransformation_Body", EquipType.Body, name: "MeldTransformation"); - EquipLoader.AddEquipTexture(Mod, "CalamityMod/Items/Armor/MeldTransformation_Neck", EquipType.Neck, name: "MeldTransformation"); - EquipLoader.AddEquipTexture(Mod, "CalamityMod/Items/Armor/MeldTransformation_Legs", EquipType.Legs, name : "MeldTransformation"); + EquipLoader.AddEquipTexture(Mod, "CalamityMod/Items/Armor/Empyrean/MeldTransformation_Head", EquipType.Head, name: "MeldTransformation"); + EquipLoader.AddEquipTexture(Mod, "CalamityMod/Items/Armor/Empyrean/MeldTransformation_Body", EquipType.Body, name: "MeldTransformation"); + EquipLoader.AddEquipTexture(Mod, "CalamityMod/Items/Armor/Empyrean/MeldTransformation_Neck", EquipType.Neck, name: "MeldTransformation"); + EquipLoader.AddEquipTexture(Mod, "CalamityMod/Items/Armor/Empyrean/MeldTransformation_Legs", EquipType.Legs, name: "MeldTransformation"); } } @@ -25,16 +25,15 @@ namespace CalamityMod.Items.Armor { SacrificeTotal = 1; DisplayName.SetDefault("Empyrean Mask"); - Tooltip.SetDefault("Wrath of the cosmos\n" + - "11% increased rogue damage and critical strike chance, 5% increased movement speed\n" + + Tooltip.SetDefault("11% increased rogue damage and critical strike chance, 5% increased movement speed\n" + "Temporary immunity to lava"); if (Main.netMode == NetmodeID.Server) return; - int equipSlotHead = EquipLoader.GetEquipSlot(Mod, "MeldTransformation", EquipType.Head); - int equipSlotBody = EquipLoader.GetEquipSlot(Mod, "MeldTransformation", EquipType.Body); - int equipSlotLegs = EquipLoader.GetEquipSlot(Mod, "MeldTransformation", EquipType.Legs); + var equipSlotHead = EquipLoader.GetEquipSlot(Mod, "MeldTransformation", EquipType.Head); + var equipSlotBody = EquipLoader.GetEquipSlot(Mod, "MeldTransformation", EquipType.Body); + var equipSlotLegs = EquipLoader.GetEquipSlot(Mod, "MeldTransformation", EquipType.Legs); ArmorIDs.Head.Sets.DrawHead[equipSlotHead] = false; ArmorIDs.Body.Sets.HidesTopSkin[equipSlotBody] = true; @@ -53,7 +52,7 @@ namespace CalamityMod.Items.Armor public override bool IsArmorSet(Item head, Item body, Item legs) { - return body.type == ModContent.ItemType() && legs.type == ModContent.ItemType(); + return body.type == ModContent.ItemType() && legs.type == ModContent.ItemType(); } public override void ArmorSetShadows(Player player) @@ -66,7 +65,7 @@ namespace CalamityMod.Items.Armor public override void UpdateArmorSet(Player player) { - CalamityPlayer modPlayer = player.Calamity(); + var modPlayer = player.Calamity(); modPlayer.xerocSet = true; modPlayer.rogueStealthMax += 1.15f; player.setBonus = "9% increased rogue damage and velocity\n" + diff --git a/Items/Armor/XerocMask.png b/Items/Armor/Empyrean/EmpyreanMask.png similarity index 100% rename from Items/Armor/XerocMask.png rename to Items/Armor/Empyrean/EmpyreanMask.png diff --git a/Items/Armor/XerocMask_Head.png b/Items/Armor/Empyrean/EmpyreanMask_Head.png similarity index 100% rename from Items/Armor/XerocMask_Head.png rename to Items/Armor/Empyrean/EmpyreanMask_Head.png diff --git a/Items/Armor/MeldTransformation_Arms.png b/Items/Armor/Empyrean/MeldTransformation_Arms.png similarity index 100% rename from Items/Armor/MeldTransformation_Arms.png rename to Items/Armor/Empyrean/MeldTransformation_Arms.png diff --git a/Items/Armor/MeldTransformation_Body.png b/Items/Armor/Empyrean/MeldTransformation_Body.png similarity index 100% rename from Items/Armor/MeldTransformation_Body.png rename to Items/Armor/Empyrean/MeldTransformation_Body.png diff --git a/Items/Armor/MeldTransformation_Head.png b/Items/Armor/Empyrean/MeldTransformation_Head.png similarity index 100% rename from Items/Armor/MeldTransformation_Head.png rename to Items/Armor/Empyrean/MeldTransformation_Head.png diff --git a/Items/Armor/MeldTransformation_Legs.png b/Items/Armor/Empyrean/MeldTransformation_Legs.png similarity index 100% rename from Items/Armor/MeldTransformation_Legs.png rename to Items/Armor/Empyrean/MeldTransformation_Legs.png diff --git a/Items/Armor/MeldTransformation_Neck.png b/Items/Armor/Empyrean/MeldTransformation_Neck.png similarity index 100% rename from Items/Armor/MeldTransformation_Neck.png rename to Items/Armor/Empyrean/MeldTransformation_Neck.png diff --git a/Items/Armor/FathomSwarmerArmor_Tail.png b/Items/Armor/FathomSwarmer/FathomSwarmerArmor_Tail.png similarity index 100% rename from Items/Armor/FathomSwarmerArmor_Tail.png rename to Items/Armor/FathomSwarmer/FathomSwarmerArmor_Tail.png diff --git a/Items/Armor/FathomSwarmerBoots.cs b/Items/Armor/FathomSwarmer/FathomSwarmerBoots.cs similarity index 97% rename from Items/Armor/FathomSwarmerBoots.cs rename to Items/Armor/FathomSwarmer/FathomSwarmerBoots.cs index 2b312e3582..ff2aa0e0d5 100644 --- a/Items/Armor/FathomSwarmerBoots.cs +++ b/Items/Armor/FathomSwarmer/FathomSwarmerBoots.cs @@ -4,7 +4,7 @@ using Terraria; using Terraria.ID; using Terraria.ModLoader; -namespace CalamityMod.Items.Armor +namespace CalamityMod.Items.Armor.FathomSwarmer { [AutoloadEquip(EquipType.Legs)] public class FathomSwarmerBoots : ModItem diff --git a/Items/Armor/FathomSwarmerBoots.png b/Items/Armor/FathomSwarmer/FathomSwarmerBoots.png similarity index 100% rename from Items/Armor/FathomSwarmerBoots.png rename to Items/Armor/FathomSwarmer/FathomSwarmerBoots.png diff --git a/Items/Armor/FathomSwarmerBoots_Legs.png b/Items/Armor/FathomSwarmer/FathomSwarmerBoots_Legs.png similarity index 100% rename from Items/Armor/FathomSwarmerBoots_Legs.png rename to Items/Armor/FathomSwarmer/FathomSwarmerBoots_Legs.png diff --git a/Items/Armor/FathomSwarmerBreastplate.cs b/Items/Armor/FathomSwarmer/FathomSwarmerBreastplate.cs similarity index 97% rename from Items/Armor/FathomSwarmerBreastplate.cs rename to Items/Armor/FathomSwarmer/FathomSwarmerBreastplate.cs index 0a7033a455..16209e14fb 100644 --- a/Items/Armor/FathomSwarmerBreastplate.cs +++ b/Items/Armor/FathomSwarmer/FathomSwarmerBreastplate.cs @@ -4,7 +4,7 @@ using Terraria; using Terraria.ID; using Terraria.ModLoader; -namespace CalamityMod.Items.Armor +namespace CalamityMod.Items.Armor.FathomSwarmer { [AutoloadEquip(EquipType.Body)] public class FathomSwarmerBreastplate : ModItem diff --git a/Items/Armor/FathomSwarmerBreastplate.png b/Items/Armor/FathomSwarmer/FathomSwarmerBreastplate.png similarity index 100% rename from Items/Armor/FathomSwarmerBreastplate.png rename to Items/Armor/FathomSwarmer/FathomSwarmerBreastplate.png diff --git a/Items/Armor/FathomSwarmerBreastplate_Body.png b/Items/Armor/FathomSwarmer/FathomSwarmerBreastplate_Body.png similarity index 100% rename from Items/Armor/FathomSwarmerBreastplate_Body.png rename to Items/Armor/FathomSwarmer/FathomSwarmerBreastplate_Body.png diff --git a/Items/Armor/FathomSwarmerVisage.cs b/Items/Armor/FathomSwarmer/FathomSwarmerVisage.cs similarity index 94% rename from Items/Armor/FathomSwarmerVisage.cs rename to Items/Armor/FathomSwarmer/FathomSwarmerVisage.cs index 741ac3f905..9ed99986db 100644 --- a/Items/Armor/FathomSwarmerVisage.cs +++ b/Items/Armor/FathomSwarmer/FathomSwarmerVisage.cs @@ -5,7 +5,7 @@ using Terraria; using Terraria.ID; using Terraria.ModLoader; -namespace CalamityMod.Items.Armor +namespace CalamityMod.Items.Armor.FathomSwarmer { [AutoloadEquip(EquipType.Head)] public class FathomSwarmerVisage : ModItem @@ -38,7 +38,7 @@ namespace CalamityMod.Items.Armor "Grants the ability to climb walls\n" + "30% increased minion damage while submerged in liquid\n" + "Provides a moderate amount of light and moderately reduces breath loss in the abyss"; - CalamityPlayer modPlayer = player.Calamity(); + var modPlayer = player.Calamity(); modPlayer.fathomSwarmer = true; player.spikedBoots = 2; player.maxMinions += 2; @@ -51,7 +51,7 @@ namespace CalamityMod.Items.Armor public override void UpdateEquip(Player player) { - CalamityPlayer modPlayer = player.Calamity(); + var modPlayer = player.Calamity(); player.GetDamage() += 0.05f; if (player.breath <= player.breathMax + 2 && !modPlayer.ZoneAbyss) { diff --git a/Items/Armor/FathomSwarmerVisage.png b/Items/Armor/FathomSwarmer/FathomSwarmerVisage.png similarity index 100% rename from Items/Armor/FathomSwarmerVisage.png rename to Items/Armor/FathomSwarmer/FathomSwarmerVisage.png diff --git a/Items/Armor/FathomSwarmerVisage_Head.png b/Items/Armor/FathomSwarmer/FathomSwarmerVisage_Head.png similarity index 100% rename from Items/Armor/FathomSwarmerVisage_Head.png rename to Items/Armor/FathomSwarmer/FathomSwarmerVisage_Head.png diff --git a/Items/Armor/FearmongerGreathelm.cs b/Items/Armor/Fearmonger/FearmongerGreathelm.cs similarity index 94% rename from Items/Armor/FearmongerGreathelm.cs rename to Items/Armor/Fearmonger/FearmongerGreathelm.cs index f219be41f2..2061765454 100644 --- a/Items/Armor/FearmongerGreathelm.cs +++ b/Items/Armor/Fearmonger/FearmongerGreathelm.cs @@ -6,7 +6,7 @@ using Terraria; using Terraria.ID; using Terraria.ModLoader; -namespace CalamityMod.Items.Armor +namespace CalamityMod.Items.Armor.Fearmonger { [AutoloadEquip(EquipType.Head)] public class FearmongerGreathelm : ModItem @@ -56,6 +56,7 @@ namespace CalamityMod.Items.Armor This extra damage reduction ignores the soft cap"; // This bool encompasses cross-class nerf immunity, colossal life regen on minion attack, and the holiday moon DR + // TODO -- Fearmonger life regen from minion attacks needs some sort of cool visual effect player.Calamity().fearmongerSet = true; // All-class armors count as rogue sets, but don't grant stealth bonuses @@ -80,7 +81,7 @@ namespace CalamityMod.Items.Armor BuffID.Frozen, ModContent.BuffType(), }; - for (int i = 0; i < immuneDebuffs.Length; ++i) + for (var i = 0; i < immuneDebuffs.Length; ++i) player.buffImmune[immuneDebuffs[i]] = true; // Constantly emit dim orange light diff --git a/Items/Armor/FearmongerGreathelm.png b/Items/Armor/Fearmonger/FearmongerGreathelm.png similarity index 100% rename from Items/Armor/FearmongerGreathelm.png rename to Items/Armor/Fearmonger/FearmongerGreathelm.png diff --git a/Items/Armor/FearmongerGreathelm_Head.png b/Items/Armor/Fearmonger/FearmongerGreathelm_Head.png similarity index 100% rename from Items/Armor/FearmongerGreathelm_Head.png rename to Items/Armor/Fearmonger/FearmongerGreathelm_Head.png diff --git a/Items/Armor/FearmongerGreaves.cs b/Items/Armor/Fearmonger/FearmongerGreaves.cs similarity index 97% rename from Items/Armor/FearmongerGreaves.cs rename to Items/Armor/Fearmonger/FearmongerGreaves.cs index 296b8bece6..a9418146f3 100644 --- a/Items/Armor/FearmongerGreaves.cs +++ b/Items/Armor/Fearmonger/FearmongerGreaves.cs @@ -4,7 +4,7 @@ using Terraria; using Terraria.ID; using Terraria.ModLoader; -namespace CalamityMod.Items.Armor +namespace CalamityMod.Items.Armor.Fearmonger { [AutoloadEquip(EquipType.Legs)] public class FearmongerGreaves : ModItem diff --git a/Items/Armor/FearmongerGreaves.png b/Items/Armor/Fearmonger/FearmongerGreaves.png similarity index 100% rename from Items/Armor/FearmongerGreaves.png rename to Items/Armor/Fearmonger/FearmongerGreaves.png diff --git a/Items/Armor/FearmongerGreaves_Legs.png b/Items/Armor/Fearmonger/FearmongerGreaves_Legs.png similarity index 100% rename from Items/Armor/FearmongerGreaves_Legs.png rename to Items/Armor/Fearmonger/FearmongerGreaves_Legs.png diff --git a/Items/Armor/FearmongerPlateMail.cs b/Items/Armor/Fearmonger/FearmongerPlateMail.cs similarity index 97% rename from Items/Armor/FearmongerPlateMail.cs rename to Items/Armor/Fearmonger/FearmongerPlateMail.cs index a8c812c416..20918822db 100644 --- a/Items/Armor/FearmongerPlateMail.cs +++ b/Items/Armor/Fearmonger/FearmongerPlateMail.cs @@ -4,7 +4,7 @@ using Terraria; using Terraria.ID; using Terraria.ModLoader; -namespace CalamityMod.Items.Armor +namespace CalamityMod.Items.Armor.Fearmonger { [AutoloadEquip(EquipType.Body)] public class FearmongerPlateMail : ModItem diff --git a/Items/Armor/FearmongerPlateMail.png b/Items/Armor/Fearmonger/FearmongerPlateMail.png similarity index 100% rename from Items/Armor/FearmongerPlateMail.png rename to Items/Armor/Fearmonger/FearmongerPlateMail.png diff --git a/Items/Armor/FearmongerPlateMail_Body.png b/Items/Armor/Fearmonger/FearmongerPlateMail_Body.png similarity index 100% rename from Items/Armor/FearmongerPlateMail_Body.png rename to Items/Armor/Fearmonger/FearmongerPlateMail_Body.png diff --git a/Items/Armor/GemTechBodyArmor.cs b/Items/Armor/GemTech/GemTechBodyArmor.cs similarity index 96% rename from Items/Armor/GemTechBodyArmor.cs rename to Items/Armor/GemTech/GemTechBodyArmor.cs index c0958b17b8..56b9da3aea 100644 --- a/Items/Armor/GemTechBodyArmor.cs +++ b/Items/Armor/GemTech/GemTechBodyArmor.cs @@ -4,7 +4,7 @@ using Terraria; using Terraria.ID; using Terraria.ModLoader; -namespace CalamityMod.Items.Armor +namespace CalamityMod.Items.Armor.GemTech { [AutoloadEquip(EquipType.Body)] public class GemTechBodyArmor : ModItem diff --git a/Items/Armor/GemTechBodyArmor.png b/Items/Armor/GemTech/GemTechBodyArmor.png similarity index 100% rename from Items/Armor/GemTechBodyArmor.png rename to Items/Armor/GemTech/GemTechBodyArmor.png diff --git a/Items/Armor/GemTechBodyArmor_Body.png b/Items/Armor/GemTech/GemTechBodyArmor_Body.png similarity index 100% rename from Items/Armor/GemTechBodyArmor_Body.png rename to Items/Armor/GemTech/GemTechBodyArmor_Body.png diff --git a/Items/Armor/GemTechHeadgear.cs b/Items/Armor/GemTech/GemTechHeadgear.cs similarity index 79% rename from Items/Armor/GemTechHeadgear.cs rename to Items/Armor/GemTech/GemTechHeadgear.cs index 5da0367abc..837e226ee1 100644 --- a/Items/Armor/GemTechHeadgear.cs +++ b/Items/Armor/GemTech/GemTechHeadgear.cs @@ -4,7 +4,7 @@ using Terraria; using Terraria.ID; using Terraria.ModLoader; -namespace CalamityMod.Items.Armor +namespace CalamityMod.Items.Armor.GemTech { [AutoloadEquip(EquipType.Head)] public class GemTechHeadgear : ModItem @@ -79,12 +79,12 @@ namespace CalamityMod.Items.Armor if (player.Calamity().GemTechState.IsRedGemActive) player.Calamity().rogueStealthMax += RogueStealthBoost * 0.01f; - string redGemText = $"The red gem grants {RogueStealthBoost} maximum stealth, increased rogue stats, and makes stealth only consumable by rogue weapons\n"; - string yellowGemText = $"The yellow gem provides increased melee stats and makes melee attacks release shards on hit with a cooldown. This cooldown is shorter for true melee attacks\n"; - string greenGemText = $"The green gem provides increased ranged stats and causes flechettes to fly swiftly towards targets when they are damaged by a ranged projectile\n"; - string blueGemText = $"The blue gem grants {SummonMinionCountBoost} extra maximum minions, increased minion damage, and reduces the penalty for summoner items while holding a non-summoner weapon\n"; - string purpleGemText = $"The violet gem grants {MagicManaBoost} extra maximum mana, increased magic stats, and makes mana rapidly regenerate when holding a non-magic weapon\n"; - string pinkGemText = $"The pink base gem grants {BaseGemDefenseBoost} extra defense, extra damage reduction, increased movement speed, jump speed, and +{BaseGemLifeRegenBoost} life regen\n"; + var redGemText = $"The red gem grants {RogueStealthBoost} maximum stealth, increased rogue stats, and makes stealth only consumable by rogue weapons\n"; + var yellowGemText = $"The yellow gem provides increased melee stats and makes melee attacks release shards on hit with a cooldown. This cooldown is shorter for true melee attacks\n"; + var greenGemText = $"The green gem provides increased ranged stats and causes flechettes to fly swiftly towards targets when they are damaged by a ranged projectile\n"; + var blueGemText = $"The blue gem grants {SummonMinionCountBoost} extra maximum minions, increased minion damage, and reduces the penalty for summoner items while holding a non-summoner weapon\n"; + var purpleGemText = $"The violet gem grants {MagicManaBoost} extra maximum mana, increased magic stats, and makes mana rapidly regenerate when holding a non-magic weapon\n"; + var pinkGemText = $"The pink base gem grants {BaseGemDefenseBoost} extra defense, extra damage reduction, increased movement speed, jump speed, and +{BaseGemLifeRegenBoost} life regen\n"; player.setBonus = "Six gem fragments idly orbit you; one for each class, and a base gem\n" + $"A gem is lost when you take more than {GemBreakDamageLowerBound} damage in a single hit. The type of gem lost is the same as the class of the previous when you used\n" + diff --git a/Items/Armor/GemTechHeadgear.png b/Items/Armor/GemTech/GemTechHeadgear.png similarity index 100% rename from Items/Armor/GemTechHeadgear.png rename to Items/Armor/GemTech/GemTechHeadgear.png diff --git a/Items/Armor/GemTechHeadgear_Head.png b/Items/Armor/GemTech/GemTechHeadgear_Head.png similarity index 100% rename from Items/Armor/GemTechHeadgear_Head.png rename to Items/Armor/GemTech/GemTechHeadgear_Head.png diff --git a/Items/Armor/GemTechSchynbaulds.cs b/Items/Armor/GemTech/GemTechSchynbaulds.cs similarity index 96% rename from Items/Armor/GemTechSchynbaulds.cs rename to Items/Armor/GemTech/GemTechSchynbaulds.cs index f0773b7e8e..d7269ca7c1 100644 --- a/Items/Armor/GemTechSchynbaulds.cs +++ b/Items/Armor/GemTech/GemTechSchynbaulds.cs @@ -4,7 +4,7 @@ using Terraria; using Terraria.ID; using Terraria.ModLoader; -namespace CalamityMod.Items.Armor +namespace CalamityMod.Items.Armor.GemTech { [AutoloadEquip(EquipType.Legs)] public class GemTechSchynbaulds : ModItem diff --git a/Items/Armor/GemTechSchynbaulds.png b/Items/Armor/GemTech/GemTechSchynbaulds.png similarity index 100% rename from Items/Armor/GemTechSchynbaulds.png rename to Items/Armor/GemTech/GemTechSchynbaulds.png diff --git a/Items/Armor/GemTechSchynbaulds_Legs.png b/Items/Armor/GemTech/GemTechSchynbaulds_Legs.png similarity index 100% rename from Items/Armor/GemTechSchynbaulds_Legs.png rename to Items/Armor/GemTech/GemTechSchynbaulds_Legs.png diff --git a/Items/Armor/GodSlayerChestplate.cs b/Items/Armor/GodSlayer/GodSlayerChestplate.cs similarity index 94% rename from Items/Armor/GodSlayerChestplate.cs rename to Items/Armor/GodSlayer/GodSlayerChestplate.cs index 22a6f8b610..2b4fe554b1 100644 --- a/Items/Armor/GodSlayerChestplate.cs +++ b/Items/Armor/GodSlayer/GodSlayerChestplate.cs @@ -4,7 +4,7 @@ using CalamityMod.Tiles.Furniture.CraftingStations; using Terraria; using Terraria.ModLoader; -namespace CalamityMod.Items.Armor +namespace CalamityMod.Items.Armor.GodSlayer { [AutoloadEquip(EquipType.Body)] public class GodSlayerChestplate : ModItem @@ -31,7 +31,7 @@ namespace CalamityMod.Items.Armor public override void UpdateEquip(Player player) { - CalamityPlayer modPlayer = player.Calamity(); + var modPlayer = player.Calamity(); player.thorns += 0.5f; player.statLifeMax2 += 60; player.GetDamage() += 0.11f; diff --git a/Items/Armor/GodSlayerChestplate.png b/Items/Armor/GodSlayer/GodSlayerChestplate.png similarity index 100% rename from Items/Armor/GodSlayerChestplate.png rename to Items/Armor/GodSlayer/GodSlayerChestplate.png diff --git a/Items/Armor/GodSlayerChestplate_Body.png b/Items/Armor/GodSlayer/GodSlayerChestplate_Body.png similarity index 100% rename from Items/Armor/GodSlayerChestplate_Body.png rename to Items/Armor/GodSlayer/GodSlayerChestplate_Body.png diff --git a/Items/Armor/GodSlayerChestplate_BodyGlow.png b/Items/Armor/GodSlayer/GodSlayerChestplate_BodyGlow.png similarity index 100% rename from Items/Armor/GodSlayerChestplate_BodyGlow.png rename to Items/Armor/GodSlayer/GodSlayerChestplate_BodyGlow.png diff --git a/Items/Armor/GodSlayerHelm.cs b/Items/Armor/GodSlayer/GodSlayerHeadMelee.cs similarity index 91% rename from Items/Armor/GodSlayerHelm.cs rename to Items/Armor/GodSlayer/GodSlayerHeadMelee.cs index c6ccd54a6f..2e7d82cdc2 100644 --- a/Items/Armor/GodSlayerHelm.cs +++ b/Items/Armor/GodSlayer/GodSlayerHeadMelee.cs @@ -5,10 +5,11 @@ using Terraria; using Terraria.ModLoader; using CalamityMod.CalPlayer.Dashes; -namespace CalamityMod.Items.Armor +namespace CalamityMod.Items.Armor.GodSlayer { [AutoloadEquip(EquipType.Head)] - public class GodSlayerHelm : ModItem + [LegacyName("GodSlayerHelm")] + public class GodSlayerHeadMelee : ModItem { public override void SetStaticDefaults() { @@ -38,10 +39,10 @@ namespace CalamityMod.Items.Armor public override void UpdateArmorSet(Player player) { - CalamityPlayer modPlayer = player.Calamity(); + var modPlayer = player.Calamity(); modPlayer.godSlayer = true; modPlayer.godSlayerDamage = true; - string hotkey = CalamityKeybinds.GodSlayerDashHotKey.TooltipHotkeyString(); + var hotkey = CalamityKeybinds.GodSlayerDashHotKey.TooltipHotkeyString(); player.setBonus = "Allows you to dash for an immense distance in 8 directions\n" + "Press " + hotkey + " while holding down the movement keys in the direction you want to dash\n" + "Enemies you dash through take massive damage\n" + diff --git a/Items/Armor/GodSlayerHelm.png b/Items/Armor/GodSlayer/GodSlayerHeadMelee.png similarity index 100% rename from Items/Armor/GodSlayerHelm.png rename to Items/Armor/GodSlayer/GodSlayerHeadMelee.png diff --git a/Items/Armor/GodSlayerHelm_Head.png b/Items/Armor/GodSlayer/GodSlayerHeadMelee_Head.png similarity index 100% rename from Items/Armor/GodSlayerHelm_Head.png rename to Items/Armor/GodSlayer/GodSlayerHeadMelee_Head.png diff --git a/Items/Armor/GodSlayerHelm_HeadGlow.png b/Items/Armor/GodSlayer/GodSlayerHeadMelee_HeadGlow.png similarity index 100% rename from Items/Armor/GodSlayerHelm_HeadGlow.png rename to Items/Armor/GodSlayer/GodSlayerHeadMelee_HeadGlow.png diff --git a/Items/Armor/GodSlayerHelmet.cs b/Items/Armor/GodSlayer/GodSlayerHeadRanged.cs similarity index 90% rename from Items/Armor/GodSlayerHelmet.cs rename to Items/Armor/GodSlayer/GodSlayerHeadRanged.cs index b66619ff68..fba5bd9a51 100644 --- a/Items/Armor/GodSlayerHelmet.cs +++ b/Items/Armor/GodSlayer/GodSlayerHeadRanged.cs @@ -5,10 +5,11 @@ using Terraria; using Terraria.ModLoader; using CalamityMod.CalPlayer.Dashes; -namespace CalamityMod.Items.Armor +namespace CalamityMod.Items.Armor.GodSlayer { [AutoloadEquip(EquipType.Head)] - public class GodSlayerHelmet : ModItem + [LegacyName("GodSlayerHelmet")] + public class GodSlayerHeadRanged : ModItem { public override void SetStaticDefaults() { @@ -38,10 +39,10 @@ namespace CalamityMod.Items.Armor public override void UpdateArmorSet(Player player) { - CalamityPlayer modPlayer = player.Calamity(); + var modPlayer = player.Calamity(); modPlayer.godSlayer = true; modPlayer.godSlayerRanged = true; - string hotkey = CalamityKeybinds.GodSlayerDashHotKey.TooltipHotkeyString(); + var hotkey = CalamityKeybinds.GodSlayerDashHotKey.TooltipHotkeyString(); player.setBonus = "Allows you to dash for an immense distance in 8 directions\n" + "Press " + hotkey + " while holding down the movement keys in the direction you want to dash\n" + "Enemies you dash through take massive damage\n" + diff --git a/Items/Armor/GodSlayerHelmet.png b/Items/Armor/GodSlayer/GodSlayerHeadRanged.png similarity index 100% rename from Items/Armor/GodSlayerHelmet.png rename to Items/Armor/GodSlayer/GodSlayerHeadRanged.png diff --git a/Items/Armor/GodSlayerHelmet_Head.png b/Items/Armor/GodSlayer/GodSlayerHeadRanged_Head.png similarity index 100% rename from Items/Armor/GodSlayerHelmet_Head.png rename to Items/Armor/GodSlayer/GodSlayerHeadRanged_Head.png diff --git a/Items/Armor/GodSlayerHelmet_HeadGlow.png b/Items/Armor/GodSlayer/GodSlayerHeadRanged_HeadGlow.png similarity index 100% rename from Items/Armor/GodSlayerHelmet_HeadGlow.png rename to Items/Armor/GodSlayer/GodSlayerHeadRanged_HeadGlow.png diff --git a/Items/Armor/GodSlayerMask.cs b/Items/Armor/GodSlayer/GodSlayerHeadRogue.cs similarity index 92% rename from Items/Armor/GodSlayerMask.cs rename to Items/Armor/GodSlayer/GodSlayerHeadRogue.cs index 8e4f4bb197..1b301737b7 100644 --- a/Items/Armor/GodSlayerMask.cs +++ b/Items/Armor/GodSlayer/GodSlayerHeadRogue.cs @@ -5,10 +5,11 @@ using Terraria; using Terraria.ModLoader; using CalamityMod.CalPlayer.Dashes; -namespace CalamityMod.Items.Armor +namespace CalamityMod.Items.Armor.GodSlayer { [AutoloadEquip(EquipType.Head)] - public class GodSlayerMask : ModItem + [LegacyName("GodSlayerMask")] + public class GodSlayerHeadRogue : ModItem { public override void SetStaticDefaults() { @@ -38,12 +39,12 @@ namespace CalamityMod.Items.Armor public override void UpdateArmorSet(Player player) { - CalamityPlayer modPlayer = player.Calamity(); + var modPlayer = player.Calamity(); modPlayer.godSlayer = true; modPlayer.godSlayerThrowing = true; modPlayer.rogueStealthMax += 1.2f; modPlayer.wearingRogueArmor = true; - string hotkey = CalamityKeybinds.GodSlayerDashHotKey.TooltipHotkeyString(); + var hotkey = CalamityKeybinds.GodSlayerDashHotKey.TooltipHotkeyString(); player.setBonus = "Allows you to dash for an immense distance in 8 directions\n" + "Press " + hotkey + " while holding down the movement keys in the direction you want to dash\n" + "Enemies you dash through take massive damage\n" + diff --git a/Items/Armor/GodSlayerMask.png b/Items/Armor/GodSlayer/GodSlayerHeadRogue.png similarity index 100% rename from Items/Armor/GodSlayerMask.png rename to Items/Armor/GodSlayer/GodSlayerHeadRogue.png diff --git a/Items/Armor/GodSlayerMask_Head.png b/Items/Armor/GodSlayer/GodSlayerHeadRogue_Head.png similarity index 100% rename from Items/Armor/GodSlayerMask_Head.png rename to Items/Armor/GodSlayer/GodSlayerHeadRogue_Head.png diff --git a/Items/Armor/GodSlayerMask_HeadGlow.png b/Items/Armor/GodSlayer/GodSlayerHeadRogue_HeadGlow.png similarity index 100% rename from Items/Armor/GodSlayerMask_HeadGlow.png rename to Items/Armor/GodSlayer/GodSlayerHeadRogue_HeadGlow.png diff --git a/Items/Armor/GodSlayerLeggings.cs b/Items/Armor/GodSlayer/GodSlayerLeggings.cs similarity index 96% rename from Items/Armor/GodSlayerLeggings.cs rename to Items/Armor/GodSlayer/GodSlayerLeggings.cs index 5f1a139568..3ef5af5061 100644 --- a/Items/Armor/GodSlayerLeggings.cs +++ b/Items/Armor/GodSlayer/GodSlayerLeggings.cs @@ -3,7 +3,7 @@ using CalamityMod.Tiles.Furniture.CraftingStations; using Terraria; using Terraria.ModLoader; -namespace CalamityMod.Items.Armor +namespace CalamityMod.Items.Armor.GodSlayer { [AutoloadEquip(EquipType.Legs)] public class GodSlayerLeggings : ModItem diff --git a/Items/Armor/GodSlayerLeggings.png b/Items/Armor/GodSlayer/GodSlayerLeggings.png similarity index 100% rename from Items/Armor/GodSlayerLeggings.png rename to Items/Armor/GodSlayer/GodSlayerLeggings.png diff --git a/Items/Armor/GodSlayerLeggings_Legs.png b/Items/Armor/GodSlayer/GodSlayerLeggings_Legs.png similarity index 100% rename from Items/Armor/GodSlayerLeggings_Legs.png rename to Items/Armor/GodSlayer/GodSlayerLeggings_Legs.png diff --git a/Items/Armor/GodSlayerLeggings_LegsGlow.png b/Items/Armor/GodSlayer/GodSlayerLeggings_LegsGlow.png similarity index 100% rename from Items/Armor/GodSlayerLeggings_LegsGlow.png rename to Items/Armor/GodSlayer/GodSlayerLeggings_LegsGlow.png diff --git a/Items/Armor/HydrothermicArmor.cs b/Items/Armor/Hydrothermic/HydrothermicArmor.cs similarity index 96% rename from Items/Armor/HydrothermicArmor.cs rename to Items/Armor/Hydrothermic/HydrothermicArmor.cs index c150c03481..1ffa9d56d9 100644 --- a/Items/Armor/HydrothermicArmor.cs +++ b/Items/Armor/Hydrothermic/HydrothermicArmor.cs @@ -3,7 +3,7 @@ using Terraria; using Terraria.ID; using Terraria.ModLoader; -namespace CalamityMod.Items.Armor +namespace CalamityMod.Items.Armor.Hydrothermic { [AutoloadEquip(EquipType.Body)] [LegacyName("AtaxiaArmor")] diff --git a/Items/Armor/HydrothermicArmor.png b/Items/Armor/Hydrothermic/HydrothermicArmor.png similarity index 100% rename from Items/Armor/HydrothermicArmor.png rename to Items/Armor/Hydrothermic/HydrothermicArmor.png diff --git a/Items/Armor/HydrothermicArmor_Body.png b/Items/Armor/Hydrothermic/HydrothermicArmor_Body.png similarity index 100% rename from Items/Armor/HydrothermicArmor_Body.png rename to Items/Armor/Hydrothermic/HydrothermicArmor_Body.png diff --git a/Items/Armor/HydrothermicHeadMagic.cs b/Items/Armor/Hydrothermic/HydrothermicHeadMagic.cs similarity index 96% rename from Items/Armor/HydrothermicHeadMagic.cs rename to Items/Armor/Hydrothermic/HydrothermicHeadMagic.cs index 4a62e56a61..03111750a0 100644 --- a/Items/Armor/HydrothermicHeadMagic.cs +++ b/Items/Armor/Hydrothermic/HydrothermicHeadMagic.cs @@ -4,7 +4,7 @@ using Terraria; using Terraria.ID; using Terraria.ModLoader; -namespace CalamityMod.Items.Armor +namespace CalamityMod.Items.Armor.Hydrothermic { [AutoloadEquip(EquipType.Head)] [LegacyName("AtaxiaMask")] @@ -44,7 +44,7 @@ namespace CalamityMod.Items.Armor "Inferno effect when below 50% life\n" + "Magic attacks summon damaging and healing flare orbs on hit\n" + "You emit a blazing explosion when you are hit"; - CalamityPlayer modPlayer = player.Calamity(); + var modPlayer = player.Calamity(); modPlayer.ataxiaBlaze = true; modPlayer.ataxiaMage = true; player.GetDamage() += 0.05f; diff --git a/Items/Armor/HydrothermicHeadMagic.png b/Items/Armor/Hydrothermic/HydrothermicHeadMagic.png similarity index 100% rename from Items/Armor/HydrothermicHeadMagic.png rename to Items/Armor/Hydrothermic/HydrothermicHeadMagic.png diff --git a/Items/Armor/HydrothermicHeadMagic_Head.png b/Items/Armor/Hydrothermic/HydrothermicHeadMagic_Head.png similarity index 100% rename from Items/Armor/HydrothermicHeadMagic_Head.png rename to Items/Armor/Hydrothermic/HydrothermicHeadMagic_Head.png diff --git a/Items/Armor/HydrothermicHeadMelee.cs b/Items/Armor/Hydrothermic/HydrothermicHeadMelee.cs similarity index 94% rename from Items/Armor/HydrothermicHeadMelee.cs rename to Items/Armor/Hydrothermic/HydrothermicHeadMelee.cs index a26611b0d2..06b10fa7b4 100644 --- a/Items/Armor/HydrothermicHeadMelee.cs +++ b/Items/Armor/Hydrothermic/HydrothermicHeadMelee.cs @@ -4,7 +4,7 @@ using Terraria; using Terraria.ID; using Terraria.ModLoader; -namespace CalamityMod.Items.Armor +namespace CalamityMod.Items.Armor.Hydrothermic { [AutoloadEquip(EquipType.Head)] [LegacyName("AtaxiaHelm")] @@ -48,7 +48,7 @@ namespace CalamityMod.Items.Armor "Inferno effect when below 50% life\n" + "Melee attacks and projectiles cause chaos flames to erupt on enemy hits\n" + "You emit a blazing explosion when you are hit"; - CalamityPlayer modPlayer = player.Calamity(); + var modPlayer = player.Calamity(); modPlayer.ataxiaBlaze = true; modPlayer.ataxiaGeyser = true; player.GetDamage() += 0.05f; @@ -57,7 +57,7 @@ namespace CalamityMod.Items.Armor public override void UpdateEquip(Player player) { - CalamityPlayer modPlayer = player.Calamity(); + var modPlayer = player.Calamity(); modPlayer.ataxiaFire = true; player.GetAttackSpeed() += 0.18f; player.GetDamage() += 0.12f; diff --git a/Items/Armor/HydrothermicHeadMelee.png b/Items/Armor/Hydrothermic/HydrothermicHeadMelee.png similarity index 100% rename from Items/Armor/HydrothermicHeadMelee.png rename to Items/Armor/Hydrothermic/HydrothermicHeadMelee.png diff --git a/Items/Armor/HydrothermicHeadMelee_Head.png b/Items/Armor/Hydrothermic/HydrothermicHeadMelee_Head.png similarity index 100% rename from Items/Armor/HydrothermicHeadMelee_Head.png rename to Items/Armor/Hydrothermic/HydrothermicHeadMelee_Head.png diff --git a/Items/Armor/HydrothermicHeadRanged.cs b/Items/Armor/Hydrothermic/HydrothermicHeadRanged.cs similarity index 96% rename from Items/Armor/HydrothermicHeadRanged.cs rename to Items/Armor/Hydrothermic/HydrothermicHeadRanged.cs index 8d6f142c0e..a36285e92c 100644 --- a/Items/Armor/HydrothermicHeadRanged.cs +++ b/Items/Armor/Hydrothermic/HydrothermicHeadRanged.cs @@ -4,7 +4,7 @@ using Terraria; using Terraria.ID; using Terraria.ModLoader; -namespace CalamityMod.Items.Armor +namespace CalamityMod.Items.Armor.Hydrothermic { [AutoloadEquip(EquipType.Head)] [LegacyName("AtaxiaHeadgear")] @@ -44,7 +44,7 @@ namespace CalamityMod.Items.Armor "Inferno effect when below 50% life\n" + "You fire a homing chaos flare when using ranged weapons every 0.33 seconds\n" + "You emit a blazing explosion when you are hit"; - CalamityPlayer modPlayer = player.Calamity(); + var modPlayer = player.Calamity(); modPlayer.ataxiaBlaze = true; modPlayer.ataxiaBolt = true; player.GetDamage() += 0.05f; diff --git a/Items/Armor/HydrothermicHeadRanged.png b/Items/Armor/Hydrothermic/HydrothermicHeadRanged.png similarity index 100% rename from Items/Armor/HydrothermicHeadRanged.png rename to Items/Armor/Hydrothermic/HydrothermicHeadRanged.png diff --git a/Items/Armor/HydrothermicHeadRanged_Head.png b/Items/Armor/Hydrothermic/HydrothermicHeadRanged_Head.png similarity index 100% rename from Items/Armor/HydrothermicHeadRanged_Head.png rename to Items/Armor/Hydrothermic/HydrothermicHeadRanged_Head.png diff --git a/Items/Armor/HydrothermicHeadRogue.cs b/Items/Armor/Hydrothermic/HydrothermicHeadRogue.cs similarity index 97% rename from Items/Armor/HydrothermicHeadRogue.cs rename to Items/Armor/Hydrothermic/HydrothermicHeadRogue.cs index 6b80031169..ebe4f9845e 100644 --- a/Items/Armor/HydrothermicHeadRogue.cs +++ b/Items/Armor/Hydrothermic/HydrothermicHeadRogue.cs @@ -4,7 +4,7 @@ using Terraria; using Terraria.ID; using Terraria.ModLoader; -namespace CalamityMod.Items.Armor +namespace CalamityMod.Items.Armor.Hydrothermic { [AutoloadEquip(EquipType.Head)] [LegacyName("AtaxiaHood")] @@ -49,7 +49,7 @@ namespace CalamityMod.Items.Armor "Once you have built max stealth, you will be able to perform a Stealth Strike\n" + "Rogue stealth only reduces when you attack, it does not reduce while moving\n" + "The higher your rogue stealth the higher your rogue damage, crit, and movement speed"; - CalamityPlayer modPlayer = player.Calamity(); + var modPlayer = player.Calamity(); modPlayer.ataxiaBlaze = true; modPlayer.ataxiaVolley = true; modPlayer.rogueStealthMax += 1.1f; diff --git a/Items/Armor/HydrothermicHeadRogue.png b/Items/Armor/Hydrothermic/HydrothermicHeadRogue.png similarity index 100% rename from Items/Armor/HydrothermicHeadRogue.png rename to Items/Armor/Hydrothermic/HydrothermicHeadRogue.png diff --git a/Items/Armor/HydrothermicHeadRogue_Head.png b/Items/Armor/Hydrothermic/HydrothermicHeadRogue_Head.png similarity index 100% rename from Items/Armor/HydrothermicHeadRogue_Head.png rename to Items/Armor/Hydrothermic/HydrothermicHeadRogue_Head.png diff --git a/Items/Armor/HydrothermicHeadSummon.cs b/Items/Armor/Hydrothermic/HydrothermicHeadSummon.cs similarity index 93% rename from Items/Armor/HydrothermicHeadSummon.cs rename to Items/Armor/Hydrothermic/HydrothermicHeadSummon.cs index 5c0aa843bf..c468ee91f1 100644 --- a/Items/Armor/HydrothermicHeadSummon.cs +++ b/Items/Armor/Hydrothermic/HydrothermicHeadSummon.cs @@ -6,7 +6,7 @@ using Terraria; using Terraria.ID; using Terraria.ModLoader; -namespace CalamityMod.Items.Armor +namespace CalamityMod.Items.Armor.Hydrothermic { [AutoloadEquip(EquipType.Head)] [LegacyName("AtaxiaHelmet")] @@ -46,7 +46,7 @@ namespace CalamityMod.Items.Armor "Inferno effect when below 50% life\n" + "Summons a hydrothermic vent to protect you\n" + "You emit a blazing explosion when you are hit"; - CalamityPlayer modPlayer = player.Calamity(); + var modPlayer = player.Calamity(); modPlayer.ataxiaBlaze = true; modPlayer.chaosSpirit = true; if (player.whoAmI == Main.myPlayer) @@ -58,8 +58,8 @@ namespace CalamityMod.Items.Armor } if (player.ownedProjectileCounts[ModContent.ProjectileType()] < 1) { - int damage = (int)player.GetTotalDamage().ApplyTo(190); - int p = Projectile.NewProjectile(source, player.Center.X, player.Center.Y, 0f, -1f, ModContent.ProjectileType(), damage, 0f, Main.myPlayer, 38f, 0f); + var damage = (int)player.GetTotalDamage().ApplyTo(190); + var p = Projectile.NewProjectile(source, player.Center.X, player.Center.Y, 0f, -1f, ModContent.ProjectileType(), damage, 0f, Main.myPlayer, 38f, 0f); if (Main.projectile.IndexInRange(p)) Main.projectile[p].originalDamage = 190; } diff --git a/Items/Armor/HydrothermicHeadSummon.png b/Items/Armor/Hydrothermic/HydrothermicHeadSummon.png similarity index 100% rename from Items/Armor/HydrothermicHeadSummon.png rename to Items/Armor/Hydrothermic/HydrothermicHeadSummon.png diff --git a/Items/Armor/HydrothermicHeadSummon_Head.png b/Items/Armor/Hydrothermic/HydrothermicHeadSummon_Head.png similarity index 100% rename from Items/Armor/HydrothermicHeadSummon_Head.png rename to Items/Armor/Hydrothermic/HydrothermicHeadSummon_Head.png diff --git a/Items/Armor/HydrothermicSubligar.cs b/Items/Armor/Hydrothermic/HydrothermicSubligar.cs similarity index 96% rename from Items/Armor/HydrothermicSubligar.cs rename to Items/Armor/Hydrothermic/HydrothermicSubligar.cs index cee2e99f1c..191f818b10 100644 --- a/Items/Armor/HydrothermicSubligar.cs +++ b/Items/Armor/Hydrothermic/HydrothermicSubligar.cs @@ -3,7 +3,7 @@ using Terraria; using Terraria.ID; using Terraria.ModLoader; -namespace CalamityMod.Items.Armor +namespace CalamityMod.Items.Armor.Hydrothermic { [AutoloadEquip(EquipType.Legs)] [LegacyName("AtaxiaSubligar")] diff --git a/Items/Armor/HydrothermicSubligar.png b/Items/Armor/Hydrothermic/HydrothermicSubligar.png similarity index 100% rename from Items/Armor/HydrothermicSubligar.png rename to Items/Armor/Hydrothermic/HydrothermicSubligar.png diff --git a/Items/Armor/HydrothermicSubligar_Legs.png b/Items/Armor/Hydrothermic/HydrothermicSubligar_Legs.png similarity index 100% rename from Items/Armor/HydrothermicSubligar_Legs.png rename to Items/Armor/Hydrothermic/HydrothermicSubligar_Legs.png diff --git a/Items/Armor/MolluskShelleggings.cs b/Items/Armor/Mollusk/MolluskShelleggings.cs similarity index 96% rename from Items/Armor/MolluskShelleggings.cs rename to Items/Armor/Mollusk/MolluskShelleggings.cs index e1d1d25049..ccdac0a86a 100644 --- a/Items/Armor/MolluskShelleggings.cs +++ b/Items/Armor/Mollusk/MolluskShelleggings.cs @@ -4,7 +4,7 @@ using Terraria; using Terraria.ID; using Terraria.ModLoader; -namespace CalamityMod.Items.Armor +namespace CalamityMod.Items.Armor.Mollusk { [AutoloadEquip(EquipType.Legs)] public class MolluskShelleggings : ModItem diff --git a/Items/Armor/MolluskShelleggings.png b/Items/Armor/Mollusk/MolluskShelleggings.png similarity index 100% rename from Items/Armor/MolluskShelleggings.png rename to Items/Armor/Mollusk/MolluskShelleggings.png diff --git a/Items/Armor/MolluskShelleggings_Legs.png b/Items/Armor/Mollusk/MolluskShelleggings_Legs.png similarity index 100% rename from Items/Armor/MolluskShelleggings_Legs.png rename to Items/Armor/Mollusk/MolluskShelleggings_Legs.png diff --git a/Items/Armor/MolluskShellmet.cs b/Items/Armor/Mollusk/MolluskShellmet.cs similarity index 94% rename from Items/Armor/MolluskShellmet.cs rename to Items/Armor/Mollusk/MolluskShellmet.cs index ec26d108b6..1e142a1686 100644 --- a/Items/Armor/MolluskShellmet.cs +++ b/Items/Armor/Mollusk/MolluskShellmet.cs @@ -7,7 +7,7 @@ using Terraria; using Terraria.ID; using Terraria.ModLoader; -namespace CalamityMod.Items.Armor +namespace CalamityMod.Items.Armor.Mollusk { [AutoloadEquip(EquipType.Head)] public class MolluskShellmet : ModItem @@ -46,7 +46,7 @@ namespace CalamityMod.Items.Armor player.setBonus = "Two shellfishes aid you in combat\n" + "10% increased damage\n" + "Your horizontal movement is slowed"; - CalamityPlayer modPlayer = player.Calamity(); + var modPlayer = player.Calamity(); player.GetDamage() += 0.1f; modPlayer.molluskSet = true; player.maxMinions += 4; @@ -59,7 +59,7 @@ namespace CalamityMod.Items.Armor } if (player.ownedProjectileCounts[ModContent.ProjectileType()] < 2) { - int damage = (int)player.GetTotalDamage().ApplyTo(140); + var damage = (int)player.GetTotalDamage().ApplyTo(140); Projectile.NewProjectile(source, player.Center.X, player.Center.Y, 0f, -1f, ModContent.ProjectileType(), damage, 0f, player.whoAmI); // TODO -- doesn't set originalDamage } diff --git a/Items/Armor/MolluskShellmet.png b/Items/Armor/Mollusk/MolluskShellmet.png similarity index 100% rename from Items/Armor/MolluskShellmet.png rename to Items/Armor/Mollusk/MolluskShellmet.png diff --git a/Items/Armor/MolluskShellmet_Head.png b/Items/Armor/Mollusk/MolluskShellmet_Head.png similarity index 100% rename from Items/Armor/MolluskShellmet_Head.png rename to Items/Armor/Mollusk/MolluskShellmet_Head.png diff --git a/Items/Armor/MolluskShellplate.cs b/Items/Armor/Mollusk/MolluskShellplate.cs similarity index 96% rename from Items/Armor/MolluskShellplate.cs rename to Items/Armor/Mollusk/MolluskShellplate.cs index 1d96151206..968a9b97b3 100644 --- a/Items/Armor/MolluskShellplate.cs +++ b/Items/Armor/Mollusk/MolluskShellplate.cs @@ -4,7 +4,7 @@ using Terraria; using Terraria.ID; using Terraria.ModLoader; -namespace CalamityMod.Items.Armor +namespace CalamityMod.Items.Armor.Mollusk { [AutoloadEquip(EquipType.Body)] public class MolluskShellplate : ModItem diff --git a/Items/Armor/MolluskShellplate.png b/Items/Armor/Mollusk/MolluskShellplate.png similarity index 100% rename from Items/Armor/MolluskShellplate.png rename to Items/Armor/Mollusk/MolluskShellplate.png diff --git a/Items/Armor/MolluskShellplate_Body.png b/Items/Armor/Mollusk/MolluskShellplate_Body.png similarity index 100% rename from Items/Armor/MolluskShellplate_Body.png rename to Items/Armor/Mollusk/MolluskShellplate_Body.png diff --git a/Items/Armor/OmegaBlueChestplate.cs b/Items/Armor/OmegaBlue/OmegaBlueChestplate.cs similarity index 94% rename from Items/Armor/OmegaBlueChestplate.cs rename to Items/Armor/OmegaBlue/OmegaBlueChestplate.cs index 5788929eff..05003340c6 100644 --- a/Items/Armor/OmegaBlueChestplate.cs +++ b/Items/Armor/OmegaBlue/OmegaBlueChestplate.cs @@ -5,7 +5,7 @@ using Terraria; using Terraria.ID; using Terraria.ModLoader; -namespace CalamityMod.Items.Armor +namespace CalamityMod.Items.Armor.OmegaBlue { [AutoloadEquip(EquipType.Body)] public class OmegaBlueChestplate : ModItem @@ -31,7 +31,7 @@ No positive life regen"); public override void UpdateEquip(Player player) { - CalamityPlayer modPlayer = player.Calamity(); + var modPlayer = player.Calamity(); player.GetDamage() += 0.12f; player.GetCritChance() += 8; modPlayer.omegaBlueChestplate = true; diff --git a/Items/Armor/OmegaBlueChestplate.png b/Items/Armor/OmegaBlue/OmegaBlueChestplate.png similarity index 100% rename from Items/Armor/OmegaBlueChestplate.png rename to Items/Armor/OmegaBlue/OmegaBlueChestplate.png diff --git a/Items/Armor/OmegaBlueChestplate_Body.png b/Items/Armor/OmegaBlue/OmegaBlueChestplate_Body.png similarity index 100% rename from Items/Armor/OmegaBlueChestplate_Body.png rename to Items/Armor/OmegaBlue/OmegaBlueChestplate_Body.png diff --git a/Items/Armor/OmegaBlueHelmet.cs b/Items/Armor/OmegaBlue/OmegaBlueHelmet.cs similarity index 86% rename from Items/Armor/OmegaBlueHelmet.cs rename to Items/Armor/OmegaBlue/OmegaBlueHelmet.cs index 21e2e4ef72..f7ef5ccf37 100644 --- a/Items/Armor/OmegaBlueHelmet.cs +++ b/Items/Armor/OmegaBlue/OmegaBlueHelmet.cs @@ -8,7 +8,7 @@ using CalamityMod.CalPlayer; using CalamityMod.Cooldowns; using Terraria.Audio; -namespace CalamityMod.Items.Armor +namespace CalamityMod.Items.Armor.OmegaBlue { [AutoloadEquip(EquipType.Head)] public class OmegaBlueHelmet : ModItem @@ -20,7 +20,7 @@ namespace CalamityMod.Items.Armor { if (Main.netMode != NetmodeID.Server) { - EquipLoader.AddEquipTexture(Mod, "CalamityMod/Items/Armor/OmegaBlueHelmet_HeadMadness", EquipType.Head, name : "OmegaBlueTransformation"); + EquipLoader.AddEquipTexture(Mod, "CalamityMod/Items/Armor/OmegaBlue/OmegaBlueHelmet_HeadMadness", EquipType.Head, name: "OmegaBlueTransformation"); } } @@ -33,7 +33,7 @@ namespace CalamityMod.Items.Armor if (Main.netMode == NetmodeID.Server) return; - int equipSlotHead = EquipLoader.GetEquipSlot(Mod, "OmegaBlueTransformation", EquipType.Head); + var equipSlotHead = EquipLoader.GetEquipSlot(Mod, "OmegaBlueTransformation", EquipType.Head); ArmorIDs.Head.Sets.DrawHead[equipSlotHead] = false; } @@ -57,7 +57,7 @@ namespace CalamityMod.Items.Armor public override bool IsArmorSet(Item head, Item body, Item legs) { - return body.type == ModContent.ItemType() && legs.type == ModContent.ItemType(); + return body.type == ModContent.ItemType() && legs.type == ModContent.ItemType(); } public override void ArmorSetShadows(Player player) @@ -69,7 +69,7 @@ namespace CalamityMod.Items.Armor public override void UpdateArmorSet(Player player) { - string hotkey = CalamityKeybinds.SetBonusHotKey.TooltipHotkeyString(); + var hotkey = CalamityKeybinds.SetBonusHotKey.TooltipHotkeyString(); player.setBonus = "Increases armor penetration by 15\n" + "10% increased damage and critical strike chance and +2 max minions\n" + "Short-ranged tentacles heal you by sucking enemy life\n" + @@ -77,17 +77,17 @@ namespace CalamityMod.Items.Armor "Abyssal madness increases damage, critical strike chance, and tentacle aggression/range\n" + "This effect has a 25 second cooldown"; - CalamityPlayer mp = player.Calamity(); + var mp = player.Calamity(); player.GetArmorPenetration() += 15; player.maxMinions += 2; mp.wearingRogueArmor = true; mp.omegaBlueSet = true; mp.WearingPostMLSummonerSet = true; - bool hasOmegaBlueCooldown = mp.cooldowns.TryGetValue(OmegaBlue.ID, out CooldownInstance cd); + var hasOmegaBlueCooldown = mp.cooldowns.TryGetValue(OmegaBlue.ID, out var cd); if (hasOmegaBlueCooldown && cd.timeLeft > 1500) { - int d = Dust.NewDust(player.position, player.width, player.height, 20, 0, 0, 100, Color.Transparent, 1.6f); + var d = Dust.NewDust(player.position, player.width, player.height, 20, 0, 0, 100, Color.Transparent, 1.6f); Main.dust[d].noGravity = true; Main.dust[d].noLight = true; Main.dust[d].fadeIn = 1f; diff --git a/Items/Armor/OmegaBlueHelmet.png b/Items/Armor/OmegaBlue/OmegaBlueHelmet.png similarity index 100% rename from Items/Armor/OmegaBlueHelmet.png rename to Items/Armor/OmegaBlue/OmegaBlueHelmet.png diff --git a/Items/Armor/OmegaBlueHelmet_Head.png b/Items/Armor/OmegaBlue/OmegaBlueHelmet_Head.png similarity index 100% rename from Items/Armor/OmegaBlueHelmet_Head.png rename to Items/Armor/OmegaBlue/OmegaBlueHelmet_Head.png diff --git a/Items/Armor/OmegaBlueHelmet_HeadMadness.png b/Items/Armor/OmegaBlue/OmegaBlueHelmet_HeadMadness.png similarity index 100% rename from Items/Armor/OmegaBlueHelmet_HeadMadness.png rename to Items/Armor/OmegaBlue/OmegaBlueHelmet_HeadMadness.png diff --git a/Items/Armor/OmegaBlueLeggings.cs b/Items/Armor/OmegaBlue/OmegaBlueTentacles.cs similarity index 91% rename from Items/Armor/OmegaBlueLeggings.cs rename to Items/Armor/OmegaBlue/OmegaBlueTentacles.cs index fb1186f131..31fd137e41 100644 --- a/Items/Armor/OmegaBlueLeggings.cs +++ b/Items/Armor/OmegaBlue/OmegaBlueTentacles.cs @@ -4,10 +4,11 @@ using Terraria; using Terraria.ID; using Terraria.ModLoader; -namespace CalamityMod.Items.Armor +namespace CalamityMod.Items.Armor.OmegaBlue { [AutoloadEquip(EquipType.Legs)] - public class OmegaBlueLeggings : ModItem + [LegacyName("OmegaBlueLeggings")] + public class OmegaBlueTentacles : ModItem { public override void SetStaticDefaults() { diff --git a/Items/Armor/OmegaBlueLeggings.png b/Items/Armor/OmegaBlue/OmegaBlueTentacles.png similarity index 100% rename from Items/Armor/OmegaBlueLeggings.png rename to Items/Armor/OmegaBlue/OmegaBlueTentacles.png diff --git a/Items/Armor/OmegaBlueLeggings_Legs.png b/Items/Armor/OmegaBlue/OmegaBlueTentacles_Legs.png similarity index 100% rename from Items/Armor/OmegaBlueLeggings_Legs.png rename to Items/Armor/OmegaBlue/OmegaBlueTentacles_Legs.png diff --git a/Items/Armor/PlagueReaperMask.cs b/Items/Armor/PlagueReaper/PlagueReaperMask.cs similarity index 86% rename from Items/Armor/PlagueReaperMask.cs rename to Items/Armor/PlagueReaper/PlagueReaperMask.cs index 7df7a1f6a1..0316a6764c 100644 --- a/Items/Armor/PlagueReaperMask.cs +++ b/Items/Armor/PlagueReaper/PlagueReaperMask.cs @@ -7,7 +7,7 @@ using Terraria.ID; using Terraria.ModLoader; using Terraria.Audio; -namespace CalamityMod.Items.Armor +namespace CalamityMod.Items.Armor.PlagueReaper { [AutoloadEquip(EquipType.Head)] public class PlagueReaperMask : ModItem @@ -42,18 +42,18 @@ namespace CalamityMod.Items.Armor public override void UpdateArmorSet(Player player) { - string hotkey = CalamityKeybinds.SetBonusHotKey.TooltipHotkeyString(); + var hotkey = CalamityKeybinds.SetBonusHotKey.TooltipHotkeyString(); player.setBonus = "25% reduced ammo usage and 5% increased flight time\n" + "Enemies receive 10% more damage from ranged projectiles when afflicted by the Plague\n" + "Getting hit causes plague cinders to rain from above\n" + "Press " + hotkey + " to blind yourself for 5 seconds but massively boost your ranged damage\n" + "This has a 25 second cooldown."; - CalamityPlayer modPlayer = player.Calamity(); + var modPlayer = player.Calamity(); modPlayer.plagueReaper = true; player.ammoCost75 = true; - bool hasPlagueBlackoutCD = modPlayer.cooldowns.TryGetValue(PlagueBlackout.ID, out CooldownInstance cd); + var hasPlagueBlackoutCD = modPlayer.cooldowns.TryGetValue(PlagueBlackout.ID, out var cd); if (hasPlagueBlackoutCD && cd.timeLeft > 1500) { player.blind = true; @@ -70,8 +70,8 @@ namespace CalamityMod.Items.Armor { if (player.miscCounter % 10 == 0) { - int damage = (int)player.GetTotalDamage().ApplyTo(40); - Projectile cinder = CalamityUtils.ProjectileRain(source, player.Center, 400f, 100f, 500f, 800f, 22f, ModContent.ProjectileType(), damage, 4f, player.whoAmI); + var damage = (int)player.GetTotalDamage().ApplyTo(40); + var cinder = CalamityUtils.ProjectileRain(source, player.Center, 400f, 100f, 500f, 800f, 22f, ModContent.ProjectileType(), damage, 4f, player.whoAmI); if (cinder.whoAmI.WithinBounds(Main.maxProjectiles)) cinder.Calamity().forceClassless = true; } diff --git a/Items/Armor/PlagueReaperMask.png b/Items/Armor/PlagueReaper/PlagueReaperMask.png similarity index 100% rename from Items/Armor/PlagueReaperMask.png rename to Items/Armor/PlagueReaper/PlagueReaperMask.png diff --git a/Items/Armor/PlagueReaperMask_Head.png b/Items/Armor/PlagueReaper/PlagueReaperMask_Head.png similarity index 100% rename from Items/Armor/PlagueReaperMask_Head.png rename to Items/Armor/PlagueReaper/PlagueReaperMask_Head.png diff --git a/Items/Armor/PlagueReaperStriders.cs b/Items/Armor/PlagueReaper/PlagueReaperStriders.cs similarity index 96% rename from Items/Armor/PlagueReaperStriders.cs rename to Items/Armor/PlagueReaper/PlagueReaperStriders.cs index c35db41e15..9a0dbe5870 100644 --- a/Items/Armor/PlagueReaperStriders.cs +++ b/Items/Armor/PlagueReaper/PlagueReaperStriders.cs @@ -3,7 +3,7 @@ using Terraria; using Terraria.ID; using Terraria.ModLoader; -namespace CalamityMod.Items.Armor +namespace CalamityMod.Items.Armor.PlagueReaper { [AutoloadEquip(EquipType.Legs)] public class PlagueReaperStriders : ModItem diff --git a/Items/Armor/PlagueReaperStriders.png b/Items/Armor/PlagueReaper/PlagueReaperStriders.png similarity index 100% rename from Items/Armor/PlagueReaperStriders.png rename to Items/Armor/PlagueReaper/PlagueReaperStriders.png diff --git a/Items/Armor/PlagueReaperStriders_Legs.png b/Items/Armor/PlagueReaper/PlagueReaperStriders_Legs.png similarity index 100% rename from Items/Armor/PlagueReaperStriders_Legs.png rename to Items/Armor/PlagueReaper/PlagueReaperStriders_Legs.png diff --git a/Items/Armor/PlagueReaperVest.cs b/Items/Armor/PlagueReaper/PlagueReaperVest.cs similarity index 96% rename from Items/Armor/PlagueReaperVest.cs rename to Items/Armor/PlagueReaper/PlagueReaperVest.cs index e5811c4ba2..8b3df5b9bc 100644 --- a/Items/Armor/PlagueReaperVest.cs +++ b/Items/Armor/PlagueReaper/PlagueReaperVest.cs @@ -4,7 +4,7 @@ using Terraria; using Terraria.ID; using Terraria.ModLoader; -namespace CalamityMod.Items.Armor +namespace CalamityMod.Items.Armor.PlagueReaper { [AutoloadEquip(EquipType.Body)] public class PlagueReaperVest : ModItem diff --git a/Items/Armor/PlagueReaperVest.png b/Items/Armor/PlagueReaper/PlagueReaperVest.png similarity index 100% rename from Items/Armor/PlagueReaperVest.png rename to Items/Armor/PlagueReaper/PlagueReaperVest.png diff --git a/Items/Armor/PlagueReaperVest_Body.png b/Items/Armor/PlagueReaper/PlagueReaperVest_Body.png similarity index 100% rename from Items/Armor/PlagueReaperVest_Body.png rename to Items/Armor/PlagueReaper/PlagueReaperVest_Body.png diff --git a/Items/Armor/PlaguebringerCarapace.cs b/Items/Armor/Plaguebringer/PlaguebringerCarapace.cs similarity index 97% rename from Items/Armor/PlaguebringerCarapace.cs rename to Items/Armor/Plaguebringer/PlaguebringerCarapace.cs index 2c4cda8e4e..75a2ccd3f4 100644 --- a/Items/Armor/PlaguebringerCarapace.cs +++ b/Items/Armor/Plaguebringer/PlaguebringerCarapace.cs @@ -5,7 +5,7 @@ using Terraria; using Terraria.ID; using Terraria.ModLoader; -namespace CalamityMod.Items.Armor +namespace CalamityMod.Items.Armor.Plaguebringer { [AutoloadEquip(EquipType.Body)] public class PlaguebringerCarapace : ModItem diff --git a/Items/Armor/PlaguebringerCarapace.png b/Items/Armor/Plaguebringer/PlaguebringerCarapace.png similarity index 100% rename from Items/Armor/PlaguebringerCarapace.png rename to Items/Armor/Plaguebringer/PlaguebringerCarapace.png diff --git a/Items/Armor/PlaguebringerCarapace_Back.png b/Items/Armor/Plaguebringer/PlaguebringerCarapace_Back.png similarity index 100% rename from Items/Armor/PlaguebringerCarapace_Back.png rename to Items/Armor/Plaguebringer/PlaguebringerCarapace_Back.png diff --git a/Items/Armor/PlaguebringerCarapace_Body.png b/Items/Armor/Plaguebringer/PlaguebringerCarapace_Body.png similarity index 100% rename from Items/Armor/PlaguebringerCarapace_Body.png rename to Items/Armor/Plaguebringer/PlaguebringerCarapace_Body.png diff --git a/Items/Armor/PlaguebringerPistons.cs b/Items/Armor/Plaguebringer/PlaguebringerPistons.cs similarity index 96% rename from Items/Armor/PlaguebringerPistons.cs rename to Items/Armor/Plaguebringer/PlaguebringerPistons.cs index b796cb58da..a3815f281c 100644 --- a/Items/Armor/PlaguebringerPistons.cs +++ b/Items/Armor/Plaguebringer/PlaguebringerPistons.cs @@ -3,7 +3,7 @@ using Terraria; using Terraria.ID; using Terraria.ModLoader; -namespace CalamityMod.Items.Armor +namespace CalamityMod.Items.Armor.Plaguebringer { [AutoloadEquip(EquipType.Legs)] public class PlaguebringerPistons : ModItem @@ -37,9 +37,9 @@ namespace CalamityMod.Items.Armor //Flower Boots code if (player.whoAmI == Main.myPlayer && player.velocity.Y == 0f && player.grappling[0] == -1) { - int x = (int)player.Center.X / 16; - int y = (int)(player.position.Y + (float)player.height - 1f) / 16; - Tile tile = Main.tile[x, y]; + var x = (int)player.Center.X / 16; + var y = (int)(player.position.Y + player.height - 1f) / 16; + var tile = Main.tile[x, y]; if (tile == null) { tile = new Tile(); diff --git a/Items/Armor/PlaguebringerPistons.png b/Items/Armor/Plaguebringer/PlaguebringerPistons.png similarity index 100% rename from Items/Armor/PlaguebringerPistons.png rename to Items/Armor/Plaguebringer/PlaguebringerPistons.png diff --git a/Items/Armor/PlaguebringerPistons_Legs.png b/Items/Armor/Plaguebringer/PlaguebringerPistons_Legs.png similarity index 100% rename from Items/Armor/PlaguebringerPistons_Legs.png rename to Items/Armor/Plaguebringer/PlaguebringerPistons_Legs.png diff --git a/Items/Armor/PlaguebringerVisor.cs b/Items/Armor/Plaguebringer/PlaguebringerVisor.cs similarity index 94% rename from Items/Armor/PlaguebringerVisor.cs rename to Items/Armor/Plaguebringer/PlaguebringerVisor.cs index e7f5f6ebe7..04367b12f3 100644 --- a/Items/Armor/PlaguebringerVisor.cs +++ b/Items/Armor/Plaguebringer/PlaguebringerVisor.cs @@ -6,7 +6,7 @@ using Terraria.ID; using Terraria.ModLoader; using CalamityMod.CalPlayer.Dashes; -namespace CalamityMod.Items.Armor +namespace CalamityMod.Items.Armor.Plaguebringer { [AutoloadEquip(EquipType.Head)] public class PlaguebringerVisor : ModItem @@ -66,8 +66,8 @@ namespace CalamityMod.Items.Armor } if (player.ownedProjectileCounts[ModContent.ProjectileType()] < 1) { - int damage = (int)player.GetTotalDamage().ApplyTo(80); - int p = Projectile.NewProjectile(source, player.Center.X, player.Center.Y, 0f, -1f, ModContent.ProjectileType(), damage, 0f, player.whoAmI, 0f, 0f); + var damage = (int)player.GetTotalDamage().ApplyTo(80); + var p = Projectile.NewProjectile(source, player.Center.X, player.Center.Y, 0f, -1f, ModContent.ProjectileType(), damage, 0f, player.whoAmI, 0f, 0f); if (Main.projectile.IndexInRange(p)) Main.projectile[p].originalDamage = 80; } diff --git a/Items/Armor/PlaguebringerVisor.png b/Items/Armor/Plaguebringer/PlaguebringerVisor.png similarity index 100% rename from Items/Armor/PlaguebringerVisor.png rename to Items/Armor/Plaguebringer/PlaguebringerVisor.png diff --git a/Items/Armor/PlaguebringerVisor_Head.png b/Items/Armor/Plaguebringer/PlaguebringerVisor_Head.png similarity index 100% rename from Items/Armor/PlaguebringerVisor_Head.png rename to Items/Armor/Plaguebringer/PlaguebringerVisor_Head.png diff --git a/Items/Armor/PrismaticGreaves.cs b/Items/Armor/Prismatic/PrismaticGreaves.cs similarity index 97% rename from Items/Armor/PrismaticGreaves.cs rename to Items/Armor/Prismatic/PrismaticGreaves.cs index 007850b8aa..f2cef48834 100644 --- a/Items/Armor/PrismaticGreaves.cs +++ b/Items/Armor/Prismatic/PrismaticGreaves.cs @@ -4,7 +4,7 @@ using Terraria; using Terraria.ID; using Terraria.ModLoader; -namespace CalamityMod.Items.Armor +namespace CalamityMod.Items.Armor.Prismatic { [AutoloadEquip(EquipType.Legs)] public class PrismaticGreaves : ModItem diff --git a/Items/Armor/PrismaticGreaves.png b/Items/Armor/Prismatic/PrismaticGreaves.png similarity index 100% rename from Items/Armor/PrismaticGreaves.png rename to Items/Armor/Prismatic/PrismaticGreaves.png diff --git a/Items/Armor/PrismaticGreaves_Legs.png b/Items/Armor/Prismatic/PrismaticGreaves_Legs.png similarity index 100% rename from Items/Armor/PrismaticGreaves_Legs.png rename to Items/Armor/Prismatic/PrismaticGreaves_Legs.png diff --git a/Items/Armor/PrismaticHelmet.cs b/Items/Armor/Prismatic/PrismaticHelmet.cs similarity index 95% rename from Items/Armor/PrismaticHelmet.cs rename to Items/Armor/Prismatic/PrismaticHelmet.cs index 618f2fc19f..f757d02fd6 100644 --- a/Items/Armor/PrismaticHelmet.cs +++ b/Items/Armor/Prismatic/PrismaticHelmet.cs @@ -4,7 +4,7 @@ using Terraria; using Terraria.ID; using Terraria.ModLoader; -namespace CalamityMod.Items.Armor +namespace CalamityMod.Items.Armor.Prismatic { [AutoloadEquip(EquipType.Head)] public class PrismaticHelmet : ModItem @@ -47,7 +47,7 @@ namespace CalamityMod.Items.Armor player.statManaMax2 += 40; player.manaCost *= 0.85f; player.manaRegenBonus += 8; - string hotkey = CalamityKeybinds.SetBonusHotKey.TooltipHotkeyString(); + var hotkey = CalamityKeybinds.SetBonusHotKey.TooltipHotkeyString(); player.setBonus = "+40 max mana and 15% reduced mana cost\n" + "Increased mana regeneration rate\n" + "Press " + hotkey + " to unleash a barrage of death lasers at the cursor for the next 5 seconds\n" + diff --git a/Items/Armor/PrismaticHelmet.png b/Items/Armor/Prismatic/PrismaticHelmet.png similarity index 100% rename from Items/Armor/PrismaticHelmet.png rename to Items/Armor/Prismatic/PrismaticHelmet.png diff --git a/Items/Armor/PrismaticHelmet_Head.png b/Items/Armor/Prismatic/PrismaticHelmet_Head.png similarity index 100% rename from Items/Armor/PrismaticHelmet_Head.png rename to Items/Armor/Prismatic/PrismaticHelmet_Head.png diff --git a/Items/Armor/PrismaticRegalia.cs b/Items/Armor/Prismatic/PrismaticRegalia.cs similarity index 97% rename from Items/Armor/PrismaticRegalia.cs rename to Items/Armor/Prismatic/PrismaticRegalia.cs index 2ec2a30514..36d9ff9155 100644 --- a/Items/Armor/PrismaticRegalia.cs +++ b/Items/Armor/Prismatic/PrismaticRegalia.cs @@ -4,7 +4,7 @@ using Terraria; using Terraria.ID; using Terraria.ModLoader; -namespace CalamityMod.Items.Armor +namespace CalamityMod.Items.Armor.Prismatic { [AutoloadEquip(EquipType.Body)] public class PrismaticRegalia : ModItem diff --git a/Items/Armor/PrismaticRegalia.png b/Items/Armor/Prismatic/PrismaticRegalia.png similarity index 100% rename from Items/Armor/PrismaticRegalia.png rename to Items/Armor/Prismatic/PrismaticRegalia.png diff --git a/Items/Armor/PrismaticRegalia_Body.png b/Items/Armor/Prismatic/PrismaticRegalia_Body.png similarity index 100% rename from Items/Armor/PrismaticRegalia_Body.png rename to Items/Armor/Prismatic/PrismaticRegalia_Body.png diff --git a/Items/Armor/ReaverCuisses.cs b/Items/Armor/Reaver/ReaverCuisses.cs similarity index 96% rename from Items/Armor/ReaverCuisses.cs rename to Items/Armor/Reaver/ReaverCuisses.cs index f6f1a29c9e..a6c56fa1d6 100644 --- a/Items/Armor/ReaverCuisses.cs +++ b/Items/Armor/Reaver/ReaverCuisses.cs @@ -3,7 +3,7 @@ using Terraria; using Terraria.ID; using Terraria.ModLoader; -namespace CalamityMod.Items.Armor +namespace CalamityMod.Items.Armor.Reaver { [AutoloadEquip(EquipType.Legs)] public class ReaverCuisses : ModItem diff --git a/Items/Armor/ReaverCuisses.png b/Items/Armor/Reaver/ReaverCuisses.png similarity index 100% rename from Items/Armor/ReaverCuisses.png rename to Items/Armor/Reaver/ReaverCuisses.png diff --git a/Items/Armor/ReaverCuisses_Legs.png b/Items/Armor/Reaver/ReaverCuisses_Legs.png similarity index 100% rename from Items/Armor/ReaverCuisses_Legs.png rename to Items/Armor/Reaver/ReaverCuisses_Legs.png diff --git a/Items/Armor/ReaverHeadgear.cs b/Items/Armor/Reaver/ReaverHeadExplore.cs similarity index 82% rename from Items/Armor/ReaverHeadgear.cs rename to Items/Armor/Reaver/ReaverHeadExplore.cs index 248422375c..ce41a8fca6 100644 --- a/Items/Armor/ReaverHeadgear.cs +++ b/Items/Armor/Reaver/ReaverHeadExplore.cs @@ -7,10 +7,11 @@ using Terraria; using Terraria.ID; using Terraria.ModLoader; -namespace CalamityMod.Items.Armor +namespace CalamityMod.Items.Armor.Reaver { [AutoloadEquip(EquipType.Head)] - public class ReaverHeadgear : ModItem + [LegacyName("ReaverHeadgear")] + public class ReaverHeadExplore : ModItem { //Exploration and Mining Helm public override void SetStaticDefaults() @@ -49,7 +50,7 @@ namespace CalamityMod.Items.Armor "Summons a reaver orb to light up the area around you\n" + "Reduces enemy aggression, even in the abyss\n" + "Provides a small amount of light in the abyss"; - CalamityPlayer modPlayer = player.Calamity(); + var modPlayer = player.Calamity(); modPlayer.reaverExplore = true; modPlayer.wearingRogueArmor = true; player.blockRange += 2; @@ -69,16 +70,16 @@ namespace CalamityMod.Items.Armor } if (player.miscCounter % 10 == 0) { - int searchDist = 17; - int x = (int)player.Center.X / 16; - int y = (int)player.Center.Y / 16; - for (int i = x - searchDist; i <= x + searchDist; ++i) + var searchDist = 17; + var x = (int)player.Center.X / 16; + var y = (int)player.Center.Y / 16; + for (var i = x - searchDist; i <= x + searchDist; ++i) { - for (int j = y - searchDist; j <= y + searchDist; ++j) + for (var j = y - searchDist; j <= y + searchDist; ++j) { - if (Main.rand.NextBool(4) && (new Vector2((float)(x - i), (float)(y - j)).Length() < (float)searchDist && i > 0 && (i < Main.maxTilesX - 1 && j > 0) && (j < Main.maxTilesY - 1 && Main.tile[i, j] != null && Main.tile[i, j].HasTile))) + if (Main.rand.NextBool(4) && new Vector2(x - i, y - j).Length() < searchDist && i > 0 && i < Main.maxTilesX - 1 && j > 0 && j < Main.maxTilesY - 1 && Main.tile[i, j] != null && Main.tile[i, j].HasTile) { - bool shouldSparkle = false; + var shouldSparkle = false; //Check for the money piles if (Main.tile[i, j].TileType == TileID.SmallPiles && Main.tile[i, j].TileFrameY == 18) { @@ -90,8 +91,8 @@ namespace CalamityMod.Items.Armor if (shouldSparkle || Main.tileSpelunker[Main.tile[i, j].TileType] || Main.tileAlch[Main.tile[i, j].TileType] && Main.tile[i, j].TileType != TileID.ImmatureHerbs) { - int sparkle = Dust.NewDust(new Vector2((float)(i * 16), (float)(j * 16)), 16, 16, 204, 0f, 0f, 150, new Color(), 0.3f); - Dust dust = Main.dust[sparkle]; + var sparkle = Dust.NewDust(new Vector2(i * 16, j * 16), 16, 16, 204, 0f, 0f, 150, new Color(), 0.3f); + var dust = Main.dust[sparkle]; dust.fadeIn = 0.75f; dust.velocity = dust.velocity * 0.1f; dust.noLight = true; diff --git a/Items/Armor/ReaverHeadgear.png b/Items/Armor/Reaver/ReaverHeadExplore.png similarity index 100% rename from Items/Armor/ReaverHeadgear.png rename to Items/Armor/Reaver/ReaverHeadExplore.png diff --git a/Items/Armor/ReaverHeadgear_Head.png b/Items/Armor/Reaver/ReaverHeadExplore_Head.png similarity index 100% rename from Items/Armor/ReaverHeadgear_Head.png rename to Items/Armor/Reaver/ReaverHeadExplore_Head.png diff --git a/Items/Armor/ReaverVisage.cs b/Items/Armor/Reaver/ReaverHeadMobility.cs similarity index 93% rename from Items/Armor/ReaverVisage.cs rename to Items/Armor/Reaver/ReaverHeadMobility.cs index d2b591a5d0..50a013d74e 100644 --- a/Items/Armor/ReaverVisage.cs +++ b/Items/Armor/Reaver/ReaverHeadMobility.cs @@ -4,10 +4,11 @@ using Terraria; using Terraria.ID; using Terraria.ModLoader; -namespace CalamityMod.Items.Armor +namespace CalamityMod.Items.Armor.Reaver { [AutoloadEquip(EquipType.Head)] - public class ReaverVisage : ModItem + [LegacyName("ReaverVisage")] + public class ReaverHeadMobility : ModItem { //Jump/Flight Boosts and Movement Speed Helm public override void SetStaticDefaults() @@ -39,7 +40,7 @@ namespace CalamityMod.Items.Armor public override void UpdateArmorSet(Player player) { - CalamityPlayer modPlayer = player.Calamity(); + var modPlayer = player.Calamity(); modPlayer.reaverSpeed = true; modPlayer.wearingRogueArmor = true; player.setBonus = "Grants immunity to fall damage and allows constant jumping\n" + diff --git a/Items/Armor/ReaverVisage.png b/Items/Armor/Reaver/ReaverHeadMobility.png similarity index 100% rename from Items/Armor/ReaverVisage.png rename to Items/Armor/Reaver/ReaverHeadMobility.png diff --git a/Items/Armor/ReaverVisage_Head.png b/Items/Armor/Reaver/ReaverHeadMobility_Head.png similarity index 100% rename from Items/Armor/ReaverVisage_Head.png rename to Items/Armor/Reaver/ReaverHeadMobility_Head.png diff --git a/Items/Armor/ReaverHelm.cs b/Items/Armor/Reaver/ReaverHeadTank.cs similarity index 94% rename from Items/Armor/ReaverHelm.cs rename to Items/Armor/Reaver/ReaverHeadTank.cs index 9ffdfe3fd6..38e68ba893 100644 --- a/Items/Armor/ReaverHelm.cs +++ b/Items/Armor/Reaver/ReaverHeadTank.cs @@ -4,10 +4,11 @@ using Terraria; using Terraria.ID; using Terraria.ModLoader; -namespace CalamityMod.Items.Armor +namespace CalamityMod.Items.Armor.Reaver { [AutoloadEquip(EquipType.Head)] - public class ReaverHelm : ModItem + [LegacyName("ReaverHelm")] + public class ReaverHeadTank : ModItem { //Defense and DR Helm public override void SetStaticDefaults() @@ -41,7 +42,7 @@ namespace CalamityMod.Items.Armor public override void UpdateArmorSet(Player player) { - CalamityPlayer modPlayer = player.Calamity(); + var modPlayer = player.Calamity(); player.thorns += 0.33f; player.moveSpeed -= 0.2f; player.statDefense += 10; diff --git a/Items/Armor/ReaverHelm.png b/Items/Armor/Reaver/ReaverHeadTank.png similarity index 100% rename from Items/Armor/ReaverHelm.png rename to Items/Armor/Reaver/ReaverHeadTank.png diff --git a/Items/Armor/ReaverHelm_Head.png b/Items/Armor/Reaver/ReaverHeadTank_Head.png similarity index 100% rename from Items/Armor/ReaverHelm_Head.png rename to Items/Armor/Reaver/ReaverHeadTank_Head.png diff --git a/Items/Armor/ReaverScaleMail.cs b/Items/Armor/Reaver/ReaverScaleMail.cs similarity index 96% rename from Items/Armor/ReaverScaleMail.cs rename to Items/Armor/Reaver/ReaverScaleMail.cs index 1b31ea5da3..3a3fc8ae73 100644 --- a/Items/Armor/ReaverScaleMail.cs +++ b/Items/Armor/Reaver/ReaverScaleMail.cs @@ -3,7 +3,7 @@ using Terraria; using Terraria.ID; using Terraria.ModLoader; -namespace CalamityMod.Items.Armor +namespace CalamityMod.Items.Armor.Reaver { [AutoloadEquip(EquipType.Body)] public class ReaverScaleMail : ModItem diff --git a/Items/Armor/ReaverScaleMail.png b/Items/Armor/Reaver/ReaverScaleMail.png similarity index 100% rename from Items/Armor/ReaverScaleMail.png rename to Items/Armor/Reaver/ReaverScaleMail.png diff --git a/Items/Armor/ReaverScaleMail_Body.png b/Items/Armor/Reaver/ReaverScaleMail_Body.png similarity index 100% rename from Items/Armor/ReaverScaleMail_Body.png rename to Items/Armor/Reaver/ReaverScaleMail_Body.png diff --git a/Items/Armor/SilvaArmor.cs b/Items/Armor/Silva/SilvaArmor.cs similarity index 97% rename from Items/Armor/SilvaArmor.cs rename to Items/Armor/Silva/SilvaArmor.cs index 9499fa72da..3604c3d714 100644 --- a/Items/Armor/SilvaArmor.cs +++ b/Items/Armor/Silva/SilvaArmor.cs @@ -5,7 +5,7 @@ using Terraria; using Terraria.ID; using Terraria.ModLoader; -namespace CalamityMod.Items.Armor +namespace CalamityMod.Items.Armor.Silva { [AutoloadEquip(EquipType.Body)] public class SilvaArmor : ModItem diff --git a/Items/Armor/SilvaArmor.png b/Items/Armor/Silva/SilvaArmor.png similarity index 100% rename from Items/Armor/SilvaArmor.png rename to Items/Armor/Silva/SilvaArmor.png diff --git a/Items/Armor/SilvaArmor_Body.png b/Items/Armor/Silva/SilvaArmor_Body.png similarity index 100% rename from Items/Armor/SilvaArmor_Body.png rename to Items/Armor/Silva/SilvaArmor_Body.png diff --git a/Items/Armor/SilvaMaskedCap.cs b/Items/Armor/Silva/SilvaHeadMagic.cs similarity index 93% rename from Items/Armor/SilvaMaskedCap.cs rename to Items/Armor/Silva/SilvaHeadMagic.cs index 6265ddefe5..12edcf92a7 100644 --- a/Items/Armor/SilvaMaskedCap.cs +++ b/Items/Armor/Silva/SilvaHeadMagic.cs @@ -6,10 +6,11 @@ using Terraria; using Terraria.ID; using Terraria.ModLoader; -namespace CalamityMod.Items.Armor +namespace CalamityMod.Items.Armor.Silva { [AutoloadEquip(EquipType.Head)] - public class SilvaMaskedCap : ModItem + [LegacyName("SilvaMaskedCap")] + public class SilvaHeadMagic : ModItem { public override void SetStaticDefaults() { @@ -41,7 +42,7 @@ namespace CalamityMod.Items.Armor public override void UpdateArmorSet(Player player) { - CalamityPlayer modPlayer = player.Calamity(); + var modPlayer = player.Calamity(); modPlayer.silvaSet = true; modPlayer.silvaMage = true; player.setBonus = "All projectiles spawn healing leaf orbs on enemy hits\n" + diff --git a/Items/Armor/SilvaMaskedCap.png b/Items/Armor/Silva/SilvaHeadMagic.png similarity index 100% rename from Items/Armor/SilvaMaskedCap.png rename to Items/Armor/Silva/SilvaHeadMagic.png diff --git a/Items/Armor/SilvaMaskedCap_Head.png b/Items/Armor/Silva/SilvaHeadMagic_Head.png similarity index 100% rename from Items/Armor/SilvaMaskedCap_Head.png rename to Items/Armor/Silva/SilvaHeadMagic_Head.png diff --git a/Items/Armor/SilvaHelmet.cs b/Items/Armor/Silva/SilvaHeadSummon.cs similarity index 92% rename from Items/Armor/SilvaHelmet.cs rename to Items/Armor/Silva/SilvaHeadSummon.cs index 4e18bfb5d5..bc3f0a7399 100644 --- a/Items/Armor/SilvaHelmet.cs +++ b/Items/Armor/Silva/SilvaHeadSummon.cs @@ -9,10 +9,11 @@ using Terraria.ID; using Terraria.ModLoader; using Terraria.Audio; -namespace CalamityMod.Items.Armor +namespace CalamityMod.Items.Armor.Silva { [AutoloadEquip(EquipType.Head)] - public class SilvaHelmet : ModItem + [LegacyName("SilvaHelmet")] + public class SilvaHeadSummon : ModItem { public static readonly SoundStyle ActivationSound = new("CalamityMod/Sounds/Custom/AbilitySounds/SilvaActivation"); public static readonly SoundStyle DispelSound = new("CalamityMod/Sounds/Custom/AbilitySounds/SilvaDispel"); @@ -46,7 +47,7 @@ namespace CalamityMod.Items.Armor public override void UpdateArmorSet(Player player) { - CalamityPlayer modPlayer = player.Calamity(); + var modPlayer = player.Calamity(); modPlayer.silvaSet = true; modPlayer.silvaSummon = true; modPlayer.WearingPostMLSummonerSet = true; @@ -65,8 +66,8 @@ namespace CalamityMod.Items.Armor } if (player.ownedProjectileCounts[ModContent.ProjectileType()] < 1) { - int damage = (int)player.GetTotalDamage().ApplyTo(600); - int p = Projectile.NewProjectile(source, player.Center.X, player.Center.Y, 0f, -1f, ModContent.ProjectileType(), damage, 0f, Main.myPlayer, -20f, 0f); + var damage = (int)player.GetTotalDamage().ApplyTo(600); + var p = Projectile.NewProjectile(source, player.Center.X, player.Center.Y, 0f, -1f, ModContent.ProjectileType(), damage, 0f, Main.myPlayer, -20f, 0f); if (Main.projectile.IndexInRange(p)) Main.projectile[p].originalDamage = 600; } diff --git a/Items/Armor/SilvaHelmet.png b/Items/Armor/Silva/SilvaHeadSummon.png similarity index 100% rename from Items/Armor/SilvaHelmet.png rename to Items/Armor/Silva/SilvaHeadSummon.png diff --git a/Items/Armor/SilvaHelmet_Head.png b/Items/Armor/Silva/SilvaHeadSummon_Head.png similarity index 100% rename from Items/Armor/SilvaHelmet_Head.png rename to Items/Armor/Silva/SilvaHeadSummon_Head.png diff --git a/Items/Armor/SilvaLeggings.cs b/Items/Armor/Silva/SilvaLeggings.cs similarity index 97% rename from Items/Armor/SilvaLeggings.cs rename to Items/Armor/Silva/SilvaLeggings.cs index 5fd477c2d9..5491df0763 100644 --- a/Items/Armor/SilvaLeggings.cs +++ b/Items/Armor/Silva/SilvaLeggings.cs @@ -5,7 +5,7 @@ using Terraria; using Terraria.ID; using Terraria.ModLoader; -namespace CalamityMod.Items.Armor +namespace CalamityMod.Items.Armor.Silva { [AutoloadEquip(EquipType.Legs)] public class SilvaLeggings : ModItem diff --git a/Items/Armor/SilvaLeggings.png b/Items/Armor/Silva/SilvaLeggings.png similarity index 100% rename from Items/Armor/SilvaLeggings.png rename to Items/Armor/Silva/SilvaLeggings.png diff --git a/Items/Armor/SilvaLeggings_Legs.png b/Items/Armor/Silva/SilvaLeggings_Legs.png similarity index 100% rename from Items/Armor/SilvaLeggings_Legs.png rename to Items/Armor/Silva/SilvaLeggings_Legs.png diff --git a/Items/Armor/SnowRuffianChestplate.cs b/Items/Armor/SnowRuffian/SnowRuffianChestplate.cs similarity index 96% rename from Items/Armor/SnowRuffianChestplate.cs rename to Items/Armor/SnowRuffian/SnowRuffianChestplate.cs index eedcfb2d4a..3fc0342568 100644 --- a/Items/Armor/SnowRuffianChestplate.cs +++ b/Items/Armor/SnowRuffian/SnowRuffianChestplate.cs @@ -2,7 +2,7 @@ using Terraria.ID; using Terraria.ModLoader; -namespace CalamityMod.Items.Armor +namespace CalamityMod.Items.Armor.SnowRuffian { [AutoloadEquip(EquipType.Body)] public class SnowRuffianChestplate : ModItem diff --git a/Items/Armor/SnowRuffianChestplate.png b/Items/Armor/SnowRuffian/SnowRuffianChestplate.png similarity index 100% rename from Items/Armor/SnowRuffianChestplate.png rename to Items/Armor/SnowRuffian/SnowRuffianChestplate.png diff --git a/Items/Armor/SnowRuffianChestplate_Arms.png b/Items/Armor/SnowRuffian/SnowRuffianChestplate_Arms.png similarity index 100% rename from Items/Armor/SnowRuffianChestplate_Arms.png rename to Items/Armor/SnowRuffian/SnowRuffianChestplate_Arms.png diff --git a/Items/Armor/SnowRuffianChestplate_Body.png b/Items/Armor/SnowRuffian/SnowRuffianChestplate_Body.png similarity index 100% rename from Items/Armor/SnowRuffianChestplate_Body.png rename to Items/Armor/SnowRuffian/SnowRuffianChestplate_Body.png diff --git a/Items/Armor/SnowRuffianGreaves.cs b/Items/Armor/SnowRuffian/SnowRuffianGreaves.cs similarity index 95% rename from Items/Armor/SnowRuffianGreaves.cs rename to Items/Armor/SnowRuffian/SnowRuffianGreaves.cs index 737990de7b..2b0665f9ea 100644 --- a/Items/Armor/SnowRuffianGreaves.cs +++ b/Items/Armor/SnowRuffian/SnowRuffianGreaves.cs @@ -2,7 +2,7 @@ using Terraria.ID; using Terraria.ModLoader; -namespace CalamityMod.Items.Armor +namespace CalamityMod.Items.Armor.SnowRuffian { [AutoloadEquip(EquipType.Legs)] public class SnowRuffianGreaves : ModItem diff --git a/Items/Armor/SnowRuffianGreaves.png b/Items/Armor/SnowRuffian/SnowRuffianGreaves.png similarity index 100% rename from Items/Armor/SnowRuffianGreaves.png rename to Items/Armor/SnowRuffian/SnowRuffianGreaves.png diff --git a/Items/Armor/SnowRuffianGreaves_Legs.png b/Items/Armor/SnowRuffian/SnowRuffianGreaves_Legs.png similarity index 100% rename from Items/Armor/SnowRuffianGreaves_Legs.png rename to Items/Armor/SnowRuffian/SnowRuffianGreaves_Legs.png diff --git a/Items/Armor/SnowRuffianMask.cs b/Items/Armor/SnowRuffian/SnowRuffianMask.cs similarity index 94% rename from Items/Armor/SnowRuffianMask.cs rename to Items/Armor/SnowRuffian/SnowRuffianMask.cs index d5243f44f0..a11260d91d 100644 --- a/Items/Armor/SnowRuffianMask.cs +++ b/Items/Armor/SnowRuffian/SnowRuffianMask.cs @@ -3,7 +3,7 @@ using Terraria; using Terraria.ID; using Terraria.ModLoader; -namespace CalamityMod.Items.Armor +namespace CalamityMod.Items.Armor.SnowRuffian { [AutoloadEquip(EquipType.Head)] public class SnowRuffianMask : ModItem @@ -14,7 +14,7 @@ namespace CalamityMod.Items.Armor { if (Main.netMode != NetmodeID.Server) { - EquipLoader.AddEquipTexture(Mod, "CalamityMod/Items/Armor/SnowRuffianWings", EquipType.Wings, this, equipTexture : new SnowRuffianWings()); + EquipLoader.AddEquipTexture(Mod, "CalamityMod/Items/Armor/SnowRuffian/SnowRuffianWings", EquipType.Wings, this, equipTexture: new SnowRuffianWings()); } } @@ -41,7 +41,7 @@ namespace CalamityMod.Items.Armor public override void UpdateArmorSet(Player player) { - CalamityPlayer modPlayer = player.Calamity(); + var modPlayer = player.Calamity(); modPlayer.snowRuffianSet = true; modPlayer.rogueStealthMax += 0.5f; player.setBonus = "5% increased rogue damage\n" + diff --git a/Items/Armor/SnowRuffianMask.png b/Items/Armor/SnowRuffian/SnowRuffianMask.png similarity index 100% rename from Items/Armor/SnowRuffianMask.png rename to Items/Armor/SnowRuffian/SnowRuffianMask.png diff --git a/Items/Armor/SnowRuffianMask_Head.png b/Items/Armor/SnowRuffian/SnowRuffianMask_Head.png similarity index 100% rename from Items/Armor/SnowRuffianMask_Head.png rename to Items/Armor/SnowRuffian/SnowRuffianMask_Head.png diff --git a/Items/Armor/SnowRuffianWings.png b/Items/Armor/SnowRuffian/SnowRuffianWings.png similarity index 100% rename from Items/Armor/SnowRuffianWings.png rename to Items/Armor/SnowRuffian/SnowRuffianWings.png diff --git a/Items/Armor/StatigelArmor.cs b/Items/Armor/Statigel/StatigelArmor.cs similarity index 96% rename from Items/Armor/StatigelArmor.cs rename to Items/Armor/Statigel/StatigelArmor.cs index 68bf04c1ca..4552ff6e60 100644 --- a/Items/Armor/StatigelArmor.cs +++ b/Items/Armor/Statigel/StatigelArmor.cs @@ -4,7 +4,7 @@ using Terraria; using Terraria.ID; using Terraria.ModLoader; -namespace CalamityMod.Items.Armor +namespace CalamityMod.Items.Armor.Statigel { [AutoloadEquip(EquipType.Body)] public class StatigelArmor : ModItem diff --git a/Items/Armor/StatigelArmor.png b/Items/Armor/Statigel/StatigelArmor.png similarity index 100% rename from Items/Armor/StatigelArmor.png rename to Items/Armor/Statigel/StatigelArmor.png diff --git a/Items/Armor/StatigelArmor_Body.png b/Items/Armor/Statigel/StatigelArmor_Body.png similarity index 100% rename from Items/Armor/StatigelArmor_Body.png rename to Items/Armor/Statigel/StatigelArmor_Body.png diff --git a/Items/Armor/StatigelGreaves.cs b/Items/Armor/Statigel/StatigelGreaves.cs similarity index 96% rename from Items/Armor/StatigelGreaves.cs rename to Items/Armor/Statigel/StatigelGreaves.cs index 998716513b..87c6727b5b 100644 --- a/Items/Armor/StatigelGreaves.cs +++ b/Items/Armor/Statigel/StatigelGreaves.cs @@ -4,7 +4,7 @@ using Terraria; using Terraria.ID; using Terraria.ModLoader; -namespace CalamityMod.Items.Armor +namespace CalamityMod.Items.Armor.Statigel { [AutoloadEquip(EquipType.Legs)] public class StatigelGreaves : ModItem diff --git a/Items/Armor/StatigelGreaves.png b/Items/Armor/Statigel/StatigelGreaves.png similarity index 100% rename from Items/Armor/StatigelGreaves.png rename to Items/Armor/Statigel/StatigelGreaves.png diff --git a/Items/Armor/StatigelGreaves_Legs.png b/Items/Armor/Statigel/StatigelGreaves_Legs.png similarity index 100% rename from Items/Armor/StatigelGreaves_Legs.png rename to Items/Armor/Statigel/StatigelGreaves_Legs.png diff --git a/Items/Armor/StatigelCap.cs b/Items/Armor/Statigel/StatigelHeadMagic.cs similarity index 92% rename from Items/Armor/StatigelCap.cs rename to Items/Armor/Statigel/StatigelHeadMagic.cs index 60dd2071d0..e8d07401c2 100644 --- a/Items/Armor/StatigelCap.cs +++ b/Items/Armor/Statigel/StatigelHeadMagic.cs @@ -5,10 +5,11 @@ using Terraria; using Terraria.ID; using Terraria.ModLoader; -namespace CalamityMod.Items.Armor +namespace CalamityMod.Items.Armor.Statigel { [AutoloadEquip(EquipType.Head)] - public class StatigelCap : ModItem + [LegacyName("StatigelCap")] + public class StatigelHeadMagic : ModItem { public override void SetStaticDefaults() { @@ -37,7 +38,7 @@ namespace CalamityMod.Items.Armor player.setBonus = "When you take over 100 damage in one hit you become immune to damage for an extended period of time\n" + "Grants an extra jump and increased jump height\n" + "12% increased jump speed"; - CalamityPlayer modPlayer = player.Calamity(); + var modPlayer = player.Calamity(); modPlayer.statigelSet = true; modPlayer.statigelJump = true; Player.jumpHeight += 5; diff --git a/Items/Armor/StatigelCap.png b/Items/Armor/Statigel/StatigelHeadMagic.png similarity index 100% rename from Items/Armor/StatigelCap.png rename to Items/Armor/Statigel/StatigelHeadMagic.png diff --git a/Items/Armor/StatigelCap_Head.png b/Items/Armor/Statigel/StatigelHeadMagic_Head.png similarity index 100% rename from Items/Armor/StatigelCap_Head.png rename to Items/Armor/Statigel/StatigelHeadMagic_Head.png diff --git a/Items/Armor/StatigelHelm.cs b/Items/Armor/Statigel/StatigelHeadMelee.cs similarity index 92% rename from Items/Armor/StatigelHelm.cs rename to Items/Armor/Statigel/StatigelHeadMelee.cs index 1a74b16e37..d19e0aa3fd 100644 --- a/Items/Armor/StatigelHelm.cs +++ b/Items/Armor/Statigel/StatigelHeadMelee.cs @@ -5,10 +5,11 @@ using Terraria; using Terraria.ID; using Terraria.ModLoader; -namespace CalamityMod.Items.Armor +namespace CalamityMod.Items.Armor.Statigel { [AutoloadEquip(EquipType.Head)] - public class StatigelHelm : ModItem + [LegacyName("StatigelHelm")] + public class StatigelHeadMelee : ModItem { public override void SetStaticDefaults() { @@ -38,7 +39,7 @@ namespace CalamityMod.Items.Armor "When you take over 100 damage in one hit you become immune to damage for an extended period of time\n" + "Grants an extra jump and increased jump height\n" + "12% increased jump speed"; - CalamityPlayer modPlayer = player.Calamity(); + var modPlayer = player.Calamity(); modPlayer.statigelSet = true; modPlayer.statigelJump = true; Player.jumpHeight += 5; diff --git a/Items/Armor/StatigelHelm.png b/Items/Armor/Statigel/StatigelHeadMelee.png similarity index 100% rename from Items/Armor/StatigelHelm.png rename to Items/Armor/Statigel/StatigelHeadMelee.png diff --git a/Items/Armor/StatigelHelm_Head.png b/Items/Armor/Statigel/StatigelHeadMelee_Head.png similarity index 100% rename from Items/Armor/StatigelHelm_Head.png rename to Items/Armor/Statigel/StatigelHeadMelee_Head.png diff --git a/Items/Armor/StatigelHeadgear.cs b/Items/Armor/Statigel/StatigelHeadRanged.cs similarity index 91% rename from Items/Armor/StatigelHeadgear.cs rename to Items/Armor/Statigel/StatigelHeadRanged.cs index 65ebd32a1f..39159babc3 100644 --- a/Items/Armor/StatigelHeadgear.cs +++ b/Items/Armor/Statigel/StatigelHeadRanged.cs @@ -5,10 +5,11 @@ using Terraria; using Terraria.ID; using Terraria.ModLoader; -namespace CalamityMod.Items.Armor +namespace CalamityMod.Items.Armor.Statigel { [AutoloadEquip(EquipType.Head)] - public class StatigelHeadgear : ModItem + [LegacyName("StatigelHeadgear")] + public class StatigelHeadRanged : ModItem { public override void SetStaticDefaults() { @@ -37,7 +38,7 @@ namespace CalamityMod.Items.Armor player.setBonus = "When you take over 100 damage in one hit you become immune to damage for an extended period of time\n" + "Grants an extra jump and increased jump height\n" + "12% increased jump speed"; - CalamityPlayer modPlayer = player.Calamity(); + var modPlayer = player.Calamity(); modPlayer.statigelSet = true; modPlayer.statigelJump = true; Player.jumpHeight += 5; diff --git a/Items/Armor/StatigelHeadgear.png b/Items/Armor/Statigel/StatigelHeadRanged.png similarity index 100% rename from Items/Armor/StatigelHeadgear.png rename to Items/Armor/Statigel/StatigelHeadRanged.png diff --git a/Items/Armor/StatigelHeadgear_Head.png b/Items/Armor/Statigel/StatigelHeadRanged_Head.png similarity index 100% rename from Items/Armor/StatigelHeadgear_Head.png rename to Items/Armor/Statigel/StatigelHeadRanged_Head.png diff --git a/Items/Armor/StatigelMask.cs b/Items/Armor/Statigel/StatigelHeadRogue.cs similarity index 94% rename from Items/Armor/StatigelMask.cs rename to Items/Armor/Statigel/StatigelHeadRogue.cs index 240ff79375..22291837ec 100644 --- a/Items/Armor/StatigelMask.cs +++ b/Items/Armor/Statigel/StatigelHeadRogue.cs @@ -5,10 +5,11 @@ using Terraria; using Terraria.ID; using Terraria.ModLoader; -namespace CalamityMod.Items.Armor +namespace CalamityMod.Items.Armor.Statigel { [AutoloadEquip(EquipType.Head)] - public class StatigelMask : ModItem + [LegacyName("StatigelMask")] + public class StatigelHeadRogue : ModItem { public override void SetStaticDefaults() { @@ -41,7 +42,7 @@ namespace CalamityMod.Items.Armor "Once you have built max stealth, you will be able to perform a Stealth Strike\n" + "Rogue stealth only reduces when you attack, it does not reduce while moving\n" + "The higher your rogue stealth the higher your rogue damage, crit, and movement speed"; - CalamityPlayer modPlayer = player.Calamity(); + var modPlayer = player.Calamity(); modPlayer.statigelSet = true; modPlayer.statigelJump = true; modPlayer.rogueStealthMax += 1f; diff --git a/Items/Armor/StatigelMask.png b/Items/Armor/Statigel/StatigelHeadRogue.png similarity index 100% rename from Items/Armor/StatigelMask.png rename to Items/Armor/Statigel/StatigelHeadRogue.png diff --git a/Items/Armor/StatigelMask_Head.png b/Items/Armor/Statigel/StatigelHeadRogue_Head.png similarity index 100% rename from Items/Armor/StatigelMask_Head.png rename to Items/Armor/Statigel/StatigelHeadRogue_Head.png diff --git a/Items/Armor/StatigelHood.cs b/Items/Armor/Statigel/StatigelHeadSummon.cs similarity index 91% rename from Items/Armor/StatigelHood.cs rename to Items/Armor/Statigel/StatigelHeadSummon.cs index f6e31e3202..3bbea29d23 100644 --- a/Items/Armor/StatigelHood.cs +++ b/Items/Armor/Statigel/StatigelHeadSummon.cs @@ -8,10 +8,11 @@ using Terraria; using Terraria.ID; using Terraria.ModLoader; -namespace CalamityMod.Items.Armor +namespace CalamityMod.Items.Armor.Statigel { [AutoloadEquip(EquipType.Head)] - public class StatigelHood : ModItem + [LegacyName("StatigelHood")] + public class StatigelHeadSummon : ModItem { public override void SetStaticDefaults() { @@ -41,7 +42,7 @@ namespace CalamityMod.Items.Armor "When you take over 100 damage in one hit you become immune to damage for an extended period of time\n" + "Grants an extra jump and increased jump height\n" + "12% increased jump speed"; - CalamityPlayer modPlayer = player.Calamity(); + var modPlayer = player.Calamity(); modPlayer.statigelSet = true; modPlayer.slimeGod = true; modPlayer.statigelJump = true; @@ -57,9 +58,9 @@ namespace CalamityMod.Items.Armor player.AddBuff(ModContent.BuffType(), 3600, true); } - int minionID = -1; - int baseDamage = 33; - int minionDamage = (int)player.GetTotalDamage().ApplyTo(baseDamage); + var minionID = -1; + var baseDamage = 33; + var minionDamage = (int)player.GetTotalDamage().ApplyTo(baseDamage); if (WorldGen.crimson && player.ownedProjectileCounts[ModContent.ProjectileType()] < 1) minionID = Projectile.NewProjectile(source, player.Center, -Vector2.UnitY, ModContent.ProjectileType(), minionDamage, 0f, Main.myPlayer); else if (!WorldGen.crimson && player.ownedProjectileCounts[ModContent.ProjectileType()] < 1) diff --git a/Items/Armor/StatigelHood.png b/Items/Armor/Statigel/StatigelHeadSummon.png similarity index 100% rename from Items/Armor/StatigelHood.png rename to Items/Armor/Statigel/StatigelHeadSummon.png diff --git a/Items/Armor/StatigelHood_Head.png b/Items/Armor/Statigel/StatigelHeadSummon_Head.png similarity index 100% rename from Items/Armor/StatigelHood_Head.png rename to Items/Armor/Statigel/StatigelHeadSummon_Head.png diff --git a/Items/Armor/SulfurBreastplate.cs b/Items/Armor/Sulphurous/SulphurousBreastplate.cs similarity index 90% rename from Items/Armor/SulfurBreastplate.cs rename to Items/Armor/Sulphurous/SulphurousBreastplate.cs index 811f1b312f..69af11ad34 100644 --- a/Items/Armor/SulfurBreastplate.cs +++ b/Items/Armor/Sulphurous/SulphurousBreastplate.cs @@ -5,10 +5,11 @@ using Terraria; using Terraria.ID; using Terraria.ModLoader; -namespace CalamityMod.Items.Armor +namespace CalamityMod.Items.Armor.Sulphurous { [AutoloadEquip(EquipType.Body)] - public class SulfurBreastplate : ModItem + [LegacyName("SulfurBreastplate")] + public class SulphurousBreastplate : ModItem { public override void SetStaticDefaults() { diff --git a/Items/Armor/SulfurBreastplate.png b/Items/Armor/Sulphurous/SulphurousBreastplate.png similarity index 100% rename from Items/Armor/SulfurBreastplate.png rename to Items/Armor/Sulphurous/SulphurousBreastplate.png diff --git a/Items/Armor/SulfurBreastplate_Body.png b/Items/Armor/Sulphurous/SulphurousBreastplate_Body.png similarity index 100% rename from Items/Armor/SulfurBreastplate_Body.png rename to Items/Armor/Sulphurous/SulphurousBreastplate_Body.png diff --git a/Items/Armor/SulfurHelmet.cs b/Items/Armor/Sulphurous/SulphurousHelmet.cs similarity index 89% rename from Items/Armor/SulfurHelmet.cs rename to Items/Armor/Sulphurous/SulphurousHelmet.cs index 6e1a5e07d3..d989b930e1 100644 --- a/Items/Armor/SulfurHelmet.cs +++ b/Items/Armor/Sulphurous/SulphurousHelmet.cs @@ -6,10 +6,11 @@ using Terraria; using Terraria.ID; using Terraria.ModLoader; -namespace CalamityMod.Items.Armor +namespace CalamityMod.Items.Armor.Sulphurous { [AutoloadEquip(EquipType.Head)] - public class SulfurHelmet : ModItem + [LegacyName("SulfurHelmet")] + public class SulphurousHelmet : ModItem { public override void SetStaticDefaults() { @@ -31,7 +32,7 @@ namespace CalamityMod.Items.Armor public override bool IsArmorSet(Item head, Item body, Item legs) { - return body.type == ModContent.ItemType() && legs.type == ModContent.ItemType(); + return body.type == ModContent.ItemType() && legs.type == ModContent.ItemType(); } public override void UpdateArmorSet(Player player) @@ -43,7 +44,7 @@ namespace CalamityMod.Items.Armor "Once you have built max stealth, you will be able to perform a Stealth Strike\n" + "Rogue stealth only reduces when you attack, it does not reduce while moving\n" + "The higher your rogue stealth the higher your rogue damage, crit, and movement speed"; - CalamityPlayer modPlayer = player.Calamity(); + var modPlayer = player.Calamity(); modPlayer.sulfurSet = true; modPlayer.sulfurJump = true; modPlayer.rogueStealthMax += 0.95f; diff --git a/Items/Armor/SulfurHelmet.png b/Items/Armor/Sulphurous/SulphurousHelmet.png similarity index 100% rename from Items/Armor/SulfurHelmet.png rename to Items/Armor/Sulphurous/SulphurousHelmet.png diff --git a/Items/Armor/SulfurHelmet_Head.png b/Items/Armor/Sulphurous/SulphurousHelmet_Head.png similarity index 100% rename from Items/Armor/SulfurHelmet_Head.png rename to Items/Armor/Sulphurous/SulphurousHelmet_Head.png diff --git a/Items/Armor/SulfurLeggings.cs b/Items/Armor/Sulphurous/SulphurousLeggings.cs similarity index 91% rename from Items/Armor/SulfurLeggings.cs rename to Items/Armor/Sulphurous/SulphurousLeggings.cs index ec58806335..bfcd47ee06 100644 --- a/Items/Armor/SulfurLeggings.cs +++ b/Items/Armor/Sulphurous/SulphurousLeggings.cs @@ -5,10 +5,11 @@ using Terraria; using Terraria.ID; using Terraria.ModLoader; -namespace CalamityMod.Items.Armor +namespace CalamityMod.Items.Armor.Sulphurous { [AutoloadEquip(EquipType.Legs)] - public class SulfurLeggings : ModItem + [LegacyName("SulfurLeggings")] + public class SulphurousLeggings : ModItem { public override void SetStaticDefaults() { diff --git a/Items/Armor/SulfurLeggings.png b/Items/Armor/Sulphurous/SulphurousLeggings.png similarity index 100% rename from Items/Armor/SulfurLeggings.png rename to Items/Armor/Sulphurous/SulphurousLeggings.png diff --git a/Items/Armor/SulfurLeggings_Legs.png b/Items/Armor/Sulphurous/SulphurousLeggings_Legs.png similarity index 100% rename from Items/Armor/SulfurLeggings_Legs.png rename to Items/Armor/Sulphurous/SulphurousLeggings_Legs.png diff --git a/Items/Armor/TarragonBreastplate.cs b/Items/Armor/Tarragon/TarragonBreastplate.cs similarity index 96% rename from Items/Armor/TarragonBreastplate.cs rename to Items/Armor/Tarragon/TarragonBreastplate.cs index 033027dcd6..243120cc51 100644 --- a/Items/Armor/TarragonBreastplate.cs +++ b/Items/Armor/Tarragon/TarragonBreastplate.cs @@ -3,7 +3,7 @@ using Terraria; using Terraria.ID; using Terraria.ModLoader; -namespace CalamityMod.Items.Armor +namespace CalamityMod.Items.Armor.Tarragon { [AutoloadEquip(EquipType.Body)] public class TarragonBreastplate : ModItem diff --git a/Items/Armor/TarragonBreastplate.png b/Items/Armor/Tarragon/TarragonBreastplate.png similarity index 100% rename from Items/Armor/TarragonBreastplate.png rename to Items/Armor/Tarragon/TarragonBreastplate.png diff --git a/Items/Armor/TarragonBreastplate_Body.png b/Items/Armor/Tarragon/TarragonBreastplate_Body.png similarity index 100% rename from Items/Armor/TarragonBreastplate_Body.png rename to Items/Armor/Tarragon/TarragonBreastplate_Body.png diff --git a/Items/Armor/TarragonMask.cs b/Items/Armor/Tarragon/TarragonHeadMagic.cs similarity index 93% rename from Items/Armor/TarragonMask.cs rename to Items/Armor/Tarragon/TarragonHeadMagic.cs index 865a83d2f2..5d74a63cc1 100644 --- a/Items/Armor/TarragonMask.cs +++ b/Items/Armor/Tarragon/TarragonHeadMagic.cs @@ -4,10 +4,11 @@ using Terraria; using Terraria.ID; using Terraria.ModLoader; -namespace CalamityMod.Items.Armor +namespace CalamityMod.Items.Armor.Tarragon { [AutoloadEquip(EquipType.Head)] - public class TarragonMask : ModItem + [LegacyName("TarragonMask")] + public class TarragonHeadMagic : ModItem { public override void SetStaticDefaults() { @@ -41,7 +42,7 @@ namespace CalamityMod.Items.Armor public override void UpdateArmorSet(Player player) { - CalamityPlayer modPlayer = player.Calamity(); + var modPlayer = player.Calamity(); modPlayer.tarraSet = true; modPlayer.tarraMage = true; player.setBonus = "Reduces enemy spawn rates\n" + diff --git a/Items/Armor/TarragonMask.png b/Items/Armor/Tarragon/TarragonHeadMagic.png similarity index 100% rename from Items/Armor/TarragonMask.png rename to Items/Armor/Tarragon/TarragonHeadMagic.png diff --git a/Items/Armor/TarragonMask_Head.png b/Items/Armor/Tarragon/TarragonHeadMagic_Head.png similarity index 100% rename from Items/Armor/TarragonMask_Head.png rename to Items/Armor/Tarragon/TarragonHeadMagic_Head.png diff --git a/Items/Armor/TarragonHelm.cs b/Items/Armor/Tarragon/TarragonHeadMelee.cs similarity index 91% rename from Items/Armor/TarragonHelm.cs rename to Items/Armor/Tarragon/TarragonHeadMelee.cs index 96235cf857..a40c3480f3 100644 --- a/Items/Armor/TarragonHelm.cs +++ b/Items/Armor/Tarragon/TarragonHeadMelee.cs @@ -4,10 +4,11 @@ using Terraria; using Terraria.ID; using Terraria.ModLoader; -namespace CalamityMod.Items.Armor +namespace CalamityMod.Items.Armor.Tarragon { [AutoloadEquip(EquipType.Head)] - public class TarragonHelm : ModItem + [LegacyName("TarragonHelm")] + public class TarragonHeadMelee : ModItem { public override void SetStaticDefaults() { @@ -42,11 +43,11 @@ namespace CalamityMod.Items.Armor public override void UpdateArmorSet(Player player) { - CalamityPlayer modPlayer = player.Calamity(); + var modPlayer = player.Calamity(); modPlayer.tarraSet = true; modPlayer.tarraMelee = true; player.aggro += 800; - string hotkey = CalamityKeybinds.SetBonusHotKey.TooltipHotkeyString(); + var hotkey = CalamityKeybinds.SetBonusHotKey.TooltipHotkeyString(); player.setBonus = "Increased heart pickup range\n" + "Enemies have a chance to drop extra hearts on death\n" + "Enemies are more likely to target you\n" + diff --git a/Items/Armor/TarragonHelm.png b/Items/Armor/Tarragon/TarragonHeadMelee.png similarity index 100% rename from Items/Armor/TarragonHelm.png rename to Items/Armor/Tarragon/TarragonHeadMelee.png diff --git a/Items/Armor/TarragonHelm_Head.png b/Items/Armor/Tarragon/TarragonHeadMelee_Head.png similarity index 100% rename from Items/Armor/TarragonHelm_Head.png rename to Items/Armor/Tarragon/TarragonHeadMelee_Head.png diff --git a/Items/Armor/TarragonVisage.cs b/Items/Armor/Tarragon/TarragonHeadRanged.cs similarity index 93% rename from Items/Armor/TarragonVisage.cs rename to Items/Armor/Tarragon/TarragonHeadRanged.cs index b634bbe1f5..487900db56 100644 --- a/Items/Armor/TarragonVisage.cs +++ b/Items/Armor/Tarragon/TarragonHeadRanged.cs @@ -4,10 +4,11 @@ using Terraria; using Terraria.ID; using Terraria.ModLoader; -namespace CalamityMod.Items.Armor +namespace CalamityMod.Items.Armor.Tarragon { [AutoloadEquip(EquipType.Head)] - public class TarragonVisage : ModItem + [LegacyName("TarragonVisage")] + public class TarragonHeadRanged : ModItem { public override void SetStaticDefaults() { @@ -41,7 +42,7 @@ namespace CalamityMod.Items.Armor public override void UpdateArmorSet(Player player) { - CalamityPlayer modPlayer = player.Calamity(); + var modPlayer = player.Calamity(); modPlayer.tarraSet = true; modPlayer.tarraRanged = true; player.setBonus = "Reduces enemy spawn rates\n" + diff --git a/Items/Armor/TarragonVisage.png b/Items/Armor/Tarragon/TarragonHeadRanged.png similarity index 100% rename from Items/Armor/TarragonVisage.png rename to Items/Armor/Tarragon/TarragonHeadRanged.png diff --git a/Items/Armor/TarragonVisage_Head.png b/Items/Armor/Tarragon/TarragonHeadRanged_Head.png similarity index 100% rename from Items/Armor/TarragonVisage_Head.png rename to Items/Armor/Tarragon/TarragonHeadRanged_Head.png diff --git a/Items/Armor/TarragonHelmet.cs b/Items/Armor/Tarragon/TarragonHeadRogue.cs similarity index 94% rename from Items/Armor/TarragonHelmet.cs rename to Items/Armor/Tarragon/TarragonHeadRogue.cs index 906e580bb1..69da395355 100644 --- a/Items/Armor/TarragonHelmet.cs +++ b/Items/Armor/Tarragon/TarragonHeadRogue.cs @@ -4,10 +4,11 @@ using Terraria; using Terraria.ID; using Terraria.ModLoader; -namespace CalamityMod.Items.Armor +namespace CalamityMod.Items.Armor.Tarragon { [AutoloadEquip(EquipType.Head)] - public class TarragonHelmet : ModItem + [LegacyName("TarragonHelmet")] + public class TarragonHeadRogue : ModItem { public override void SetStaticDefaults() { @@ -41,7 +42,7 @@ namespace CalamityMod.Items.Armor public override void UpdateArmorSet(Player player) { - CalamityPlayer modPlayer = player.Calamity(); + var modPlayer = player.Calamity(); modPlayer.tarraSet = true; modPlayer.tarraThrowing = true; modPlayer.rogueStealthMax += 1.15f; diff --git a/Items/Armor/TarragonHelmet.png b/Items/Armor/Tarragon/TarragonHeadRogue.png similarity index 100% rename from Items/Armor/TarragonHelmet.png rename to Items/Armor/Tarragon/TarragonHeadRogue.png diff --git a/Items/Armor/TarragonHelmet_Head.png b/Items/Armor/Tarragon/TarragonHeadRogue_Head.png similarity index 100% rename from Items/Armor/TarragonHelmet_Head.png rename to Items/Armor/Tarragon/TarragonHeadRogue_Head.png diff --git a/Items/Armor/TarragonHornedHelm.cs b/Items/Armor/Tarragon/TarragonHeadSummon.cs similarity index 93% rename from Items/Armor/TarragonHornedHelm.cs rename to Items/Armor/Tarragon/TarragonHeadSummon.cs index c3d15749d4..dc3bbfda36 100644 --- a/Items/Armor/TarragonHornedHelm.cs +++ b/Items/Armor/Tarragon/TarragonHeadSummon.cs @@ -4,10 +4,11 @@ using Terraria; using Terraria.ID; using Terraria.ModLoader; -namespace CalamityMod.Items.Armor +namespace CalamityMod.Items.Armor.Tarragon { [AutoloadEquip(EquipType.Head)] - public class TarragonHornedHelm : ModItem + [LegacyName("TarragonHornedHelm")] + public class TarragonHeadSummon : ModItem { public override void SetStaticDefaults() { @@ -40,7 +41,7 @@ namespace CalamityMod.Items.Armor public override void UpdateArmorSet(Player player) { - CalamityPlayer modPlayer = player.Calamity(); + var modPlayer = player.Calamity(); modPlayer.tarraSet = true; modPlayer.tarraSummon = true; modPlayer.WearingPostMLSummonerSet = true; diff --git a/Items/Armor/TarragonHornedHelm.png b/Items/Armor/Tarragon/TarragonHeadSummon.png similarity index 100% rename from Items/Armor/TarragonHornedHelm.png rename to Items/Armor/Tarragon/TarragonHeadSummon.png diff --git a/Items/Armor/TarragonHornedHelm_Head.png b/Items/Armor/Tarragon/TarragonHeadSummon_Head.png similarity index 100% rename from Items/Armor/TarragonHornedHelm_Head.png rename to Items/Armor/Tarragon/TarragonHeadSummon_Head.png diff --git a/Items/Armor/TarragonLeggings.cs b/Items/Armor/Tarragon/TarragonLeggings.cs similarity index 96% rename from Items/Armor/TarragonLeggings.cs rename to Items/Armor/Tarragon/TarragonLeggings.cs index 913b7a8c8f..2d34093d67 100644 --- a/Items/Armor/TarragonLeggings.cs +++ b/Items/Armor/Tarragon/TarragonLeggings.cs @@ -3,7 +3,7 @@ using Terraria; using Terraria.ID; using Terraria.ModLoader; -namespace CalamityMod.Items.Armor +namespace CalamityMod.Items.Armor.Tarragon { [AutoloadEquip(EquipType.Legs)] public class TarragonLeggings : ModItem diff --git a/Items/Armor/TarragonLeggings.png b/Items/Armor/Tarragon/TarragonLeggings.png similarity index 100% rename from Items/Armor/TarragonLeggings.png rename to Items/Armor/Tarragon/TarragonLeggings.png diff --git a/Items/Armor/TarragonLeggings_Legs.png b/Items/Armor/Tarragon/TarragonLeggings_Legs.png similarity index 100% rename from Items/Armor/TarragonLeggings_Legs.png rename to Items/Armor/Tarragon/TarragonLeggings_Legs.png diff --git a/Items/Armor/TitanHeartBoots.cs b/Items/Armor/TitanHeart/TitanHeartBoots.cs similarity index 96% rename from Items/Armor/TitanHeartBoots.cs rename to Items/Armor/TitanHeart/TitanHeartBoots.cs index 5115fdf1cc..c56fde8788 100644 --- a/Items/Armor/TitanHeartBoots.cs +++ b/Items/Armor/TitanHeart/TitanHeartBoots.cs @@ -4,7 +4,7 @@ using Terraria; using Terraria.ID; using Terraria.ModLoader; -namespace CalamityMod.Items.Armor +namespace CalamityMod.Items.Armor.TitanHeart { [AutoloadEquip(EquipType.Legs)] public class TitanHeartBoots : ModItem diff --git a/Items/Armor/TitanHeartBoots.png b/Items/Armor/TitanHeart/TitanHeartBoots.png similarity index 100% rename from Items/Armor/TitanHeartBoots.png rename to Items/Armor/TitanHeart/TitanHeartBoots.png diff --git a/Items/Armor/TitanHeartBoots_Legs.png b/Items/Armor/TitanHeart/TitanHeartBoots_Legs.png similarity index 100% rename from Items/Armor/TitanHeartBoots_Legs.png rename to Items/Armor/TitanHeart/TitanHeartBoots_Legs.png diff --git a/Items/Armor/TitanHeartMantle.cs b/Items/Armor/TitanHeart/TitanHeartMantle.cs similarity index 96% rename from Items/Armor/TitanHeartMantle.cs rename to Items/Armor/TitanHeart/TitanHeartMantle.cs index 3064d424e8..be9d7a4fe0 100644 --- a/Items/Armor/TitanHeartMantle.cs +++ b/Items/Armor/TitanHeart/TitanHeartMantle.cs @@ -4,7 +4,7 @@ using Terraria; using Terraria.ID; using Terraria.ModLoader; -namespace CalamityMod.Items.Armor +namespace CalamityMod.Items.Armor.TitanHeart { [AutoloadEquip(EquipType.Body)] public class TitanHeartMantle : ModItem diff --git a/Items/Armor/TitanHeartMantle.png b/Items/Armor/TitanHeart/TitanHeartMantle.png similarity index 100% rename from Items/Armor/TitanHeartMantle.png rename to Items/Armor/TitanHeart/TitanHeartMantle.png diff --git a/Items/Armor/TitanHeartMantle_Arms.png b/Items/Armor/TitanHeart/TitanHeartMantle_Arms.png similarity index 100% rename from Items/Armor/TitanHeartMantle_Arms.png rename to Items/Armor/TitanHeart/TitanHeartMantle_Arms.png diff --git a/Items/Armor/TitanHeartMantle_Body.png b/Items/Armor/TitanHeart/TitanHeartMantle_Body.png similarity index 100% rename from Items/Armor/TitanHeartMantle_Body.png rename to Items/Armor/TitanHeart/TitanHeartMantle_Body.png diff --git a/Items/Armor/TitanHeartMask.cs b/Items/Armor/TitanHeart/TitanHeartMask.cs similarity index 94% rename from Items/Armor/TitanHeartMask.cs rename to Items/Armor/TitanHeart/TitanHeartMask.cs index 5498bce706..4949d9019a 100644 --- a/Items/Armor/TitanHeartMask.cs +++ b/Items/Armor/TitanHeart/TitanHeartMask.cs @@ -5,7 +5,7 @@ using Terraria; using Terraria.ID; using Terraria.ModLoader; -namespace CalamityMod.Items.Armor +namespace CalamityMod.Items.Armor.TitanHeart { [AutoloadEquip(EquipType.Head)] public class TitanHeartMask : ModItem @@ -41,7 +41,7 @@ namespace CalamityMod.Items.Armor "Once you have built max stealth, you will be able to perform a Stealth Strike\n" + "Rogue stealth only reduces when you attack, it does not reduce while moving\n" + "The higher your rogue stealth the higher your rogue damage, crit, and movement speed"; - CalamityPlayer modPlayer = player.Calamity(); + var modPlayer = player.Calamity(); modPlayer.titanHeartSet = true; player.GetDamage() += 0.15f; modPlayer.rogueStealthMax += 1f; @@ -51,7 +51,7 @@ namespace CalamityMod.Items.Armor public override void UpdateEquip(Player player) { - CalamityPlayer modPlayer = player.Calamity(); + var modPlayer = player.Calamity(); modPlayer.titanHeartMask = true; player.GetDamage() += 0.05f; } diff --git a/Items/Armor/TitanHeartMask.png b/Items/Armor/TitanHeart/TitanHeartMask.png similarity index 100% rename from Items/Armor/TitanHeartMask.png rename to Items/Armor/TitanHeart/TitanHeartMask.png diff --git a/Items/Armor/TitanHeartMask_Head.png b/Items/Armor/TitanHeart/TitanHeartMask_Head.png similarity index 100% rename from Items/Armor/TitanHeartMask_Head.png rename to Items/Armor/TitanHeart/TitanHeartMask_Head.png diff --git a/Items/Armor/UmbraphileBoots.cs b/Items/Armor/Umbraphile/UmbraphileBoots.cs similarity index 96% rename from Items/Armor/UmbraphileBoots.cs rename to Items/Armor/Umbraphile/UmbraphileBoots.cs index 84a25713b9..f104dc6a89 100644 --- a/Items/Armor/UmbraphileBoots.cs +++ b/Items/Armor/Umbraphile/UmbraphileBoots.cs @@ -3,7 +3,7 @@ using Terraria; using Terraria.ID; using Terraria.ModLoader; -namespace CalamityMod.Items.Armor +namespace CalamityMod.Items.Armor.Umbraphile { [AutoloadEquip(EquipType.Legs)] public class UmbraphileBoots : ModItem diff --git a/Items/Armor/UmbraphileBoots.png b/Items/Armor/Umbraphile/UmbraphileBoots.png similarity index 100% rename from Items/Armor/UmbraphileBoots.png rename to Items/Armor/Umbraphile/UmbraphileBoots.png diff --git a/Items/Armor/UmbraphileBoots_Legs.png b/Items/Armor/Umbraphile/UmbraphileBoots_Legs.png similarity index 100% rename from Items/Armor/UmbraphileBoots_Legs.png rename to Items/Armor/Umbraphile/UmbraphileBoots_Legs.png diff --git a/Items/Armor/UmbraphileHood.cs b/Items/Armor/Umbraphile/UmbraphileHood.cs similarity index 96% rename from Items/Armor/UmbraphileHood.cs rename to Items/Armor/Umbraphile/UmbraphileHood.cs index 92edf6cf09..a8739c8bd2 100644 --- a/Items/Armor/UmbraphileHood.cs +++ b/Items/Armor/Umbraphile/UmbraphileHood.cs @@ -4,7 +4,7 @@ using Terraria; using Terraria.ID; using Terraria.ModLoader; -namespace CalamityMod.Items.Armor +namespace CalamityMod.Items.Armor.Umbraphile { [AutoloadEquip(EquipType.Head)] public class UmbraphileHood : ModItem @@ -37,7 +37,7 @@ namespace CalamityMod.Items.Armor public override void UpdateArmorSet(Player player) { - CalamityPlayer modPlayer = player.Calamity(); + var modPlayer = player.Calamity(); modPlayer.umbraphileSet = true; modPlayer.rogueStealthMax += 1.1f; player.setBonus = "Rogue weapons have a chance to create explosions on hit\n" + diff --git a/Items/Armor/UmbraphileHood.png b/Items/Armor/Umbraphile/UmbraphileHood.png similarity index 100% rename from Items/Armor/UmbraphileHood.png rename to Items/Armor/Umbraphile/UmbraphileHood.png diff --git a/Items/Armor/UmbraphileHood_Head.png b/Items/Armor/Umbraphile/UmbraphileHood_Head.png similarity index 100% rename from Items/Armor/UmbraphileHood_Head.png rename to Items/Armor/Umbraphile/UmbraphileHood_Head.png diff --git a/Items/Armor/UmbraphileRegalia.cs b/Items/Armor/Umbraphile/UmbraphileRegalia.cs similarity index 96% rename from Items/Armor/UmbraphileRegalia.cs rename to Items/Armor/Umbraphile/UmbraphileRegalia.cs index 5913c84dd7..d3e5ae0695 100644 --- a/Items/Armor/UmbraphileRegalia.cs +++ b/Items/Armor/Umbraphile/UmbraphileRegalia.cs @@ -3,7 +3,7 @@ using Terraria; using Terraria.ID; using Terraria.ModLoader; -namespace CalamityMod.Items.Armor +namespace CalamityMod.Items.Armor.Umbraphile { [AutoloadEquip(EquipType.Body)] public class UmbraphileRegalia : ModItem diff --git a/Items/Armor/UmbraphileRegalia.png b/Items/Armor/Umbraphile/UmbraphileRegalia.png similarity index 100% rename from Items/Armor/UmbraphileRegalia.png rename to Items/Armor/Umbraphile/UmbraphileRegalia.png diff --git a/Items/Armor/UmbraphileRegalia_Arms.png b/Items/Armor/Umbraphile/UmbraphileRegalia_Arms.png similarity index 100% rename from Items/Armor/UmbraphileRegalia_Arms.png rename to Items/Armor/Umbraphile/UmbraphileRegalia_Arms.png diff --git a/Items/Armor/UmbraphileRegalia_Body.png b/Items/Armor/Umbraphile/UmbraphileRegalia_Body.png similarity index 100% rename from Items/Armor/UmbraphileRegalia_Body.png rename to Items/Armor/Umbraphile/UmbraphileRegalia_Body.png diff --git a/Items/Armor/Vanity/GodSlayerHornedHelm.cs b/Items/Armor/Vanity/GodSlayerHornedHelm.cs index 462726809b..4d4958cbb1 100644 --- a/Items/Armor/Vanity/GodSlayerHornedHelm.cs +++ b/Items/Armor/Vanity/GodSlayerHornedHelm.cs @@ -1,4 +1,5 @@ -using Terraria; +using CalamityMod.Items.Armor.GodSlayer; +using Terraria; using Terraria.ModLoader; namespace CalamityMod.Items.Armor.Vanity diff --git a/Items/Armor/Vanity/GodSlayerVisage.cs b/Items/Armor/Vanity/GodSlayerVisage.cs index 6a0c60c316..4432ca3e9c 100644 --- a/Items/Armor/Vanity/GodSlayerVisage.cs +++ b/Items/Armor/Vanity/GodSlayerVisage.cs @@ -1,4 +1,5 @@ -using Terraria; +using CalamityMod.Items.Armor.GodSlayer; +using Terraria; using Terraria.ModLoader; namespace CalamityMod.Items.Armor.Vanity diff --git a/Items/Armor/Vanity/SilvaHelm.cs b/Items/Armor/Vanity/SilvaHelm.cs index 22aef0fc49..76de417288 100644 --- a/Items/Armor/Vanity/SilvaHelm.cs +++ b/Items/Armor/Vanity/SilvaHelm.cs @@ -1,4 +1,5 @@ -using Terraria; +using CalamityMod.Items.Armor.Silva; +using Terraria; using Terraria.ID; using Terraria.ModLoader; diff --git a/Items/Armor/Vanity/SilvaHornedHelm.cs b/Items/Armor/Vanity/SilvaHornedHelm.cs index 69df09fef5..32bf15510e 100644 --- a/Items/Armor/Vanity/SilvaHornedHelm.cs +++ b/Items/Armor/Vanity/SilvaHornedHelm.cs @@ -1,4 +1,5 @@ -using Terraria; +using CalamityMod.Items.Armor.Silva; +using Terraria; using Terraria.ID; using Terraria.ModLoader; diff --git a/Items/Armor/Vanity/SilvaMask.cs b/Items/Armor/Vanity/SilvaMask.cs index 9eb9a918f2..c4e4eef21a 100644 --- a/Items/Armor/Vanity/SilvaMask.cs +++ b/Items/Armor/Vanity/SilvaMask.cs @@ -1,4 +1,5 @@ -using Terraria; +using CalamityMod.Items.Armor.Silva; +using Terraria; using Terraria.ID; using Terraria.ModLoader; diff --git a/Items/Armor/VictideBreastplate.cs b/Items/Armor/Victide/VictideBreastplate.cs similarity index 89% rename from Items/Armor/VictideBreastplate.cs rename to Items/Armor/Victide/VictideBreastplate.cs index 03543ed328..8401f3be78 100644 --- a/Items/Armor/VictideBreastplate.cs +++ b/Items/Armor/Victide/VictideBreastplate.cs @@ -3,22 +3,22 @@ using Terraria; using Terraria.ID; using Terraria.ModLoader; -namespace CalamityMod.Items.Armor +namespace CalamityMod.Items.Armor.Victide { [AutoloadEquip(EquipType.Body)] public class VictideBreastplate : ModItem, IBulkyArmor { - public string BulkTexture => "CalamityMod/Items/Armor/VictideBreastplate_Bulk"; + public string BulkTexture => "CalamityMod/Items/Armor/Victide/VictideBreastplate_Bulk"; public override void Load() { if (Main.netMode != NetmodeID.Server) { //register the faulds texture. This appears either when the leggings or the chestplate is equipped (both works) - EquipLoader.AddEquipTexture(Mod, "CalamityMod/Items/Armor/VictideFaulds_Waist", EquipType.Waist, name: "VictideFaulds"); + EquipLoader.AddEquipTexture(Mod, "CalamityMod/Items/Armor/Victide/Victide/VictideFaulds_Waist", EquipType.Waist, name: "VictideFaulds"); } } - + public override void SetStaticDefaults() { SacrificeTotal = 1; @@ -28,7 +28,7 @@ namespace CalamityMod.Items.Armor if (Main.netMode != NetmodeID.Server) { - int equipSlot = EquipLoader.GetEquipSlot(Mod, Name, EquipType.Body); + var equipSlot = EquipLoader.GetEquipSlot(Mod, Name, EquipType.Body); ArmorIDs.Body.Sets.HidesArms[equipSlot] = true; ArmorIDs.Body.Sets.HidesTopSkin[equipSlot] = true; } diff --git a/Items/Armor/VictideBreastplate.png b/Items/Armor/Victide/VictideBreastplate.png similarity index 100% rename from Items/Armor/VictideBreastplate.png rename to Items/Armor/Victide/VictideBreastplate.png diff --git a/Items/Armor/VictideBreastplate_Body.png b/Items/Armor/Victide/VictideBreastplate_Body.png similarity index 100% rename from Items/Armor/VictideBreastplate_Body.png rename to Items/Armor/Victide/VictideBreastplate_Body.png diff --git a/Items/Armor/VictideBreastplate_Bulk.png b/Items/Armor/Victide/VictideBreastplate_Bulk.png similarity index 100% rename from Items/Armor/VictideBreastplate_Bulk.png rename to Items/Armor/Victide/VictideBreastplate_Bulk.png diff --git a/Items/Armor/VictideFaulds_Waist.png b/Items/Armor/Victide/VictideFaulds_Waist.png similarity index 100% rename from Items/Armor/VictideFaulds_Waist.png rename to Items/Armor/Victide/VictideFaulds_Waist.png diff --git a/Items/Armor/VictideGreaves.cs b/Items/Armor/Victide/VictideGreaves.cs similarity index 92% rename from Items/Armor/VictideGreaves.cs rename to Items/Armor/Victide/VictideGreaves.cs index d067bb0c63..fbf7e64f2d 100644 --- a/Items/Armor/VictideGreaves.cs +++ b/Items/Armor/Victide/VictideGreaves.cs @@ -3,7 +3,7 @@ using Terraria; using Terraria.ID; using Terraria.ModLoader; -namespace CalamityMod.Items.Armor +namespace CalamityMod.Items.Armor.Victide { [AutoloadEquip(EquipType.Legs)] [LegacyName("VictideLeggings")] @@ -18,7 +18,7 @@ namespace CalamityMod.Items.Armor if (Main.netMode != NetmodeID.Server) { - int equipSlot = EquipLoader.GetEquipSlot(Mod, Name, EquipType.Legs); + var equipSlot = EquipLoader.GetEquipSlot(Mod, Name, EquipType.Legs); ArmorIDs.Legs.Sets.HidesBottomSkin[equipSlot] = true; } } diff --git a/Items/Armor/VictideGreaves.png b/Items/Armor/Victide/VictideGreaves.png similarity index 100% rename from Items/Armor/VictideGreaves.png rename to Items/Armor/Victide/VictideGreaves.png diff --git a/Items/Armor/VictideGreaves_Legs.png b/Items/Armor/Victide/VictideGreaves_Legs.png similarity index 100% rename from Items/Armor/VictideGreaves_Legs.png rename to Items/Armor/Victide/VictideGreaves_Legs.png diff --git a/Items/Armor/VictideHeadMagic.cs b/Items/Armor/Victide/VictideHeadMagic.cs similarity index 95% rename from Items/Armor/VictideHeadMagic.cs rename to Items/Armor/Victide/VictideHeadMagic.cs index 27f7d0ed05..00ba882b34 100644 --- a/Items/Armor/VictideHeadMagic.cs +++ b/Items/Armor/Victide/VictideHeadMagic.cs @@ -4,7 +4,7 @@ using Terraria; using Terraria.ID; using Terraria.ModLoader; -namespace CalamityMod.Items.Armor +namespace CalamityMod.Items.Armor.Victide { [AutoloadEquip(EquipType.Head)] [LegacyName("VictideMask")] @@ -37,7 +37,7 @@ namespace CalamityMod.Items.Armor "When using any weapon you have a 10% chance to throw a returning seashell projectile\n" + "This seashell does true damage and does not benefit from any damage class\n" + "Provides increased underwater mobility and slightly reduces breath loss in the abyss"; - CalamityPlayer modPlayer = player.Calamity(); + var modPlayer = player.Calamity(); modPlayer.victideSet = true; player.ignoreWater = true; if (Collision.DrownCollision(player.position, player.width, player.height, player.gravDir)) diff --git a/Items/Armor/VictideHeadMagic.png b/Items/Armor/Victide/VictideHeadMagic.png similarity index 100% rename from Items/Armor/VictideHeadMagic.png rename to Items/Armor/Victide/VictideHeadMagic.png diff --git a/Items/Armor/VictideHeadMagic_Head.png b/Items/Armor/Victide/VictideHeadMagic_Head.png similarity index 100% rename from Items/Armor/VictideHeadMagic_Head.png rename to Items/Armor/Victide/VictideHeadMagic_Head.png diff --git a/Items/Armor/VictideHeadMelee.cs b/Items/Armor/Victide/VictideHeadMelee.cs similarity index 96% rename from Items/Armor/VictideHeadMelee.cs rename to Items/Armor/Victide/VictideHeadMelee.cs index 7e01621dde..eeb7eaf92f 100644 --- a/Items/Armor/VictideHeadMelee.cs +++ b/Items/Armor/Victide/VictideHeadMelee.cs @@ -4,7 +4,7 @@ using Terraria; using Terraria.ID; using Terraria.ModLoader; -namespace CalamityMod.Items.Armor +namespace CalamityMod.Items.Armor.Victide { [AutoloadEquip(EquipType.Head)] [LegacyName("VictideHelm")] @@ -38,7 +38,7 @@ namespace CalamityMod.Items.Armor "When using any weapon you have a 10% chance to throw a returning seashell projectile\n" + "This seashell does true damage and does not benefit from any damage class\n" + "Provides increased underwater mobility and slightly reduces breath loss in the abyss"; - CalamityPlayer modPlayer = player.Calamity(); + var modPlayer = player.Calamity(); modPlayer.victideSet = true; player.ignoreWater = true; if (Collision.DrownCollision(player.position, player.width, player.height, player.gravDir)) diff --git a/Items/Armor/VictideHeadMelee.png b/Items/Armor/Victide/VictideHeadMelee.png similarity index 100% rename from Items/Armor/VictideHeadMelee.png rename to Items/Armor/Victide/VictideHeadMelee.png diff --git a/Items/Armor/VictideHeadMelee_Head.png b/Items/Armor/Victide/VictideHeadMelee_Head.png similarity index 100% rename from Items/Armor/VictideHeadMelee_Head.png rename to Items/Armor/Victide/VictideHeadMelee_Head.png diff --git a/Items/Armor/VictideHeadRanged.cs b/Items/Armor/Victide/VictideHeadRanged.cs similarity index 95% rename from Items/Armor/VictideHeadRanged.cs rename to Items/Armor/Victide/VictideHeadRanged.cs index 07d6549ed1..4d6a1e5e81 100644 --- a/Items/Armor/VictideHeadRanged.cs +++ b/Items/Armor/Victide/VictideHeadRanged.cs @@ -4,7 +4,7 @@ using Terraria; using Terraria.ID; using Terraria.ModLoader; -namespace CalamityMod.Items.Armor +namespace CalamityMod.Items.Armor.Victide { [AutoloadEquip(EquipType.Head)] [LegacyName("VictideVisage")] @@ -37,7 +37,7 @@ namespace CalamityMod.Items.Armor "When using any weapon you have a 10% chance to throw a returning seashell projectile\n" + "This seashell does true damage and does not benefit from any damage class\n" + "Provides increased underwater mobility and slightly reduces breath loss in the abyss"; - CalamityPlayer modPlayer = player.Calamity(); + var modPlayer = player.Calamity(); modPlayer.victideSet = true; player.ignoreWater = true; if (Collision.DrownCollision(player.position, player.width, player.height, player.gravDir)) diff --git a/Items/Armor/VictideHeadRanged.png b/Items/Armor/Victide/VictideHeadRanged.png similarity index 100% rename from Items/Armor/VictideHeadRanged.png rename to Items/Armor/Victide/VictideHeadRanged.png diff --git a/Items/Armor/VictideHeadRanged_Head.png b/Items/Armor/Victide/VictideHeadRanged_Head.png similarity index 100% rename from Items/Armor/VictideHeadRanged_Head.png rename to Items/Armor/Victide/VictideHeadRanged_Head.png diff --git a/Items/Armor/VictideHeadRogue.cs b/Items/Armor/Victide/VictideHeadRogue.cs similarity index 96% rename from Items/Armor/VictideHeadRogue.cs rename to Items/Armor/Victide/VictideHeadRogue.cs index 8bccee598e..e13504dd3d 100644 --- a/Items/Armor/VictideHeadRogue.cs +++ b/Items/Armor/Victide/VictideHeadRogue.cs @@ -4,7 +4,7 @@ using Terraria; using Terraria.ID; using Terraria.ModLoader; -namespace CalamityMod.Items.Armor +namespace CalamityMod.Items.Armor.Victide { [AutoloadEquip(EquipType.Head)] [LegacyName("VictideHeadgear")] @@ -41,7 +41,7 @@ namespace CalamityMod.Items.Armor "Once you have built max stealth, you will be able to perform a Stealth Strike\n" + "Rogue stealth only reduces when you attack, it does not reduce while moving\n" + "The higher your rogue stealth the higher your rogue damage, crit, and movement speed"; - CalamityPlayer modPlayer = player.Calamity(); + var modPlayer = player.Calamity(); modPlayer.victideSet = true; modPlayer.rogueStealthMax += 0.9f; modPlayer.wearingRogueArmor = true; diff --git a/Items/Armor/VictideHeadRogue.png b/Items/Armor/Victide/VictideHeadRogue.png similarity index 100% rename from Items/Armor/VictideHeadRogue.png rename to Items/Armor/Victide/VictideHeadRogue.png diff --git a/Items/Armor/VictideHeadRogue_Head.png b/Items/Armor/Victide/VictideHeadRogue_Head.png similarity index 100% rename from Items/Armor/VictideHeadRogue_Head.png rename to Items/Armor/Victide/VictideHeadRogue_Head.png diff --git a/Items/Armor/VictideHeadSummon.cs b/Items/Armor/Victide/VictideHeadSummon.cs similarity index 92% rename from Items/Armor/VictideHeadSummon.cs rename to Items/Armor/Victide/VictideHeadSummon.cs index 146a47660d..8b4655bc7e 100644 --- a/Items/Armor/VictideHeadSummon.cs +++ b/Items/Armor/Victide/VictideHeadSummon.cs @@ -7,7 +7,7 @@ using Terraria; using Terraria.ID; using Terraria.ModLoader; -namespace CalamityMod.Items.Armor +namespace CalamityMod.Items.Armor.Victide { [AutoloadEquip(EquipType.Head)] [LegacyName("VictideHelmet")] @@ -43,7 +43,7 @@ namespace CalamityMod.Items.Armor "This seashell does true damage and does not benefit from any damage class\n" + "Provides increased underwater mobility and slightly reduces breath loss in the abyss\n" + "+1 max minion"; - CalamityPlayer modPlayer = player.Calamity(); + var modPlayer = player.Calamity(); modPlayer.victideSet = true; modPlayer.victideSummoner = true; player.maxMinions++; @@ -56,9 +56,9 @@ namespace CalamityMod.Items.Armor var source = player.GetSource_ItemUse(Item); if (player.ownedProjectileCounts[ModContent.ProjectileType()] < 1) { - int baseDamage = 7; - int minionDamage = (int)player.GetTotalDamage().ApplyTo(baseDamage); - int p = Projectile.NewProjectile(source, player.Center, -Vector2.UnitY, ModContent.ProjectileType(), minionDamage, 0f, Main.myPlayer, 0f, 0f); + var baseDamage = 7; + var minionDamage = (int)player.GetTotalDamage().ApplyTo(baseDamage); + var p = Projectile.NewProjectile(source, player.Center, -Vector2.UnitY, ModContent.ProjectileType(), minionDamage, 0f, Main.myPlayer, 0f, 0f); if (Main.projectile.IndexInRange(p)) Main.projectile[p].originalDamage = baseDamage; } diff --git a/Items/Armor/VictideHeadSummon.png b/Items/Armor/Victide/VictideHeadSummon.png similarity index 100% rename from Items/Armor/VictideHeadSummon.png rename to Items/Armor/Victide/VictideHeadSummon.png diff --git a/Items/Armor/VictideHeadSummon_Head.png b/Items/Armor/Victide/VictideHeadSummon_Head.png similarity index 100% rename from Items/Armor/VictideHeadSummon_Head.png rename to Items/Armor/Victide/VictideHeadSummon_Head.png diff --git a/Items/Armor/WulfrumArmor.cs b/Items/Armor/Wulfrum/WulfrumArmor.cs similarity index 96% rename from Items/Armor/WulfrumArmor.cs rename to Items/Armor/Wulfrum/WulfrumArmor.cs index 952eacb148..89a10c8f4e 100644 --- a/Items/Armor/WulfrumArmor.cs +++ b/Items/Armor/Wulfrum/WulfrumArmor.cs @@ -3,7 +3,7 @@ using Terraria; using Terraria.ID; using Terraria.ModLoader; -namespace CalamityMod.Items.Armor +namespace CalamityMod.Items.Armor.Wulfrum { [AutoloadEquip(EquipType.Body)] public class WulfrumArmor : ModItem diff --git a/Items/Armor/WulfrumArmor.png b/Items/Armor/Wulfrum/WulfrumArmor.png similarity index 100% rename from Items/Armor/WulfrumArmor.png rename to Items/Armor/Wulfrum/WulfrumArmor.png diff --git a/Items/Armor/WulfrumArmor_Body.png b/Items/Armor/Wulfrum/WulfrumArmor_Body.png similarity index 100% rename from Items/Armor/WulfrumArmor_Body.png rename to Items/Armor/Wulfrum/WulfrumArmor_Body.png diff --git a/Items/Armor/WulfrumHood.cs b/Items/Armor/Wulfrum/WulfrumHeadMagic.cs similarity index 89% rename from Items/Armor/WulfrumHood.cs rename to Items/Armor/Wulfrum/WulfrumHeadMagic.cs index 3529b148b9..5e92722e98 100644 --- a/Items/Armor/WulfrumHood.cs +++ b/Items/Armor/Wulfrum/WulfrumHeadMagic.cs @@ -3,10 +3,11 @@ using Terraria; using Terraria.ID; using Terraria.ModLoader; -namespace CalamityMod.Items.Armor +namespace CalamityMod.Items.Armor.Wulfrum { [AutoloadEquip(EquipType.Head)] - public class WulfrumHood : ModItem + [LegacyName("WulfrumHood")] + public class WulfrumHeadMagic : ModItem { public override void SetStaticDefaults() { @@ -34,7 +35,7 @@ namespace CalamityMod.Items.Armor player.setBonus = "+3 defense\n" + "+5 defense when below 50% life"; player.statDefense += 3; //9 - if (player.statLife <= (player.statLifeMax2 * 0.5f)) + if (player.statLife <= player.statLifeMax2 * 0.5f) { player.statDefense += 5; //14 } diff --git a/Items/Armor/WulfrumHood.png b/Items/Armor/Wulfrum/WulfrumHeadMagic.png similarity index 100% rename from Items/Armor/WulfrumHood.png rename to Items/Armor/Wulfrum/WulfrumHeadMagic.png diff --git a/Items/Armor/WulfrumHood_Head.png b/Items/Armor/Wulfrum/WulfrumHeadMagic_Head.png similarity index 100% rename from Items/Armor/WulfrumHood_Head.png rename to Items/Armor/Wulfrum/WulfrumHeadMagic_Head.png diff --git a/Items/Armor/WulfrumHelm.cs b/Items/Armor/Wulfrum/WulfrumHeadMelee.cs similarity index 93% rename from Items/Armor/WulfrumHelm.cs rename to Items/Armor/Wulfrum/WulfrumHeadMelee.cs index 9b2c211409..4209a2a8f3 100644 --- a/Items/Armor/WulfrumHelm.cs +++ b/Items/Armor/Wulfrum/WulfrumHeadMelee.cs @@ -3,10 +3,11 @@ using Terraria; using Terraria.ID; using Terraria.ModLoader; -namespace CalamityMod.Items.Armor +namespace CalamityMod.Items.Armor.Wulfrum { [AutoloadEquip(EquipType.Head)] - public class WulfrumHelm : ModItem + [LegacyName("WulfrumHelm")] + public class WulfrumHeadMelee : ModItem { public override void SetStaticDefaults() { diff --git a/Items/Armor/WulfrumHelm.png b/Items/Armor/Wulfrum/WulfrumHeadMelee.png similarity index 100% rename from Items/Armor/WulfrumHelm.png rename to Items/Armor/Wulfrum/WulfrumHeadMelee.png diff --git a/Items/Armor/WulfrumHelm_Head.png b/Items/Armor/Wulfrum/WulfrumHeadMelee_Head.png similarity index 100% rename from Items/Armor/WulfrumHelm_Head.png rename to Items/Armor/Wulfrum/WulfrumHeadMelee_Head.png diff --git a/Items/Armor/WulfrumHeadgear.cs b/Items/Armor/Wulfrum/WulfrumHeadRanged.cs similarity index 89% rename from Items/Armor/WulfrumHeadgear.cs rename to Items/Armor/Wulfrum/WulfrumHeadRanged.cs index d91b3a9a56..2b2b43bd70 100644 --- a/Items/Armor/WulfrumHeadgear.cs +++ b/Items/Armor/Wulfrum/WulfrumHeadRanged.cs @@ -3,10 +3,11 @@ using Terraria; using Terraria.ID; using Terraria.ModLoader; -namespace CalamityMod.Items.Armor +namespace CalamityMod.Items.Armor.Wulfrum { [AutoloadEquip(EquipType.Head)] - public class WulfrumHeadgear : ModItem + [LegacyName("WulfrumHeadgear")] + public class WulfrumHeadRanged : ModItem { public override void SetStaticDefaults() { @@ -34,7 +35,7 @@ namespace CalamityMod.Items.Armor player.setBonus = "+3 defense\n" + "+5 defense when below 50% life"; player.statDefense += 3; //10 - if (player.statLife <= (player.statLifeMax2 * 0.5f)) + if (player.statLife <= player.statLifeMax2 * 0.5f) { player.statDefense += 5; //15 } diff --git a/Items/Armor/WulfrumHeadgear.png b/Items/Armor/Wulfrum/WulfrumHeadRanged.png similarity index 100% rename from Items/Armor/WulfrumHeadgear.png rename to Items/Armor/Wulfrum/WulfrumHeadRanged.png diff --git a/Items/Armor/WulfrumHeadgear_Head.png b/Items/Armor/Wulfrum/WulfrumHeadRanged_Head.png similarity index 100% rename from Items/Armor/WulfrumHeadgear_Head.png rename to Items/Armor/Wulfrum/WulfrumHeadRanged_Head.png diff --git a/Items/Armor/WulfrumMask.cs b/Items/Armor/Wulfrum/WulfrumHeadRogue.cs similarity index 92% rename from Items/Armor/WulfrumMask.cs rename to Items/Armor/Wulfrum/WulfrumHeadRogue.cs index 97a30a0b00..dbc981bc32 100644 --- a/Items/Armor/WulfrumMask.cs +++ b/Items/Armor/Wulfrum/WulfrumHeadRogue.cs @@ -4,10 +4,11 @@ using Terraria.ID; using Terraria.ModLoader; using CalamityMod.CalPlayer; -namespace CalamityMod.Items.Armor +namespace CalamityMod.Items.Armor.Wulfrum { [AutoloadEquip(EquipType.Head)] - public class WulfrumMask : ModItem + [LegacyName("WulfrumMask")] + public class WulfrumHeadRogue : ModItem { public override void SetStaticDefaults() { @@ -32,7 +33,7 @@ namespace CalamityMod.Items.Armor public override void UpdateArmorSet(Player player) { - CalamityPlayer modPlayer = player.Calamity(); + var modPlayer = player.Calamity(); player.setBonus = "+3 defense\n" + "+5 defense when below 50% life\n" + "Rogue stealth builds while not attacking and slower while moving, up to a max of 50\n" + diff --git a/Items/Armor/WulfrumMask.png b/Items/Armor/Wulfrum/WulfrumHeadRogue.png similarity index 100% rename from Items/Armor/WulfrumMask.png rename to Items/Armor/Wulfrum/WulfrumHeadRogue.png diff --git a/Items/Armor/WulfrumMask_Head.png b/Items/Armor/Wulfrum/WulfrumHeadRogue_Head.png similarity index 100% rename from Items/Armor/WulfrumMask_Head.png rename to Items/Armor/Wulfrum/WulfrumHeadRogue_Head.png diff --git a/Items/Armor/WulfrumHelmet.cs b/Items/Armor/Wulfrum/WulfrumHeadSummon.cs similarity index 92% rename from Items/Armor/WulfrumHelmet.cs rename to Items/Armor/Wulfrum/WulfrumHeadSummon.cs index c03bff87e8..4d9e4a1636 100644 --- a/Items/Armor/WulfrumHelmet.cs +++ b/Items/Armor/Wulfrum/WulfrumHeadSummon.cs @@ -3,10 +3,11 @@ using Terraria; using Terraria.ID; using Terraria.ModLoader; -namespace CalamityMod.Items.Armor +namespace CalamityMod.Items.Armor.Wulfrum { [AutoloadEquip(EquipType.Head)] - public class WulfrumHelmet : ModItem + [LegacyName("WulfrumHelmet")] + public class WulfrumHeadSummon : ModItem { public override void SetStaticDefaults() { diff --git a/Items/Armor/WulfrumHelmet.png b/Items/Armor/Wulfrum/WulfrumHeadSummon.png similarity index 100% rename from Items/Armor/WulfrumHelmet.png rename to Items/Armor/Wulfrum/WulfrumHeadSummon.png diff --git a/Items/Armor/WulfrumHelmet_Head.png b/Items/Armor/Wulfrum/WulfrumHeadSummon_Head.png similarity index 100% rename from Items/Armor/WulfrumHelmet_Head.png rename to Items/Armor/Wulfrum/WulfrumHeadSummon_Head.png diff --git a/Items/Armor/WulfrumLeggings.cs b/Items/Armor/Wulfrum/WulfrumLeggings.cs similarity index 96% rename from Items/Armor/WulfrumLeggings.cs rename to Items/Armor/Wulfrum/WulfrumLeggings.cs index dd21031ae6..897f279f2b 100644 --- a/Items/Armor/WulfrumLeggings.cs +++ b/Items/Armor/Wulfrum/WulfrumLeggings.cs @@ -3,7 +3,7 @@ using Terraria; using Terraria.ID; using Terraria.ModLoader; -namespace CalamityMod.Items.Armor +namespace CalamityMod.Items.Armor.Wulfrum { [AutoloadEquip(EquipType.Legs)] public class WulfrumLeggings : ModItem diff --git a/Items/Armor/WulfrumLeggings.png b/Items/Armor/Wulfrum/WulfrumLeggings.png similarity index 100% rename from Items/Armor/WulfrumLeggings.png rename to Items/Armor/Wulfrum/WulfrumLeggings.png diff --git a/Items/Armor/WulfrumLeggings_Legs.png b/Items/Armor/Wulfrum/WulfrumLeggings_Legs.png similarity index 100% rename from Items/Armor/WulfrumLeggings_Legs.png rename to Items/Armor/Wulfrum/WulfrumLeggings_Legs.png diff --git a/Items/CalamityGlobalItemTooltip.cs b/Items/CalamityGlobalItemTooltip.cs index 2534b67a4b..7cde7c355c 100644 --- a/Items/CalamityGlobalItemTooltip.cs +++ b/Items/CalamityGlobalItemTooltip.cs @@ -1,7 +1,7 @@ using CalamityMod.Balancing; using CalamityMod.CustomRecipes; using CalamityMod.Items.Accessories; -using CalamityMod.Items.Armor; +using CalamityMod.Items.Armor.Demonshade; using CalamityMod.Items.Tools; using CalamityMod.Items.VanillaArmorChanges; using CalamityMod.Items.Weapons.Magic; From d823f161b20673f14fa8ee87d575095317734a6c Mon Sep 17 00:00:00 2001 From: Ozzatron Date: Sat, 11 Jun 2022 12:30:29 -0400 Subject: [PATCH 06/11] Fix texture paths from re-foldering armors --- CalPlayer/CalamityPlayer.cs | 11 +++-------- Items/Armor/Auric/AuricTeslaPlumedHelm.cs | 4 ++-- Items/Armor/OmegaBlue/OmegaBlueHelmet.cs | 2 +- Items/Armor/TitanHeart/TitanHeartBoots.cs | 2 +- Items/Armor/TitanHeart/TitanHeartMantle.cs | 2 +- Items/Armor/TitanHeart/TitanHeartMask.cs | 2 +- Items/Armor/Victide/VictideBreastplate.cs | 2 +- 7 files changed, 10 insertions(+), 15 deletions(-) diff --git a/CalPlayer/CalamityPlayer.cs b/CalPlayer/CalamityPlayer.cs index 980a213eb3..b5c264c8e1 100644 --- a/CalPlayer/CalamityPlayer.cs +++ b/CalPlayer/CalamityPlayer.cs @@ -1252,13 +1252,8 @@ namespace CalamityMod.CalPlayer boost.AddWithCondition("GivenBrimstoneLocus", GivenBrimstoneLocus); // Calculate the new total time of all sessions at the instant of this player save. - TimeSpan newSessionTotal; - long totalTicks = 0L; - if (previousSessionTotal != null) - { - newSessionTotal = previousSessionTotal.Add(CalamityMod.SpeedrunTimer.Elapsed); - totalTicks = newSessionTotal.Ticks; - } + TimeSpan newSessionTotal = previousSessionTotal.Add(CalamityMod.SpeedrunTimer.Elapsed); + long totalTicks = newSessionTotal.Ticks; // Save all cooldowns which are marked as persisting through save/load. TagCompound cooldownsTag = new TagCompound(); @@ -1369,7 +1364,7 @@ namespace CalamityMod.CalPlayer { adrenaline = tag.GetFloat("adrenaline"); } - catch (Exception _) { failedToLoadFloatAdrenaline = true; } + catch (Exception) { failedToLoadFloatAdrenaline = true; } if (failedToLoadFloatAdrenaline) adrenaline = tag.GetInt("adrenaline") / (10000 / 100f); diff --git a/Items/Armor/Auric/AuricTeslaPlumedHelm.cs b/Items/Armor/Auric/AuricTeslaPlumedHelm.cs index c1b4470d32..a0345354cb 100644 --- a/Items/Armor/Auric/AuricTeslaPlumedHelm.cs +++ b/Items/Armor/Auric/AuricTeslaPlumedHelm.cs @@ -1,11 +1,11 @@ -using CalamityMod.CalPlayer; -using CalamityMod.Items.Accessories; +using CalamityMod.Items.Accessories; using CalamityMod.Items.Materials; using CalamityMod.Tiles.Furniture.CraftingStations; using Terraria; using Terraria.ModLoader; using CalamityMod.CalPlayer.Dashes; using CalamityMod.Items.Armor.Bloodflare; +using CalamityMod.Items.Armor.GodSlayer; using CalamityMod.Items.Armor.Tarragon; namespace CalamityMod.Items.Armor.Auric diff --git a/Items/Armor/OmegaBlue/OmegaBlueHelmet.cs b/Items/Armor/OmegaBlue/OmegaBlueHelmet.cs index f7ef5ccf37..f7c0d09239 100644 --- a/Items/Armor/OmegaBlue/OmegaBlueHelmet.cs +++ b/Items/Armor/OmegaBlue/OmegaBlueHelmet.cs @@ -84,7 +84,7 @@ namespace CalamityMod.Items.Armor.OmegaBlue mp.omegaBlueSet = true; mp.WearingPostMLSummonerSet = true; - var hasOmegaBlueCooldown = mp.cooldowns.TryGetValue(OmegaBlue.ID, out var cd); + var hasOmegaBlueCooldown = mp.cooldowns.TryGetValue(Cooldowns.OmegaBlue.ID, out var cd); if (hasOmegaBlueCooldown && cd.timeLeft > 1500) { var d = Dust.NewDust(player.position, player.width, player.height, 20, 0, 0, 100, Color.Transparent, 1.6f); diff --git a/Items/Armor/TitanHeart/TitanHeartBoots.cs b/Items/Armor/TitanHeart/TitanHeartBoots.cs index c56fde8788..6c2c1de3fd 100644 --- a/Items/Armor/TitanHeart/TitanHeartBoots.cs +++ b/Items/Armor/TitanHeart/TitanHeartBoots.cs @@ -36,7 +36,7 @@ namespace CalamityMod.Items.Armor.TitanHeart { CreateRecipe(). AddIngredient(14). - AddIngredient(). + AddIngredient(). AddTile(TileID.Anvils). Register(); } diff --git a/Items/Armor/TitanHeart/TitanHeartMantle.cs b/Items/Armor/TitanHeart/TitanHeartMantle.cs index be9d7a4fe0..7b4d1f37a6 100644 --- a/Items/Armor/TitanHeart/TitanHeartMantle.cs +++ b/Items/Armor/TitanHeart/TitanHeartMantle.cs @@ -38,7 +38,7 @@ namespace CalamityMod.Items.Armor.TitanHeart { CreateRecipe(). AddIngredient(20). - AddIngredient(). + AddIngredient(). AddTile(TileID.Anvils). Register(); } diff --git a/Items/Armor/TitanHeart/TitanHeartMask.cs b/Items/Armor/TitanHeart/TitanHeartMask.cs index 4949d9019a..3bf93dc3dd 100644 --- a/Items/Armor/TitanHeart/TitanHeartMask.cs +++ b/Items/Armor/TitanHeart/TitanHeartMask.cs @@ -60,7 +60,7 @@ namespace CalamityMod.Items.Armor.TitanHeart { CreateRecipe(). AddIngredient(10). - AddIngredient(). + AddIngredient(). AddTile(TileID.Anvils). Register(); } diff --git a/Items/Armor/Victide/VictideBreastplate.cs b/Items/Armor/Victide/VictideBreastplate.cs index 8401f3be78..5d701514d0 100644 --- a/Items/Armor/Victide/VictideBreastplate.cs +++ b/Items/Armor/Victide/VictideBreastplate.cs @@ -15,7 +15,7 @@ namespace CalamityMod.Items.Armor.Victide if (Main.netMode != NetmodeID.Server) { //register the faulds texture. This appears either when the leggings or the chestplate is equipped (both works) - EquipLoader.AddEquipTexture(Mod, "CalamityMod/Items/Armor/Victide/Victide/VictideFaulds_Waist", EquipType.Waist, name: "VictideFaulds"); + EquipLoader.AddEquipTexture(Mod, "CalamityMod/Items/Armor/Victide/VictideFaulds_Waist", EquipType.Waist, name: "VictideFaulds"); } } From 8221df8bdb1b62800301954af25e757ec3bd6f68 Mon Sep 17 00:00:00 2001 From: Ozzatron Date: Sat, 11 Jun 2022 12:37:17 -0400 Subject: [PATCH 07/11] Renamed some vanity items --- ...{ApronOfAffection.cs => AcesApronOfAffection.cs} | 3 ++- ...pronOfAffection.png => AcesApronOfAffection.png} | Bin ...ction_Body.png => AcesApronOfAffection_Body.png} | Bin .../Vanity/{AureusMask.cs => AstrumAureusMask.cs} | 3 ++- .../Vanity/{AureusMask.png => AstrumAureusMask.png} | Bin ...ureusMask_Head.png => AstrumAureusMask_Head.png} | Bin .../Vanity/{CalamityHood.cs => HoodOfCalamity.cs} | 3 ++- .../Vanity/{CalamityHood.png => HoodOfCalamity.png} | Bin ...alamityHood_Head.png => HoodOfCalamity_Head.png} | Bin .../Vanity/{CalamityRobes.cs => RobesOfCalamity.cs} | 5 +++-- .../{CalamityRobes.png => RobesOfCalamity.png} | Bin ...amityRobes_Arms.png => RobesOfCalamity_Arms.png} | Bin ...amityRobes_Body.png => RobesOfCalamity_Body.png} | Bin ...amityRobes_Legs.png => RobesOfCalamity_Legs.png} | Bin Items/TreasureBags/AstrageldonBag.cs | 2 +- Items/TreasureBags/CalamitasBag.cs | 4 ++-- ModSupport/WeakReferenceSupport.cs | 4 ++-- NPCs/AstrumAureus/AstrumAureus.cs | 2 +- NPCs/AstrumDeus/AstrumDeusHeadSpectral.cs | 2 +- NPCs/Calamitas/CalamitasRun3.cs | 2 +- 20 files changed, 17 insertions(+), 13 deletions(-) rename Items/Armor/Vanity/{ApronOfAffection.cs => AcesApronOfAffection.cs} (92%) rename Items/Armor/Vanity/{ApronOfAffection.png => AcesApronOfAffection.png} (100%) rename Items/Armor/Vanity/{ApronOfAffection_Body.png => AcesApronOfAffection_Body.png} (100%) rename Items/Armor/Vanity/{AureusMask.cs => AstrumAureusMask.cs} (89%) rename Items/Armor/Vanity/{AureusMask.png => AstrumAureusMask.png} (100%) rename Items/Armor/Vanity/{AureusMask_Head.png => AstrumAureusMask_Head.png} (100%) rename Items/Armor/Vanity/{CalamityHood.cs => HoodOfCalamity.cs} (90%) rename Items/Armor/Vanity/{CalamityHood.png => HoodOfCalamity.png} (100%) rename Items/Armor/Vanity/{CalamityHood_Head.png => HoodOfCalamity_Head.png} (100%) rename Items/Armor/Vanity/{CalamityRobes.cs => RobesOfCalamity.cs} (87%) rename Items/Armor/Vanity/{CalamityRobes.png => RobesOfCalamity.png} (100%) rename Items/Armor/Vanity/{CalamityRobes_Arms.png => RobesOfCalamity_Arms.png} (100%) rename Items/Armor/Vanity/{CalamityRobes_Body.png => RobesOfCalamity_Body.png} (100%) rename Items/Armor/Vanity/{CalamityRobes_Legs.png => RobesOfCalamity_Legs.png} (100%) diff --git a/Items/Armor/Vanity/ApronOfAffection.cs b/Items/Armor/Vanity/AcesApronOfAffection.cs similarity index 92% rename from Items/Armor/Vanity/ApronOfAffection.cs rename to Items/Armor/Vanity/AcesApronOfAffection.cs index 2731a8a4f4..b71c5b6f7f 100644 --- a/Items/Armor/Vanity/ApronOfAffection.cs +++ b/Items/Armor/Vanity/AcesApronOfAffection.cs @@ -5,7 +5,8 @@ using Terraria.ModLoader; namespace CalamityMod.Items.Armor.Vanity { [AutoloadEquip(EquipType.Body)] - public class ApronOfAffection : ModItem + [LegacyName("ApronOfAffection")] + public class AcesApronOfAffection : ModItem { public override void SetStaticDefaults() { diff --git a/Items/Armor/Vanity/ApronOfAffection.png b/Items/Armor/Vanity/AcesApronOfAffection.png similarity index 100% rename from Items/Armor/Vanity/ApronOfAffection.png rename to Items/Armor/Vanity/AcesApronOfAffection.png diff --git a/Items/Armor/Vanity/ApronOfAffection_Body.png b/Items/Armor/Vanity/AcesApronOfAffection_Body.png similarity index 100% rename from Items/Armor/Vanity/ApronOfAffection_Body.png rename to Items/Armor/Vanity/AcesApronOfAffection_Body.png diff --git a/Items/Armor/Vanity/AureusMask.cs b/Items/Armor/Vanity/AstrumAureusMask.cs similarity index 89% rename from Items/Armor/Vanity/AureusMask.cs rename to Items/Armor/Vanity/AstrumAureusMask.cs index 9e3f0feb6b..ae9aa35e7c 100644 --- a/Items/Armor/Vanity/AureusMask.cs +++ b/Items/Armor/Vanity/AstrumAureusMask.cs @@ -5,7 +5,8 @@ using Terraria.ID; namespace CalamityMod.Items.Armor.Vanity { [AutoloadEquip(EquipType.Head)] - public class AureusMask : ModItem + [LegacyName("AureusMask")] + public class AstrumAureusMask : ModItem { public override void SetStaticDefaults() { diff --git a/Items/Armor/Vanity/AureusMask.png b/Items/Armor/Vanity/AstrumAureusMask.png similarity index 100% rename from Items/Armor/Vanity/AureusMask.png rename to Items/Armor/Vanity/AstrumAureusMask.png diff --git a/Items/Armor/Vanity/AureusMask_Head.png b/Items/Armor/Vanity/AstrumAureusMask_Head.png similarity index 100% rename from Items/Armor/Vanity/AureusMask_Head.png rename to Items/Armor/Vanity/AstrumAureusMask_Head.png diff --git a/Items/Armor/Vanity/CalamityHood.cs b/Items/Armor/Vanity/HoodOfCalamity.cs similarity index 90% rename from Items/Armor/Vanity/CalamityHood.cs rename to Items/Armor/Vanity/HoodOfCalamity.cs index a5cf60295d..b9216c7a05 100644 --- a/Items/Armor/Vanity/CalamityHood.cs +++ b/Items/Armor/Vanity/HoodOfCalamity.cs @@ -5,7 +5,8 @@ using Terraria.ModLoader; namespace CalamityMod.Items.Armor.Vanity { [AutoloadEquip(EquipType.Head)] - public class CalamityHood : ModItem + [LegacyName("CalamityHood")] + public class HoodOfCalamity : ModItem { public override void SetStaticDefaults() { diff --git a/Items/Armor/Vanity/CalamityHood.png b/Items/Armor/Vanity/HoodOfCalamity.png similarity index 100% rename from Items/Armor/Vanity/CalamityHood.png rename to Items/Armor/Vanity/HoodOfCalamity.png diff --git a/Items/Armor/Vanity/CalamityHood_Head.png b/Items/Armor/Vanity/HoodOfCalamity_Head.png similarity index 100% rename from Items/Armor/Vanity/CalamityHood_Head.png rename to Items/Armor/Vanity/HoodOfCalamity_Head.png diff --git a/Items/Armor/Vanity/CalamityRobes.cs b/Items/Armor/Vanity/RobesOfCalamity.cs similarity index 87% rename from Items/Armor/Vanity/CalamityRobes.cs rename to Items/Armor/Vanity/RobesOfCalamity.cs index 86cafc02b2..7dae313aec 100644 --- a/Items/Armor/Vanity/CalamityRobes.cs +++ b/Items/Armor/Vanity/RobesOfCalamity.cs @@ -5,13 +5,14 @@ using Terraria.ModLoader; namespace CalamityMod.Items.Armor.Vanity { [AutoloadEquip(EquipType.Body)] - public class CalamityRobes : ModItem + [LegacyName("CalamityRobes")] + public class RobesOfCalamity : ModItem { public override void Load() { if (Main.netMode != NetmodeID.Server) { - EquipLoader.AddEquipTexture(Mod, "CalamityMod/Items/Armor/Vanity/CalamityRobes_Legs", EquipType.Legs, this); + EquipLoader.AddEquipTexture(Mod, "CalamityMod/Items/Armor/Vanity/RobesOfCalamity_Legs", EquipType.Legs, this); } } diff --git a/Items/Armor/Vanity/CalamityRobes.png b/Items/Armor/Vanity/RobesOfCalamity.png similarity index 100% rename from Items/Armor/Vanity/CalamityRobes.png rename to Items/Armor/Vanity/RobesOfCalamity.png diff --git a/Items/Armor/Vanity/CalamityRobes_Arms.png b/Items/Armor/Vanity/RobesOfCalamity_Arms.png similarity index 100% rename from Items/Armor/Vanity/CalamityRobes_Arms.png rename to Items/Armor/Vanity/RobesOfCalamity_Arms.png diff --git a/Items/Armor/Vanity/CalamityRobes_Body.png b/Items/Armor/Vanity/RobesOfCalamity_Body.png similarity index 100% rename from Items/Armor/Vanity/CalamityRobes_Body.png rename to Items/Armor/Vanity/RobesOfCalamity_Body.png diff --git a/Items/Armor/Vanity/CalamityRobes_Legs.png b/Items/Armor/Vanity/RobesOfCalamity_Legs.png similarity index 100% rename from Items/Armor/Vanity/CalamityRobes_Legs.png rename to Items/Armor/Vanity/RobesOfCalamity_Legs.png diff --git a/Items/TreasureBags/AstrageldonBag.cs b/Items/TreasureBags/AstrageldonBag.cs index 69746f13da..e377d1502e 100644 --- a/Items/TreasureBags/AstrageldonBag.cs +++ b/Items/TreasureBags/AstrageldonBag.cs @@ -75,7 +75,7 @@ namespace CalamityMod.Items.TreasureBags DropHelper.DropItemChance(s, player, ModContent.ItemType(), 0.1f); // Vanity - DropHelper.DropItemChance(s, player, ModContent.ItemType(), 7); + DropHelper.DropItemChance(s, player, ModContent.ItemType(), 7); // Other DropHelper.DropItemCondition(s, player, ModContent.ItemType(), CalamityWorld.revenge && !player.Calamity().adrenalineBoostTwo); diff --git a/Items/TreasureBags/CalamitasBag.cs b/Items/TreasureBags/CalamitasBag.cs index b7032447e4..70b753f45b 100644 --- a/Items/TreasureBags/CalamitasBag.cs +++ b/Items/TreasureBags/CalamitasBag.cs @@ -72,8 +72,8 @@ namespace CalamityMod.Items.TreasureBags DropHelper.DropItemChance(s, player, ModContent.ItemType(), 7); if (Main.rand.NextBool(10)) { - DropHelper.DropItem(s, player, ModContent.ItemType()); - DropHelper.DropItem(s, player, ModContent.ItemType()); + DropHelper.DropItem(s, player, ModContent.ItemType()); + DropHelper.DropItem(s, player, ModContent.ItemType()); } } } diff --git a/ModSupport/WeakReferenceSupport.cs b/ModSupport/WeakReferenceSupport.cs index 07abe0e509..480aa6a59f 100644 --- a/ModSupport/WeakReferenceSupport.cs +++ b/ModSupport/WeakReferenceSupport.cs @@ -380,7 +380,7 @@ namespace CalamityMod int type = NPCType(); 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() }; + List collection = new List() { ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType() }; string instructions = $"Use an [i:{summon}] at Night"; string despawn = CalamityUtils.ColorMessage("If you wanted a fight, you should've came more prepared.", new Color(0xFF, 0xA5, 0x00)); AddBoss(bossChecklist, calamity, "Calamitas", order, type, DownedCalamitas, summon, loot, collection, instructions, despawn); @@ -416,7 +416,7 @@ namespace CalamityMod 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 collection = new List() { ItemType(), ItemType(), ItemType() }; + 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)); string bossLogTex = "CalamityMod/NPCs/AstrumAureus/AstrumAureus_BossChecklist"; diff --git a/NPCs/AstrumAureus/AstrumAureus.cs b/NPCs/AstrumAureus/AstrumAureus.cs index 597821ad8c..90a3267656 100644 --- a/NPCs/AstrumAureus/AstrumAureus.cs +++ b/NPCs/AstrumAureus/AstrumAureus.cs @@ -342,7 +342,7 @@ namespace CalamityMod.NPCs.AstrumAureus normalOnly.Add(DropHelper.CalamityStyle(DropHelper.NormalWeaponDropRateFraction, weapons)); // Vanity - normalOnly.Add(ModContent.ItemType(), 7); + normalOnly.Add(ModContent.ItemType(), 7); // Equipment normalOnly.Add(DropHelper.PerPlayer(ModContent.ItemType())); diff --git a/NPCs/AstrumDeus/AstrumDeusHeadSpectral.cs b/NPCs/AstrumDeus/AstrumDeusHeadSpectral.cs index 572959a63f..a586ee0ec5 100644 --- a/NPCs/AstrumDeus/AstrumDeusHeadSpectral.cs +++ b/NPCs/AstrumDeus/AstrumDeusHeadSpectral.cs @@ -299,7 +299,7 @@ namespace CalamityMod.NPCs.AstrumDeus normalOnly.Add(DropHelper.CalamityStyle(DropHelper.NormalWeaponDropRateFraction, weapons)); // Equipment - normalOnly.Add(ModContent.ItemType(), 7); + normalOnly.Add(ModContent.ItemType(), 7); normalOnly.Add(DropHelper.PerPlayer(ModContent.ItemType())); normalOnly.Add(ModContent.ItemType(), 5); diff --git a/NPCs/Calamitas/CalamitasRun3.cs b/NPCs/Calamitas/CalamitasRun3.cs index 9c6925f428..5ec6783d95 100644 --- a/NPCs/Calamitas/CalamitasRun3.cs +++ b/NPCs/Calamitas/CalamitasRun3.cs @@ -216,7 +216,7 @@ namespace CalamityMod.NPCs.Calamitas // Vanity normalOnly.Add(ModContent.ItemType(), 7); - normalOnly.Add(ItemDropRule.Common(ModContent.ItemType(), 10).OnSuccess(ItemDropRule.Common(ModContent.ItemType()))); + normalOnly.Add(ItemDropRule.Common(ModContent.ItemType(), 10).OnSuccess(ItemDropRule.Common(ModContent.ItemType()))); } npcLoot.Add(ModContent.ItemType(), 10); From c4aae14f119464f4e8beffcafeb712b64806510d Mon Sep 17 00:00:00 2001 From: Ozzatron Date: Sat, 11 Jun 2022 12:42:23 -0400 Subject: [PATCH 08/11] Internally renamed difficulty items. --- CalamityConfig.cs | 2 +- .../DifficultyItems/{Death.cs => DeathModeItem.cs} | 5 +++-- .../{Death.png => DeathModeItem.png} | Bin .../{Malice.cs => MaliceModeItem.cs} | 9 +++++---- .../{Malice.png => MaliceModeItem.png} | Bin ...ice_Animated.png => MaliceModeItem_Animated.png} | Bin .../{Revenge.cs => RevengeanceModeItem.cs} | 5 +++-- .../{Revenge.png => RevengeanceModeItem.png} | Bin Items/TreasureBags/StarterBag.cs | 6 +++--- 9 files changed, 15 insertions(+), 12 deletions(-) rename Items/DifficultyItems/{Death.cs => DeathModeItem.cs} (96%) rename Items/DifficultyItems/{Death.png => DeathModeItem.png} (100%) rename Items/DifficultyItems/{Malice.cs => MaliceModeItem.cs} (93%) rename Items/DifficultyItems/{Malice.png => MaliceModeItem.png} (100%) rename Items/DifficultyItems/{Malice_Animated.png => MaliceModeItem_Animated.png} (100%) rename Items/DifficultyItems/{Revenge.cs => RevengeanceModeItem.cs} (97%) rename Items/DifficultyItems/{Revenge.png => RevengeanceModeItem.png} (100%) diff --git a/CalamityConfig.cs b/CalamityConfig.cs index 711885ef96..45ed8647e6 100644 --- a/CalamityConfig.cs +++ b/CalamityConfig.cs @@ -368,7 +368,7 @@ namespace CalamityMod new("ChilledWaterRework", ItemID.ArcticDivingGear), new("ForceTownSafety", ItemID.Sunflower), - new("RipperMeterShake", ModContent.ItemType()), + new("RipperMeterShake", ModContent.ItemType()), new("RageMeterPosX", ItemID.LaserRuler), new("RageMeterPosY", ItemID.LaserRuler), new("AdrenalineMeterPosX", ItemID.LaserRuler), diff --git a/Items/DifficultyItems/Death.cs b/Items/DifficultyItems/DeathModeItem.cs similarity index 96% rename from Items/DifficultyItems/Death.cs rename to Items/DifficultyItems/DeathModeItem.cs index 31c9f46e3c..16989e5391 100644 --- a/Items/DifficultyItems/Death.cs +++ b/Items/DifficultyItems/DeathModeItem.cs @@ -8,12 +8,13 @@ using Terraria.ModLoader; namespace CalamityMod.Items.DifficultyItems { - public class Death : ModItem + [LegacyName("Death")] + public class DeathModeItem : ModItem { public override void SetStaticDefaults() { SacrificeTotal = 1; - DisplayName.SetDefault("Death"); + DisplayName.SetDefault("Satanic Scepter of Death"); Tooltip.SetDefault("Enables/disables Death Mode, can only be used in Revengeance Mode.\n" + // Rev Mode line diff --git a/Items/DifficultyItems/Death.png b/Items/DifficultyItems/DeathModeItem.png similarity index 100% rename from Items/DifficultyItems/Death.png rename to Items/DifficultyItems/DeathModeItem.png diff --git a/Items/DifficultyItems/Malice.cs b/Items/DifficultyItems/MaliceModeItem.cs similarity index 93% rename from Items/DifficultyItems/Malice.cs rename to Items/DifficultyItems/MaliceModeItem.cs index 65427980b1..9184071777 100644 --- a/Items/DifficultyItems/Malice.cs +++ b/Items/DifficultyItems/MaliceModeItem.cs @@ -9,14 +9,15 @@ using Terraria.ModLoader; namespace CalamityMod.Items.DifficultyItems { - public class Malice : ModItem + [LegacyName("Malice")] + public class MaliceModeItem : ModItem { public int frameCounter = 0; public int frame = 0; public override void SetStaticDefaults() { SacrificeTotal = 1; - DisplayName.SetDefault("Malice"); + DisplayName.SetDefault("Tormented Mind of Malice"); Tooltip.SetDefault("Enables/disables Malice Mode, can only be used in Death Mode.\n" + // Overall description and warning lines @@ -52,14 +53,14 @@ namespace CalamityMod.Items.DifficultyItems public override bool PreDrawInInventory(SpriteBatch spriteBatch, Vector2 position, Rectangle frameI, Color drawColor, Color itemColor, Vector2 origin, float scale) { - Texture2D texture = ModContent.Request("CalamityMod/Items/DifficultyItems/Malice_Animated").Value; + Texture2D texture = ModContent.Request("CalamityMod/Items/DifficultyItems/MaliceModeItem_Animated").Value; spriteBatch.Draw(texture, position, Item.GetCurrentFrame(ref frame, ref frameCounter, 8, 8), Color.White, 0f, origin, scale, SpriteEffects.None, 0); return false; } public override bool PreDrawInWorld(SpriteBatch spriteBatch, Color lightColor, Color alphaColor, ref float rotation, ref float scale, int whoAmI) { - Texture2D texture = ModContent.Request("CalamityMod/Items/DifficultyItems/Malice_Animated").Value; + Texture2D texture = ModContent.Request("CalamityMod/Items/DifficultyItems/MaliceModeItem_Animated").Value; spriteBatch.Draw(texture, Item.position - Main.screenPosition, Item.GetCurrentFrame(ref frame, ref frameCounter, 8, 8), lightColor, 0f, Vector2.Zero, 1f, SpriteEffects.None, 0); return false; } diff --git a/Items/DifficultyItems/Malice.png b/Items/DifficultyItems/MaliceModeItem.png similarity index 100% rename from Items/DifficultyItems/Malice.png rename to Items/DifficultyItems/MaliceModeItem.png diff --git a/Items/DifficultyItems/Malice_Animated.png b/Items/DifficultyItems/MaliceModeItem_Animated.png similarity index 100% rename from Items/DifficultyItems/Malice_Animated.png rename to Items/DifficultyItems/MaliceModeItem_Animated.png diff --git a/Items/DifficultyItems/Revenge.cs b/Items/DifficultyItems/RevengeanceModeItem.cs similarity index 97% rename from Items/DifficultyItems/Revenge.cs rename to Items/DifficultyItems/RevengeanceModeItem.cs index 2b0c7d22da..41aa093d50 100644 --- a/Items/DifficultyItems/Revenge.cs +++ b/Items/DifficultyItems/RevengeanceModeItem.cs @@ -10,12 +10,13 @@ using System.Linq; namespace CalamityMod.Items.DifficultyItems { - public class Revenge : ModItem + [LegacyName("Revenge")] + public class RevengeanceModeItem : ModItem { public override void SetStaticDefaults() { SacrificeTotal = 1; - DisplayName.SetDefault("Revengeance"); + DisplayName.SetDefault("Blood Fountain of Revengeance"); Tooltip.SetDefault("Enables/disables Revengeance Mode, can only be used in Expert Mode.\n" + // Rage and Adrenaline lines diff --git a/Items/DifficultyItems/Revenge.png b/Items/DifficultyItems/RevengeanceModeItem.png similarity index 100% rename from Items/DifficultyItems/Revenge.png rename to Items/DifficultyItems/RevengeanceModeItem.png diff --git a/Items/TreasureBags/StarterBag.cs b/Items/TreasureBags/StarterBag.cs index 7763f4ecbf..2d2cc9b11c 100644 --- a/Items/TreasureBags/StarterBag.cs +++ b/Items/TreasureBags/StarterBag.cs @@ -55,9 +55,9 @@ namespace CalamityMod.Items.TreasureBags DropHelper.DropItem(s, player, ItemID.Chest, 3); // Difficulty items (Revengeance, Death and Malice don't drop in Normal) - DropHelper.DropItemCondition(s, player, ModContent.ItemType(), Main.expertMode); - DropHelper.DropItemCondition(s, player, ModContent.ItemType(), Main.expertMode); - DropHelper.DropItemCondition(s, player, ModContent.ItemType(), Main.expertMode); + DropHelper.DropItemCondition(s, player, ModContent.ItemType(), Main.expertMode); + DropHelper.DropItemCondition(s, player, ModContent.ItemType(), Main.expertMode); + DropHelper.DropItemCondition(s, player, ModContent.ItemType(), Main.expertMode); // The Lad DropHelper.DropItemCondition(s, player, ModContent.ItemType(), player.name == "Aleksh" || player.name == "Shark Lad"); From 8d445bc37da289e79d7addc2df80f493dbd5b2d8 Mon Sep 17 00:00:00 2001 From: Ozzatron Date: Sat, 11 Jun 2022 13:07:20 -0400 Subject: [PATCH 09/11] Renamed Materials and other miscellaneous items --- CalamityConfig.cs | 2 +- CalamityLists.cs | 12 ++++----- Items/Accessories/AbyssalDivingGear.cs | 2 +- Items/Accessories/AbyssalDivingSuit.cs | 2 +- Items/Accessories/AbyssalMirror.cs | 2 +- Items/Accessories/AlchemicalFlask.cs | 2 +- Items/Accessories/AmbrosialAmpoule.cs | 4 +-- Items/Accessories/AngelTreads.cs | 2 +- Items/Accessories/BadgeofBravery.cs | 2 +- Items/Accessories/DarkGodsSheath.cs | 2 +- Items/Accessories/DarkSunRing.cs | 2 +- Items/Accessories/FilthyGlove.cs | 2 +- Items/Accessories/LumenousAmulet.cs | 2 +- Items/Accessories/NecklaceofVexation.cs | 2 +- Items/Accessories/OrnateShield.cs | 2 +- Items/Accessories/ProfanedSoulCrystal.cs | 4 +-- Items/Accessories/RadiantOoze.cs | 2 +- Items/Accessories/ReaperToothNecklace.cs | 2 +- Items/Accessories/RustyMedallion.cs | 2 +- Items/Accessories/SigilofCalamitas.cs | 4 +-- Items/Accessories/StarTaintedGenerator.cs | 2 +- Items/Accessories/StatisBlessing.cs | 2 +- Items/Accessories/TheAbsorber.cs | 4 +-- Items/Accessories/TheAmalgam.cs | 4 +-- Items/Accessories/VoidofExtinction.cs | 2 +- Items/Accessories/Wings/AureateBooster.cs | 4 +-- Items/Accessories/Wings/ExodusWings.cs | 2 +- Items/Accessories/Wings/HadalMantle.cs | 2 +- Items/Accessories/Wings/SeraphTracers.cs | 2 +- Items/Accessories/Wings/StarlightWings.cs | 2 +- Items/Accessories/Wings/TarragonWings.cs | 2 +- Items/Accessories/YharimsInsignia.cs | 2 +- Items/Ammo/AcidRound.cs | 2 +- Items/Ammo/ArcticArrow.cs | 2 +- Items/Ammo/HyperiusBullet.cs | 2 +- Items/Ammo/MortarRound.cs | 2 +- Items/Ammo/VeriumBullet.cs | 2 +- Items/Armor/Brimflame/BrimflameBoots.cs | 2 +- Items/Armor/Brimflame/BrimflameRobes.cs | 2 +- Items/Armor/Brimflame/BrimflameScowl.cs | 2 +- Items/Armor/Daedalus/DaedalusBreastplate.cs | 2 +- Items/Armor/Daedalus/DaedalusHeadMagic.cs | 2 +- Items/Armor/Daedalus/DaedalusHeadMelee.cs | 2 +- Items/Armor/Daedalus/DaedalusHeadRanged.cs | 2 +- Items/Armor/Daedalus/DaedalusHeadRogue.cs | 2 +- Items/Armor/Daedalus/DaedalusHeadSummon.cs | 2 +- Items/Armor/Daedalus/DaedalusLeggings.cs | 2 +- Items/Armor/Empyrean/EmpyreanCloak.cs | 2 +- Items/Armor/Empyrean/EmpyreanCuisses.cs | 2 +- Items/Armor/Empyrean/EmpyreanMask.cs | 2 +- Items/Armor/Hydrothermic/HydrothermicArmor.cs | 2 +- .../Hydrothermic/HydrothermicHeadMagic.cs | 2 +- .../Hydrothermic/HydrothermicHeadMelee.cs | 2 +- .../Hydrothermic/HydrothermicHeadRanged.cs | 2 +- .../Hydrothermic/HydrothermicHeadRogue.cs | 2 +- .../Hydrothermic/HydrothermicHeadSummon.cs | 2 +- .../Hydrothermic/HydrothermicSubligar.cs | 2 +- Items/Armor/OmegaBlue/OmegaBlueChestplate.cs | 2 +- Items/Armor/OmegaBlue/OmegaBlueHelmet.cs | 2 +- Items/Armor/OmegaBlue/OmegaBlueTentacles.cs | 2 +- Items/Armor/PlagueReaper/PlagueReaperMask.cs | 4 +-- .../PlagueReaper/PlagueReaperStriders.cs | 2 +- Items/Armor/PlagueReaper/PlagueReaperVest.cs | 2 +- .../Plaguebringer/PlaguebringerCarapace.cs | 2 +- .../Plaguebringer/PlaguebringerPistons.cs | 2 +- .../Armor/Plaguebringer/PlaguebringerVisor.cs | 2 +- Items/Armor/Reaver/ReaverCuisses.cs | 4 +-- Items/Armor/Reaver/ReaverHeadExplore.cs | 4 +-- Items/Armor/Reaver/ReaverHeadMobility.cs | 4 +-- Items/Armor/Reaver/ReaverHeadTank.cs | 4 +-- Items/Armor/Reaver/ReaverScaleMail.cs | 4 +-- .../Armor/Sulphurous/SulphurousBreastplate.cs | 2 +- Items/Armor/Sulphurous/SulphurousHelmet.cs | 2 +- Items/Armor/Sulphurous/SulphurousLeggings.cs | 2 +- Items/Armor/Tarragon/TarragonBreastplate.cs | 2 +- Items/Armor/Tarragon/TarragonHeadMagic.cs | 2 +- Items/Armor/Tarragon/TarragonHeadMelee.cs | 2 +- Items/Armor/Tarragon/TarragonHeadRanged.cs | 2 +- Items/Armor/Tarragon/TarragonHeadRogue.cs | 2 +- Items/Armor/Tarragon/TarragonHeadSummon.cs | 2 +- Items/Armor/Tarragon/TarragonLeggings.cs | 2 +- Items/BleachBall.cs | 2 +- Items/BrimstoneLocus.cs | 2 +- Items/BrokenWaterFilter.cs | 2 +- Items/CalamityGlobalItemLoot.cs | 12 ++++----- Items/DraedonMisc/AdvancedDisplay.cs | 2 +- .../{PowerCell.cs => DraedonPowerCell.cs} | 5 ++-- .../{PowerCell.png => DraedonPowerCell.png} | Bin Items/DraedonMisc/VoltageRegulationSystem.cs | 2 +- Items/Dyes/CalamitousDye.cs | 2 +- Items/Dyes/StratusDye.cs | 2 +- Items/Fishing/FishingRods/EarlyBloomRod.cs | 2 +- Items/Fishing/FishingRods/FeralDoubleRod.cs | 2 +- .../{ChaoticSpreadRod.cs => RiftReeler.cs} | 5 ++-- .../{ChaoticSpreadRod.png => RiftReeler.png} | Bin .../FishingRods/VerstaltiteFishingRod.cs | 2 +- Items/Fishing/SulphurCatches/AbyssalCrate.cs | 6 ++--- Items/Fishing/SunbeamFish.cs | 2 +- Items/LabFinders/CyanSeekingMechanism.cs | 2 +- Items/LabFinders/GreenSeekingMechanism.cs | 2 +- ...ousMechanism.cs => LabSeekingMechanism.cs} | 3 ++- ...sMechanism.png => LabSeekingMechanism.png} | Bin Items/LabFinders/PurpleSeekingMechanism.cs | 2 +- Items/LabFinders/RedSeekingMechanism.cs | 2 +- Items/LabFinders/YellowSeekingMechanism.cs | 2 +- ...eBumblebirb.cs => KnowledgeDragonfolly.cs} | 3 ++- ...umblebirb.png => KnowledgeDragonfolly.png} | Bin ...dSiren.cs => KnowledgeLeviathanAnahita.cs} | 3 ++- ...iren.png => KnowledgeLeviathanAnahita.png} | Bin ...itousEssence.cs => AshesofAnnihilation.cs} | 3 ++- ...ousEssence.png => AshesofAnnihilation.png} | Bin .../{CalamityDust.cs => AshesofCalamity.cs} | 3 ++- .../{CalamityDust.png => AshesofCalamity.png} | Bin .../{EbonianGel.cs => BlightedGel.cs} | 7 ++--- .../{EbonianGel.png => BlightedGel.png} | Bin .../{EbonianGelRed.png => BlightedGelRed.png} | Bin Items/Materials/CoreofCalamity.cs | 4 +-- .../{CoreofCinder.cs => CoreofSunlight.cs} | 7 ++--- .../{CoreofCinder.png => CoreofSunlight.png} | Bin ...fCinderGlow.png => CoreofSunlightGlow.png} | Bin .../{VerstaltiteBar.cs => CryonicBar.cs} | 3 ++- .../{VerstaltiteBar.png => CryonicBar.png} | Bin ...ssenceofCinder.cs => EssenceofSunlight.cs} | 3 ++- ...enceofCinder.png => EssenceofSunlight.png} | Bin .../Materials/{BarofLife.cs => LifeAlloy.cs} | 9 ++++--- .../{BarofLife.png => LifeAlloy.png} | Bin Items/Materials/{Lumenite.cs => Lumenyl.cs} | 6 +++-- Items/Materials/{Lumenite.png => Lumenyl.png} | Bin .../{MeldiateBar.cs => MeldConstruct.cs} | 3 ++- .../{MeldiateBar.png => MeldConstruct.png} | Bin Items/Materials/MiracleMatter.cs | 2 +- .../{DraedonBar.cs => PerennialBar.cs} | 5 ++-- .../{DraedonBar.png => PerennialBar.png} | Bin ...ueCellCluster.cs => PlagueCellCanister.cs} | 3 ++- ...CellCluster.png => PlagueCellCanister.png} | Bin .../{TrueShadowScale.cs => RottenMatter.cs} | 6 +++-- .../{TrueShadowScale.png => RottenMatter.png} | Bin .../Materials/{CruptixBar.cs => ScoriaBar.cs} | 7 ++--- .../{CruptixBar.png => ScoriaBar.png} | Bin ...ar_Animated.png => ScoriaBar_Animated.png} | Bin Items/Materials/ShadowspecBar.cs | 2 +- .../{SulfuricScale.cs => SulphuricScale.cs} | 6 +++-- .../{SulfuricScale.png => SulphuricScale.png} | Bin .../{UeliaceBar.cs => UelibloomBar.cs} | 7 ++--- .../{UeliaceBar.png => UelibloomBar.png} | Bin Items/PermanentBoosters/Elderberry.cs | 2 +- Items/PermanentBoosters/MiracleFruit.cs | 2 +- .../AgedLaboratoryConsoleItem.cs | 2 +- .../AgedLaboratoryElectricPanelItem.cs | 2 +- .../AgedLaboratoryServerItem.cs | 2 +- .../LabHologramProjectorItem.cs | 2 +- .../LaboratoryConsoleItem.cs | 2 +- .../LaboratoryElectricPanelItem.cs | 2 +- .../DraedonStructures/LaboratoryServerItem.cs | 2 +- .../CraftingStations/PlagueInfuser.cs | 2 +- Items/Placeables/Furniture/EffigyOfDecay.cs | 2 +- Items/Placeables/Furniture/RustyChest.cs | 2 +- .../FurnitureAbyss/AbyssCandelabra.cs | 2 +- .../Placeables/FurnitureAbyss/AbyssCandle.cs | 2 +- .../FurnitureAbyss/AbyssChandelier.cs | 2 +- Items/Placeables/FurnitureAbyss/AbyssLamp.cs | 2 +- .../Placeables/FurnitureAbyss/AbyssLantern.cs | 2 +- Items/Placeables/FurnitureAbyss/AbyssTorch.cs | 2 +- .../Placeables/FurnitureExo/ExoCandelabra.cs | 2 +- Items/Placeables/FurnitureExo/ExoCandle.cs | 2 +- .../Placeables/FurnitureExo/ExoChandelier.cs | 2 +- Items/Placeables/FurnitureExo/ExoConsole.cs | 2 +- Items/Placeables/FurnitureExo/ExoDisplay.cs | 2 +- Items/Placeables/FurnitureExo/ExoLamp.cs | 2 +- Items/Placeables/FurnitureExo/ExoLantern.cs | 2 +- Items/Placeables/FurnitureExo/ExoScreen.cs | 2 +- Items/Placeables/FurnitureExo/ExoServer.cs | 2 +- Items/Placeables/FurnitureExo/ExoTerminal.cs | 2 +- .../FurniturePlaguedPlate/PlaguedPlate.cs | 2 +- .../PlaguedPlateBasin.cs | 2 +- .../PlaguedPlateBathtub.cs | 2 +- .../FurniturePlaguedPlate/PlaguedPlateBed.cs | 2 +- .../PlaguedPlateBookcase.cs | 2 +- .../PlaguedPlateCandelabra.cs | 2 +- .../PlaguedPlateCandle.cs | 2 +- .../PlaguedPlateChair.cs | 2 +- .../PlaguedPlateChandelier.cs | 2 +- .../PlaguedPlateChest.cs | 2 +- .../PlaguedPlateClock.cs | 2 +- .../FurniturePlaguedPlate/PlaguedPlateDoor.cs | 2 +- .../PlaguedPlateDresser.cs | 2 +- .../FurniturePlaguedPlate/PlaguedPlateLamp.cs | 2 +- .../PlaguedPlateLantern.cs | 2 +- .../PlaguedPlatePiano.cs | 2 +- .../FurniturePlaguedPlate/PlaguedPlateSink.cs | 2 +- .../FurniturePlaguedPlate/PlaguedPlateSofa.cs | 2 +- .../PlaguedPlateTable.cs | 2 +- .../PlaguedPlateWorkbench.cs | 2 +- .../FurnitureStratus/StratusBricks.cs | 2 +- .../FurnitureStratus/StratusCandelabra.cs | 2 +- .../FurnitureStratus/StratusCandle.cs | 2 +- .../FurnitureStratus/StratusChandelier.cs | 2 +- .../FurnitureStratus/StratusLamp.cs | 2 +- .../FurnitureStratus/StratusLantern.cs | 2 +- .../FurnitureVoid/VoidCandelabra.cs | 2 +- Items/Placeables/FurnitureVoid/VoidCandle.cs | 2 +- .../FurnitureVoid/VoidChandelier.cs | 2 +- Items/Placeables/FurnitureVoid/VoidLamp.cs | 2 +- Items/Placeables/FurnitureVoid/VoidLantern.cs | 2 +- Items/Placeables/Plates/Cinderplate.cs | 2 +- .../Plates/PlagueContainmentCells.cs | 2 +- Items/Potions/CalamitasBrew.cs | 4 +-- Items/Potions/CrumblingPotion.cs | 4 +-- Items/Potions/PhotosynthesisPotion.cs | 4 +-- Items/Potions/RevivifyPotion.cs | 2 +- Items/Potions/ZenPotion.cs | 2 +- Items/Potions/ZergPotion.cs | 2 +- Items/SummonItems/Abomination.cs | 2 +- Items/SummonItems/BirbPheromones.cs | 2 +- Items/SummonItems/ChickenEgg.cs | 2 +- Items/SummonItems/EyeofExtinction.cs | 4 +-- Items/SummonItems/Invasion/CausticTear.cs | 2 +- Items/SummonItems/OldPowerCell.cs | 2 +- Items/SummonItems/OverloadedSludge.cs | 2 +- Items/SummonItems/Teratoma.cs | 2 +- Items/Tools/AbyssalWarhammer.cs | 2 +- Items/Tools/BeastialPickaxe.cs | 2 +- Items/Tools/BerserkerWaraxe.cs | 2 +- Items/Tools/BlossomPickaxe.cs | 2 +- Items/Tools/ChaoswarpedSlashaxe.cs | 2 +- Items/Tools/ClimateChange/Cosmolight.cs | 2 +- Items/Tools/FlamebeakHampick.cs | 2 +- Items/Tools/GallantPickaxe.cs | 2 +- Items/Tools/Grax.cs | 4 +-- Items/Tools/ShardlightPickaxe.cs | 2 +- Items/TreasureBags/CalamitasBag.cs | 2 +- Items/TreasureBags/FleshyGeodeT1.cs | 8 +++--- Items/TreasureBags/FleshyGeodeT2.cs | 10 ++++---- Items/TreasureBags/HiveMindBag.cs | 2 +- Items/TreasureBags/PlaguebringerGoliathBag.cs | 2 +- Items/TreasureBags/SCalBag.cs | 2 +- .../DraedonsArsenal/GalvanizingGlaive.cs | 2 +- Items/Weapons/DraedonsArsenal/GatlingLaser.cs | 2 +- Items/Weapons/DraedonsArsenal/GaussRifle.cs | 2 +- Items/Weapons/DraedonsArsenal/LaserRifle.cs | 2 +- Items/Weapons/DraedonsArsenal/PlasmaCaster.cs | 2 +- Items/Weapons/DraedonsArsenal/PulseDragon.cs | 2 +- .../DraedonsArsenal/PulseTurretRemote.cs | 2 +- Items/Weapons/DraedonsArsenal/SnakeEyes.cs | 2 +- Items/Weapons/DraedonsArsenal/SystemBane.cs | 2 +- Items/Weapons/DraedonsArsenal/WavePounder.cs | 2 +- Items/Weapons/Magic/AcidGun.cs | 2 +- Items/Weapons/Magic/ArtAttack.cs | 2 +- Items/Weapons/Magic/ClamorNoctus.cs | 2 +- Items/Weapons/Magic/CosmicRainbow.cs | 4 +-- Items/Weapons/Magic/CrystalFlareStaff.cs | 2 +- Items/Weapons/Magic/DivineRetribution.cs | 2 +- Items/Weapons/Magic/EvergladeSpray.cs | 4 +-- Items/Weapons/Magic/ForbiddenSun.cs | 2 +- Items/Weapons/Magic/GammaFusillade.cs | 2 +- Items/Weapons/Magic/Genisis.cs | 2 +- Items/Weapons/Magic/HadopelagicEcho.cs | 2 +- Items/Weapons/Magic/IceBarrage.cs | 2 +- Items/Weapons/Magic/Mistlestorm.cs | 2 +- Items/Weapons/Magic/NightsRay.cs | 2 +- Items/Weapons/Magic/PlasmaRifle.cs | 4 +-- Items/Weapons/Magic/ShadecrystalTome.cs | 2 +- Items/Weapons/Magic/ShaderainStaff.cs | 2 +- Items/Weapons/Magic/ShadowdropStaff.cs | 2 +- Items/Weapons/Magic/StratusSphere.cs | 2 +- Items/Weapons/Magic/T1000.cs | 2 +- Items/Weapons/Magic/TacticiansTrumpCard.cs | 4 +-- Items/Weapons/Magic/TearsofHeaven.cs | 2 +- Items/Weapons/Magic/ThornBlossom.cs | 2 +- Items/Weapons/Magic/TomeofFates.cs | 2 +- Items/Weapons/Magic/UndinesRetribution.cs | 2 +- Items/Weapons/Melee/AbyssBlade.cs | 2 +- Items/Weapons/Melee/AquaticDissolution.cs | 6 ++--- Items/Weapons/Melee/ArkoftheElements.cs | 2 +- Items/Weapons/Melee/Basher.cs | 2 +- Items/Weapons/Melee/BladeofEnmity.cs | 2 +- Items/Weapons/Melee/Brimlash.cs | 2 +- Items/Weapons/Melee/Chaotrix.cs | 2 +- Items/Weapons/Melee/CorruptedCrusherBlade.cs | 2 +- Items/Weapons/Melee/CrescentMoon.cs | 2 +- Items/Weapons/Melee/CrimsonCrusherBlade.cs | 2 +- Items/Weapons/Melee/DarklightGreatsword.cs | 2 +- Items/Weapons/Melee/DivineHatchet.cs | 2 +- Items/Weapons/Melee/DraconicDestruction.cs | 2 +- Items/Weapons/Melee/ExsanguinationLance.cs | 2 +- Items/Weapons/Melee/FeralthornClaymore.cs | 2 +- Items/Weapons/Melee/FlarefrostBlade.cs | 2 +- Items/Weapons/Melee/Floodtide.cs | 2 +- Items/Weapons/Melee/GalileoGladius.cs | 2 +- Items/Weapons/Melee/GrandGuardian.cs | 2 +- Items/Weapons/Melee/HellfireFlamberge.cs | 2 +- Items/Weapons/Melee/HellionFlowerSpear.cs | 2 +- Items/Weapons/Melee/Hellkite.cs | 2 +- Items/Weapons/Melee/LeechingDagger.cs | 2 +- Items/Weapons/Melee/LifefruitScythe.cs | 2 +- Items/Weapons/Melee/Lucrecia.cs | 2 +- Items/Weapons/Melee/Mariana.cs | 2 +- Items/Weapons/Melee/Mourningstar.cs | 2 +- Items/Weapons/Melee/NeptunesBounty.cs | 2 +- Items/Weapons/Melee/OmegaBiomeBlade.cs | 2 +- Items/Weapons/Melee/Omniblade.cs | 2 +- Items/Weapons/Melee/PerfectDark.cs | 2 +- Items/Weapons/Melee/PhoenixBlade.cs | 2 +- Items/Weapons/Melee/PrismaticBreaker.cs | 2 +- Items/Weapons/Melee/Quagmire.cs | 2 +- Items/Weapons/Melee/RedSun.cs | 2 +- Items/Weapons/Melee/RemsRevenge.cs | 2 +- Items/Weapons/Melee/Shimmerspark.cs | 2 +- Items/Weapons/Melee/SoulHarvester.cs | 2 +- Items/Weapons/Melee/StarnightLance.cs | 2 +- Items/Weapons/Melee/StormRuler.cs | 2 +- Items/Weapons/Melee/TemporalFloeSword.cs | 2 +- Items/Weapons/Melee/TenebreusTides.cs | 2 +- Items/Weapons/Melee/Trinity.cs | 2 +- Items/Weapons/Melee/TrueForbiddenOathblade.cs | 2 +- .../Weapons/Melee/TruePaladinsHammerMelee.cs | 4 +-- .../Melee/TrueTyrantYharimsUltisword.cs | 2 +- Items/Weapons/Melee/TyphonsGreed.cs | 2 +- Items/Weapons/Melee/Verdant.cs | 2 +- Items/Weapons/Melee/XerocsGreatsword.cs | 2 +- Items/Weapons/Ranged/Alluvion.cs | 2 +- Items/Weapons/Ranged/AngelicShotgun.cs | 4 +-- Items/Weapons/Ranged/Auralis.cs | 2 +- Items/Weapons/Ranged/BarracudaGun.cs | 2 +- Items/Weapons/Ranged/BladedgeGreatbow.cs | 2 +- Items/Weapons/Ranged/ClockGatlignum.cs | 2 +- Items/Weapons/Ranged/Contagion.cs | 2 +- Items/Weapons/Ranged/DarkechoGreatbow.cs | 2 +- Items/Weapons/Ranged/FlakKraken.cs | 2 +- Items/Weapons/Ranged/FlarewingBow.cs | 2 +- Items/Weapons/Ranged/GreatbowofTurmoil.cs | 2 +- Items/Weapons/Ranged/HalleysInferno.cs | 2 +- Items/Weapons/Ranged/Helstorm.cs | 2 +- Items/Weapons/Ranged/Impaler.cs | 2 +- Items/Weapons/Ranged/Megalodon.cs | 2 +- Items/Weapons/Ranged/Monsoon.cs | 2 +- Items/Weapons/Ranged/NettlelineGreatbow.cs | 2 +- Items/Weapons/Ranged/SDFMG.cs | 2 +- Items/Weapons/Ranged/Seadragon.cs | 2 +- Items/Weapons/Ranged/Shadethrower.cs | 2 +- Items/Weapons/Ranged/Shredder.cs | 2 +- Items/Weapons/Ranged/Spyker.cs | 2 +- Items/Weapons/Ranged/TerraFlameburster.cs | 2 +- Items/Weapons/Ranged/TheEmpyrean.cs | 2 +- Items/Weapons/Ranged/Toxibow.cs | 2 +- Items/Weapons/Ranged/Triploon.cs | 2 +- Items/Weapons/Rogue/AccretionDisk.cs | 2 +- Items/Weapons/Rogue/AlphaVirus.cs | 2 +- Items/Weapons/Rogue/Apoctolith.cs | 2 +- Items/Weapons/Rogue/ContaminatedBile.cs | 2 +- Items/Weapons/Rogue/CrystalPiercer.cs | 2 +- Items/Weapons/Rogue/DeificThunderbolt.cs | 2 +- Items/Weapons/Rogue/EclipsesFall.cs | 2 +- Items/Weapons/Rogue/EpidemicShredder.cs | 2 +- Items/Weapons/Rogue/FlameScythe.cs | 2 +- Items/Weapons/Rogue/FrostcrushValari.cs | 2 +- Items/Weapons/Rogue/JawsOfOblivion.cs | 2 +- Items/Weapons/Rogue/LuminousStriker.cs | 2 +- Items/Weapons/Rogue/MangroveChakram.cs | 2 +- Items/Weapons/Rogue/NanoblackReaperRogue.cs | 2 +- Items/Weapons/Rogue/NightsGaze.cs | 2 +- Items/Weapons/Rogue/PhantomLance.cs | 4 +-- Items/Weapons/Rogue/Plaguenade.cs | 2 +- Items/Weapons/Rogue/ProfanedPartisan.cs | 2 +- Items/Weapons/Rogue/RotBall.cs | 2 +- Items/Weapons/Rogue/Sandslasher.cs | 2 +- Items/Weapons/Rogue/SludgeSplotch.cs | 2 +- Items/Weapons/Rogue/StarofDestruction.cs | 2 +- Items/Weapons/Rogue/StormfrontRazor.cs | 2 +- Items/Weapons/Rogue/TarragonThrowingDart.cs | 2 +- Items/Weapons/Rogue/XerocPitchfork.cs | 2 +- Items/Weapons/Summon/DaedalusGolemStaff.cs | 2 +- Items/Weapons/Summon/DankStaff.cs | 2 +- Items/Weapons/Summon/DreadmineStaff.cs | 2 +- Items/Weapons/Summon/ElementalAxe.cs | 2 +- Items/Weapons/Summon/FlowersOfMortality.cs | 2 +- Items/Weapons/Summon/ResurrectionButterfly.cs | 2 +- Items/Weapons/Summon/RustyBeaconPrototype.cs | 2 +- Items/Weapons/Summon/Sirius.cs | 2 +- Items/Weapons/Summon/SunGodStaff.cs | 2 +- Items/Weapons/Summon/TacticalPlagueEngine.cs | 2 +- Items/Weapons/Summon/ViralSprout.cs | 2 +- Items/Weapons/Summon/ViridVanguard.cs | 2 +- Items/Weapons/Summon/WitherBlossomsStaff.cs | 4 +-- Items/Weapons/Typeless/YanmeisKnife.cs | 2 +- ModSupport/WeakReferenceSupport.cs | 24 +++++++++--------- NPCs/Abyss/DevilFish.cs | 2 +- NPCs/Abyss/EidolonWyrmHead.cs | 2 +- NPCs/Abyss/GiantSquid.cs | 2 +- NPCs/Abyss/GulperEelHead.cs | 2 +- NPCs/Abyss/Laserfish.cs | 2 +- NPCs/Abyss/LuminousCorvina.cs | 2 +- NPCs/Abyss/Viperfish.cs | 2 +- NPCs/AcidRain/AcidEel.cs | 2 +- NPCs/AcidRain/NuclearToad.cs | 2 +- NPCs/AcidRain/Radiator.cs | 2 +- NPCs/AcidRain/Skyfin.cs | 2 +- NPCs/AdultEidolonWyrm/EidolonWyrmHeadHuge.cs | 2 +- NPCs/Bumblebirb/Bumblefuck.cs | 2 +- NPCs/Calamitas/CalamitasRun3.cs | 2 +- NPCs/CalamityGlobalNPCLoot.cs | 8 +++--- NPCs/DraedonLabThings/RepairUnitCritter.cs | 2 +- NPCs/HiveMind/HiveMind.cs | 2 +- NPCs/Leviathan/Leviathan.cs | 2 +- NPCs/NormalNPCs/CrimulanBlightSlime.cs | 2 +- NPCs/NormalNPCs/EbonianBlightSlime.cs | 2 +- NPCs/NormalNPCs/Eidolist.cs | 2 +- NPCs/NormalNPCs/ShockstormShuttle.cs | 2 +- NPCs/NormalNPCs/SunBat.cs | 2 +- NPCs/NormalNPCs/Sunskater.cs | 2 +- NPCs/NormalNPCs/ThiccWaifu.cs | 2 +- NPCs/PlagueEnemies/PlagueBee.cs | 2 +- NPCs/PlagueEnemies/PlagueBeeLarge.cs | 2 +- NPCs/PlagueEnemies/PlaguebringerShade.cs | 2 +- NPCs/PlagueEnemies/PlaguedDerpling.cs | 2 +- NPCs/PlagueEnemies/PlaguedFlyingFox.cs | 2 +- NPCs/PlagueEnemies/PlaguedJungleSlime.cs | 2 +- NPCs/PlagueEnemies/PlaguedTortoise.cs | 2 +- .../PlaguebringerGoliath.cs | 2 +- NPCs/SupremeCalamitas/SupremeCalamitas.cs | 2 +- Projectiles/Typeless/ChaoticSpreadBobber.cs | 2 +- TileEntities/TEChargingStation.cs | 2 +- TileEntities/TECodebreaker.cs | 2 +- TileEntities/TEPowerCellFactory.cs | 2 +- Tiles/Abyss/LumenylCrystals.cs | 2 +- Tiles/ChaoticBarPlaced.cs | 2 +- Tiles/CryonicBar.cs | 2 +- Tiles/DraedonStructures/ChargingStation.cs | 2 +- Tiles/DraedonStructures/PowerCellFactory.cs | 2 +- Tiles/Furniture/SCalAltar.cs | 8 +++--- Tiles/PerennialBar.cs | 2 +- Tiles/UelibloomBar.cs | 2 +- UI/ChargingStationUI.cs | 2 +- UI/CodebreakerUI.cs | 4 +-- UI/PowerCellFactoryUI.cs | 2 +- Utilities/CalamityRecipes.cs | 4 +-- 436 files changed, 519 insertions(+), 496 deletions(-) rename Items/DraedonMisc/{PowerCell.cs => DraedonPowerCell.cs} (94%) rename Items/DraedonMisc/{PowerCell.png => DraedonPowerCell.png} (100%) rename Items/Fishing/FishingRods/{ChaoticSpreadRod.cs => RiftReeler.cs} (94%) rename Items/Fishing/FishingRods/{ChaoticSpreadRod.png => RiftReeler.png} (100%) rename Items/LabFinders/{MysteriousMechanism.cs => LabSeekingMechanism.cs} (91%) rename Items/LabFinders/{MysteriousMechanism.png => LabSeekingMechanism.png} (100%) rename Items/LoreItems/{KnowledgeBumblebirb.cs => KnowledgeDragonfolly.cs} (93%) rename Items/LoreItems/{KnowledgeBumblebirb.png => KnowledgeDragonfolly.png} (100%) rename Items/LoreItems/{KnowledgeLeviathanandSiren.cs => KnowledgeLeviathanAnahita.cs} (91%) rename Items/LoreItems/{KnowledgeLeviathanandSiren.png => KnowledgeLeviathanAnahita.png} (100%) rename Items/Materials/{CalamitousEssence.cs => AshesofAnnihilation.cs} (97%) rename Items/Materials/{CalamitousEssence.png => AshesofAnnihilation.png} (100%) rename Items/Materials/{CalamityDust.cs => AshesofCalamity.cs} (93%) rename Items/Materials/{CalamityDust.png => AshesofCalamity.png} (100%) rename Items/Materials/{EbonianGel.cs => BlightedGel.cs} (89%) rename Items/Materials/{EbonianGel.png => BlightedGel.png} (100%) rename Items/Materials/{EbonianGelRed.png => BlightedGelRed.png} (100%) rename Items/Materials/{CoreofCinder.cs => CoreofSunlight.cs} (89%) rename Items/Materials/{CoreofCinder.png => CoreofSunlight.png} (100%) rename Items/Materials/{CoreofCinderGlow.png => CoreofSunlightGlow.png} (100%) rename Items/Materials/{VerstaltiteBar.cs => CryonicBar.cs} (93%) rename Items/Materials/{VerstaltiteBar.png => CryonicBar.png} (100%) rename Items/Materials/{EssenceofCinder.cs => EssenceofSunlight.cs} (94%) rename Items/Materials/{EssenceofCinder.png => EssenceofSunlight.png} (100%) rename Items/Materials/{BarofLife.cs => LifeAlloy.cs} (77%) rename Items/Materials/{BarofLife.png => LifeAlloy.png} (100%) rename Items/Materials/{Lumenite.cs => Lumenyl.cs} (91%) rename Items/Materials/{Lumenite.png => Lumenyl.png} (100%) rename Items/Materials/{MeldiateBar.cs => MeldConstruct.cs} (91%) rename Items/Materials/{MeldiateBar.png => MeldConstruct.png} (100%) rename Items/Materials/{DraedonBar.cs => PerennialBar.cs} (87%) rename Items/Materials/{DraedonBar.png => PerennialBar.png} (100%) rename Items/Materials/{PlagueCellCluster.cs => PlagueCellCanister.cs} (86%) rename Items/Materials/{PlagueCellCluster.png => PlagueCellCanister.png} (100%) rename Items/Materials/{TrueShadowScale.cs => RottenMatter.cs} (84%) rename Items/Materials/{TrueShadowScale.png => RottenMatter.png} (100%) rename Items/Materials/{CruptixBar.cs => ScoriaBar.cs} (92%) rename Items/Materials/{CruptixBar.png => ScoriaBar.png} (100%) rename Items/Materials/{CruptixBar_Animated.png => ScoriaBar_Animated.png} (100%) rename Items/Materials/{SulfuricScale.cs => SulphuricScale.cs} (84%) rename Items/Materials/{SulfuricScale.png => SulphuricScale.png} (100%) rename Items/Materials/{UeliaceBar.cs => UelibloomBar.cs} (82%) rename Items/Materials/{UeliaceBar.png => UelibloomBar.png} (100%) diff --git a/CalamityConfig.cs b/CalamityConfig.cs index 45ed8647e6..2a60f6ecb4 100644 --- a/CalamityConfig.cs +++ b/CalamityConfig.cs @@ -349,7 +349,7 @@ namespace CalamityMod new("StealthMeterPosX", ItemID.LaserRuler), new("StealthMeterPosY", ItemID.LaserRuler), - new("ChargeMeter", ModContent.ItemType()), + new("ChargeMeter", ModContent.ItemType()), new("ChargeMeterPosX", ItemID.LaserRuler), new("ChargeMeterPosY", ItemID.LaserRuler), diff --git a/CalamityLists.cs b/CalamityLists.cs index b92dd755dc..efa7544292 100644 --- a/CalamityLists.cs +++ b/CalamityLists.cs @@ -1638,10 +1638,10 @@ namespace CalamityMod { ItemType(), ItemType(), - ItemType(), + ItemType(), ItemType(), ItemType(), - ItemType(), + ItemType(), ItemType(), ItemType(), ItemType(), @@ -1663,7 +1663,7 @@ namespace CalamityMod ItemType(), ItemType(), ItemType(), - ItemType(), + ItemType(), ItemType(), ItemType(), ItemType(), @@ -1680,7 +1680,7 @@ namespace CalamityMod ItemType(), ItemType(), ItemType(), - ItemType(), + ItemType(), ItemType(), ItemType(), ItemType(), @@ -1708,7 +1708,7 @@ namespace CalamityMod lavaFishList = new List() { ItemType(), - ItemType(), + ItemType(), ItemType() }; @@ -1757,7 +1757,7 @@ namespace CalamityMod ItemType(), ItemType(), ItemType(), - ItemType(), + ItemType(), ItemType(), ItemType(), ItemType(), diff --git a/Items/Accessories/AbyssalDivingGear.cs b/Items/Accessories/AbyssalDivingGear.cs index 6b95f1ad29..de478cff7a 100644 --- a/Items/Accessories/AbyssalDivingGear.cs +++ b/Items/Accessories/AbyssalDivingGear.cs @@ -73,7 +73,7 @@ namespace CalamityMod.Items.Accessories AddIngredient(ItemID.ArcticDivingGear). AddIngredient(). AddIngredient(10). - AddIngredient(10). + AddIngredient(10). AddTile(TileID.MythrilAnvil). Register(); } diff --git a/Items/Accessories/AbyssalDivingSuit.cs b/Items/Accessories/AbyssalDivingSuit.cs index 0c88cb7e8c..e567433003 100644 --- a/Items/Accessories/AbyssalDivingSuit.cs +++ b/Items/Accessories/AbyssalDivingSuit.cs @@ -79,7 +79,7 @@ namespace CalamityMod.Items.Accessories AddIngredient(). AddIngredient(). AddIngredient(15). - AddIngredient(40). + AddIngredient(40). AddIngredient(40). AddIngredient(15). AddIngredient(ItemID.LunarBar, 5). diff --git a/Items/Accessories/AbyssalMirror.cs b/Items/Accessories/AbyssalMirror.cs index 80316b4715..16767ac5a8 100644 --- a/Items/Accessories/AbyssalMirror.cs +++ b/Items/Accessories/AbyssalMirror.cs @@ -47,7 +47,7 @@ namespace CalamityMod.Items.Accessories AddIngredient(ItemID.SpectreBar, 8). AddIngredient(10). AddIngredient(5). - AddIngredient(5). + AddIngredient(5). AddTile(TileID.MythrilAnvil). Register(); } diff --git a/Items/Accessories/AlchemicalFlask.cs b/Items/Accessories/AlchemicalFlask.cs index 9d09bf008a..3b497861e6 100644 --- a/Items/Accessories/AlchemicalFlask.cs +++ b/Items/Accessories/AlchemicalFlask.cs @@ -38,7 +38,7 @@ namespace CalamityMod.Items.Accessories CreateRecipe(). AddIngredient(ItemID.BottledWater). AddIngredient(ItemID.BeeWax, 5). - AddIngredient(10). + AddIngredient(10). AddTile(TileID.MythrilAnvil). Register(); } diff --git a/Items/Accessories/AmbrosialAmpoule.cs b/Items/Accessories/AmbrosialAmpoule.cs index d6c691d06a..90f2fa7070 100644 --- a/Items/Accessories/AmbrosialAmpoule.cs +++ b/Items/Accessories/AmbrosialAmpoule.cs @@ -40,7 +40,7 @@ namespace CalamityMod.Items.Accessories CreateRecipe(). AddIngredient(). AddIngredient(). - AddIngredient(5). + AddIngredient(5). AddIngredient(10). AddTile(TileID.MythrilAnvil). Register(); @@ -48,7 +48,7 @@ namespace CalamityMod.Items.Accessories CreateRecipe(). AddIngredient(). AddIngredient(). - AddIngredient(5). + AddIngredient(5). AddIngredient(10). AddTile(TileID.MythrilAnvil). Register(); diff --git a/Items/Accessories/AngelTreads.cs b/Items/Accessories/AngelTreads.cs index f7a06357c4..cdc398a5ca 100644 --- a/Items/Accessories/AngelTreads.cs +++ b/Items/Accessories/AngelTreads.cs @@ -50,7 +50,7 @@ namespace CalamityMod.Items.Accessories CreateRecipe(). AddIngredient(ItemID.TerrasparkBoots). AddIngredient(). - AddIngredient(5). + AddIngredient(5). AddIngredient(ItemID.SoulofMight). AddIngredient(ItemID.SoulofSight). AddIngredient(ItemID.SoulofFright). diff --git a/Items/Accessories/BadgeofBravery.cs b/Items/Accessories/BadgeofBravery.cs index 3c54867dec..84df0cf95d 100644 --- a/Items/Accessories/BadgeofBravery.cs +++ b/Items/Accessories/BadgeofBravery.cs @@ -38,7 +38,7 @@ namespace CalamityMod.Items.Accessories { CreateRecipe(). AddIngredient(ItemID.FeralClaws). - AddIngredient(2). + AddIngredient(2). AddTile(TileID.LunarCraftingStation). Register(); } diff --git a/Items/Accessories/DarkGodsSheath.cs b/Items/Accessories/DarkGodsSheath.cs index 26fa982c8c..005f809f6a 100644 --- a/Items/Accessories/DarkGodsSheath.cs +++ b/Items/Accessories/DarkGodsSheath.cs @@ -44,7 +44,7 @@ namespace CalamityMod.Items.Accessories CreateRecipe(). AddIngredient(). AddIngredient(). - AddIngredient(5). + AddIngredient(5). AddTile(TileID.LunarCraftingStation). Register(); } diff --git a/Items/Accessories/DarkSunRing.cs b/Items/Accessories/DarkSunRing.cs index 15f0a3b04f..7099325cbf 100644 --- a/Items/Accessories/DarkSunRing.cs +++ b/Items/Accessories/DarkSunRing.cs @@ -46,7 +46,7 @@ namespace CalamityMod.Items.Accessories public override void AddRecipes() { CreateRecipe(). - AddIngredient(10). + AddIngredient(10). AddIngredient(20). AddTile(). Register(); diff --git a/Items/Accessories/FilthyGlove.cs b/Items/Accessories/FilthyGlove.cs index e2d1539fbf..32428b1a48 100644 --- a/Items/Accessories/FilthyGlove.cs +++ b/Items/Accessories/FilthyGlove.cs @@ -36,7 +36,7 @@ namespace CalamityMod.Items.Accessories CreateRecipe(). AddIngredient(ItemID.RottenChunk, 4). AddIngredient(ItemID.DemoniteBar, 4). - AddIngredient(5). + AddIngredient(5). AddTile(TileID.DemonAltar). Register(); } diff --git a/Items/Accessories/LumenousAmulet.cs b/Items/Accessories/LumenousAmulet.cs index 8399c76936..aa826cfaf4 100644 --- a/Items/Accessories/LumenousAmulet.cs +++ b/Items/Accessories/LumenousAmulet.cs @@ -42,7 +42,7 @@ namespace CalamityMod.Items.Accessories { CreateRecipe(). AddIngredient(). - AddIngredient(15). + AddIngredient(15). AddIngredient(5). AddIngredient(10). AddTile(TileID.MythrilAnvil). diff --git a/Items/Accessories/NecklaceofVexation.cs b/Items/Accessories/NecklaceofVexation.cs index 4bfed20717..61e4ddab05 100644 --- a/Items/Accessories/NecklaceofVexation.cs +++ b/Items/Accessories/NecklaceofVexation.cs @@ -36,7 +36,7 @@ namespace CalamityMod.Items.Accessories { CreateRecipe(). AddIngredient(ItemID.AvengerEmblem). - AddIngredient(2). + AddIngredient(2). AddTile(TileID.MythrilAnvil). Register(); } diff --git a/Items/Accessories/OrnateShield.cs b/Items/Accessories/OrnateShield.cs index bd50bcda66..1b6a383468 100644 --- a/Items/Accessories/OrnateShield.cs +++ b/Items/Accessories/OrnateShield.cs @@ -47,7 +47,7 @@ namespace CalamityMod.Items.Accessories public override void AddRecipes() { CreateRecipe(). - AddIngredient(5). + AddIngredient(5). AddIngredient(ItemID.CrystalShard, 10). AddTile(TileID.MythrilAnvil). Register(); diff --git a/Items/Accessories/ProfanedSoulCrystal.cs b/Items/Accessories/ProfanedSoulCrystal.cs index 147e0000a2..6b336d8ace 100644 --- a/Items/Accessories/ProfanedSoulCrystal.cs +++ b/Items/Accessories/ProfanedSoulCrystal.cs @@ -317,8 +317,8 @@ namespace CalamityMod.Items.Accessories CreateRecipe(). AddIngredient(). AddIngredient(ItemID.ObsidianRose). - AddIngredient(5). - AddIngredient(25). + AddIngredient(5). + AddIngredient(25). AddIngredient(50). AddIngredient(100). AddIngredient(5). diff --git a/Items/Accessories/RadiantOoze.cs b/Items/Accessories/RadiantOoze.cs index 12d0365bb9..f55424af91 100644 --- a/Items/Accessories/RadiantOoze.cs +++ b/Items/Accessories/RadiantOoze.cs @@ -31,7 +31,7 @@ namespace CalamityMod.Items.Accessories public override void AddRecipes() { CreateRecipe(). - AddIngredient(45). + AddIngredient(45). AddIngredient(15). AddTile(TileID.Anvils). Register(); diff --git a/Items/Accessories/ReaperToothNecklace.cs b/Items/Accessories/ReaperToothNecklace.cs index e74c488e93..3136229d9c 100644 --- a/Items/Accessories/ReaperToothNecklace.cs +++ b/Items/Accessories/ReaperToothNecklace.cs @@ -36,7 +36,7 @@ namespace CalamityMod.Items.Accessories CreateRecipe(). AddIngredient(). AddIngredient(6). - AddIngredient(15). + AddIngredient(15). AddIngredient(15). AddIngredient(5). AddTile(TileID.TinkerersWorkbench). diff --git a/Items/Accessories/RustyMedallion.cs b/Items/Accessories/RustyMedallion.cs index 99289a536d..0a9649fe31 100644 --- a/Items/Accessories/RustyMedallion.cs +++ b/Items/Accessories/RustyMedallion.cs @@ -36,7 +36,7 @@ namespace CalamityMod.Items.Accessories public override void AddRecipes() { CreateRecipe(). - AddIngredient(20). + AddIngredient(20). AddRecipeGroup("IronBar", 10). AddTile(TileID.Anvils). Register(); diff --git a/Items/Accessories/SigilofCalamitas.cs b/Items/Accessories/SigilofCalamitas.cs index 387ffeb04d..79d1cd1a46 100644 --- a/Items/Accessories/SigilofCalamitas.cs +++ b/Items/Accessories/SigilofCalamitas.cs @@ -40,9 +40,9 @@ namespace CalamityMod.Items.Accessories CreateRecipe(). AddIngredient(ItemID.CelestialEmblem). AddRecipeGroup("AnyEvilWater", 10). - AddIngredient(5). + AddIngredient(5). AddIngredient(5). - AddIngredient(2). + AddIngredient(2). AddTile(TileID.MythrilAnvil). Register(); } diff --git a/Items/Accessories/StarTaintedGenerator.cs b/Items/Accessories/StarTaintedGenerator.cs index 6bbddb82b1..56ef60e909 100644 --- a/Items/Accessories/StarTaintedGenerator.cs +++ b/Items/Accessories/StarTaintedGenerator.cs @@ -42,7 +42,7 @@ namespace CalamityMod.Items.Accessories AddIngredient(). AddIngredient(). AddIngredient(). - AddIngredient(3). + AddIngredient(3). AddTile(TileID.MythrilAnvil). Register(); } diff --git a/Items/Accessories/StatisBlessing.cs b/Items/Accessories/StatisBlessing.cs index d701934642..c81bc17c11 100644 --- a/Items/Accessories/StatisBlessing.cs +++ b/Items/Accessories/StatisBlessing.cs @@ -42,7 +42,7 @@ namespace CalamityMod.Items.Accessories AddIngredient(ItemID.PygmyNecklace). AddIngredient(ItemID.SummonerEmblem). AddIngredient(ItemID.HolyWater, 30). - AddIngredient(5). + AddIngredient(5). AddTile(TileID.MythrilAnvil). Register(); } diff --git a/Items/Accessories/TheAbsorber.cs b/Items/Accessories/TheAbsorber.cs index 38f398a8ae..43b94cd9a6 100644 --- a/Items/Accessories/TheAbsorber.cs +++ b/Items/Accessories/TheAbsorber.cs @@ -57,7 +57,7 @@ namespace CalamityMod.Items.Accessories AddIngredient(). AddIngredient(). AddIngredient(15). - AddIngredient(15). + AddIngredient(15). AddIngredient(5). AddIngredient(5). AddTile(TileID.LunarCraftingStation). @@ -71,7 +71,7 @@ namespace CalamityMod.Items.Accessories AddIngredient(). AddIngredient(). AddIngredient(15). - AddIngredient(15). + AddIngredient(15). AddIngredient(5). AddIngredient(5). AddTile(TileID.LunarCraftingStation). diff --git a/Items/Accessories/TheAmalgam.cs b/Items/Accessories/TheAmalgam.cs index 0feecbe798..12296233a1 100644 --- a/Items/Accessories/TheAmalgam.cs +++ b/Items/Accessories/TheAmalgam.cs @@ -67,8 +67,8 @@ namespace CalamityMod.Items.Accessories AddIngredient(). AddIngredient(5). AddIngredient(10). - AddIngredient(15). - AddIngredient(15). + AddIngredient(15). + AddIngredient(15). AddIngredient(5). AddIngredient(4). AddTile(). diff --git a/Items/Accessories/VoidofExtinction.cs b/Items/Accessories/VoidofExtinction.cs index ec75bcf589..1bbf033af6 100644 --- a/Items/Accessories/VoidofExtinction.cs +++ b/Items/Accessories/VoidofExtinction.cs @@ -47,7 +47,7 @@ namespace CalamityMod.Items.Accessories AddIngredient(). AddIngredient(). AddIngredient(). - AddIngredient(3). + AddIngredient(3). AddTile(TileID.MythrilAnvil). Register(); } diff --git a/Items/Accessories/Wings/AureateBooster.cs b/Items/Accessories/Wings/AureateBooster.cs index c88f54c59c..2afbee26ce 100644 --- a/Items/Accessories/Wings/AureateBooster.cs +++ b/Items/Accessories/Wings/AureateBooster.cs @@ -100,8 +100,8 @@ namespace CalamityMod.Items.Accessories.Wings public override void AddRecipes() { CreateRecipe(). - AddIngredient(5). - AddIngredient(). + AddIngredient(5). + AddIngredient(). AddIngredient(ItemID.SoulofFlight, 20). AddTile(TileID.MythrilAnvil). Register(); diff --git a/Items/Accessories/Wings/ExodusWings.cs b/Items/Accessories/Wings/ExodusWings.cs index 5dc32e66f9..a21b825c7d 100644 --- a/Items/Accessories/Wings/ExodusWings.cs +++ b/Items/Accessories/Wings/ExodusWings.cs @@ -74,7 +74,7 @@ namespace CalamityMod.Items.Accessories.Wings public override void AddRecipes() { CreateRecipe(). - AddIngredient(5). + AddIngredient(5). AddIngredient(ItemID.LunarBar, 10). AddTile(TileID.LunarCraftingStation). Register(); diff --git a/Items/Accessories/Wings/HadalMantle.cs b/Items/Accessories/Wings/HadalMantle.cs index 098a18d041..53a5f4d6cd 100644 --- a/Items/Accessories/Wings/HadalMantle.cs +++ b/Items/Accessories/Wings/HadalMantle.cs @@ -76,7 +76,7 @@ namespace CalamityMod.Items.Accessories.Wings public override void AddRecipes() { CreateRecipe(). - AddIngredient(5). + AddIngredient(5). AddIngredient(). AddIngredient(ItemID.SoulofFlight, 20). AddTile(TileID.MythrilAnvil). diff --git a/Items/Accessories/Wings/SeraphTracers.cs b/Items/Accessories/Wings/SeraphTracers.cs index f8d81e3968..8a78abf0c3 100644 --- a/Items/Accessories/Wings/SeraphTracers.cs +++ b/Items/Accessories/Wings/SeraphTracers.cs @@ -86,7 +86,7 @@ namespace CalamityMod.Items.Accessories.Wings AddIngredient(). AddRecipeGroup("WingsGroup"). AddIngredient(3). - AddIngredient(5). + AddIngredient(5). AddIngredient(ItemID.LunarBar, 5). AddTile(TileID.LunarCraftingStation). Register(); diff --git a/Items/Accessories/Wings/StarlightWings.cs b/Items/Accessories/Wings/StarlightWings.cs index 28c84e9c78..663cd73fb8 100644 --- a/Items/Accessories/Wings/StarlightWings.cs +++ b/Items/Accessories/Wings/StarlightWings.cs @@ -76,7 +76,7 @@ namespace CalamityMod.Items.Accessories.Wings public override void AddRecipes() { CreateRecipe(). - AddIngredient(5). + AddIngredient(5). AddIngredient(). AddIngredient(ItemID.SoulofFlight, 20). AddTile(TileID.MythrilAnvil). diff --git a/Items/Accessories/Wings/TarragonWings.cs b/Items/Accessories/Wings/TarragonWings.cs index 929073a425..628bd951ef 100644 --- a/Items/Accessories/Wings/TarragonWings.cs +++ b/Items/Accessories/Wings/TarragonWings.cs @@ -78,7 +78,7 @@ namespace CalamityMod.Items.Accessories.Wings public override void AddRecipes() { CreateRecipe(). - AddIngredient(5). + AddIngredient(5). AddIngredient(ItemID.SoulofFlight, 30). AddTile(TileID.LunarCraftingStation). Register(); diff --git a/Items/Accessories/YharimsInsignia.cs b/Items/Accessories/YharimsInsignia.cs index 51eeaf34f9..22ca50b43d 100644 --- a/Items/Accessories/YharimsInsignia.cs +++ b/Items/Accessories/YharimsInsignia.cs @@ -42,7 +42,7 @@ namespace CalamityMod.Items.Accessories CreateRecipe(). AddIngredient(ItemID.WarriorEmblem). AddIngredient(). - AddIngredient(5). + AddIngredient(5). AddIngredient(5). AddTile(TileID.LunarCraftingStation). Register(); diff --git a/Items/Ammo/AcidRound.cs b/Items/Ammo/AcidRound.cs index 9f74c0d4ef..ec1ec8aa3f 100644 --- a/Items/Ammo/AcidRound.cs +++ b/Items/Ammo/AcidRound.cs @@ -37,7 +37,7 @@ namespace CalamityMod.Items.Ammo { CreateRecipe(150). AddIngredient(ItemID.MusketBall, 150). - AddIngredient(). + AddIngredient(). AddTile(TileID.MythrilAnvil). Register(); } diff --git a/Items/Ammo/ArcticArrow.cs b/Items/Ammo/ArcticArrow.cs index 7e947c10d3..0c7f956cec 100644 --- a/Items/Ammo/ArcticArrow.cs +++ b/Items/Ammo/ArcticArrow.cs @@ -34,7 +34,7 @@ namespace CalamityMod.Items.Ammo public override void AddRecipes() { CreateRecipe(250). - AddIngredient(). + AddIngredient(). AddTile(TileID.IceMachine). Register(); } diff --git a/Items/Ammo/HyperiusBullet.cs b/Items/Ammo/HyperiusBullet.cs index 0d3f2696a6..cca9a1334a 100644 --- a/Items/Ammo/HyperiusBullet.cs +++ b/Items/Ammo/HyperiusBullet.cs @@ -36,7 +36,7 @@ namespace CalamityMod.Items.Ammo { CreateRecipe(150). AddIngredient(ItemID.MusketBall, 150). - AddIngredient(). + AddIngredient(). AddTile(TileID.MythrilAnvil). Register(); } diff --git a/Items/Ammo/MortarRound.cs b/Items/Ammo/MortarRound.cs index 2c9dc6cac0..1edc29fd95 100644 --- a/Items/Ammo/MortarRound.cs +++ b/Items/Ammo/MortarRound.cs @@ -35,7 +35,7 @@ namespace CalamityMod.Items.Ammo { CreateRecipe(100). AddIngredient(ItemID.RocketIV, 100). - AddIngredient(). + AddIngredient(). AddTile(TileID.LunarCraftingStation). Register(); } diff --git a/Items/Ammo/VeriumBullet.cs b/Items/Ammo/VeriumBullet.cs index e449ee84d8..2e5ba59c64 100644 --- a/Items/Ammo/VeriumBullet.cs +++ b/Items/Ammo/VeriumBullet.cs @@ -36,7 +36,7 @@ namespace CalamityMod.Items.Ammo { CreateRecipe(100). AddIngredient(ItemID.MusketBall, 100). - AddIngredient(). + AddIngredient(). AddTile(TileID.MythrilAnvil). Register(); } diff --git a/Items/Armor/Brimflame/BrimflameBoots.cs b/Items/Armor/Brimflame/BrimflameBoots.cs index 24f913c744..e4d4ccbffa 100644 --- a/Items/Armor/Brimflame/BrimflameBoots.cs +++ b/Items/Armor/Brimflame/BrimflameBoots.cs @@ -35,7 +35,7 @@ namespace CalamityMod.Items.Armor.Brimflame public override void AddRecipes() { CreateRecipe(). - AddIngredient(5). + AddIngredient(5). AddIngredient(3). AddTile(TileID.MythrilAnvil). Register(); diff --git a/Items/Armor/Brimflame/BrimflameRobes.cs b/Items/Armor/Brimflame/BrimflameRobes.cs index 1dd388e5f6..979b2d2b14 100644 --- a/Items/Armor/Brimflame/BrimflameRobes.cs +++ b/Items/Armor/Brimflame/BrimflameRobes.cs @@ -36,7 +36,7 @@ namespace CalamityMod.Items.Armor.Brimflame { CreateRecipe(). AddIngredient(ItemID.ObsidianRose). - AddIngredient(8). + AddIngredient(8). AddIngredient(4). AddTile(TileID.MythrilAnvil). Register(); diff --git a/Items/Armor/Brimflame/BrimflameScowl.cs b/Items/Armor/Brimflame/BrimflameScowl.cs index 19d0d275ef..6c868a2fb8 100644 --- a/Items/Armor/Brimflame/BrimflameScowl.cs +++ b/Items/Armor/Brimflame/BrimflameScowl.cs @@ -92,7 +92,7 @@ namespace CalamityMod.Items.Armor.Brimflame public override void AddRecipes() { CreateRecipe(). - AddIngredient(4). + AddIngredient(4). AddIngredient(2). AddTile(TileID.MythrilAnvil). Register(); diff --git a/Items/Armor/Daedalus/DaedalusBreastplate.cs b/Items/Armor/Daedalus/DaedalusBreastplate.cs index 7d17a35da1..cdfa785772 100644 --- a/Items/Armor/Daedalus/DaedalusBreastplate.cs +++ b/Items/Armor/Daedalus/DaedalusBreastplate.cs @@ -33,7 +33,7 @@ namespace CalamityMod.Items.Armor.Daedalus public override void AddRecipes() { CreateRecipe(). - AddIngredient(15). + AddIngredient(15). AddIngredient(ItemID.CrystalShard, 6). AddIngredient(3). AddTile(TileID.MythrilAnvil). diff --git a/Items/Armor/Daedalus/DaedalusHeadMagic.cs b/Items/Armor/Daedalus/DaedalusHeadMagic.cs index 21ffed537b..272d62fc23 100644 --- a/Items/Armor/Daedalus/DaedalusHeadMagic.cs +++ b/Items/Armor/Daedalus/DaedalusHeadMagic.cs @@ -59,7 +59,7 @@ namespace CalamityMod.Items.Armor.Daedalus public override void AddRecipes() { CreateRecipe(). - AddIngredient(8). + AddIngredient(8). AddIngredient(ItemID.CrystalShard, 3). AddIngredient(). AddTile(TileID.MythrilAnvil). diff --git a/Items/Armor/Daedalus/DaedalusHeadMelee.cs b/Items/Armor/Daedalus/DaedalusHeadMelee.cs index 5ee6d5a462..c2fb0c053d 100644 --- a/Items/Armor/Daedalus/DaedalusHeadMelee.cs +++ b/Items/Armor/Daedalus/DaedalusHeadMelee.cs @@ -61,7 +61,7 @@ namespace CalamityMod.Items.Armor.Daedalus public override void AddRecipes() { CreateRecipe(). - AddIngredient(8). + AddIngredient(8). AddIngredient(ItemID.CrystalShard, 3). AddIngredient(). AddTile(TileID.MythrilAnvil). diff --git a/Items/Armor/Daedalus/DaedalusHeadRanged.cs b/Items/Armor/Daedalus/DaedalusHeadRanged.cs index 28ec930522..b799e2c048 100644 --- a/Items/Armor/Daedalus/DaedalusHeadRanged.cs +++ b/Items/Armor/Daedalus/DaedalusHeadRanged.cs @@ -57,7 +57,7 @@ namespace CalamityMod.Items.Armor.Daedalus public override void AddRecipes() { CreateRecipe(). - AddIngredient(8). + AddIngredient(8). AddIngredient(ItemID.CrystalShard, 3). AddIngredient(). AddTile(TileID.MythrilAnvil). diff --git a/Items/Armor/Daedalus/DaedalusHeadRogue.cs b/Items/Armor/Daedalus/DaedalusHeadRogue.cs index 509e95c1c5..f354b1524e 100644 --- a/Items/Armor/Daedalus/DaedalusHeadRogue.cs +++ b/Items/Armor/Daedalus/DaedalusHeadRogue.cs @@ -64,7 +64,7 @@ namespace CalamityMod.Items.Armor.Daedalus public override void AddRecipes() { CreateRecipe(). - AddIngredient(8). + AddIngredient(8). AddIngredient(ItemID.CrystalShard, 3). AddIngredient(). AddTile(TileID.MythrilAnvil). diff --git a/Items/Armor/Daedalus/DaedalusHeadSummon.cs b/Items/Armor/Daedalus/DaedalusHeadSummon.cs index b33894c950..a04beeb84a 100644 --- a/Items/Armor/Daedalus/DaedalusHeadSummon.cs +++ b/Items/Armor/Daedalus/DaedalusHeadSummon.cs @@ -72,7 +72,7 @@ namespace CalamityMod.Items.Armor.Daedalus public override void AddRecipes() { CreateRecipe(). - AddIngredient(8). + AddIngredient(8). AddIngredient(ItemID.CrystalShard, 3). AddIngredient(). AddTile(TileID.MythrilAnvil). diff --git a/Items/Armor/Daedalus/DaedalusLeggings.cs b/Items/Armor/Daedalus/DaedalusLeggings.cs index be39e1cd31..07bd2b02c4 100644 --- a/Items/Armor/Daedalus/DaedalusLeggings.cs +++ b/Items/Armor/Daedalus/DaedalusLeggings.cs @@ -34,7 +34,7 @@ namespace CalamityMod.Items.Armor.Daedalus public override void AddRecipes() { CreateRecipe(). - AddIngredient(10). + AddIngredient(10). AddIngredient(ItemID.CrystalShard, 4). AddIngredient(2). AddTile(TileID.MythrilAnvil). diff --git a/Items/Armor/Empyrean/EmpyreanCloak.cs b/Items/Armor/Empyrean/EmpyreanCloak.cs index a30a96bea1..85ddf261c0 100644 --- a/Items/Armor/Empyrean/EmpyreanCloak.cs +++ b/Items/Armor/Empyrean/EmpyreanCloak.cs @@ -53,7 +53,7 @@ namespace CalamityMod.Items.Armor.Empyrean public override void AddRecipes() { CreateRecipe(). - AddIngredient(22). + AddIngredient(22). AddIngredient(ItemID.LunarBar, 16). AddTile(TileID.LunarCraftingStation). Register(); diff --git a/Items/Armor/Empyrean/EmpyreanCuisses.cs b/Items/Armor/Empyrean/EmpyreanCuisses.cs index 2d8aa1f320..fb40758062 100644 --- a/Items/Armor/Empyrean/EmpyreanCuisses.cs +++ b/Items/Armor/Empyrean/EmpyreanCuisses.cs @@ -36,7 +36,7 @@ namespace CalamityMod.Items.Armor.Empyrean public override void AddRecipes() { CreateRecipe(). - AddIngredient(18). + AddIngredient(18). AddIngredient(ItemID.LunarBar, 12). AddTile(TileID.LunarCraftingStation). Register(); diff --git a/Items/Armor/Empyrean/EmpyreanMask.cs b/Items/Armor/Empyrean/EmpyreanMask.cs index 1a69660ed5..38643169b5 100644 --- a/Items/Armor/Empyrean/EmpyreanMask.cs +++ b/Items/Armor/Empyrean/EmpyreanMask.cs @@ -96,7 +96,7 @@ namespace CalamityMod.Items.Armor.Empyrean public override void AddRecipes() { CreateRecipe(). - AddIngredient(12). + AddIngredient(12). AddIngredient(ItemID.LunarBar, 8). AddTile(TileID.LunarCraftingStation). Register(); diff --git a/Items/Armor/Hydrothermic/HydrothermicArmor.cs b/Items/Armor/Hydrothermic/HydrothermicArmor.cs index 1ffa9d56d9..9e4498b440 100644 --- a/Items/Armor/Hydrothermic/HydrothermicArmor.cs +++ b/Items/Armor/Hydrothermic/HydrothermicArmor.cs @@ -36,7 +36,7 @@ namespace CalamityMod.Items.Armor.Hydrothermic public override void AddRecipes() { CreateRecipe(). - AddIngredient(15). + AddIngredient(15). AddIngredient(ItemID.HellstoneBar, 8). AddIngredient(3). AddTile(TileID.MythrilAnvil). diff --git a/Items/Armor/Hydrothermic/HydrothermicHeadMagic.cs b/Items/Armor/Hydrothermic/HydrothermicHeadMagic.cs index 03111750a0..b2abc0f3b1 100644 --- a/Items/Armor/Hydrothermic/HydrothermicHeadMagic.cs +++ b/Items/Armor/Hydrothermic/HydrothermicHeadMagic.cs @@ -63,7 +63,7 @@ namespace CalamityMod.Items.Armor.Hydrothermic public override void AddRecipes() { CreateRecipe(). - AddIngredient(7). + AddIngredient(7). AddIngredient(ItemID.HellstoneBar, 4). AddIngredient(). AddTile(TileID.MythrilAnvil). diff --git a/Items/Armor/Hydrothermic/HydrothermicHeadMelee.cs b/Items/Armor/Hydrothermic/HydrothermicHeadMelee.cs index 06b10fa7b4..dbb8596f32 100644 --- a/Items/Armor/Hydrothermic/HydrothermicHeadMelee.cs +++ b/Items/Armor/Hydrothermic/HydrothermicHeadMelee.cs @@ -69,7 +69,7 @@ namespace CalamityMod.Items.Armor.Hydrothermic public override void AddRecipes() { CreateRecipe(). - AddIngredient(7). + AddIngredient(7). AddIngredient(ItemID.HellstoneBar, 4). AddIngredient(). AddTile(TileID.MythrilAnvil). diff --git a/Items/Armor/Hydrothermic/HydrothermicHeadRanged.cs b/Items/Armor/Hydrothermic/HydrothermicHeadRanged.cs index a36285e92c..9f323169e2 100644 --- a/Items/Armor/Hydrothermic/HydrothermicHeadRanged.cs +++ b/Items/Armor/Hydrothermic/HydrothermicHeadRanged.cs @@ -62,7 +62,7 @@ namespace CalamityMod.Items.Armor.Hydrothermic public override void AddRecipes() { CreateRecipe(). - AddIngredient(7). + AddIngredient(7). AddIngredient(ItemID.HellstoneBar, 4). AddIngredient(). AddTile(TileID.MythrilAnvil). diff --git a/Items/Armor/Hydrothermic/HydrothermicHeadRogue.cs b/Items/Armor/Hydrothermic/HydrothermicHeadRogue.cs index ebe4f9845e..c2e369e4f5 100644 --- a/Items/Armor/Hydrothermic/HydrothermicHeadRogue.cs +++ b/Items/Armor/Hydrothermic/HydrothermicHeadRogue.cs @@ -70,7 +70,7 @@ namespace CalamityMod.Items.Armor.Hydrothermic public override void AddRecipes() { CreateRecipe(). - AddIngredient(7). + AddIngredient(7). AddIngredient(ItemID.HellstoneBar, 4). AddIngredient(). AddTile(TileID.MythrilAnvil). diff --git a/Items/Armor/Hydrothermic/HydrothermicHeadSummon.cs b/Items/Armor/Hydrothermic/HydrothermicHeadSummon.cs index c468ee91f1..cadc96216f 100644 --- a/Items/Armor/Hydrothermic/HydrothermicHeadSummon.cs +++ b/Items/Armor/Hydrothermic/HydrothermicHeadSummon.cs @@ -79,7 +79,7 @@ namespace CalamityMod.Items.Armor.Hydrothermic public override void AddRecipes() { CreateRecipe(). - AddIngredient(7). + AddIngredient(7). AddIngredient(ItemID.HellstoneBar, 4). AddIngredient(). AddTile(TileID.MythrilAnvil). diff --git a/Items/Armor/Hydrothermic/HydrothermicSubligar.cs b/Items/Armor/Hydrothermic/HydrothermicSubligar.cs index 191f818b10..6ec0ffa368 100644 --- a/Items/Armor/Hydrothermic/HydrothermicSubligar.cs +++ b/Items/Armor/Hydrothermic/HydrothermicSubligar.cs @@ -35,7 +35,7 @@ namespace CalamityMod.Items.Armor.Hydrothermic public override void AddRecipes() { CreateRecipe(). - AddIngredient(10). + AddIngredient(10). AddIngredient(ItemID.HellstoneBar, 5). AddIngredient(2). AddTile(TileID.MythrilAnvil). diff --git a/Items/Armor/OmegaBlue/OmegaBlueChestplate.cs b/Items/Armor/OmegaBlue/OmegaBlueChestplate.cs index 05003340c6..78c3676393 100644 --- a/Items/Armor/OmegaBlue/OmegaBlueChestplate.cs +++ b/Items/Armor/OmegaBlue/OmegaBlueChestplate.cs @@ -42,7 +42,7 @@ No positive life regen"); { CreateRecipe(). AddIngredient(12). - AddIngredient(8). + AddIngredient(8). AddIngredient(8). AddIngredient(4). AddTile(TileID.LunarCraftingStation). diff --git a/Items/Armor/OmegaBlue/OmegaBlueHelmet.cs b/Items/Armor/OmegaBlue/OmegaBlueHelmet.cs index f7c0d09239..45bdfbf923 100644 --- a/Items/Armor/OmegaBlue/OmegaBlueHelmet.cs +++ b/Items/Armor/OmegaBlue/OmegaBlueHelmet.cs @@ -99,7 +99,7 @@ namespace CalamityMod.Items.Armor.OmegaBlue { CreateRecipe(). AddIngredient(8). - AddIngredient(5). + AddIngredient(5). AddIngredient(5). AddIngredient(2). AddTile(TileID.LunarCraftingStation). diff --git a/Items/Armor/OmegaBlue/OmegaBlueTentacles.cs b/Items/Armor/OmegaBlue/OmegaBlueTentacles.cs index 31fd137e41..f1bf228edf 100644 --- a/Items/Armor/OmegaBlue/OmegaBlueTentacles.cs +++ b/Items/Armor/OmegaBlue/OmegaBlueTentacles.cs @@ -39,7 +39,7 @@ namespace CalamityMod.Items.Armor.OmegaBlue { CreateRecipe(). AddIngredient(10). - AddIngredient(6). + AddIngredient(6). AddIngredient(6). AddIngredient(3). AddTile(TileID.LunarCraftingStation). diff --git a/Items/Armor/PlagueReaper/PlagueReaperMask.cs b/Items/Armor/PlagueReaper/PlagueReaperMask.cs index 0316a6764c..2fa3b9f84f 100644 --- a/Items/Armor/PlagueReaper/PlagueReaperMask.cs +++ b/Items/Armor/PlagueReaper/PlagueReaperMask.cs @@ -89,14 +89,14 @@ namespace CalamityMod.Items.Armor.PlagueReaper { CreateRecipe(). AddIngredient(ItemID.NecroHelmet). - AddIngredient(15). + AddIngredient(15). AddIngredient(ItemID.Nanites, 11). AddTile(TileID.MythrilAnvil). Register(); CreateRecipe(). AddIngredient(ItemID.AncientNecroHelmet). - AddIngredient(15). + AddIngredient(15). AddIngredient(ItemID.Nanites, 11). AddTile(TileID.MythrilAnvil). Register(); diff --git a/Items/Armor/PlagueReaper/PlagueReaperStriders.cs b/Items/Armor/PlagueReaper/PlagueReaperStriders.cs index 9a0dbe5870..358a6cfa6e 100644 --- a/Items/Armor/PlagueReaper/PlagueReaperStriders.cs +++ b/Items/Armor/PlagueReaper/PlagueReaperStriders.cs @@ -35,7 +35,7 @@ namespace CalamityMod.Items.Armor.PlagueReaper { CreateRecipe(). AddIngredient(ItemID.NecroGreaves). - AddIngredient(21). + AddIngredient(21). AddIngredient(ItemID.Nanites, 17). AddTile(TileID.MythrilAnvil). Register(); diff --git a/Items/Armor/PlagueReaper/PlagueReaperVest.cs b/Items/Armor/PlagueReaper/PlagueReaperVest.cs index 8b3df5b9bc..43091ef590 100644 --- a/Items/Armor/PlagueReaper/PlagueReaperVest.cs +++ b/Items/Armor/PlagueReaper/PlagueReaperVest.cs @@ -37,7 +37,7 @@ namespace CalamityMod.Items.Armor.PlagueReaper { CreateRecipe(). AddIngredient(ItemID.NecroBreastplate). - AddIngredient(29). + AddIngredient(29). AddIngredient(ItemID.Nanites, 19). AddTile(TileID.MythrilAnvil). Register(); diff --git a/Items/Armor/Plaguebringer/PlaguebringerCarapace.cs b/Items/Armor/Plaguebringer/PlaguebringerCarapace.cs index 75a2ccd3f4..f0b8fd0f70 100644 --- a/Items/Armor/Plaguebringer/PlaguebringerCarapace.cs +++ b/Items/Armor/Plaguebringer/PlaguebringerCarapace.cs @@ -41,7 +41,7 @@ namespace CalamityMod.Items.Armor.Plaguebringer CreateRecipe(). AddIngredient(ItemID.BeeBreastplate). AddIngredient(2). - AddIngredient(7). + AddIngredient(7). AddIngredient(7). AddTile(TileID.MythrilAnvil). Register(); diff --git a/Items/Armor/Plaguebringer/PlaguebringerPistons.cs b/Items/Armor/Plaguebringer/PlaguebringerPistons.cs index a3815f281c..6bba4fc251 100644 --- a/Items/Armor/Plaguebringer/PlaguebringerPistons.cs +++ b/Items/Armor/Plaguebringer/PlaguebringerPistons.cs @@ -143,7 +143,7 @@ namespace CalamityMod.Items.Armor.Plaguebringer CreateRecipe(). AddIngredient(ItemID.BeeGreaves). AddIngredient(ItemID.FlowerBoots). - AddIngredient(5). + AddIngredient(5). AddIngredient(5). AddTile(TileID.MythrilAnvil). Register(); diff --git a/Items/Armor/Plaguebringer/PlaguebringerVisor.cs b/Items/Armor/Plaguebringer/PlaguebringerVisor.cs index 04367b12f3..b063d23bab 100644 --- a/Items/Armor/Plaguebringer/PlaguebringerVisor.cs +++ b/Items/Armor/Plaguebringer/PlaguebringerVisor.cs @@ -81,7 +81,7 @@ namespace CalamityMod.Items.Armor.Plaguebringer { CreateRecipe(). AddIngredient(ItemID.BeeHeadgear). - AddIngredient(4). + AddIngredient(4). AddIngredient(4). AddTile(TileID.MythrilAnvil). Register(); diff --git a/Items/Armor/Reaver/ReaverCuisses.cs b/Items/Armor/Reaver/ReaverCuisses.cs index a6c56fa1d6..39f1541723 100644 --- a/Items/Armor/Reaver/ReaverCuisses.cs +++ b/Items/Armor/Reaver/ReaverCuisses.cs @@ -34,9 +34,9 @@ namespace CalamityMod.Items.Armor.Reaver public override void AddRecipes() { CreateRecipe(). - AddIngredient(10). + AddIngredient(10). AddIngredient(ItemID.JungleSpores, 8). - AddIngredient(2). + AddIngredient(2). AddTile(TileID.MythrilAnvil). Register(); } diff --git a/Items/Armor/Reaver/ReaverHeadExplore.cs b/Items/Armor/Reaver/ReaverHeadExplore.cs index ce41a8fca6..af9ece80af 100644 --- a/Items/Armor/Reaver/ReaverHeadExplore.cs +++ b/Items/Armor/Reaver/ReaverHeadExplore.cs @@ -115,9 +115,9 @@ namespace CalamityMod.Items.Armor.Reaver public override void AddRecipes() { CreateRecipe(). - AddIngredient(6). + AddIngredient(6). AddIngredient(ItemID.JungleSpores, 4). - AddIngredient(). + AddIngredient(). AddTile(TileID.MythrilAnvil). Register(); } diff --git a/Items/Armor/Reaver/ReaverHeadMobility.cs b/Items/Armor/Reaver/ReaverHeadMobility.cs index 50a013d74e..662843a257 100644 --- a/Items/Armor/Reaver/ReaverHeadMobility.cs +++ b/Items/Armor/Reaver/ReaverHeadMobility.cs @@ -62,9 +62,9 @@ namespace CalamityMod.Items.Armor.Reaver public override void AddRecipes() { CreateRecipe(). - AddIngredient(6). + AddIngredient(6). AddIngredient(ItemID.JungleSpores, 4). - AddIngredient(). + AddIngredient(). AddTile(TileID.MythrilAnvil). Register(); } diff --git a/Items/Armor/Reaver/ReaverHeadTank.cs b/Items/Armor/Reaver/ReaverHeadTank.cs index 38e68ba893..fd5bda6333 100644 --- a/Items/Armor/Reaver/ReaverHeadTank.cs +++ b/Items/Armor/Reaver/ReaverHeadTank.cs @@ -71,9 +71,9 @@ namespace CalamityMod.Items.Armor.Reaver public override void AddRecipes() { CreateRecipe(). - AddIngredient(6). + AddIngredient(6). AddIngredient(ItemID.JungleSpores, 4). - AddIngredient(). + AddIngredient(). AddTile(TileID.MythrilAnvil). Register(); } diff --git a/Items/Armor/Reaver/ReaverScaleMail.cs b/Items/Armor/Reaver/ReaverScaleMail.cs index 3a3fc8ae73..4c84755b04 100644 --- a/Items/Armor/Reaver/ReaverScaleMail.cs +++ b/Items/Armor/Reaver/ReaverScaleMail.cs @@ -35,9 +35,9 @@ namespace CalamityMod.Items.Armor.Reaver public override void AddRecipes() { CreateRecipe(). - AddIngredient(15). + AddIngredient(15). AddIngredient(ItemID.JungleSpores, 12). - AddIngredient(3). + AddIngredient(3). AddTile(TileID.MythrilAnvil). Register(); } diff --git a/Items/Armor/Sulphurous/SulphurousBreastplate.cs b/Items/Armor/Sulphurous/SulphurousBreastplate.cs index 69af11ad34..d044b86d81 100644 --- a/Items/Armor/Sulphurous/SulphurousBreastplate.cs +++ b/Items/Armor/Sulphurous/SulphurousBreastplate.cs @@ -39,7 +39,7 @@ namespace CalamityMod.Items.Armor.Sulphurous AddIngredient(50). AddIngredient(20). AddIngredient(20). - AddIngredient(20). + AddIngredient(20). AddTile(TileID.Anvils). Register(); } diff --git a/Items/Armor/Sulphurous/SulphurousHelmet.cs b/Items/Armor/Sulphurous/SulphurousHelmet.cs index d989b930e1..a4a901477d 100644 --- a/Items/Armor/Sulphurous/SulphurousHelmet.cs +++ b/Items/Armor/Sulphurous/SulphurousHelmet.cs @@ -65,7 +65,7 @@ namespace CalamityMod.Items.Armor.Sulphurous AddIngredient(15). AddIngredient(10). AddIngredient(10). - AddIngredient(10). + AddIngredient(10). AddTile(TileID.Anvils). Register(); } diff --git a/Items/Armor/Sulphurous/SulphurousLeggings.cs b/Items/Armor/Sulphurous/SulphurousLeggings.cs index bfcd47ee06..5b0ff929c1 100644 --- a/Items/Armor/Sulphurous/SulphurousLeggings.cs +++ b/Items/Armor/Sulphurous/SulphurousLeggings.cs @@ -39,7 +39,7 @@ namespace CalamityMod.Items.Armor.Sulphurous AddIngredient(30). AddIngredient(15). AddIngredient(15). - AddIngredient(15). + AddIngredient(15). AddTile(TileID.Anvils). Register(); } diff --git a/Items/Armor/Tarragon/TarragonBreastplate.cs b/Items/Armor/Tarragon/TarragonBreastplate.cs index 243120cc51..5ced8b8e03 100644 --- a/Items/Armor/Tarragon/TarragonBreastplate.cs +++ b/Items/Armor/Tarragon/TarragonBreastplate.cs @@ -37,7 +37,7 @@ namespace CalamityMod.Items.Armor.Tarragon public override void AddRecipes() { CreateRecipe(). - AddIngredient(15). + AddIngredient(15). AddIngredient(18). AddTile(TileID.LunarCraftingStation). Register(); diff --git a/Items/Armor/Tarragon/TarragonHeadMagic.cs b/Items/Armor/Tarragon/TarragonHeadMagic.cs index 5d74a63cc1..404e64bed0 100644 --- a/Items/Armor/Tarragon/TarragonHeadMagic.cs +++ b/Items/Armor/Tarragon/TarragonHeadMagic.cs @@ -67,7 +67,7 @@ namespace CalamityMod.Items.Armor.Tarragon public override void AddRecipes() { CreateRecipe(). - AddIngredient(7). + AddIngredient(7). AddIngredient(6). AddTile(TileID.LunarCraftingStation). Register(); diff --git a/Items/Armor/Tarragon/TarragonHeadMelee.cs b/Items/Armor/Tarragon/TarragonHeadMelee.cs index a40c3480f3..cf7f77fe70 100644 --- a/Items/Armor/Tarragon/TarragonHeadMelee.cs +++ b/Items/Armor/Tarragon/TarragonHeadMelee.cs @@ -68,7 +68,7 @@ namespace CalamityMod.Items.Armor.Tarragon public override void AddRecipes() { CreateRecipe(). - AddIngredient(7). + AddIngredient(7). AddIngredient(6). AddTile(TileID.LunarCraftingStation). Register(); diff --git a/Items/Armor/Tarragon/TarragonHeadRanged.cs b/Items/Armor/Tarragon/TarragonHeadRanged.cs index 487900db56..3883887f76 100644 --- a/Items/Armor/Tarragon/TarragonHeadRanged.cs +++ b/Items/Armor/Tarragon/TarragonHeadRanged.cs @@ -63,7 +63,7 @@ namespace CalamityMod.Items.Armor.Tarragon public override void AddRecipes() { CreateRecipe(). - AddIngredient(7). + AddIngredient(7). AddIngredient(6). AddTile(TileID.LunarCraftingStation). Register(); diff --git a/Items/Armor/Tarragon/TarragonHeadRogue.cs b/Items/Armor/Tarragon/TarragonHeadRogue.cs index 69da395355..a560c7d1f7 100644 --- a/Items/Armor/Tarragon/TarragonHeadRogue.cs +++ b/Items/Armor/Tarragon/TarragonHeadRogue.cs @@ -72,7 +72,7 @@ namespace CalamityMod.Items.Armor.Tarragon public override void AddRecipes() { CreateRecipe(). - AddIngredient(7). + AddIngredient(7). AddIngredient(6). AddTile(TileID.LunarCraftingStation). Register(); diff --git a/Items/Armor/Tarragon/TarragonHeadSummon.cs b/Items/Armor/Tarragon/TarragonHeadSummon.cs index dc3bbfda36..dea72a5ff1 100644 --- a/Items/Armor/Tarragon/TarragonHeadSummon.cs +++ b/Items/Armor/Tarragon/TarragonHeadSummon.cs @@ -65,7 +65,7 @@ namespace CalamityMod.Items.Armor.Tarragon public override void AddRecipes() { CreateRecipe(). - AddIngredient(7). + AddIngredient(7). AddIngredient(6). AddTile(TileID.LunarCraftingStation). Register(); diff --git a/Items/Armor/Tarragon/TarragonLeggings.cs b/Items/Armor/Tarragon/TarragonLeggings.cs index 2d34093d67..fa51a3e0e7 100644 --- a/Items/Armor/Tarragon/TarragonLeggings.cs +++ b/Items/Armor/Tarragon/TarragonLeggings.cs @@ -36,7 +36,7 @@ namespace CalamityMod.Items.Armor.Tarragon public override void AddRecipes() { CreateRecipe(). - AddIngredient(11). + AddIngredient(11). AddIngredient(12). AddTile(TileID.LunarCraftingStation). Register(); diff --git a/Items/BleachBall.cs b/Items/BleachBall.cs index fbaf690a0b..d4e0a7c094 100644 --- a/Items/BleachBall.cs +++ b/Items/BleachBall.cs @@ -30,7 +30,7 @@ namespace CalamityMod.Items public override void AddRecipes() { CreateRecipe(). - AddIngredient(5). + AddIngredient(5). AddIngredient(ItemID.CalmingPotion). AddTile(TileID.Anvils). Register(); diff --git a/Items/BrimstoneLocus.cs b/Items/BrimstoneLocus.cs index 95acce2094..bdcf5d960e 100644 --- a/Items/BrimstoneLocus.cs +++ b/Items/BrimstoneLocus.cs @@ -27,7 +27,7 @@ namespace CalamityMod.Items public override void AddRecipes() { CreateRecipe(). - AddIngredient(). + AddIngredient(). AddIngredient(3). Register(); } diff --git a/Items/BrokenWaterFilter.cs b/Items/BrokenWaterFilter.cs index 00d348b1ac..5efa595854 100644 --- a/Items/BrokenWaterFilter.cs +++ b/Items/BrokenWaterFilter.cs @@ -28,7 +28,7 @@ namespace CalamityMod.Items public override void AddRecipes() { CreateRecipe(). - AddIngredient(20). + AddIngredient(20). AddIngredient(ItemID.IronBar, 10). AddTile(TileID.Anvils). Register(); diff --git a/Items/CalamityGlobalItemLoot.cs b/Items/CalamityGlobalItemLoot.cs index fd10dd9868..ef71e1a121 100644 --- a/Items/CalamityGlobalItemLoot.cs +++ b/Items/CalamityGlobalItemLoot.cs @@ -184,7 +184,7 @@ namespace CalamityMod.Items DropHelper.BlockDrops(golemItems); DropHelper.DropItemChance(s, player, ModContent.ItemType(), 0.1f); - DropHelper.DropItem(s, player, ModContent.ItemType(), 8, 13); + DropHelper.DropItem(s, player, ModContent.ItemType(), 8, 13); break; case ItemID.BossBagBetsy: @@ -276,7 +276,7 @@ namespace CalamityMod.Items case ItemID.CorruptFishingCrateHard: case ItemID.CrimsonFishingCrateHard: BlockCrateDrops(); - DropHelper.DropItemChance(s, player, ModContent.ItemType(), 0.15f, 5, 8); + DropHelper.DropItemChance(s, player, ModContent.ItemType(), 0.15f, 5, 8); break; case ItemID.HallowedFishingCrate: @@ -301,16 +301,16 @@ namespace CalamityMod.Items DropHelper.DropItemCondition(s, player, ModContent.ItemType(), Main.hardMode, 0.2f, 1, 3); DropHelper.DropItemCondition(s, player, ModContent.ItemType(), Main.hardMode, 0.2f, 1, 3); DropHelper.DropItemCondition(s, player, ItemID.ChlorophyteBar, DownedBossSystem.downedCalamitas || NPC.downedPlantBoss, 0.1f, 1, 3); - DropHelper.DropItemCondition(s, player, ModContent.ItemType(), NPC.downedPlantBoss, 0.1f, 1, 3); - DropHelper.DropItemCondition(s, player, ModContent.ItemType(), NPC.downedGolemBoss, 0.2f, 3, 6); - DropHelper.DropItemCondition(s, player, ModContent.ItemType(), DownedBossSystem.downedProvidence, 0.1f, 1, 3); + DropHelper.DropItemCondition(s, player, ModContent.ItemType(), NPC.downedPlantBoss, 0.1f, 1, 3); + DropHelper.DropItemCondition(s, player, ModContent.ItemType(), NPC.downedGolemBoss, 0.2f, 3, 6); + DropHelper.DropItemCondition(s, player, ModContent.ItemType(), DownedBossSystem.downedProvidence, 0.1f, 1, 3); break; case ItemID.FloatingIslandFishingCrate: case ItemID.FloatingIslandFishingCrateHard: BlockCrateDrops(); DropHelper.DropItemCondition(s, player, ModContent.ItemType(), DownedBossSystem.downedHiveMind || DownedBossSystem.downedPerforator, 0.1f, 1, 3); - DropHelper.DropItemCondition(s, player, ModContent.ItemType(), Main.hardMode, 0.2f, 2, 4); + DropHelper.DropItemCondition(s, player, ModContent.ItemType(), Main.hardMode, 0.2f, 2, 4); DropHelper.DropItemCondition(s, player, ModContent.ItemType(), NPC.downedMoonlord, 0.1f, 1, 3); break; diff --git a/Items/DraedonMisc/AdvancedDisplay.cs b/Items/DraedonMisc/AdvancedDisplay.cs index 8e7c7229d2..6ce5991d40 100644 --- a/Items/DraedonMisc/AdvancedDisplay.cs +++ b/Items/DraedonMisc/AdvancedDisplay.cs @@ -59,7 +59,7 @@ namespace CalamityMod.Items.DraedonMisc CreateRecipe(). AddIngredient(10). AddIngredient(10). - AddIngredient(3). + AddIngredient(3). AddIngredient(ItemID.Glass, 20). AddCondition(ArsenalTierGatedRecipe.ConstructRecipeCondition(3, out Predicate condition), condition). AddTile(TileID.MythrilAnvil). diff --git a/Items/DraedonMisc/PowerCell.cs b/Items/DraedonMisc/DraedonPowerCell.cs similarity index 94% rename from Items/DraedonMisc/PowerCell.cs rename to Items/DraedonMisc/DraedonPowerCell.cs index 8914aa6de0..bf177eadb9 100644 --- a/Items/DraedonMisc/PowerCell.cs +++ b/Items/DraedonMisc/DraedonPowerCell.cs @@ -1,11 +1,12 @@ -using CalamityMod.Items.Materials; +using CalamityMod.Items.Materials; using Terraria; using Terraria.ID; using Terraria.ModLoader; namespace CalamityMod.Items.DraedonMisc { - public class PowerCell : ModItem + [LegacyName("PowerCell")] + public class DraedonPowerCell : ModItem { // This is how much Charge each Power Cell is worth when charging. Leave this at 1. public const float ChargeValue = 1f; diff --git a/Items/DraedonMisc/PowerCell.png b/Items/DraedonMisc/DraedonPowerCell.png similarity index 100% rename from Items/DraedonMisc/PowerCell.png rename to Items/DraedonMisc/DraedonPowerCell.png diff --git a/Items/DraedonMisc/VoltageRegulationSystem.cs b/Items/DraedonMisc/VoltageRegulationSystem.cs index fda65721f7..1a448d62f1 100644 --- a/Items/DraedonMisc/VoltageRegulationSystem.cs +++ b/Items/DraedonMisc/VoltageRegulationSystem.cs @@ -60,7 +60,7 @@ namespace CalamityMod.Items.DraedonMisc CreateRecipe(). AddIngredient(10). AddIngredient(10). - AddIngredient(5). + AddIngredient(5). AddIngredient(ItemID.LunarBar, 5). AddCondition(ArsenalTierGatedRecipe.ConstructRecipeCondition(4, out Predicate condition), condition). AddTile(TileID.LunarCraftingStation). diff --git a/Items/Dyes/CalamitousDye.cs b/Items/Dyes/CalamitousDye.cs index 19275e968a..05501ad551 100644 --- a/Items/Dyes/CalamitousDye.cs +++ b/Items/Dyes/CalamitousDye.cs @@ -30,7 +30,7 @@ namespace CalamityMod.Items.Dyes { CreateRecipe(3). AddIngredient(ItemID.BottledWater, 3). - AddIngredient(). + AddIngredient(). AddTile(TileID.DyeVat). Register(); } diff --git a/Items/Dyes/StratusDye.cs b/Items/Dyes/StratusDye.cs index bd3cbb6c53..300bf0c6f1 100644 --- a/Items/Dyes/StratusDye.cs +++ b/Items/Dyes/StratusDye.cs @@ -33,7 +33,7 @@ namespace CalamityMod.Items.Dyes AddIngredient(ItemID.BottledWater, 2). AddIngredient(). AddIngredient(). - AddIngredient(). + AddIngredient(). AddTile(TileID.DyeVat). Register(); } diff --git a/Items/Fishing/FishingRods/EarlyBloomRod.cs b/Items/Fishing/FishingRods/EarlyBloomRod.cs index fddb100a1c..a4b527f826 100644 --- a/Items/Fishing/FishingRods/EarlyBloomRod.cs +++ b/Items/Fishing/FishingRods/EarlyBloomRod.cs @@ -49,7 +49,7 @@ namespace CalamityMod.Items.Fishing.FishingRods { CreateRecipe(). AddIngredient(ItemID.WoodFishingPole). - AddIngredient(10). + AddIngredient(10). AddTile(TileID.LunarCraftingStation). Register(); } diff --git a/Items/Fishing/FishingRods/FeralDoubleRod.cs b/Items/Fishing/FishingRods/FeralDoubleRod.cs index ce4a4eca92..ec67c2dd22 100644 --- a/Items/Fishing/FishingRods/FeralDoubleRod.cs +++ b/Items/Fishing/FishingRods/FeralDoubleRod.cs @@ -47,7 +47,7 @@ namespace CalamityMod.Items.Fishing.FishingRods public override void AddRecipes() { CreateRecipe(). - AddIngredient(10). + AddIngredient(10). AddTile(TileID.MythrilAnvil). Register(); } diff --git a/Items/Fishing/FishingRods/ChaoticSpreadRod.cs b/Items/Fishing/FishingRods/RiftReeler.cs similarity index 94% rename from Items/Fishing/FishingRods/ChaoticSpreadRod.cs rename to Items/Fishing/FishingRods/RiftReeler.cs index bdc09b5f35..4fa730b43d 100644 --- a/Items/Fishing/FishingRods/ChaoticSpreadRod.cs +++ b/Items/Fishing/FishingRods/RiftReeler.cs @@ -8,7 +8,8 @@ using Terraria.DataStructures; namespace CalamityMod.Items.Fishing.FishingRods { - public class ChaoticSpreadRod : ModItem + [LegacyName("ChaoticSpreadRod")] + public class RiftReeler : ModItem { public override void SetStaticDefaults() { @@ -49,7 +50,7 @@ namespace CalamityMod.Items.Fishing.FishingRods { CreateRecipe(). AddIngredient(ItemID.HotlineFishingHook). - AddIngredient(8). + AddIngredient(8). AddTile(TileID.MythrilAnvil). Register(); } diff --git a/Items/Fishing/FishingRods/ChaoticSpreadRod.png b/Items/Fishing/FishingRods/RiftReeler.png similarity index 100% rename from Items/Fishing/FishingRods/ChaoticSpreadRod.png rename to Items/Fishing/FishingRods/RiftReeler.png diff --git a/Items/Fishing/FishingRods/VerstaltiteFishingRod.cs b/Items/Fishing/FishingRods/VerstaltiteFishingRod.cs index be40468516..059a20fa3c 100644 --- a/Items/Fishing/FishingRods/VerstaltiteFishingRod.cs +++ b/Items/Fishing/FishingRods/VerstaltiteFishingRod.cs @@ -34,7 +34,7 @@ namespace CalamityMod.Items.Fishing.FishingRods public override void AddRecipes() { CreateRecipe(). - AddIngredient(8). + AddIngredient(8). AddTile(TileID.MythrilAnvil). Register(); } diff --git a/Items/Fishing/SulphurCatches/AbyssalCrate.cs b/Items/Fishing/SulphurCatches/AbyssalCrate.cs index eee69e167e..081ae91c03 100644 --- a/Items/Fishing/SulphurCatches/AbyssalCrate.cs +++ b/Items/Fishing/SulphurCatches/AbyssalCrate.cs @@ -54,13 +54,13 @@ namespace CalamityMod.Items.Fishing.SulphurCatches DropHelper.DropItem(s, player, ModContent.ItemType(), 5, 10); DropHelper.DropItem(s, player, ModContent.ItemType(), 5, 10); DropHelper.DropItem(s, player, ModContent.ItemType(), 5, 10); - DropHelper.DropItemCondition(s, player, ModContent.ItemType(), DownedBossSystem.downedEoCAcidRain, 0.1f, 1, 3); + DropHelper.DropItemCondition(s, player, ModContent.ItemType(), DownedBossSystem.downedEoCAcidRain, 0.1f, 1, 3); DropHelper.DropItemCondition(s, player, ModContent.ItemType(), DownedBossSystem.downedAquaticScourgeAcidRain, 0.1f, 1, 3); DropHelper.DropItemCondition(s, player, ModContent.ItemType(), DownedBossSystem.downedCalamitas, 0.2f, 2, 5); - DropHelper.DropItemCondition(s, player, ModContent.ItemType(), DownedBossSystem.downedCalamitas, 0.2f, 2, 5); + DropHelper.DropItemCondition(s, player, ModContent.ItemType(), DownedBossSystem.downedCalamitas, 0.2f, 2, 5); DropHelper.DropItemCondition(s, player, ModContent.ItemType(), DownedBossSystem.downedCalamitas, 0.2f, 2, 5); DropHelper.DropItemCondition(s, player, ModContent.ItemType(), DownedBossSystem.downedCalamitas, 0.2f, 2, 5); - DropHelper.DropItemCondition(s, player, ModContent.ItemType(), NPC.downedGolemBoss, 0.1f, 1, 3); + DropHelper.DropItemCondition(s, player, ModContent.ItemType(), NPC.downedGolemBoss, 0.1f, 1, 3); DropHelper.DropItemCondition(s, player, ModContent.ItemType(), DownedBossSystem.downedPolterghast && DownedBossSystem.downedBoomerDuke, 0.1f, 1, 5); // Weapons diff --git a/Items/Fishing/SunbeamFish.cs b/Items/Fishing/SunbeamFish.cs index 04118703fb..da87d78f4f 100644 --- a/Items/Fishing/SunbeamFish.cs +++ b/Items/Fishing/SunbeamFish.cs @@ -32,7 +32,7 @@ namespace CalamityMod.Items.Fishing { // IEntitySource my beloathed var s = player.GetSource_OpenItem(Item.type); - DropHelper.DropItem(s, player, ModContent.ItemType(), 5, 10); + DropHelper.DropItem(s, player, ModContent.ItemType(), 5, 10); } } } diff --git a/Items/LabFinders/CyanSeekingMechanism.cs b/Items/LabFinders/CyanSeekingMechanism.cs index bb09b4a41f..62a2d3af95 100644 --- a/Items/LabFinders/CyanSeekingMechanism.cs +++ b/Items/LabFinders/CyanSeekingMechanism.cs @@ -34,7 +34,7 @@ namespace CalamityMod.Items.LabFinders public override void AddRecipes() { CreateRecipe(). - AddIngredient(). + AddIngredient(). AddIngredient(ItemID.WaterBucket). AddTile(TileID.Anvils). Register(); diff --git a/Items/LabFinders/GreenSeekingMechanism.cs b/Items/LabFinders/GreenSeekingMechanism.cs index 62da97805e..91f5f4a1df 100644 --- a/Items/LabFinders/GreenSeekingMechanism.cs +++ b/Items/LabFinders/GreenSeekingMechanism.cs @@ -34,7 +34,7 @@ namespace CalamityMod.Items.LabFinders public override void AddRecipes() { CreateRecipe(). - AddIngredient(). + AddIngredient(). AddIngredient(ItemID.Vine, 3). AddTile(TileID.Anvils). Register(); diff --git a/Items/LabFinders/MysteriousMechanism.cs b/Items/LabFinders/LabSeekingMechanism.cs similarity index 91% rename from Items/LabFinders/MysteriousMechanism.cs rename to Items/LabFinders/LabSeekingMechanism.cs index 295dcc207b..beefb847b4 100644 --- a/Items/LabFinders/MysteriousMechanism.cs +++ b/Items/LabFinders/LabSeekingMechanism.cs @@ -4,7 +4,8 @@ using Terraria.ModLoader; namespace CalamityMod.Items.LabFinders { - public class MysteriousMechanism : ModItem + [LegacyName("MysteriousMechanism")] + public class LabSeekingMechanism : ModItem { public override void SetStaticDefaults() { diff --git a/Items/LabFinders/MysteriousMechanism.png b/Items/LabFinders/LabSeekingMechanism.png similarity index 100% rename from Items/LabFinders/MysteriousMechanism.png rename to Items/LabFinders/LabSeekingMechanism.png diff --git a/Items/LabFinders/PurpleSeekingMechanism.cs b/Items/LabFinders/PurpleSeekingMechanism.cs index 2c00416ef1..5c8c743ea4 100644 --- a/Items/LabFinders/PurpleSeekingMechanism.cs +++ b/Items/LabFinders/PurpleSeekingMechanism.cs @@ -34,7 +34,7 @@ namespace CalamityMod.Items.LabFinders public override void AddRecipes() { CreateRecipe(). - AddIngredient(). + AddIngredient(). AddIngredient(ItemID.Cloud, 20). AddTile(TileID.Anvils). Register(); diff --git a/Items/LabFinders/RedSeekingMechanism.cs b/Items/LabFinders/RedSeekingMechanism.cs index 950a3a0509..454f83bbe1 100644 --- a/Items/LabFinders/RedSeekingMechanism.cs +++ b/Items/LabFinders/RedSeekingMechanism.cs @@ -34,7 +34,7 @@ namespace CalamityMod.Items.LabFinders public override void AddRecipes() { CreateRecipe(). - AddIngredient(). + AddIngredient(). AddIngredient(ItemID.HellstoneBar, 4). AddTile(TileID.Anvils). Register(); diff --git a/Items/LabFinders/YellowSeekingMechanism.cs b/Items/LabFinders/YellowSeekingMechanism.cs index f6ffb8198c..ef64f7e0c2 100644 --- a/Items/LabFinders/YellowSeekingMechanism.cs +++ b/Items/LabFinders/YellowSeekingMechanism.cs @@ -34,7 +34,7 @@ namespace CalamityMod.Items.LabFinders public override void AddRecipes() { CreateRecipe(). - AddIngredient(). + AddIngredient(). AddIngredient(ItemID.IceBlock, 50). AddTile(TileID.Anvils). Register(); diff --git a/Items/LoreItems/KnowledgeBumblebirb.cs b/Items/LoreItems/KnowledgeDragonfolly.cs similarity index 93% rename from Items/LoreItems/KnowledgeBumblebirb.cs rename to Items/LoreItems/KnowledgeDragonfolly.cs index a0a8d3a96b..7bee7e562d 100644 --- a/Items/LoreItems/KnowledgeBumblebirb.cs +++ b/Items/LoreItems/KnowledgeDragonfolly.cs @@ -6,7 +6,8 @@ using Terraria.ModLoader; namespace CalamityMod.Items.LoreItems { - public class KnowledgeBumblebirb : LoreItem + [LegacyName("KnowledgeBumblebirb")] + public class KnowledgeDragonfolly : LoreItem { public override void SetStaticDefaults() { diff --git a/Items/LoreItems/KnowledgeBumblebirb.png b/Items/LoreItems/KnowledgeDragonfolly.png similarity index 100% rename from Items/LoreItems/KnowledgeBumblebirb.png rename to Items/LoreItems/KnowledgeDragonfolly.png diff --git a/Items/LoreItems/KnowledgeLeviathanandSiren.cs b/Items/LoreItems/KnowledgeLeviathanAnahita.cs similarity index 91% rename from Items/LoreItems/KnowledgeLeviathanandSiren.cs rename to Items/LoreItems/KnowledgeLeviathanAnahita.cs index 374881016a..d5690693a7 100644 --- a/Items/LoreItems/KnowledgeLeviathanandSiren.cs +++ b/Items/LoreItems/KnowledgeLeviathanAnahita.cs @@ -6,7 +6,8 @@ using Terraria.ModLoader; namespace CalamityMod.Items.LoreItems { - public class KnowledgeLeviathanandSiren : LoreItem + [LegacyName("KnowledgeLeviathanandSiren")] + public class KnowledgeLeviathanAnahita : LoreItem { public override void SetStaticDefaults() { diff --git a/Items/LoreItems/KnowledgeLeviathanandSiren.png b/Items/LoreItems/KnowledgeLeviathanAnahita.png similarity index 100% rename from Items/LoreItems/KnowledgeLeviathanandSiren.png rename to Items/LoreItems/KnowledgeLeviathanAnahita.png diff --git a/Items/Materials/CalamitousEssence.cs b/Items/Materials/AshesofAnnihilation.cs similarity index 97% rename from Items/Materials/CalamitousEssence.cs rename to Items/Materials/AshesofAnnihilation.cs index 50a56d45c4..ca2f5eb03a 100644 --- a/Items/Materials/CalamitousEssence.cs +++ b/Items/Materials/AshesofAnnihilation.cs @@ -9,7 +9,8 @@ using Terraria.ModLoader; namespace CalamityMod.Items.Materials { - public class CalamitousEssence : ModItem + [LegacyName("CalamitousEssence")] + public class AshesofAnnihilation : ModItem { public override void SetStaticDefaults() { diff --git a/Items/Materials/CalamitousEssence.png b/Items/Materials/AshesofAnnihilation.png similarity index 100% rename from Items/Materials/CalamitousEssence.png rename to Items/Materials/AshesofAnnihilation.png diff --git a/Items/Materials/CalamityDust.cs b/Items/Materials/AshesofCalamity.cs similarity index 93% rename from Items/Materials/CalamityDust.cs rename to Items/Materials/AshesofCalamity.cs index b95f318833..f795c28d42 100644 --- a/Items/Materials/CalamityDust.cs +++ b/Items/Materials/AshesofCalamity.cs @@ -5,7 +5,8 @@ using Terraria.DataStructures; namespace CalamityMod.Items.Materials { - public class CalamityDust : ModItem + [LegacyName("CalamityDust")] + public class AshesofCalamity : ModItem { public override void SetStaticDefaults() { diff --git a/Items/Materials/CalamityDust.png b/Items/Materials/AshesofCalamity.png similarity index 100% rename from Items/Materials/CalamityDust.png rename to Items/Materials/AshesofCalamity.png diff --git a/Items/Materials/EbonianGel.cs b/Items/Materials/BlightedGel.cs similarity index 89% rename from Items/Materials/EbonianGel.cs rename to Items/Materials/BlightedGel.cs index 4dca68faaf..0dd69848bb 100644 --- a/Items/Materials/EbonianGel.cs +++ b/Items/Materials/BlightedGel.cs @@ -6,7 +6,8 @@ using Terraria.ID; namespace CalamityMod.Items.Materials { - public class EbonianGel : ModItem + [LegacyName("EbonianGel")] + public class BlightedGel : ModItem { public override void SetStaticDefaults() { @@ -26,7 +27,7 @@ namespace CalamityMod.Items.Materials { if (Item.notAmmo) { - Texture2D texture = ModContent.Request("CalamityMod/Items/Materials/EbonianGelRed").Value; + Texture2D texture = ModContent.Request("CalamityMod/Items/Materials/BlightedGelRed").Value; spriteBatch.Draw(texture, position, frame, Color.White, 0f, origin, scale, SpriteEffects.None, 0); } return !Item.notAmmo; @@ -36,7 +37,7 @@ namespace CalamityMod.Items.Materials { if (Item.notAmmo) { - Texture2D texture = ModContent.Request("CalamityMod/Items/Materials/EbonianGelRed").Value; + Texture2D texture = ModContent.Request("CalamityMod/Items/Materials/BlightedGelRed").Value; spriteBatch.Draw(texture, Item.position - Main.screenPosition, new Rectangle(0, 0, Item.width, Item.height), lightColor, 0f, Vector2.Zero, 1f, SpriteEffects.None, 0); } return !Item.notAmmo; diff --git a/Items/Materials/EbonianGel.png b/Items/Materials/BlightedGel.png similarity index 100% rename from Items/Materials/EbonianGel.png rename to Items/Materials/BlightedGel.png diff --git a/Items/Materials/EbonianGelRed.png b/Items/Materials/BlightedGelRed.png similarity index 100% rename from Items/Materials/EbonianGelRed.png rename to Items/Materials/BlightedGelRed.png diff --git a/Items/Materials/CoreofCalamity.cs b/Items/Materials/CoreofCalamity.cs index f0b090a77a..f69cfae1d6 100644 --- a/Items/Materials/CoreofCalamity.cs +++ b/Items/Materials/CoreofCalamity.cs @@ -30,10 +30,10 @@ namespace CalamityMod.Items.Materials public override void AddRecipes() { CreateRecipe(). - AddIngredient(3). + AddIngredient(3). AddIngredient(3). AddIngredient(3). - AddIngredient(). + AddIngredient(). AddTile(TileID.MythrilAnvil). Register(); } diff --git a/Items/Materials/CoreofCinder.cs b/Items/Materials/CoreofSunlight.cs similarity index 89% rename from Items/Materials/CoreofCinder.cs rename to Items/Materials/CoreofSunlight.cs index 041f68dc86..34838ba1ff 100644 --- a/Items/Materials/CoreofCinder.cs +++ b/Items/Materials/CoreofSunlight.cs @@ -6,7 +6,8 @@ using Terraria.ModLoader; namespace CalamityMod.Items.Materials { - public class CoreofCinder : ModItem + [LegacyName("CoreofCinder")] + public class CoreofSunlight : ModItem { public override void SetStaticDefaults() { @@ -24,7 +25,7 @@ namespace CalamityMod.Items.Materials } public override void PostDrawInWorld(SpriteBatch spriteBatch, Color lightColor, Color alphaColor, float rotation, float scale, int whoAmI) { - Item.DrawItemGlowmaskSingleFrame(spriteBatch, rotation, ModContent.Request("CalamityMod/Items/Materials/CoreofCinderGlow").Value); + Item.DrawItemGlowmaskSingleFrame(spriteBatch, rotation, ModContent.Request("CalamityMod/Items/Materials/CoreofSunlightGlow").Value); } public override void Update(ref float gravity, ref float maxFallSpeed) @@ -36,7 +37,7 @@ namespace CalamityMod.Items.Materials public override void AddRecipes() { CreateRecipe(3). - AddIngredient(). + AddIngredient(). AddIngredient(ItemID.Ectoplasm). AddTile(TileID.MythrilAnvil). Register(); diff --git a/Items/Materials/CoreofCinder.png b/Items/Materials/CoreofSunlight.png similarity index 100% rename from Items/Materials/CoreofCinder.png rename to Items/Materials/CoreofSunlight.png diff --git a/Items/Materials/CoreofCinderGlow.png b/Items/Materials/CoreofSunlightGlow.png similarity index 100% rename from Items/Materials/CoreofCinderGlow.png rename to Items/Materials/CoreofSunlightGlow.png diff --git a/Items/Materials/VerstaltiteBar.cs b/Items/Materials/CryonicBar.cs similarity index 93% rename from Items/Materials/VerstaltiteBar.cs rename to Items/Materials/CryonicBar.cs index a88911486c..3fa95c089f 100644 --- a/Items/Materials/VerstaltiteBar.cs +++ b/Items/Materials/CryonicBar.cs @@ -6,7 +6,8 @@ using Terraria.ModLoader; namespace CalamityMod.Items.Materials { - public class VerstaltiteBar : ModItem + [LegacyName("VerstaltiteBar")] + public class CryonicBar : ModItem { public override void SetStaticDefaults() { diff --git a/Items/Materials/VerstaltiteBar.png b/Items/Materials/CryonicBar.png similarity index 100% rename from Items/Materials/VerstaltiteBar.png rename to Items/Materials/CryonicBar.png diff --git a/Items/Materials/EssenceofCinder.cs b/Items/Materials/EssenceofSunlight.cs similarity index 94% rename from Items/Materials/EssenceofCinder.cs rename to Items/Materials/EssenceofSunlight.cs index b3ff4f5500..3ea81ba97c 100644 --- a/Items/Materials/EssenceofCinder.cs +++ b/Items/Materials/EssenceofSunlight.cs @@ -7,7 +7,8 @@ using Terraria.GameContent; namespace CalamityMod.Items.Materials { - public class EssenceofCinder : ModItem + [LegacyName("EssenceofCinder")] + public class EssenceofSunlight : ModItem { public override void SetStaticDefaults() { diff --git a/Items/Materials/EssenceofCinder.png b/Items/Materials/EssenceofSunlight.png similarity index 100% rename from Items/Materials/EssenceofCinder.png rename to Items/Materials/EssenceofSunlight.png diff --git a/Items/Materials/BarofLife.cs b/Items/Materials/LifeAlloy.cs similarity index 77% rename from Items/Materials/BarofLife.cs rename to Items/Materials/LifeAlloy.cs index 978eca7e3e..3a5b2a5672 100644 --- a/Items/Materials/BarofLife.cs +++ b/Items/Materials/LifeAlloy.cs @@ -4,7 +4,8 @@ using Terraria.ModLoader; namespace CalamityMod.Items.Materials { - public class BarofLife : ModItem + [LegacyName("BarofLife")] + public class LifeAlloy : ModItem { public override void SetStaticDefaults() { @@ -23,9 +24,9 @@ namespace CalamityMod.Items.Materials public override void AddRecipes() { CreateRecipe(). - AddIngredient(). - AddIngredient(). - AddIngredient(). + AddIngredient(). + AddIngredient(). + AddIngredient(). AddTile(TileID.MythrilAnvil). Register(); } diff --git a/Items/Materials/BarofLife.png b/Items/Materials/LifeAlloy.png similarity index 100% rename from Items/Materials/BarofLife.png rename to Items/Materials/LifeAlloy.png diff --git a/Items/Materials/Lumenite.cs b/Items/Materials/Lumenyl.cs similarity index 91% rename from Items/Materials/Lumenite.cs rename to Items/Materials/Lumenyl.cs index cc53d952cb..05add390a8 100644 --- a/Items/Materials/Lumenite.cs +++ b/Items/Materials/Lumenyl.cs @@ -5,7 +5,8 @@ using Terraria.ModLoader; namespace CalamityMod.Items.Materials { - public class Lumenite : ModItem + [LegacyName("Lumenite")] + public class Lumenyl : ModItem { public override void SetStaticDefaults() { @@ -28,5 +29,6 @@ namespace CalamityMod.Items.Materials Item.maxStack = 999; Item.value = Item.sellPrice(silver: 80); Item.rare = ItemRarityID.Lime; - } } + } + } } diff --git a/Items/Materials/Lumenite.png b/Items/Materials/Lumenyl.png similarity index 100% rename from Items/Materials/Lumenite.png rename to Items/Materials/Lumenyl.png diff --git a/Items/Materials/MeldiateBar.cs b/Items/Materials/MeldConstruct.cs similarity index 91% rename from Items/Materials/MeldiateBar.cs rename to Items/Materials/MeldConstruct.cs index 8a266d2d9c..96a33c0058 100644 --- a/Items/Materials/MeldiateBar.cs +++ b/Items/Materials/MeldConstruct.cs @@ -4,7 +4,8 @@ using Terraria.ModLoader; namespace CalamityMod.Items.Materials { - public class MeldiateBar : ModItem + [LegacyName("MeldiateBar")] + public class MeldConstruct : ModItem { public override void SetStaticDefaults() { diff --git a/Items/Materials/MeldiateBar.png b/Items/Materials/MeldConstruct.png similarity index 100% rename from Items/Materials/MeldiateBar.png rename to Items/Materials/MeldConstruct.png diff --git a/Items/Materials/MiracleMatter.cs b/Items/Materials/MiracleMatter.cs index 13975cb707..144c6d9eba 100644 --- a/Items/Materials/MiracleMatter.cs +++ b/Items/Materials/MiracleMatter.cs @@ -85,7 +85,7 @@ namespace CalamityMod.Items.Materials CreateRecipe(). AddIngredient(5). AddIngredient(5). - AddIngredient(). + AddIngredient(). AddIngredient(). AddIngredient(). AddIngredient(3). diff --git a/Items/Materials/DraedonBar.cs b/Items/Materials/PerennialBar.cs similarity index 87% rename from Items/Materials/DraedonBar.cs rename to Items/Materials/PerennialBar.cs index ec1b97f637..03de4ccfec 100644 --- a/Items/Materials/DraedonBar.cs +++ b/Items/Materials/PerennialBar.cs @@ -6,7 +6,8 @@ using Terraria.ModLoader; namespace CalamityMod.Items.Materials { - public class DraedonBar : ModItem + [LegacyName("DraedonBar")] + public class PerennialBar : ModItem { public override void SetStaticDefaults() { @@ -16,7 +17,7 @@ namespace CalamityMod.Items.Materials public override void SetDefaults() { - Item.createTile = ModContent.TileType(); + Item.createTile = ModContent.TileType(); Item.useStyle = ItemUseStyleID.Swing; Item.useTurn = true; Item.useAnimation = 15; diff --git a/Items/Materials/DraedonBar.png b/Items/Materials/PerennialBar.png similarity index 100% rename from Items/Materials/DraedonBar.png rename to Items/Materials/PerennialBar.png diff --git a/Items/Materials/PlagueCellCluster.cs b/Items/Materials/PlagueCellCanister.cs similarity index 86% rename from Items/Materials/PlagueCellCluster.cs rename to Items/Materials/PlagueCellCanister.cs index de7d45c357..8492a1636b 100644 --- a/Items/Materials/PlagueCellCluster.cs +++ b/Items/Materials/PlagueCellCanister.cs @@ -4,7 +4,8 @@ using Terraria.ID; namespace CalamityMod.Items.Materials { - public class PlagueCellCluster : ModItem + [LegacyName("PlagueCellCluster")] + public class PlagueCellCanister : ModItem { public override void SetStaticDefaults() { diff --git a/Items/Materials/PlagueCellCluster.png b/Items/Materials/PlagueCellCanister.png similarity index 100% rename from Items/Materials/PlagueCellCluster.png rename to Items/Materials/PlagueCellCanister.png diff --git a/Items/Materials/TrueShadowScale.cs b/Items/Materials/RottenMatter.cs similarity index 84% rename from Items/Materials/TrueShadowScale.cs rename to Items/Materials/RottenMatter.cs index 1d1554e0dd..d112c4a485 100644 --- a/Items/Materials/TrueShadowScale.cs +++ b/Items/Materials/RottenMatter.cs @@ -4,7 +4,8 @@ using Terraria.ID; namespace CalamityMod.Items.Materials { - public class TrueShadowScale : ModItem + [LegacyName("TrueShadowScale")] + public class RottenMatter : ModItem { public override void SetStaticDefaults() { @@ -19,5 +20,6 @@ namespace CalamityMod.Items.Materials Item.maxStack = 999; Item.value = Item.buyPrice(0, 0, 50, 0); Item.rare = ItemRarityID.Orange; - } } + } + } } diff --git a/Items/Materials/TrueShadowScale.png b/Items/Materials/RottenMatter.png similarity index 100% rename from Items/Materials/TrueShadowScale.png rename to Items/Materials/RottenMatter.png diff --git a/Items/Materials/CruptixBar.cs b/Items/Materials/ScoriaBar.cs similarity index 92% rename from Items/Materials/CruptixBar.cs rename to Items/Materials/ScoriaBar.cs index 0e94f025f8..3e82c84fdd 100644 --- a/Items/Materials/CruptixBar.cs +++ b/Items/Materials/ScoriaBar.cs @@ -8,7 +8,8 @@ using Terraria.ModLoader; namespace CalamityMod.Items.Materials { - public class CruptixBar : ModItem + [LegacyName("CruptixBar")] + public class ScoriaBar : ModItem { public int frameCounter = 0; public int frame = 0; @@ -36,14 +37,14 @@ namespace CalamityMod.Items.Materials } public override bool PreDrawInInventory(SpriteBatch spriteBatch, Vector2 position, Rectangle frameI, Color drawColor, Color itemColor, Vector2 origin, float scale) { - Texture2D texture = ModContent.Request("CalamityMod/Items/Materials/CruptixBar_Animated").Value; + Texture2D texture = ModContent.Request("CalamityMod/Items/Materials/ScoriaBar_Animated").Value; spriteBatch.Draw(texture, position, Item.GetCurrentFrame(ref frame, ref frameCounter, 6, 6), Color.White, 0f, origin, scale, SpriteEffects.None, 0); return false; } public override bool PreDrawInWorld(SpriteBatch spriteBatch, Color lightColor, Color alphaColor, ref float rotation, ref float scale, int whoAmI) { - Texture2D texture = ModContent.Request("CalamityMod/Items/Materials/CruptixBar_Animated").Value; + Texture2D texture = ModContent.Request("CalamityMod/Items/Materials/ScoriaBar_Animated").Value; spriteBatch.Draw(texture, Item.position - Main.screenPosition, Item.GetCurrentFrame(ref frame, ref frameCounter, 6, 6), lightColor, 0f, Vector2.Zero, 1f, SpriteEffects.None, 0); return false; } diff --git a/Items/Materials/CruptixBar.png b/Items/Materials/ScoriaBar.png similarity index 100% rename from Items/Materials/CruptixBar.png rename to Items/Materials/ScoriaBar.png diff --git a/Items/Materials/CruptixBar_Animated.png b/Items/Materials/ScoriaBar_Animated.png similarity index 100% rename from Items/Materials/CruptixBar_Animated.png rename to Items/Materials/ScoriaBar_Animated.png diff --git a/Items/Materials/ShadowspecBar.cs b/Items/Materials/ShadowspecBar.cs index 53e2dab433..15916be59c 100644 --- a/Items/Materials/ShadowspecBar.cs +++ b/Items/Materials/ShadowspecBar.cs @@ -53,7 +53,7 @@ namespace CalamityMod.Items.Materials public override void AddRecipes() { - CreateRecipe(1).AddIngredient(ModContent.ItemType()).AddIngredient(ModContent.ItemType()).AddIngredient(ModContent.ItemType()).AddTile(ModContent.TileType()).Register(); + CreateRecipe(1).AddIngredient(ModContent.ItemType()).AddIngredient(ModContent.ItemType()).AddIngredient(ModContent.ItemType()).AddTile(ModContent.TileType()).Register(); } } } diff --git a/Items/Materials/SulfuricScale.cs b/Items/Materials/SulphuricScale.cs similarity index 84% rename from Items/Materials/SulfuricScale.cs rename to Items/Materials/SulphuricScale.cs index cad3b0de7f..32ccd162ba 100644 --- a/Items/Materials/SulfuricScale.cs +++ b/Items/Materials/SulphuricScale.cs @@ -4,7 +4,8 @@ using Terraria.ID; namespace CalamityMod.Items.Materials { - public class SulfuricScale : ModItem + [LegacyName("SulfuricScale")] + public class SulphuricScale : ModItem { public override void SetStaticDefaults() { @@ -19,5 +20,6 @@ namespace CalamityMod.Items.Materials Item.maxStack = 999; Item.value = Item.sellPrice(silver: 3); Item.rare = ItemRarityID.Green; - } } + } + } } diff --git a/Items/Materials/SulfuricScale.png b/Items/Materials/SulphuricScale.png similarity index 100% rename from Items/Materials/SulfuricScale.png rename to Items/Materials/SulphuricScale.png diff --git a/Items/Materials/UeliaceBar.cs b/Items/Materials/UelibloomBar.cs similarity index 82% rename from Items/Materials/UeliaceBar.cs rename to Items/Materials/UelibloomBar.cs index cda6733259..c50ccf7323 100644 --- a/Items/Materials/UeliaceBar.cs +++ b/Items/Materials/UelibloomBar.cs @@ -6,17 +6,18 @@ using Terraria.ModLoader; namespace CalamityMod.Items.Materials { - public class UeliaceBar : ModItem + [LegacyName("UeliaceBar")] + public class UelibloomBar : ModItem { public override void SetStaticDefaults() { SacrificeTotal = 25; - DisplayName.SetDefault("Uelibloom Bar"); + DisplayName.SetDefault("Uelibloom Bar"); // Yoo-luh Bloom } public override void SetDefaults() { - Item.createTile = ModContent.TileType(); + Item.createTile = ModContent.TileType(); Item.width = 15; Item.height = 12; Item.maxStack = 999; diff --git a/Items/Materials/UeliaceBar.png b/Items/Materials/UelibloomBar.png similarity index 100% rename from Items/Materials/UeliaceBar.png rename to Items/Materials/UelibloomBar.png diff --git a/Items/PermanentBoosters/Elderberry.cs b/Items/PermanentBoosters/Elderberry.cs index 79044d7af2..7914443307 100644 --- a/Items/PermanentBoosters/Elderberry.cs +++ b/Items/PermanentBoosters/Elderberry.cs @@ -60,7 +60,7 @@ namespace CalamityMod.Items.PermanentBoosters CreateRecipe(). AddIngredient(ItemID.LifeFruit, 5). AddIngredient(ItemID.BlueBerries). - AddIngredient(10). + AddIngredient(10). AddIngredient(10). AddIngredient(20). AddTile(TileID.LunarCraftingStation). diff --git a/Items/PermanentBoosters/MiracleFruit.cs b/Items/PermanentBoosters/MiracleFruit.cs index 94554f1738..0c4fbd6832 100644 --- a/Items/PermanentBoosters/MiracleFruit.cs +++ b/Items/PermanentBoosters/MiracleFruit.cs @@ -60,7 +60,7 @@ namespace CalamityMod.Items.PermanentBoosters AddIngredient(ItemID.LifeFruit, 5). AddIngredient(ItemID.TealMushroom). AddIngredient(5). - AddIngredient(5). + AddIngredient(5). AddIngredient(10). AddTile(TileID.MythrilAnvil). Register(); diff --git a/Items/Placeables/DraedonStructures/AgedLaboratoryConsoleItem.cs b/Items/Placeables/DraedonStructures/AgedLaboratoryConsoleItem.cs index ba27f40d31..a5f9644507 100644 --- a/Items/Placeables/DraedonStructures/AgedLaboratoryConsoleItem.cs +++ b/Items/Placeables/DraedonStructures/AgedLaboratoryConsoleItem.cs @@ -29,7 +29,7 @@ namespace CalamityMod.Items.Placeables.DraedonStructures public override void AddRecipes() { - CreateRecipe(1).AddIngredient(ModContent.ItemType(), 10).AddIngredient(ModContent.ItemType()).AddIngredient(ModContent.ItemType(), 8).AddTile(TileID.Anvils).Register(); + CreateRecipe(1).AddIngredient(ModContent.ItemType(), 10).AddIngredient(ModContent.ItemType()).AddIngredient(ModContent.ItemType(), 8).AddTile(TileID.Anvils).Register(); } } } diff --git a/Items/Placeables/DraedonStructures/AgedLaboratoryElectricPanelItem.cs b/Items/Placeables/DraedonStructures/AgedLaboratoryElectricPanelItem.cs index eb347ed16f..7997b2961a 100644 --- a/Items/Placeables/DraedonStructures/AgedLaboratoryElectricPanelItem.cs +++ b/Items/Placeables/DraedonStructures/AgedLaboratoryElectricPanelItem.cs @@ -29,7 +29,7 @@ namespace CalamityMod.Items.Placeables.DraedonStructures public override void AddRecipes() { - CreateRecipe(1).AddIngredient(ModContent.ItemType(), 7).AddIngredient(ModContent.ItemType()).AddIngredient(ModContent.ItemType(), 4).AddTile(TileID.Anvils).Register(); + CreateRecipe(1).AddIngredient(ModContent.ItemType(), 7).AddIngredient(ModContent.ItemType()).AddIngredient(ModContent.ItemType(), 4).AddTile(TileID.Anvils).Register(); } } } diff --git a/Items/Placeables/DraedonStructures/AgedLaboratoryServerItem.cs b/Items/Placeables/DraedonStructures/AgedLaboratoryServerItem.cs index 967168f5cb..c6f9b4072f 100644 --- a/Items/Placeables/DraedonStructures/AgedLaboratoryServerItem.cs +++ b/Items/Placeables/DraedonStructures/AgedLaboratoryServerItem.cs @@ -29,7 +29,7 @@ namespace CalamityMod.Items.Placeables.DraedonStructures public override void AddRecipes() { - CreateRecipe(1).AddIngredient(ModContent.ItemType(), 12).AddIngredient(ModContent.ItemType()).AddIngredient(ModContent.ItemType(), 15).AddTile(TileID.Anvils).Register(); + CreateRecipe(1).AddIngredient(ModContent.ItemType(), 12).AddIngredient(ModContent.ItemType()).AddIngredient(ModContent.ItemType(), 15).AddTile(TileID.Anvils).Register(); } } } diff --git a/Items/Placeables/DraedonStructures/LabHologramProjectorItem.cs b/Items/Placeables/DraedonStructures/LabHologramProjectorItem.cs index 1a6f71a056..fee2adafb2 100644 --- a/Items/Placeables/DraedonStructures/LabHologramProjectorItem.cs +++ b/Items/Placeables/DraedonStructures/LabHologramProjectorItem.cs @@ -34,7 +34,7 @@ namespace CalamityMod.Items.Placeables.DraedonStructures public override void AddRecipes() { - CreateRecipe(1).AddIngredient(ModContent.ItemType(), 20).AddIngredient(ModContent.ItemType(), 3).AddIngredient(ModContent.ItemType(), 3).AddIngredient(ModContent.ItemType(), 8).AddTile(TileID.Anvils).Register(); + CreateRecipe(1).AddIngredient(ModContent.ItemType(), 20).AddIngredient(ModContent.ItemType(), 3).AddIngredient(ModContent.ItemType(), 3).AddIngredient(ModContent.ItemType(), 8).AddTile(TileID.Anvils).Register(); } } } diff --git a/Items/Placeables/DraedonStructures/LaboratoryConsoleItem.cs b/Items/Placeables/DraedonStructures/LaboratoryConsoleItem.cs index bde41f8e83..8875e261d3 100644 --- a/Items/Placeables/DraedonStructures/LaboratoryConsoleItem.cs +++ b/Items/Placeables/DraedonStructures/LaboratoryConsoleItem.cs @@ -29,7 +29,7 @@ namespace CalamityMod.Items.Placeables.DraedonStructures public override void AddRecipes() { - CreateRecipe(1).AddIngredient(ModContent.ItemType(), 10).AddIngredient(ModContent.ItemType()).AddIngredient(ModContent.ItemType(), 8).AddTile(TileID.Anvils).Register(); + CreateRecipe(1).AddIngredient(ModContent.ItemType(), 10).AddIngredient(ModContent.ItemType()).AddIngredient(ModContent.ItemType(), 8).AddTile(TileID.Anvils).Register(); } } } diff --git a/Items/Placeables/DraedonStructures/LaboratoryElectricPanelItem.cs b/Items/Placeables/DraedonStructures/LaboratoryElectricPanelItem.cs index c18b027763..1f82292f48 100644 --- a/Items/Placeables/DraedonStructures/LaboratoryElectricPanelItem.cs +++ b/Items/Placeables/DraedonStructures/LaboratoryElectricPanelItem.cs @@ -29,7 +29,7 @@ namespace CalamityMod.Items.Placeables.DraedonStructures public override void AddRecipes() { - CreateRecipe(1).AddIngredient(ModContent.ItemType(), 7).AddIngredient(ModContent.ItemType()).AddIngredient(ModContent.ItemType(), 4).AddTile(TileID.Anvils).Register(); + CreateRecipe(1).AddIngredient(ModContent.ItemType(), 7).AddIngredient(ModContent.ItemType()).AddIngredient(ModContent.ItemType(), 4).AddTile(TileID.Anvils).Register(); } } } diff --git a/Items/Placeables/DraedonStructures/LaboratoryServerItem.cs b/Items/Placeables/DraedonStructures/LaboratoryServerItem.cs index 44d5cf7ae8..48313774d9 100644 --- a/Items/Placeables/DraedonStructures/LaboratoryServerItem.cs +++ b/Items/Placeables/DraedonStructures/LaboratoryServerItem.cs @@ -29,7 +29,7 @@ namespace CalamityMod.Items.Placeables.DraedonStructures public override void AddRecipes() { - CreateRecipe(1).AddIngredient(ModContent.ItemType(), 12).AddIngredient(ModContent.ItemType()).AddIngredient(ModContent.ItemType(), 15).AddTile(TileID.Anvils).Register(); + CreateRecipe(1).AddIngredient(ModContent.ItemType(), 12).AddIngredient(ModContent.ItemType()).AddIngredient(ModContent.ItemType(), 15).AddTile(TileID.Anvils).Register(); } } } diff --git a/Items/Placeables/Furniture/CraftingStations/PlagueInfuser.cs b/Items/Placeables/Furniture/CraftingStations/PlagueInfuser.cs index 9e2aee939e..050e4dc09c 100644 --- a/Items/Placeables/Furniture/CraftingStations/PlagueInfuser.cs +++ b/Items/Placeables/Furniture/CraftingStations/PlagueInfuser.cs @@ -27,7 +27,7 @@ namespace CalamityMod.Items.Placeables.Furniture.CraftingStations public override void AddRecipes() { - CreateRecipe(1).AddIngredient(ItemID.IronBar, 10).AddIngredient(ModContent.ItemType(), 20).AddTile(TileID.Anvils).Register(); + CreateRecipe(1).AddIngredient(ItemID.IronBar, 10).AddIngredient(ModContent.ItemType(), 20).AddTile(TileID.Anvils).Register(); } } } diff --git a/Items/Placeables/Furniture/EffigyOfDecay.cs b/Items/Placeables/Furniture/EffigyOfDecay.cs index 5c2aa94370..6adf26ae83 100644 --- a/Items/Placeables/Furniture/EffigyOfDecay.cs +++ b/Items/Placeables/Furniture/EffigyOfDecay.cs @@ -34,7 +34,7 @@ namespace CalamityMod.Items.Placeables.Furniture } public override void AddRecipes() { - CreateRecipe(1).AddIngredient(ModContent.ItemType(), 20).AddRecipeGroup("IronBar", 10).AddTile(TileID.Anvils).Register(); + CreateRecipe(1).AddIngredient(ModContent.ItemType(), 20).AddRecipeGroup("IronBar", 10).AddTile(TileID.Anvils).Register(); } } } diff --git a/Items/Placeables/Furniture/RustyChest.cs b/Items/Placeables/Furniture/RustyChest.cs index 7feda97198..0c35c25ce8 100644 --- a/Items/Placeables/Furniture/RustyChest.cs +++ b/Items/Placeables/Furniture/RustyChest.cs @@ -27,7 +27,7 @@ namespace CalamityMod.Items.Placeables.Furniture } public override void AddRecipes() { - CreateRecipe(1).AddIngredient(ItemID.Chest).AddIngredient(ModContent.ItemType(), 5).AddTile(TileID.Anvils).Register(); + CreateRecipe(1).AddIngredient(ItemID.Chest).AddIngredient(ModContent.ItemType(), 5).AddTile(TileID.Anvils).Register(); } } } diff --git a/Items/Placeables/FurnitureAbyss/AbyssCandelabra.cs b/Items/Placeables/FurnitureAbyss/AbyssCandelabra.cs index eda411e6a6..e8c272090b 100644 --- a/Items/Placeables/FurnitureAbyss/AbyssCandelabra.cs +++ b/Items/Placeables/FurnitureAbyss/AbyssCandelabra.cs @@ -30,7 +30,7 @@ namespace CalamityMod.Items.Placeables.FurnitureAbyss public override void AddRecipes() { - CreateRecipe(1).AddIngredient(ModContent.ItemType(), 5).AddIngredient(ModContent.ItemType(), 3).AddTile(ModContent.TileType()).Register(); + CreateRecipe(1).AddIngredient(ModContent.ItemType(), 5).AddIngredient(ModContent.ItemType(), 3).AddTile(ModContent.TileType()).Register(); } } } diff --git a/Items/Placeables/FurnitureAbyss/AbyssCandle.cs b/Items/Placeables/FurnitureAbyss/AbyssCandle.cs index bd077f0d1b..ac13a2a71a 100644 --- a/Items/Placeables/FurnitureAbyss/AbyssCandle.cs +++ b/Items/Placeables/FurnitureAbyss/AbyssCandle.cs @@ -30,7 +30,7 @@ namespace CalamityMod.Items.Placeables.FurnitureAbyss public override void AddRecipes() { - CreateRecipe(1).AddIngredient(ModContent.ItemType(), 4).AddIngredient(ModContent.ItemType()).AddTile(ModContent.TileType()).Register(); + CreateRecipe(1).AddIngredient(ModContent.ItemType(), 4).AddIngredient(ModContent.ItemType()).AddTile(ModContent.TileType()).Register(); } } } diff --git a/Items/Placeables/FurnitureAbyss/AbyssChandelier.cs b/Items/Placeables/FurnitureAbyss/AbyssChandelier.cs index eaf7e3d99e..bbce6c818f 100644 --- a/Items/Placeables/FurnitureAbyss/AbyssChandelier.cs +++ b/Items/Placeables/FurnitureAbyss/AbyssChandelier.cs @@ -29,7 +29,7 @@ namespace CalamityMod.Items.Placeables.FurnitureAbyss public override void AddRecipes() { - CreateRecipe(1).AddIngredient(ModContent.ItemType(), 4).AddIngredient(ModContent.ItemType(), 4).AddIngredient(ItemID.Chain).AddTile(ModContent.TileType()).Register(); + CreateRecipe(1).AddIngredient(ModContent.ItemType(), 4).AddIngredient(ModContent.ItemType(), 4).AddIngredient(ItemID.Chain).AddTile(ModContent.TileType()).Register(); } } } diff --git a/Items/Placeables/FurnitureAbyss/AbyssLamp.cs b/Items/Placeables/FurnitureAbyss/AbyssLamp.cs index ce217594d2..d503cf8239 100644 --- a/Items/Placeables/FurnitureAbyss/AbyssLamp.cs +++ b/Items/Placeables/FurnitureAbyss/AbyssLamp.cs @@ -30,7 +30,7 @@ namespace CalamityMod.Items.Placeables.FurnitureAbyss public override void AddRecipes() { - CreateRecipe(1).AddIngredient(ModContent.ItemType()).AddIngredient(ModContent.ItemType(), 3).AddTile(ModContent.TileType()).Register(); + CreateRecipe(1).AddIngredient(ModContent.ItemType()).AddIngredient(ModContent.ItemType(), 3).AddTile(ModContent.TileType()).Register(); } } } diff --git a/Items/Placeables/FurnitureAbyss/AbyssLantern.cs b/Items/Placeables/FurnitureAbyss/AbyssLantern.cs index 0f1c081787..40e19b9946 100644 --- a/Items/Placeables/FurnitureAbyss/AbyssLantern.cs +++ b/Items/Placeables/FurnitureAbyss/AbyssLantern.cs @@ -30,7 +30,7 @@ namespace CalamityMod.Items.Placeables.FurnitureAbyss public override void AddRecipes() { - CreateRecipe(1).AddIngredient(ModContent.ItemType(), 6).AddIngredient(ModContent.ItemType()).AddTile(ModContent.TileType()).Register(); + CreateRecipe(1).AddIngredient(ModContent.ItemType(), 6).AddIngredient(ModContent.ItemType()).AddTile(ModContent.TileType()).Register(); } } } diff --git a/Items/Placeables/FurnitureAbyss/AbyssTorch.cs b/Items/Placeables/FurnitureAbyss/AbyssTorch.cs index db2ccd06aa..4099117e07 100644 --- a/Items/Placeables/FurnitureAbyss/AbyssTorch.cs +++ b/Items/Placeables/FurnitureAbyss/AbyssTorch.cs @@ -54,7 +54,7 @@ namespace CalamityMod.Items.Placeables.FurnitureAbyss public override void AddRecipes() { - CreateRecipe(3).AddIngredient(ItemID.Torch, 3).AddIngredient(ModContent.ItemType()).Register(); + CreateRecipe(3).AddIngredient(ItemID.Torch, 3).AddIngredient(ModContent.ItemType()).Register(); } } } diff --git a/Items/Placeables/FurnitureExo/ExoCandelabra.cs b/Items/Placeables/FurnitureExo/ExoCandelabra.cs index 883934ca15..88b7f9e119 100644 --- a/Items/Placeables/FurnitureExo/ExoCandelabra.cs +++ b/Items/Placeables/FurnitureExo/ExoCandelabra.cs @@ -30,7 +30,7 @@ namespace CalamityMod.Items.Placeables.FurnitureExo public override void AddRecipes() { - CreateRecipe(1).AddIngredient(ModContent.ItemType(), 5).AddIngredient(ModContent.ItemType(), 3).AddTile(ModContent.TileType()).Register(); + CreateRecipe(1).AddIngredient(ModContent.ItemType(), 5).AddIngredient(ModContent.ItemType(), 3).AddTile(ModContent.TileType()).Register(); } } } diff --git a/Items/Placeables/FurnitureExo/ExoCandle.cs b/Items/Placeables/FurnitureExo/ExoCandle.cs index 8d4454cc2b..085a0e9fa6 100644 --- a/Items/Placeables/FurnitureExo/ExoCandle.cs +++ b/Items/Placeables/FurnitureExo/ExoCandle.cs @@ -30,7 +30,7 @@ namespace CalamityMod.Items.Placeables.FurnitureExo public override void AddRecipes() { - CreateRecipe(1).AddIngredient(ModContent.ItemType(), 4).AddIngredient(ModContent.ItemType()).AddTile(ModContent.TileType()).Register(); + CreateRecipe(1).AddIngredient(ModContent.ItemType(), 4).AddIngredient(ModContent.ItemType()).AddTile(ModContent.TileType()).Register(); } } } diff --git a/Items/Placeables/FurnitureExo/ExoChandelier.cs b/Items/Placeables/FurnitureExo/ExoChandelier.cs index 18bb7f8c47..c38391a20f 100644 --- a/Items/Placeables/FurnitureExo/ExoChandelier.cs +++ b/Items/Placeables/FurnitureExo/ExoChandelier.cs @@ -30,7 +30,7 @@ namespace CalamityMod.Items.Placeables.FurnitureExo public override void AddRecipes() { - CreateRecipe(1).AddIngredient(ModContent.ItemType(), 4).AddIngredient(ModContent.ItemType(), 4).AddIngredient(ItemID.Chain).AddTile(ModContent.TileType()).Register(); + CreateRecipe(1).AddIngredient(ModContent.ItemType(), 4).AddIngredient(ModContent.ItemType(), 4).AddIngredient(ItemID.Chain).AddTile(ModContent.TileType()).Register(); } } } diff --git a/Items/Placeables/FurnitureExo/ExoConsole.cs b/Items/Placeables/FurnitureExo/ExoConsole.cs index 05b7b6c5c8..fa7a97ae9e 100644 --- a/Items/Placeables/FurnitureExo/ExoConsole.cs +++ b/Items/Placeables/FurnitureExo/ExoConsole.cs @@ -30,7 +30,7 @@ namespace CalamityMod.Items.Placeables.FurnitureExo public override void AddRecipes() { - CreateRecipe(1).AddIngredient(ModContent.ItemType(), 10).AddIngredient(ModContent.ItemType(), 8).AddTile(ModContent.TileType()).Register(); + CreateRecipe(1).AddIngredient(ModContent.ItemType(), 10).AddIngredient(ModContent.ItemType(), 8).AddTile(ModContent.TileType()).Register(); } } } diff --git a/Items/Placeables/FurnitureExo/ExoDisplay.cs b/Items/Placeables/FurnitureExo/ExoDisplay.cs index 547cb0b805..631a6782a7 100644 --- a/Items/Placeables/FurnitureExo/ExoDisplay.cs +++ b/Items/Placeables/FurnitureExo/ExoDisplay.cs @@ -30,7 +30,7 @@ namespace CalamityMod.Items.Placeables.FurnitureExo public override void AddRecipes() { - CreateRecipe(1).AddIngredient(ModContent.ItemType(), 15).AddIngredient(ModContent.ItemType(), 5).AddTile(ModContent.TileType()).Register(); + CreateRecipe(1).AddIngredient(ModContent.ItemType(), 15).AddIngredient(ModContent.ItemType(), 5).AddTile(ModContent.TileType()).Register(); } } } diff --git a/Items/Placeables/FurnitureExo/ExoLamp.cs b/Items/Placeables/FurnitureExo/ExoLamp.cs index fb2ac3a0ed..3e1604046f 100644 --- a/Items/Placeables/FurnitureExo/ExoLamp.cs +++ b/Items/Placeables/FurnitureExo/ExoLamp.cs @@ -30,7 +30,7 @@ namespace CalamityMod.Items.Placeables.FurnitureExo public override void AddRecipes() { - CreateRecipe(1).AddIngredient(ModContent.ItemType(), 3).AddIngredient(ModContent.ItemType()).AddTile(ModContent.TileType()).Register(); + CreateRecipe(1).AddIngredient(ModContent.ItemType(), 3).AddIngredient(ModContent.ItemType()).AddTile(ModContent.TileType()).Register(); } } } diff --git a/Items/Placeables/FurnitureExo/ExoLantern.cs b/Items/Placeables/FurnitureExo/ExoLantern.cs index c4d576cee2..199a22acbb 100644 --- a/Items/Placeables/FurnitureExo/ExoLantern.cs +++ b/Items/Placeables/FurnitureExo/ExoLantern.cs @@ -30,7 +30,7 @@ namespace CalamityMod.Items.Placeables.FurnitureExo public override void AddRecipes() { - CreateRecipe(1).AddIngredient(ModContent.ItemType(), 6).AddIngredient(ModContent.ItemType()).AddTile(ModContent.TileType()).Register(); + CreateRecipe(1).AddIngredient(ModContent.ItemType(), 6).AddIngredient(ModContent.ItemType()).AddTile(ModContent.TileType()).Register(); } } } diff --git a/Items/Placeables/FurnitureExo/ExoScreen.cs b/Items/Placeables/FurnitureExo/ExoScreen.cs index 9f15e19983..127f9076c8 100644 --- a/Items/Placeables/FurnitureExo/ExoScreen.cs +++ b/Items/Placeables/FurnitureExo/ExoScreen.cs @@ -30,7 +30,7 @@ namespace CalamityMod.Items.Placeables.FurnitureExo public override void AddRecipes() { - CreateRecipe(1).AddIngredient(ModContent.ItemType(), 10).AddIngredient(ModContent.ItemType(), 3).AddTile(ModContent.TileType()).Register(); + CreateRecipe(1).AddIngredient(ModContent.ItemType(), 10).AddIngredient(ModContent.ItemType(), 3).AddTile(ModContent.TileType()).Register(); } } } diff --git a/Items/Placeables/FurnitureExo/ExoServer.cs b/Items/Placeables/FurnitureExo/ExoServer.cs index 6947dee307..c4c82e1a1d 100644 --- a/Items/Placeables/FurnitureExo/ExoServer.cs +++ b/Items/Placeables/FurnitureExo/ExoServer.cs @@ -30,7 +30,7 @@ namespace CalamityMod.Items.Placeables.FurnitureExo public override void AddRecipes() { - CreateRecipe(1).AddIngredient(ModContent.ItemType(), 12).AddIngredient(ModContent.ItemType(), 15).AddTile(ModContent.TileType()).Register(); + CreateRecipe(1).AddIngredient(ModContent.ItemType(), 12).AddIngredient(ModContent.ItemType(), 15).AddTile(ModContent.TileType()).Register(); } } } diff --git a/Items/Placeables/FurnitureExo/ExoTerminal.cs b/Items/Placeables/FurnitureExo/ExoTerminal.cs index ca0e411ff5..5cbc24e433 100644 --- a/Items/Placeables/FurnitureExo/ExoTerminal.cs +++ b/Items/Placeables/FurnitureExo/ExoTerminal.cs @@ -30,7 +30,7 @@ namespace CalamityMod.Items.Placeables.FurnitureExo public override void AddRecipes() { - CreateRecipe(1).AddIngredient(ModContent.ItemType(), 15).AddIngredient(ModContent.ItemType(), 5).AddTile(ModContent.TileType()).Register(); + CreateRecipe(1).AddIngredient(ModContent.ItemType(), 15).AddIngredient(ModContent.ItemType(), 5).AddTile(ModContent.TileType()).Register(); } } } diff --git a/Items/Placeables/FurniturePlaguedPlate/PlaguedPlate.cs b/Items/Placeables/FurniturePlaguedPlate/PlaguedPlate.cs index 5830af37c4..ce607c6e82 100644 --- a/Items/Placeables/FurniturePlaguedPlate/PlaguedPlate.cs +++ b/Items/Placeables/FurniturePlaguedPlate/PlaguedPlate.cs @@ -29,7 +29,7 @@ namespace CalamityMod.Items.Placeables.FurniturePlaguedPlate public override void AddRecipes() { - CreateRecipe(10).AddRecipeGroup("AnyStoneBlock", 10).AddIngredient(ModContent.ItemType()).AddTile(ModContent.TileType()).Register(); + CreateRecipe(10).AddRecipeGroup("AnyStoneBlock", 10).AddIngredient(ModContent.ItemType()).AddTile(ModContent.TileType()).Register(); CreateRecipe(1).AddIngredient(ModContent.ItemType(), 4).AddTile(ModContent.TileType()).Register(); CreateRecipe(1).AddIngredient(ModContent.ItemType(), 2).AddTile(ModContent.TileType()).Register(); } diff --git a/Items/Placeables/FurniturePlaguedPlate/PlaguedPlateBasin.cs b/Items/Placeables/FurniturePlaguedPlate/PlaguedPlateBasin.cs index 2742844532..04838e5fae 100644 --- a/Items/Placeables/FurniturePlaguedPlate/PlaguedPlateBasin.cs +++ b/Items/Placeables/FurniturePlaguedPlate/PlaguedPlateBasin.cs @@ -28,7 +28,7 @@ namespace CalamityMod.Items.Placeables.FurniturePlaguedPlate public override void AddRecipes() { - CreateRecipe(1).AddIngredient(ModContent.ItemType(), 10).AddIngredient(ModContent.ItemType(), 2).AddIngredient(ItemID.Wire, 5).AddTile(ModContent.TileType()).Register(); + CreateRecipe(1).AddIngredient(ModContent.ItemType(), 10).AddIngredient(ModContent.ItemType(), 2).AddIngredient(ItemID.Wire, 5).AddTile(ModContent.TileType()).Register(); } } } diff --git a/Items/Placeables/FurniturePlaguedPlate/PlaguedPlateBathtub.cs b/Items/Placeables/FurniturePlaguedPlate/PlaguedPlateBathtub.cs index cbcab3dd0e..acf9b4621c 100644 --- a/Items/Placeables/FurniturePlaguedPlate/PlaguedPlateBathtub.cs +++ b/Items/Placeables/FurniturePlaguedPlate/PlaguedPlateBathtub.cs @@ -28,7 +28,7 @@ namespace CalamityMod.Items.Placeables.FurniturePlaguedPlate public override void AddRecipes() { - CreateRecipe(1).AddIngredient(ModContent.ItemType(), 14).AddIngredient(ModContent.ItemType(), 2).AddTile(ModContent.TileType()).Register(); + CreateRecipe(1).AddIngredient(ModContent.ItemType(), 14).AddIngredient(ModContent.ItemType(), 2).AddTile(ModContent.TileType()).Register(); } } } diff --git a/Items/Placeables/FurniturePlaguedPlate/PlaguedPlateBed.cs b/Items/Placeables/FurniturePlaguedPlate/PlaguedPlateBed.cs index daed8620fd..e455754d1e 100644 --- a/Items/Placeables/FurniturePlaguedPlate/PlaguedPlateBed.cs +++ b/Items/Placeables/FurniturePlaguedPlate/PlaguedPlateBed.cs @@ -29,7 +29,7 @@ namespace CalamityMod.Items.Placeables.FurniturePlaguedPlate public override void AddRecipes() { - CreateRecipe(1).AddIngredient(ModContent.ItemType(), 15).AddIngredient(ModContent.ItemType(), 5).AddTile(ModContent.TileType()).Register(); + CreateRecipe(1).AddIngredient(ModContent.ItemType(), 15).AddIngredient(ModContent.ItemType(), 5).AddTile(ModContent.TileType()).Register(); } } } diff --git a/Items/Placeables/FurniturePlaguedPlate/PlaguedPlateBookcase.cs b/Items/Placeables/FurniturePlaguedPlate/PlaguedPlateBookcase.cs index df6995d5a3..9304ba0338 100644 --- a/Items/Placeables/FurniturePlaguedPlate/PlaguedPlateBookcase.cs +++ b/Items/Placeables/FurniturePlaguedPlate/PlaguedPlateBookcase.cs @@ -28,7 +28,7 @@ namespace CalamityMod.Items.Placeables.FurniturePlaguedPlate public override void AddRecipes() { - CreateRecipe(1).AddIngredient(ModContent.ItemType(), 20).AddIngredient(ModContent.ItemType(), 2).AddIngredient(ItemID.Book).AddTile(ModContent.TileType()).Register(); + CreateRecipe(1).AddIngredient(ModContent.ItemType(), 20).AddIngredient(ModContent.ItemType(), 2).AddIngredient(ItemID.Book).AddTile(ModContent.TileType()).Register(); } } } diff --git a/Items/Placeables/FurniturePlaguedPlate/PlaguedPlateCandelabra.cs b/Items/Placeables/FurniturePlaguedPlate/PlaguedPlateCandelabra.cs index 14f4080738..7bd275b3b9 100644 --- a/Items/Placeables/FurniturePlaguedPlate/PlaguedPlateCandelabra.cs +++ b/Items/Placeables/FurniturePlaguedPlate/PlaguedPlateCandelabra.cs @@ -28,7 +28,7 @@ namespace CalamityMod.Items.Placeables.FurniturePlaguedPlate public override void AddRecipes() { - CreateRecipe(1).AddIngredient(ModContent.ItemType(), 5).AddIngredient(ModContent.ItemType(), 2).AddIngredient(ItemID.Wire, 3).AddTile(ModContent.TileType()).Register(); + CreateRecipe(1).AddIngredient(ModContent.ItemType(), 5).AddIngredient(ModContent.ItemType(), 2).AddIngredient(ItemID.Wire, 3).AddTile(ModContent.TileType()).Register(); } } } diff --git a/Items/Placeables/FurniturePlaguedPlate/PlaguedPlateCandle.cs b/Items/Placeables/FurniturePlaguedPlate/PlaguedPlateCandle.cs index 82e9392997..810aa093ec 100644 --- a/Items/Placeables/FurniturePlaguedPlate/PlaguedPlateCandle.cs +++ b/Items/Placeables/FurniturePlaguedPlate/PlaguedPlateCandle.cs @@ -28,7 +28,7 @@ namespace CalamityMod.Items.Placeables.FurniturePlaguedPlate public override void AddRecipes() { - CreateRecipe(1).AddIngredient(ModContent.ItemType(), 4).AddIngredient(ModContent.ItemType(), 2).AddIngredient(ItemID.Wire).AddTile(ModContent.TileType()).Register(); + CreateRecipe(1).AddIngredient(ModContent.ItemType(), 4).AddIngredient(ModContent.ItemType(), 2).AddIngredient(ItemID.Wire).AddTile(ModContent.TileType()).Register(); } } } diff --git a/Items/Placeables/FurniturePlaguedPlate/PlaguedPlateChair.cs b/Items/Placeables/FurniturePlaguedPlate/PlaguedPlateChair.cs index f215026b5f..327591790b 100644 --- a/Items/Placeables/FurniturePlaguedPlate/PlaguedPlateChair.cs +++ b/Items/Placeables/FurniturePlaguedPlate/PlaguedPlateChair.cs @@ -28,7 +28,7 @@ namespace CalamityMod.Items.Placeables.FurniturePlaguedPlate public override void AddRecipes() { - CreateRecipe(1).AddIngredient(ModContent.ItemType(), 4).AddIngredient(ModContent.ItemType(), 2).AddTile(ModContent.TileType()).Register(); + CreateRecipe(1).AddIngredient(ModContent.ItemType(), 4).AddIngredient(ModContent.ItemType(), 2).AddTile(ModContent.TileType()).Register(); } } } diff --git a/Items/Placeables/FurniturePlaguedPlate/PlaguedPlateChandelier.cs b/Items/Placeables/FurniturePlaguedPlate/PlaguedPlateChandelier.cs index a438fc6f14..ffd3288a5f 100644 --- a/Items/Placeables/FurniturePlaguedPlate/PlaguedPlateChandelier.cs +++ b/Items/Placeables/FurniturePlaguedPlate/PlaguedPlateChandelier.cs @@ -28,7 +28,7 @@ namespace CalamityMod.Items.Placeables.FurniturePlaguedPlate public override void AddRecipes() { - CreateRecipe(1).AddIngredient(ModContent.ItemType(), 4).AddIngredient(ModContent.ItemType(), 2).AddIngredient(ItemID.Wire, 4).AddIngredient(ItemID.Chain).AddTile(ModContent.TileType()).Register(); + CreateRecipe(1).AddIngredient(ModContent.ItemType(), 4).AddIngredient(ModContent.ItemType(), 2).AddIngredient(ItemID.Wire, 4).AddIngredient(ItemID.Chain).AddTile(ModContent.TileType()).Register(); } } } diff --git a/Items/Placeables/FurniturePlaguedPlate/PlaguedPlateChest.cs b/Items/Placeables/FurniturePlaguedPlate/PlaguedPlateChest.cs index 9d0d0e4101..fbf03efc69 100644 --- a/Items/Placeables/FurniturePlaguedPlate/PlaguedPlateChest.cs +++ b/Items/Placeables/FurniturePlaguedPlate/PlaguedPlateChest.cs @@ -28,7 +28,7 @@ namespace CalamityMod.Items.Placeables.FurniturePlaguedPlate public override void AddRecipes() { - CreateRecipe(1).AddIngredient(ModContent.ItemType(), 8).AddIngredient(ModContent.ItemType(), 2).AddIngredient(ItemID.IronBar, 2).AddTile(ModContent.TileType()).Register(); + CreateRecipe(1).AddIngredient(ModContent.ItemType(), 8).AddIngredient(ModContent.ItemType(), 2).AddIngredient(ItemID.IronBar, 2).AddTile(ModContent.TileType()).Register(); } } } diff --git a/Items/Placeables/FurniturePlaguedPlate/PlaguedPlateClock.cs b/Items/Placeables/FurniturePlaguedPlate/PlaguedPlateClock.cs index c542b5803b..cecc2ebeb8 100644 --- a/Items/Placeables/FurniturePlaguedPlate/PlaguedPlateClock.cs +++ b/Items/Placeables/FurniturePlaguedPlate/PlaguedPlateClock.cs @@ -28,7 +28,7 @@ namespace CalamityMod.Items.Placeables.FurniturePlaguedPlate public override void AddRecipes() { - CreateRecipe(1).AddIngredient(ModContent.ItemType(), 10).AddIngredient(ModContent.ItemType(), 2).AddIngredient(ItemID.Glass, 6).AddIngredient(ItemID.IronBar, 3).AddTile(ModContent.TileType()).Register(); + CreateRecipe(1).AddIngredient(ModContent.ItemType(), 10).AddIngredient(ModContent.ItemType(), 2).AddIngredient(ItemID.Glass, 6).AddIngredient(ItemID.IronBar, 3).AddTile(ModContent.TileType()).Register(); } } } diff --git a/Items/Placeables/FurniturePlaguedPlate/PlaguedPlateDoor.cs b/Items/Placeables/FurniturePlaguedPlate/PlaguedPlateDoor.cs index fb1f8f3eef..d404d7dfaf 100644 --- a/Items/Placeables/FurniturePlaguedPlate/PlaguedPlateDoor.cs +++ b/Items/Placeables/FurniturePlaguedPlate/PlaguedPlateDoor.cs @@ -29,7 +29,7 @@ namespace CalamityMod.Items.Placeables.FurniturePlaguedPlate public override void AddRecipes() { - CreateRecipe(1).AddIngredient(ModContent.ItemType(), 6).AddIngredient(ModContent.ItemType(), 2).AddTile(ModContent.TileType()).Register(); + CreateRecipe(1).AddIngredient(ModContent.ItemType(), 6).AddIngredient(ModContent.ItemType(), 2).AddTile(ModContent.TileType()).Register(); } } } diff --git a/Items/Placeables/FurniturePlaguedPlate/PlaguedPlateDresser.cs b/Items/Placeables/FurniturePlaguedPlate/PlaguedPlateDresser.cs index e1fedd9128..af421d26d6 100644 --- a/Items/Placeables/FurniturePlaguedPlate/PlaguedPlateDresser.cs +++ b/Items/Placeables/FurniturePlaguedPlate/PlaguedPlateDresser.cs @@ -28,7 +28,7 @@ namespace CalamityMod.Items.Placeables.FurniturePlaguedPlate public override void AddRecipes() { - CreateRecipe(1).AddIngredient(ModContent.ItemType(), 16).AddIngredient(ModContent.ItemType(), 2).AddTile(ModContent.TileType()).Register(); + CreateRecipe(1).AddIngredient(ModContent.ItemType(), 16).AddIngredient(ModContent.ItemType(), 2).AddTile(ModContent.TileType()).Register(); } } } diff --git a/Items/Placeables/FurniturePlaguedPlate/PlaguedPlateLamp.cs b/Items/Placeables/FurniturePlaguedPlate/PlaguedPlateLamp.cs index 0be0c3dc7c..f2532bd2d2 100644 --- a/Items/Placeables/FurniturePlaguedPlate/PlaguedPlateLamp.cs +++ b/Items/Placeables/FurniturePlaguedPlate/PlaguedPlateLamp.cs @@ -28,7 +28,7 @@ namespace CalamityMod.Items.Placeables.FurniturePlaguedPlate public override void AddRecipes() { - CreateRecipe(1).AddIngredient(ModContent.ItemType(), 3).AddIngredient(ModContent.ItemType(), 2).AddIngredient(ItemID.Wire).AddTile(ModContent.TileType()).Register(); + CreateRecipe(1).AddIngredient(ModContent.ItemType(), 3).AddIngredient(ModContent.ItemType(), 2).AddIngredient(ItemID.Wire).AddTile(ModContent.TileType()).Register(); } } } diff --git a/Items/Placeables/FurniturePlaguedPlate/PlaguedPlateLantern.cs b/Items/Placeables/FurniturePlaguedPlate/PlaguedPlateLantern.cs index e204e75428..95471e74a9 100644 --- a/Items/Placeables/FurniturePlaguedPlate/PlaguedPlateLantern.cs +++ b/Items/Placeables/FurniturePlaguedPlate/PlaguedPlateLantern.cs @@ -28,7 +28,7 @@ namespace CalamityMod.Items.Placeables.FurniturePlaguedPlate public override void AddRecipes() { - CreateRecipe(1).AddIngredient(ModContent.ItemType(), 6).AddIngredient(ModContent.ItemType(), 2).AddIngredient(ItemID.Wire).AddTile(ModContent.TileType()).Register(); + CreateRecipe(1).AddIngredient(ModContent.ItemType(), 6).AddIngredient(ModContent.ItemType(), 2).AddIngredient(ItemID.Wire).AddTile(ModContent.TileType()).Register(); } } } diff --git a/Items/Placeables/FurniturePlaguedPlate/PlaguedPlatePiano.cs b/Items/Placeables/FurniturePlaguedPlate/PlaguedPlatePiano.cs index 3c21740b17..b83aeea8e9 100644 --- a/Items/Placeables/FurniturePlaguedPlate/PlaguedPlatePiano.cs +++ b/Items/Placeables/FurniturePlaguedPlate/PlaguedPlatePiano.cs @@ -28,7 +28,7 @@ namespace CalamityMod.Items.Placeables.FurniturePlaguedPlate public override void AddRecipes() { - CreateRecipe(1).AddIngredient(ModContent.ItemType(), 15).AddIngredient(ModContent.ItemType(), 2).AddIngredient(ItemID.Bone, 4).AddIngredient(ItemID.Book).AddTile(ModContent.TileType()).Register(); + CreateRecipe(1).AddIngredient(ModContent.ItemType(), 15).AddIngredient(ModContent.ItemType(), 2).AddIngredient(ItemID.Bone, 4).AddIngredient(ItemID.Book).AddTile(ModContent.TileType()).Register(); } } } diff --git a/Items/Placeables/FurniturePlaguedPlate/PlaguedPlateSink.cs b/Items/Placeables/FurniturePlaguedPlate/PlaguedPlateSink.cs index 2fe7b3a093..5ef8815aa9 100644 --- a/Items/Placeables/FurniturePlaguedPlate/PlaguedPlateSink.cs +++ b/Items/Placeables/FurniturePlaguedPlate/PlaguedPlateSink.cs @@ -29,7 +29,7 @@ namespace CalamityMod.Items.Placeables.FurniturePlaguedPlate public override void AddRecipes() { - CreateRecipe(1).AddIngredient(ModContent.ItemType(), 6).AddIngredient(ModContent.ItemType(), 2).AddIngredient(ItemID.WaterBucket, 1).AddTile(ModContent.TileType()).Register(); + CreateRecipe(1).AddIngredient(ModContent.ItemType(), 6).AddIngredient(ModContent.ItemType(), 2).AddIngredient(ItemID.WaterBucket, 1).AddTile(ModContent.TileType()).Register(); } } } diff --git a/Items/Placeables/FurniturePlaguedPlate/PlaguedPlateSofa.cs b/Items/Placeables/FurniturePlaguedPlate/PlaguedPlateSofa.cs index 1450d75941..bf8508cc77 100644 --- a/Items/Placeables/FurniturePlaguedPlate/PlaguedPlateSofa.cs +++ b/Items/Placeables/FurniturePlaguedPlate/PlaguedPlateSofa.cs @@ -28,7 +28,7 @@ namespace CalamityMod.Items.Placeables.FurniturePlaguedPlate public override void AddRecipes() { - CreateRecipe(1).AddIngredient(ModContent.ItemType(), 5).AddIngredient(ModContent.ItemType(), 2).AddIngredient(ItemID.Silk, 2).AddTile(ModContent.TileType()).Register(); + CreateRecipe(1).AddIngredient(ModContent.ItemType(), 5).AddIngredient(ModContent.ItemType(), 2).AddIngredient(ItemID.Silk, 2).AddTile(ModContent.TileType()).Register(); } } } diff --git a/Items/Placeables/FurniturePlaguedPlate/PlaguedPlateTable.cs b/Items/Placeables/FurniturePlaguedPlate/PlaguedPlateTable.cs index adedb59507..1c91bf98ce 100644 --- a/Items/Placeables/FurniturePlaguedPlate/PlaguedPlateTable.cs +++ b/Items/Placeables/FurniturePlaguedPlate/PlaguedPlateTable.cs @@ -28,7 +28,7 @@ namespace CalamityMod.Items.Placeables.FurniturePlaguedPlate public override void AddRecipes() { - CreateRecipe(1).AddIngredient(ModContent.ItemType(), 8).AddIngredient(ModContent.ItemType(), 2).AddTile(ModContent.TileType()).Register(); + CreateRecipe(1).AddIngredient(ModContent.ItemType(), 8).AddIngredient(ModContent.ItemType(), 2).AddTile(ModContent.TileType()).Register(); } } } diff --git a/Items/Placeables/FurniturePlaguedPlate/PlaguedPlateWorkbench.cs b/Items/Placeables/FurniturePlaguedPlate/PlaguedPlateWorkbench.cs index 191ecc99ad..0c395d1bc9 100644 --- a/Items/Placeables/FurniturePlaguedPlate/PlaguedPlateWorkbench.cs +++ b/Items/Placeables/FurniturePlaguedPlate/PlaguedPlateWorkbench.cs @@ -28,7 +28,7 @@ namespace CalamityMod.Items.Placeables.FurniturePlaguedPlate public override void AddRecipes() { - CreateRecipe(1).AddIngredient(ModContent.ItemType(), 10).AddIngredient(ModContent.ItemType(), 2).AddTile(ModContent.TileType()).Register(); + CreateRecipe(1).AddIngredient(ModContent.ItemType(), 10).AddIngredient(ModContent.ItemType(), 2).AddTile(ModContent.TileType()).Register(); } } } diff --git a/Items/Placeables/FurnitureStratus/StratusBricks.cs b/Items/Placeables/FurnitureStratus/StratusBricks.cs index 389d74e801..eb624194ba 100644 --- a/Items/Placeables/FurnitureStratus/StratusBricks.cs +++ b/Items/Placeables/FurnitureStratus/StratusBricks.cs @@ -29,7 +29,7 @@ namespace CalamityMod.Items.Placeables.FurnitureStratus public override void AddRecipes() { - CreateRecipe(50).AddRecipeGroup("AnyStoneBlock", 50).AddIngredient(ModContent.ItemType(), 3).AddIngredient(ModContent.ItemType(), 1).AddIngredient(ModContent.ItemType(), 1).AddTile(TileID.LunarCraftingStation).Register(); + CreateRecipe(50).AddRecipeGroup("AnyStoneBlock", 50).AddIngredient(ModContent.ItemType(), 3).AddIngredient(ModContent.ItemType(), 1).AddIngredient(ModContent.ItemType(), 1).AddTile(TileID.LunarCraftingStation).Register(); CreateRecipe(1).AddIngredient(ModContent.ItemType(), 4).AddTile(TileID.WorkBenches).Register(); CreateRecipe(1).AddIngredient(ModContent.ItemType(), 2).AddTile(TileID.LunarCraftingStation).Register(); CreateRecipe(1).AddIngredient(ModContent.ItemType(), 2).AddTile(TileID.LunarCraftingStation).Register(); diff --git a/Items/Placeables/FurnitureStratus/StratusCandelabra.cs b/Items/Placeables/FurnitureStratus/StratusCandelabra.cs index 58078ffffc..392a952e4a 100644 --- a/Items/Placeables/FurnitureStratus/StratusCandelabra.cs +++ b/Items/Placeables/FurnitureStratus/StratusCandelabra.cs @@ -26,7 +26,7 @@ namespace CalamityMod.Items.Placeables.FurnitureStratus public override void AddRecipes() { - CreateRecipe(1).AddIngredient(ModContent.ItemType(), 5).AddIngredient(ModContent.ItemType(), 3).AddTile(TileID.LunarCraftingStation).Register(); + CreateRecipe(1).AddIngredient(ModContent.ItemType(), 5).AddIngredient(ModContent.ItemType(), 3).AddTile(TileID.LunarCraftingStation).Register(); } } } diff --git a/Items/Placeables/FurnitureStratus/StratusCandle.cs b/Items/Placeables/FurnitureStratus/StratusCandle.cs index 0ffa5d6953..90a67efb89 100644 --- a/Items/Placeables/FurnitureStratus/StratusCandle.cs +++ b/Items/Placeables/FurnitureStratus/StratusCandle.cs @@ -26,7 +26,7 @@ namespace CalamityMod.Items.Placeables.FurnitureStratus public override void AddRecipes() { - CreateRecipe(1).AddIngredient(ModContent.ItemType(), 4).AddIngredient(ModContent.ItemType()).AddTile(TileID.LunarCraftingStation).Register(); + CreateRecipe(1).AddIngredient(ModContent.ItemType(), 4).AddIngredient(ModContent.ItemType()).AddTile(TileID.LunarCraftingStation).Register(); } } } diff --git a/Items/Placeables/FurnitureStratus/StratusChandelier.cs b/Items/Placeables/FurnitureStratus/StratusChandelier.cs index 7a319f7906..653ba7cc69 100644 --- a/Items/Placeables/FurnitureStratus/StratusChandelier.cs +++ b/Items/Placeables/FurnitureStratus/StratusChandelier.cs @@ -26,7 +26,7 @@ namespace CalamityMod.Items.Placeables.FurnitureStratus public override void AddRecipes() { - CreateRecipe(1).AddIngredient(ModContent.ItemType(), 4).AddIngredient(ModContent.ItemType(), 4).AddIngredient(ItemID.Chain).AddTile(TileID.LunarCraftingStation).Register(); + CreateRecipe(1).AddIngredient(ModContent.ItemType(), 4).AddIngredient(ModContent.ItemType(), 4).AddIngredient(ItemID.Chain).AddTile(TileID.LunarCraftingStation).Register(); } } } diff --git a/Items/Placeables/FurnitureStratus/StratusLamp.cs b/Items/Placeables/FurnitureStratus/StratusLamp.cs index f82ad7729d..1ba07c2f9b 100644 --- a/Items/Placeables/FurnitureStratus/StratusLamp.cs +++ b/Items/Placeables/FurnitureStratus/StratusLamp.cs @@ -26,7 +26,7 @@ namespace CalamityMod.Items.Placeables.FurnitureStratus public override void AddRecipes() { - CreateRecipe(1).AddIngredient(ModContent.ItemType(), 3).AddIngredient(ModContent.ItemType(), 1).AddTile(TileID.LunarCraftingStation).Register(); + CreateRecipe(1).AddIngredient(ModContent.ItemType(), 3).AddIngredient(ModContent.ItemType(), 1).AddTile(TileID.LunarCraftingStation).Register(); } } } diff --git a/Items/Placeables/FurnitureStratus/StratusLantern.cs b/Items/Placeables/FurnitureStratus/StratusLantern.cs index af7fccdf53..8e0ce61b75 100644 --- a/Items/Placeables/FurnitureStratus/StratusLantern.cs +++ b/Items/Placeables/FurnitureStratus/StratusLantern.cs @@ -26,7 +26,7 @@ namespace CalamityMod.Items.Placeables.FurnitureStratus public override void AddRecipes() { - CreateRecipe(1).AddIngredient(ModContent.ItemType(), 6).AddIngredient(ModContent.ItemType(), 1).AddTile(TileID.LunarCraftingStation).Register(); + CreateRecipe(1).AddIngredient(ModContent.ItemType(), 6).AddIngredient(ModContent.ItemType(), 1).AddTile(TileID.LunarCraftingStation).Register(); } } } diff --git a/Items/Placeables/FurnitureVoid/VoidCandelabra.cs b/Items/Placeables/FurnitureVoid/VoidCandelabra.cs index f1ecfd74f9..135aa9fd11 100644 --- a/Items/Placeables/FurnitureVoid/VoidCandelabra.cs +++ b/Items/Placeables/FurnitureVoid/VoidCandelabra.cs @@ -27,7 +27,7 @@ namespace CalamityMod.Items.Placeables.FurnitureVoid public override void AddRecipes() { - CreateRecipe(1).AddIngredient(ModContent.ItemType(), 5).AddIngredient(ModContent.ItemType(), 3).AddTile(ModContent.TileType()).Register(); + CreateRecipe(1).AddIngredient(ModContent.ItemType(), 5).AddIngredient(ModContent.ItemType(), 3).AddTile(ModContent.TileType()).Register(); } } } diff --git a/Items/Placeables/FurnitureVoid/VoidCandle.cs b/Items/Placeables/FurnitureVoid/VoidCandle.cs index 266e8d6dff..3554517ffc 100644 --- a/Items/Placeables/FurnitureVoid/VoidCandle.cs +++ b/Items/Placeables/FurnitureVoid/VoidCandle.cs @@ -27,7 +27,7 @@ namespace CalamityMod.Items.Placeables.FurnitureVoid public override void AddRecipes() { - CreateRecipe(1).AddIngredient(ModContent.ItemType(), 4).AddIngredient(ModContent.ItemType()).AddTile(ModContent.TileType()).Register(); + CreateRecipe(1).AddIngredient(ModContent.ItemType(), 4).AddIngredient(ModContent.ItemType()).AddTile(ModContent.TileType()).Register(); } } } diff --git a/Items/Placeables/FurnitureVoid/VoidChandelier.cs b/Items/Placeables/FurnitureVoid/VoidChandelier.cs index d93940b210..53d1dabcb8 100644 --- a/Items/Placeables/FurnitureVoid/VoidChandelier.cs +++ b/Items/Placeables/FurnitureVoid/VoidChandelier.cs @@ -27,7 +27,7 @@ namespace CalamityMod.Items.Placeables.FurnitureVoid public override void AddRecipes() { - CreateRecipe(1).AddIngredient(ModContent.ItemType(), 4).AddIngredient(ModContent.ItemType(), 4).AddIngredient(ItemID.Chain).AddTile(ModContent.TileType()).Register(); + CreateRecipe(1).AddIngredient(ModContent.ItemType(), 4).AddIngredient(ModContent.ItemType(), 4).AddIngredient(ItemID.Chain).AddTile(ModContent.TileType()).Register(); } } } diff --git a/Items/Placeables/FurnitureVoid/VoidLamp.cs b/Items/Placeables/FurnitureVoid/VoidLamp.cs index e59bd18caf..37a42b1482 100644 --- a/Items/Placeables/FurnitureVoid/VoidLamp.cs +++ b/Items/Placeables/FurnitureVoid/VoidLamp.cs @@ -27,7 +27,7 @@ namespace CalamityMod.Items.Placeables.FurnitureVoid public override void AddRecipes() { - CreateRecipe(1).AddIngredient(ModContent.ItemType()).AddIngredient(ModContent.ItemType(), 3).AddTile(ModContent.TileType()).Register(); + CreateRecipe(1).AddIngredient(ModContent.ItemType()).AddIngredient(ModContent.ItemType(), 3).AddTile(ModContent.TileType()).Register(); } } } diff --git a/Items/Placeables/FurnitureVoid/VoidLantern.cs b/Items/Placeables/FurnitureVoid/VoidLantern.cs index 3db8591ba1..1736c5bb3b 100644 --- a/Items/Placeables/FurnitureVoid/VoidLantern.cs +++ b/Items/Placeables/FurnitureVoid/VoidLantern.cs @@ -27,7 +27,7 @@ namespace CalamityMod.Items.Placeables.FurnitureVoid public override void AddRecipes() { - CreateRecipe(1).AddIngredient(ModContent.ItemType(), 6).AddIngredient(ModContent.ItemType()).AddTile(ModContent.TileType()).Register(); + CreateRecipe(1).AddIngredient(ModContent.ItemType(), 6).AddIngredient(ModContent.ItemType()).AddTile(ModContent.TileType()).Register(); } } } diff --git a/Items/Placeables/Plates/Cinderplate.cs b/Items/Placeables/Plates/Cinderplate.cs index 3e6021fd86..aa3a38522c 100644 --- a/Items/Placeables/Plates/Cinderplate.cs +++ b/Items/Placeables/Plates/Cinderplate.cs @@ -33,7 +33,7 @@ namespace CalamityMod.Items.Placeables.Plates public override void AddRecipes() { - CreateRecipe(3).AddIngredient(ModContent.ItemType(), 1).AddIngredient(ItemID.Obsidian, 3).AddTile(TileID.Hellforge).Register(); + CreateRecipe(3).AddIngredient(ModContent.ItemType(), 1).AddIngredient(ItemID.Obsidian, 3).AddTile(TileID.Hellforge).Register(); CreateRecipe(1).AddIngredient(ModContent.ItemType(), 4).AddTile(TileID.WorkBenches).Register(); } } diff --git a/Items/Placeables/Plates/PlagueContainmentCells.cs b/Items/Placeables/Plates/PlagueContainmentCells.cs index 3f5a5937df..d556a0984b 100644 --- a/Items/Placeables/Plates/PlagueContainmentCells.cs +++ b/Items/Placeables/Plates/PlagueContainmentCells.cs @@ -33,7 +33,7 @@ namespace CalamityMod.Items.Placeables.Plates public override void AddRecipes() { - CreateRecipe(3).AddIngredient(ModContent.ItemType(), 1).AddIngredient(ItemID.Obsidian, 3).AddTile(TileID.Hellforge).Register(); + CreateRecipe(3).AddIngredient(ModContent.ItemType(), 1).AddIngredient(ItemID.Obsidian, 3).AddTile(TileID.Hellforge).Register(); CreateRecipe(1).AddIngredient(ModContent.ItemType(), 4).AddTile(TileID.WorkBenches).Register(); } } diff --git a/Items/Potions/CalamitasBrew.cs b/Items/Potions/CalamitasBrew.cs index 9ea7675d51..72a900ded5 100644 --- a/Items/Potions/CalamitasBrew.cs +++ b/Items/Potions/CalamitasBrew.cs @@ -39,14 +39,14 @@ namespace CalamityMod.Items.Potions CreateRecipe(3). AddIngredient(ItemID.BottledWater, 3). AddIngredient(). - AddIngredient(3). + AddIngredient(3). AddTile(TileID.ImbuingStation). Register(); CreateRecipe(). AddIngredient(ItemID.BottledWater). AddIngredient(20). - AddIngredient(). + AddIngredient(). AddTile(TileID.ImbuingStation). Register(); } diff --git a/Items/Potions/CrumblingPotion.cs b/Items/Potions/CrumblingPotion.cs index ea00c935d9..e1408cbd58 100644 --- a/Items/Potions/CrumblingPotion.cs +++ b/Items/Potions/CrumblingPotion.cs @@ -38,14 +38,14 @@ namespace CalamityMod.Items.Potions CreateRecipe(5). AddIngredient(ItemID.BottledWater, 5). AddIngredient(). - AddIngredient(). + AddIngredient(). AddTile(TileID.AlchemyTable). Register(); CreateRecipe(). AddIngredient(ItemID.BottledWater). AddIngredient(20). - AddIngredient(). + AddIngredient(). AddTile(TileID.AlchemyTable). Register(); } diff --git a/Items/Potions/PhotosynthesisPotion.cs b/Items/Potions/PhotosynthesisPotion.cs index 73b44473ef..e0f6f4a5fb 100644 --- a/Items/Potions/PhotosynthesisPotion.cs +++ b/Items/Potions/PhotosynthesisPotion.cs @@ -39,14 +39,14 @@ namespace CalamityMod.Items.Potions AddIngredient(ItemID.BottledWater). AddIngredient(). AddIngredient(). - AddIngredient(). + AddIngredient(). AddTile(TileID.AlchemyTable). Register(); CreateRecipe(). AddIngredient(ItemID.BottledWater). AddIngredient(40). - AddIngredient(). + AddIngredient(). AddTile(TileID.AlchemyTable). Register(); } diff --git a/Items/Potions/RevivifyPotion.cs b/Items/Potions/RevivifyPotion.cs index 6003a77047..5e2cff69ac 100644 --- a/Items/Potions/RevivifyPotion.cs +++ b/Items/Potions/RevivifyPotion.cs @@ -40,7 +40,7 @@ namespace CalamityMod.Items.Potions AddIngredient(ItemID.HolyWater, 5). AddIngredient(20). AddIngredient(ItemID.CrystalShard, 5). - AddIngredient(3). + AddIngredient(3). AddIngredient(). AddTile(TileID.AlchemyTable). Register(); diff --git a/Items/Potions/ZenPotion.cs b/Items/Potions/ZenPotion.cs index 50b66910a2..a5ee12fcb1 100644 --- a/Items/Potions/ZenPotion.cs +++ b/Items/Potions/ZenPotion.cs @@ -38,7 +38,7 @@ namespace CalamityMod.Items.Potions CreateRecipe(). AddIngredient(ItemID.BottledWater). AddIngredient(2). - AddIngredient(2). + AddIngredient(2). AddIngredient(ItemID.PinkGel). AddIngredient(ItemID.Daybloom). AddTile(TileID.AlchemyTable). diff --git a/Items/Potions/ZergPotion.cs b/Items/Potions/ZergPotion.cs index 852c97439f..b877833832 100644 --- a/Items/Potions/ZergPotion.cs +++ b/Items/Potions/ZergPotion.cs @@ -38,7 +38,7 @@ namespace CalamityMod.Items.Potions CreateRecipe(). AddIngredient(ItemID.BottledWater). AddIngredient(2). - AddIngredient(4). + AddIngredient(4). AddIngredient(). AddTile(TileID.AlchemyTable). Register(); diff --git a/Items/SummonItems/Abomination.cs b/Items/SummonItems/Abomination.cs index 092b2571df..f37887a35d 100644 --- a/Items/SummonItems/Abomination.cs +++ b/Items/SummonItems/Abomination.cs @@ -49,7 +49,7 @@ namespace CalamityMod.Items.SummonItems public override void AddRecipes() { CreateRecipe(). - AddIngredient(20). + AddIngredient(20). AddIngredient(ItemID.IronBar, 8). AddIngredient(ItemID.Stinger, 5). AddIngredient(ItemID.Obsidian, 3). diff --git a/Items/SummonItems/BirbPheromones.cs b/Items/SummonItems/BirbPheromones.cs index 728976df68..e18c902728 100644 --- a/Items/SummonItems/BirbPheromones.cs +++ b/Items/SummonItems/BirbPheromones.cs @@ -49,7 +49,7 @@ namespace CalamityMod.Items.SummonItems public override void AddRecipes() { CreateRecipe(). - AddIngredient(5). + AddIngredient(5). AddIngredient(ItemID.FragmentSolar, 20). AddTile(TileID.LunarCraftingStation). Register(); diff --git a/Items/SummonItems/ChickenEgg.cs b/Items/SummonItems/ChickenEgg.cs index 69f4b1c5ed..e7a08e13bb 100644 --- a/Items/SummonItems/ChickenEgg.cs +++ b/Items/SummonItems/ChickenEgg.cs @@ -51,7 +51,7 @@ namespace CalamityMod.Items.SummonItems { CreateRecipe(). AddIngredient(15). - AddIngredient(15). + AddIngredient(15). AddTile(TileID.LunarCraftingStation). Register(); } diff --git a/Items/SummonItems/EyeofExtinction.cs b/Items/SummonItems/EyeofExtinction.cs index 14c29f15d8..26e1590cbb 100644 --- a/Items/SummonItems/EyeofExtinction.cs +++ b/Items/SummonItems/EyeofExtinction.cs @@ -23,8 +23,8 @@ namespace CalamityMod.Items.SummonItems public override void AddRecipes() { CreateRecipe(). - AddIngredient(5). - AddIngredient(15). + AddIngredient(5). + AddIngredient(15). AddTile(). Register(); } diff --git a/Items/SummonItems/Invasion/CausticTear.cs b/Items/SummonItems/Invasion/CausticTear.cs index 8f6c2602e4..0c808badcd 100644 --- a/Items/SummonItems/Invasion/CausticTear.cs +++ b/Items/SummonItems/Invasion/CausticTear.cs @@ -44,7 +44,7 @@ namespace CalamityMod.Items.SummonItems.Invasion public override void AddRecipes() { CreateRecipe(). - AddIngredient(5). + AddIngredient(5). Register(); } } diff --git a/Items/SummonItems/OldPowerCell.cs b/Items/SummonItems/OldPowerCell.cs index 6877aaaa67..8300839260 100644 --- a/Items/SummonItems/OldPowerCell.cs +++ b/Items/SummonItems/OldPowerCell.cs @@ -57,7 +57,7 @@ namespace CalamityMod.Items.SummonItems { CreateRecipe(). AddIngredient(ItemID.LunarTabletFragment, 20). - AddIngredient(10). + AddIngredient(10). AddTile(TileID.MythrilAnvil). Register(); } diff --git a/Items/SummonItems/OverloadedSludge.cs b/Items/SummonItems/OverloadedSludge.cs index a148d9723c..4db51b4cd9 100644 --- a/Items/SummonItems/OverloadedSludge.cs +++ b/Items/SummonItems/OverloadedSludge.cs @@ -50,7 +50,7 @@ namespace CalamityMod.Items.SummonItems public override void AddRecipes() { CreateRecipe(). - AddIngredient(40). + AddIngredient(40). AddRecipeGroup("AnyEvilBlock", 40). AddTile(TileID.DemonAltar). Register(); diff --git a/Items/SummonItems/Teratoma.cs b/Items/SummonItems/Teratoma.cs index 17c1ac0935..961cb9cf99 100644 --- a/Items/SummonItems/Teratoma.cs +++ b/Items/SummonItems/Teratoma.cs @@ -49,7 +49,7 @@ namespace CalamityMod.Items.SummonItems { CreateRecipe(). AddIngredient(ItemID.RottenChunk, 13). - AddIngredient(7). + AddIngredient(7). AddIngredient(ItemID.DemoniteBar, 3). AddTile(TileID.DemonAltar). Register(); diff --git a/Items/Tools/AbyssalWarhammer.cs b/Items/Tools/AbyssalWarhammer.cs index 3b1ffa74c2..8eb56084a1 100644 --- a/Items/Tools/AbyssalWarhammer.cs +++ b/Items/Tools/AbyssalWarhammer.cs @@ -37,7 +37,7 @@ namespace CalamityMod.Items.Tools public override void AddRecipes() { CreateRecipe(). - AddIngredient(8). + AddIngredient(8). AddTile(TileID.MythrilAnvil). Register(); } diff --git a/Items/Tools/BeastialPickaxe.cs b/Items/Tools/BeastialPickaxe.cs index 3c5b069131..83a51d1a7d 100644 --- a/Items/Tools/BeastialPickaxe.cs +++ b/Items/Tools/BeastialPickaxe.cs @@ -36,7 +36,7 @@ namespace CalamityMod.Items.Tools public override void AddRecipes() { CreateRecipe(). - AddIngredient(7). + AddIngredient(7). AddTile(TileID.MythrilAnvil). Register(); } diff --git a/Items/Tools/BerserkerWaraxe.cs b/Items/Tools/BerserkerWaraxe.cs index c44cac214c..ee11174a99 100644 --- a/Items/Tools/BerserkerWaraxe.cs +++ b/Items/Tools/BerserkerWaraxe.cs @@ -36,7 +36,7 @@ namespace CalamityMod.Items.Tools public override void AddRecipes() { CreateRecipe(). - AddIngredient(9). + AddIngredient(9). AddTile(TileID.MythrilAnvil). Register(); } diff --git a/Items/Tools/BlossomPickaxe.cs b/Items/Tools/BlossomPickaxe.cs index 9d608da35c..11803b55dc 100644 --- a/Items/Tools/BlossomPickaxe.cs +++ b/Items/Tools/BlossomPickaxe.cs @@ -39,7 +39,7 @@ namespace CalamityMod.Items.Tools public override void AddRecipes() { CreateRecipe(). - AddIngredient(7). + AddIngredient(7). AddTile(TileID.LunarCraftingStation). Register(); } diff --git a/Items/Tools/ChaoswarpedSlashaxe.cs b/Items/Tools/ChaoswarpedSlashaxe.cs index 9ba4ed6d5b..9845bb5071 100644 --- a/Items/Tools/ChaoswarpedSlashaxe.cs +++ b/Items/Tools/ChaoswarpedSlashaxe.cs @@ -37,7 +37,7 @@ namespace CalamityMod.Items.Tools public override void AddRecipes() { CreateRecipe(). - AddIngredient(9). + AddIngredient(9). AddTile(TileID.MythrilAnvil). Register(); } diff --git a/Items/Tools/ClimateChange/Cosmolight.cs b/Items/Tools/ClimateChange/Cosmolight.cs index 39b1c2e929..7777ed7b74 100644 --- a/Items/Tools/ClimateChange/Cosmolight.cs +++ b/Items/Tools/ClimateChange/Cosmolight.cs @@ -57,7 +57,7 @@ namespace CalamityMod.Items.Tools.ClimateChange AddIngredient(ItemID.FallenStar, 10). AddIngredient(ItemID.SoulofLight, 7). AddIngredient(ItemID.SoulofNight, 7). - AddIngredient(5). + AddIngredient(5). AddTile(TileID.Anvils). Register(); } diff --git a/Items/Tools/FlamebeakHampick.cs b/Items/Tools/FlamebeakHampick.cs index ad4b172b8f..3f28704f03 100644 --- a/Items/Tools/FlamebeakHampick.cs +++ b/Items/Tools/FlamebeakHampick.cs @@ -64,7 +64,7 @@ Right click to use as a hammer"); public override void AddRecipes() { CreateRecipe(). - AddIngredient(7). + AddIngredient(7). AddTile(TileID.MythrilAnvil). Register(); } diff --git a/Items/Tools/GallantPickaxe.cs b/Items/Tools/GallantPickaxe.cs index 4560a98ef7..b8781b5147 100644 --- a/Items/Tools/GallantPickaxe.cs +++ b/Items/Tools/GallantPickaxe.cs @@ -40,7 +40,7 @@ namespace CalamityMod.Items.Tools public override void AddRecipes() { CreateRecipe() - .AddIngredient(2) + .AddIngredient(2) .AddIngredient(ItemID.LunarBar, 10) .AddTile(TileID.LunarCraftingStation) .Register(); diff --git a/Items/Tools/Grax.cs b/Items/Tools/Grax.cs index 68a1ac68e5..1e3cc6cc31 100644 --- a/Items/Tools/Grax.cs +++ b/Items/Tools/Grax.cs @@ -66,8 +66,8 @@ namespace CalamityMod.Items.Tools AddIngredient(). AddRecipeGroup("LunarHamaxe"). AddIngredient(10). - AddIngredient(5). - AddIngredient(5). + AddIngredient(5). + AddIngredient(5). AddTile(TileID.LunarCraftingStation). Register(); } diff --git a/Items/Tools/ShardlightPickaxe.cs b/Items/Tools/ShardlightPickaxe.cs index 2540f29189..3bad5b68ca 100644 --- a/Items/Tools/ShardlightPickaxe.cs +++ b/Items/Tools/ShardlightPickaxe.cs @@ -37,7 +37,7 @@ namespace CalamityMod.Items.Tools public override void AddRecipes() { CreateRecipe(). - AddIngredient(7). + AddIngredient(7). AddTile(TileID.MythrilAnvil). Register(); } diff --git a/Items/TreasureBags/CalamitasBag.cs b/Items/TreasureBags/CalamitasBag.cs index 70b753f45b..f481292ea1 100644 --- a/Items/TreasureBags/CalamitasBag.cs +++ b/Items/TreasureBags/CalamitasBag.cs @@ -50,7 +50,7 @@ namespace CalamityMod.Items.TreasureBags player.TryGettingDevArmor(s); // Materials - DropHelper.DropItem(s, player, ModContent.ItemType(), 14, 18); + DropHelper.DropItem(s, player, ModContent.ItemType(), 14, 18); DropHelper.DropItem(s, player, ModContent.ItemType(), 5, 9); DropHelper.DropItemCondition(s, player, ModContent.ItemType(), DownedBossSystem.downedProvidence, 35, 45); diff --git a/Items/TreasureBags/FleshyGeodeT1.cs b/Items/TreasureBags/FleshyGeodeT1.cs index ed80be1385..d55356dd2f 100644 --- a/Items/TreasureBags/FleshyGeodeT1.cs +++ b/Items/TreasureBags/FleshyGeodeT1.cs @@ -35,10 +35,10 @@ namespace CalamityMod.Items.TreasureBags int barMax = 3; int coreMin = 1; int coreMax = !Main.expertMode ? 2 : 3; - DropHelper.DropItem(s, player, ModContent.ItemType(), barMin, barMax); - DropHelper.DropItem(s, player, ModContent.ItemType(), barMin, barMax); - DropHelper.DropItem(s, player, ModContent.ItemType(), barMin, barMax); - DropHelper.DropItem(s, player, ModContent.ItemType(), coreMin, coreMax); + DropHelper.DropItem(s, player, ModContent.ItemType(), barMin, barMax); + DropHelper.DropItem(s, player, ModContent.ItemType(), barMin, barMax); + DropHelper.DropItem(s, player, ModContent.ItemType(), barMin, barMax); + DropHelper.DropItem(s, player, ModContent.ItemType(), coreMin, coreMax); DropHelper.DropItem(s, player, ModContent.ItemType(), coreMin, coreMax); DropHelper.DropItem(s, player, ModContent.ItemType(), coreMin, coreMax); } diff --git a/Items/TreasureBags/FleshyGeodeT2.cs b/Items/TreasureBags/FleshyGeodeT2.cs index 16c0f5273c..8a222b2bcc 100644 --- a/Items/TreasureBags/FleshyGeodeT2.cs +++ b/Items/TreasureBags/FleshyGeodeT2.cs @@ -38,14 +38,14 @@ namespace CalamityMod.Items.TreasureBags int bloodstoneMax = !Main.expertMode ? 60 : 70; int lifeAlloyChance = !Main.expertMode ? 2 : 1; int coreofCalChance = !Main.expertMode ? 3 : 2; - DropHelper.DropItem(s, player, ModContent.ItemType(), barMin, barMax); - DropHelper.DropItem(s, player, ModContent.ItemType(), barMin, barMax); - DropHelper.DropItem(s, player, ModContent.ItemType(), barMin, barMax); - DropHelper.DropItem(s, player, ModContent.ItemType(), coreMin, coreMax); + DropHelper.DropItem(s, player, ModContent.ItemType(), barMin, barMax); + DropHelper.DropItem(s, player, ModContent.ItemType(), barMin, barMax); + DropHelper.DropItem(s, player, ModContent.ItemType(), barMin, barMax); + DropHelper.DropItem(s, player, ModContent.ItemType(), coreMin, coreMax); DropHelper.DropItem(s, player, ModContent.ItemType(), coreMin, coreMax); DropHelper.DropItem(s, player, ModContent.ItemType(), coreMin, coreMax); DropHelper.DropItem(s, player, ModContent.ItemType(), bloodstoneMin, bloodstoneMax); - DropHelper.DropItemChance(s, player, ModContent.ItemType(), lifeAlloyChance, 1, 1); + DropHelper.DropItemChance(s, player, ModContent.ItemType(), lifeAlloyChance, 1, 1); DropHelper.DropItemChance(s, player, ModContent.ItemType(), coreofCalChance, 1, 1); } } diff --git a/Items/TreasureBags/HiveMindBag.cs b/Items/TreasureBags/HiveMindBag.cs index 223fa91c6d..8c67f6e38b 100644 --- a/Items/TreasureBags/HiveMindBag.cs +++ b/Items/TreasureBags/HiveMindBag.cs @@ -50,7 +50,7 @@ namespace CalamityMod.Items.TreasureBags var s = player.GetSource_OpenItem(Item.type); // Materials - DropHelper.DropItem(s, player, ModContent.ItemType(), 30, 40); + DropHelper.DropItem(s, player, ModContent.ItemType(), 30, 40); DropHelper.DropItem(s, player, ItemID.DemoniteBar, 9, 14); DropHelper.DropItem(s, player, ItemID.RottenChunk, 10, 20); DropHelper.DropItemCondition(s, player, ItemID.CursedFlame, Main.hardMode, 15, 30); diff --git a/Items/TreasureBags/PlaguebringerGoliathBag.cs b/Items/TreasureBags/PlaguebringerGoliathBag.cs index 59dbd78990..d4f57ba97e 100644 --- a/Items/TreasureBags/PlaguebringerGoliathBag.cs +++ b/Items/TreasureBags/PlaguebringerGoliathBag.cs @@ -52,7 +52,7 @@ namespace CalamityMod.Items.TreasureBags player.TryGettingDevArmor(s); // Materials - DropHelper.DropItem(s, player, ModContent.ItemType(), 13, 17); + DropHelper.DropItem(s, player, ModContent.ItemType(), 13, 17); DropHelper.DropItem(s, player, ModContent.ItemType(), 16, 20); DropHelper.DropItem(s, player, ItemID.Stinger, 4, 8); diff --git a/Items/TreasureBags/SCalBag.cs b/Items/TreasureBags/SCalBag.cs index f8f4cc6b47..d04b688837 100644 --- a/Items/TreasureBags/SCalBag.cs +++ b/Items/TreasureBags/SCalBag.cs @@ -53,7 +53,7 @@ namespace CalamityMod.Items.TreasureBags player.TryGettingDevArmor(s); // Materials - DropHelper.DropItem(s, player, ModContent.ItemType(), 25, 35); + DropHelper.DropItem(s, player, ModContent.ItemType(), 25, 35); // Weapons float w = DropHelper.BagWeaponDropRateFloat; diff --git a/Items/Weapons/DraedonsArsenal/GalvanizingGlaive.cs b/Items/Weapons/DraedonsArsenal/GalvanizingGlaive.cs index 222bae9375..cc422ce759 100644 --- a/Items/Weapons/DraedonsArsenal/GalvanizingGlaive.cs +++ b/Items/Weapons/DraedonsArsenal/GalvanizingGlaive.cs @@ -68,7 +68,7 @@ namespace CalamityMod.Items.Weapons.DraedonsArsenal CreateRecipe(). AddIngredient(12). AddIngredient(18). - AddIngredient(5). + AddIngredient(5). AddIngredient(5). AddCondition(ArsenalTierGatedRecipe.ConstructRecipeCondition(3, out Predicate condition), condition). AddTile(TileID.MythrilAnvil). diff --git a/Items/Weapons/DraedonsArsenal/GatlingLaser.cs b/Items/Weapons/DraedonsArsenal/GatlingLaser.cs index 88e85a7499..69a84d6e87 100644 --- a/Items/Weapons/DraedonsArsenal/GatlingLaser.cs +++ b/Items/Weapons/DraedonsArsenal/GatlingLaser.cs @@ -77,7 +77,7 @@ namespace CalamityMod.Items.Weapons.DraedonsArsenal CreateRecipe(). AddIngredient(15). AddIngredient(15). - AddIngredient(5). + AddIngredient(5). AddIngredient(5). AddCondition(ArsenalTierGatedRecipe.ConstructRecipeCondition(3, out Predicate condition), condition). AddTile(TileID.MythrilAnvil). diff --git a/Items/Weapons/DraedonsArsenal/GaussRifle.cs b/Items/Weapons/DraedonsArsenal/GaussRifle.cs index 4587c96f52..f07d2cbb9b 100644 --- a/Items/Weapons/DraedonsArsenal/GaussRifle.cs +++ b/Items/Weapons/DraedonsArsenal/GaussRifle.cs @@ -65,7 +65,7 @@ namespace CalamityMod.Items.Weapons.DraedonsArsenal CreateRecipe(). AddIngredient(18). AddIngredient(12). - AddIngredient(5). + AddIngredient(5). AddIngredient(5). AddCondition(ArsenalTierGatedRecipe.ConstructRecipeCondition(3, out Predicate condition), condition). AddTile(TileID.MythrilAnvil). diff --git a/Items/Weapons/DraedonsArsenal/LaserRifle.cs b/Items/Weapons/DraedonsArsenal/LaserRifle.cs index 9ed99fa41a..b3f300edc5 100644 --- a/Items/Weapons/DraedonsArsenal/LaserRifle.cs +++ b/Items/Weapons/DraedonsArsenal/LaserRifle.cs @@ -79,7 +79,7 @@ namespace CalamityMod.Items.Weapons.DraedonsArsenal CreateRecipe(). AddIngredient(15). AddIngredient(15). - AddIngredient(8). + AddIngredient(8). AddIngredient(ItemID.LunarBar, 4). AddCondition(ArsenalTierGatedRecipe.ConstructRecipeCondition(4, out Predicate condition), condition). AddTile(TileID.LunarCraftingStation). diff --git a/Items/Weapons/DraedonsArsenal/PlasmaCaster.cs b/Items/Weapons/DraedonsArsenal/PlasmaCaster.cs index da3f70909f..c2abd545bf 100644 --- a/Items/Weapons/DraedonsArsenal/PlasmaCaster.cs +++ b/Items/Weapons/DraedonsArsenal/PlasmaCaster.cs @@ -107,7 +107,7 @@ namespace CalamityMod.Items.Weapons.DraedonsArsenal CreateRecipe(). AddIngredient(18). AddIngredient(12). - AddIngredient(8). + AddIngredient(8). AddIngredient(ItemID.LunarBar, 4). AddCondition(ArsenalTierGatedRecipe.ConstructRecipeCondition(4, out Predicate condition), condition). AddTile(TileID.LunarCraftingStation). diff --git a/Items/Weapons/DraedonsArsenal/PulseDragon.cs b/Items/Weapons/DraedonsArsenal/PulseDragon.cs index 68268f1eca..a37a852efe 100644 --- a/Items/Weapons/DraedonsArsenal/PulseDragon.cs +++ b/Items/Weapons/DraedonsArsenal/PulseDragon.cs @@ -67,7 +67,7 @@ namespace CalamityMod.Items.Weapons.DraedonsArsenal CreateRecipe(). AddIngredient(12). AddIngredient(18). - AddIngredient(8). + AddIngredient(8). AddIngredient(ItemID.LunarBar, 4). AddCondition(ArsenalTierGatedRecipe.ConstructRecipeCondition(4, out Predicate condition), condition). AddTile(TileID.LunarCraftingStation). diff --git a/Items/Weapons/DraedonsArsenal/PulseTurretRemote.cs b/Items/Weapons/DraedonsArsenal/PulseTurretRemote.cs index ae3a1f937a..fda4549a9d 100644 --- a/Items/Weapons/DraedonsArsenal/PulseTurretRemote.cs +++ b/Items/Weapons/DraedonsArsenal/PulseTurretRemote.cs @@ -70,7 +70,7 @@ namespace CalamityMod.Items.Weapons.DraedonsArsenal CreateRecipe(). AddIngredient(12). AddIngredient(18). - AddIngredient(5). + AddIngredient(5). AddIngredient(5). AddCondition(ArsenalTierGatedRecipe.ConstructRecipeCondition(3, out Predicate condition), condition). AddTile(TileID.MythrilAnvil). diff --git a/Items/Weapons/DraedonsArsenal/SnakeEyes.cs b/Items/Weapons/DraedonsArsenal/SnakeEyes.cs index 8f19ac4149..6cdf260238 100644 --- a/Items/Weapons/DraedonsArsenal/SnakeEyes.cs +++ b/Items/Weapons/DraedonsArsenal/SnakeEyes.cs @@ -66,7 +66,7 @@ namespace CalamityMod.Items.Weapons.DraedonsArsenal CreateRecipe(). AddIngredient(18). AddIngredient(12). - AddIngredient(8). + AddIngredient(8). AddIngredient(ItemID.LunarBar, 4). AddCondition(ArsenalTierGatedRecipe.ConstructRecipeCondition(4, out Predicate condition), condition). AddTile(TileID.LunarCraftingStation). diff --git a/Items/Weapons/DraedonsArsenal/SystemBane.cs b/Items/Weapons/DraedonsArsenal/SystemBane.cs index ba670dae18..d861061759 100644 --- a/Items/Weapons/DraedonsArsenal/SystemBane.cs +++ b/Items/Weapons/DraedonsArsenal/SystemBane.cs @@ -68,7 +68,7 @@ namespace CalamityMod.Items.Weapons.DraedonsArsenal CreateRecipe(). AddIngredient(20). AddIngredient(10). - AddIngredient(5). + AddIngredient(5). AddIngredient(5). AddCondition(ArsenalTierGatedRecipe.ConstructRecipeCondition(3, out Predicate condition), condition). AddTile(TileID.MythrilAnvil). diff --git a/Items/Weapons/DraedonsArsenal/WavePounder.cs b/Items/Weapons/DraedonsArsenal/WavePounder.cs index 9e464e8405..487a03b50f 100644 --- a/Items/Weapons/DraedonsArsenal/WavePounder.cs +++ b/Items/Weapons/DraedonsArsenal/WavePounder.cs @@ -66,7 +66,7 @@ namespace CalamityMod.Items.Weapons.DraedonsArsenal CreateRecipe(). AddIngredient(12). AddIngredient(18). - AddIngredient(8). + AddIngredient(8). AddIngredient(ItemID.LunarBar, 4). AddCondition(ArsenalTierGatedRecipe.ConstructRecipeCondition(4, out Predicate condition), condition). AddTile(TileID.LunarCraftingStation). diff --git a/Items/Weapons/Magic/AcidGun.cs b/Items/Weapons/Magic/AcidGun.cs index 6c9ea5568c..f56ff7018e 100644 --- a/Items/Weapons/Magic/AcidGun.cs +++ b/Items/Weapons/Magic/AcidGun.cs @@ -52,7 +52,7 @@ namespace CalamityMod.Items.Weapons.Magic public override void AddRecipes() { CreateRecipe(). - AddIngredient(10). + AddIngredient(10). AddIngredient(35). AddTile(TileID.Anvils). Register(); diff --git a/Items/Weapons/Magic/ArtAttack.cs b/Items/Weapons/Magic/ArtAttack.cs index 33a1a1d8e7..7da4a9c827 100644 --- a/Items/Weapons/Magic/ArtAttack.cs +++ b/Items/Weapons/Magic/ArtAttack.cs @@ -46,7 +46,7 @@ namespace CalamityMod.Items.Weapons.Magic AddIngredient(ItemID.RainbowRod). AddIngredient(ItemID.LargeRuby). AddIngredient(ItemID.CrystalShard). - AddIngredient(5). + AddIngredient(5). AddTile(TileID.MythrilAnvil). Register(); } diff --git a/Items/Weapons/Magic/ClamorNoctus.cs b/Items/Weapons/Magic/ClamorNoctus.cs index df71e54888..0530fc9a9f 100644 --- a/Items/Weapons/Magic/ClamorNoctus.cs +++ b/Items/Weapons/Magic/ClamorNoctus.cs @@ -108,7 +108,7 @@ Fires night wyverns and stars from the sky that stick to enemies and tiles and e { CreateRecipe(). AddIngredient(). - AddIngredient(6). + AddIngredient(6). AddIngredient(5). AddIngredient(10). AddTile(TileID.LunarCraftingStation). diff --git a/Items/Weapons/Magic/CosmicRainbow.cs b/Items/Weapons/Magic/CosmicRainbow.cs index 0f7836ce93..3068e45ec6 100644 --- a/Items/Weapons/Magic/CosmicRainbow.cs +++ b/Items/Weapons/Magic/CosmicRainbow.cs @@ -111,9 +111,9 @@ namespace CalamityMod.Items.Weapons.Magic CreateRecipe(). AddIngredient(ItemID.RainbowGun). AddIngredient(ItemID.PearlwoodBow). - AddIngredient(5). + AddIngredient(5). AddIngredient(). - AddIngredient(5). + AddIngredient(5). AddTile(TileID.LunarCraftingStation). Register(); } diff --git a/Items/Weapons/Magic/CrystalFlareStaff.cs b/Items/Weapons/Magic/CrystalFlareStaff.cs index 0cec54d4df..601c4be27d 100644 --- a/Items/Weapons/Magic/CrystalFlareStaff.cs +++ b/Items/Weapons/Magic/CrystalFlareStaff.cs @@ -46,7 +46,7 @@ namespace CalamityMod.Items.Weapons.Magic AddIngredient(ItemID.FrostStaff). AddIngredient(ItemID.FrostCore). AddIngredient(3). - AddIngredient(8). + AddIngredient(8). AddIngredient(10). AddTile(TileID.IceMachine).Register(); } diff --git a/Items/Weapons/Magic/DivineRetribution.cs b/Items/Weapons/Magic/DivineRetribution.cs index 6cb4ba8c0f..506204b1aa 100644 --- a/Items/Weapons/Magic/DivineRetribution.cs +++ b/Items/Weapons/Magic/DivineRetribution.cs @@ -96,7 +96,7 @@ namespace CalamityMod.Items.Weapons.Magic CreateRecipe(). AddIngredient(). AddIngredient(8). - AddIngredient(6). + AddIngredient(6). AddIngredient(10). AddTile(TileID.LunarCraftingStation). Register(); diff --git a/Items/Weapons/Magic/EvergladeSpray.cs b/Items/Weapons/Magic/EvergladeSpray.cs index 1339471f37..c6544a5c5b 100644 --- a/Items/Weapons/Magic/EvergladeSpray.cs +++ b/Items/Weapons/Magic/EvergladeSpray.cs @@ -39,12 +39,12 @@ namespace CalamityMod.Items.Weapons.Magic { CreateRecipe(). AddIngredient(ItemID.GoldenShower). - AddIngredient(3). + AddIngredient(3). AddTile(TileID.Bookcases). Register(); CreateRecipe(). AddIngredient(ItemID.CursedFlames). - AddIngredient(3). + AddIngredient(3). AddTile(TileID.Bookcases). Register(); } diff --git a/Items/Weapons/Magic/ForbiddenSun.cs b/Items/Weapons/Magic/ForbiddenSun.cs index e28cfaceae..3fa9709b1c 100644 --- a/Items/Weapons/Magic/ForbiddenSun.cs +++ b/Items/Weapons/Magic/ForbiddenSun.cs @@ -38,7 +38,7 @@ namespace CalamityMod.Items.Weapons.Magic { CreateRecipe(). AddIngredient(ItemID.SpellTome). - AddIngredient(6). + AddIngredient(6). AddTile(TileID.Bookcases). Register(); } diff --git a/Items/Weapons/Magic/GammaFusillade.cs b/Items/Weapons/Magic/GammaFusillade.cs index c96e0d0711..9d680e7d14 100644 --- a/Items/Weapons/Magic/GammaFusillade.cs +++ b/Items/Weapons/Magic/GammaFusillade.cs @@ -39,7 +39,7 @@ namespace CalamityMod.Items.Weapons.Magic { CreateRecipe(). AddIngredient(ItemID.SpellTome). - AddIngredient(8). + AddIngredient(8). AddTile(TileID.Bookcases). Register(); } diff --git a/Items/Weapons/Magic/Genisis.cs b/Items/Weapons/Magic/Genisis.cs index 691bb2e122..f3ed60c9d7 100644 --- a/Items/Weapons/Magic/Genisis.cs +++ b/Items/Weapons/Magic/Genisis.cs @@ -58,7 +58,7 @@ namespace CalamityMod.Items.Weapons.Magic CreateRecipe(). AddIngredient(ItemID.LaserMachinegun). AddIngredient(ItemID.LunarBar, 5). - AddIngredient(5). + AddIngredient(5). AddTile(TileID.LunarCraftingStation). Register(); } diff --git a/Items/Weapons/Magic/HadopelagicEcho.cs b/Items/Weapons/Magic/HadopelagicEcho.cs index 986c3239ac..775ae87ec8 100644 --- a/Items/Weapons/Magic/HadopelagicEcho.cs +++ b/Items/Weapons/Magic/HadopelagicEcho.cs @@ -59,7 +59,7 @@ namespace CalamityMod.Items.Weapons.Magic AddIngredient(). AddIngredient(20). AddIngredient(20). - AddIngredient(20). + AddIngredient(20). AddIngredient(5). AddTile(). Register(); diff --git a/Items/Weapons/Magic/IceBarrage.cs b/Items/Weapons/Magic/IceBarrage.cs index c4302d89f5..ae65e0c0fe 100644 --- a/Items/Weapons/Magic/IceBarrage.cs +++ b/Items/Weapons/Magic/IceBarrage.cs @@ -78,7 +78,7 @@ namespace CalamityMod.Items.Weapons.Magic AddIngredient(). AddIngredient(8). AddIngredient(40). - AddIngredient(18). + AddIngredient(18). AddTile(TileID.IceMachine). Register(); } diff --git a/Items/Weapons/Magic/Mistlestorm.cs b/Items/Weapons/Magic/Mistlestorm.cs index 8bc82edef8..054f5afbf5 100644 --- a/Items/Weapons/Magic/Mistlestorm.cs +++ b/Items/Weapons/Magic/Mistlestorm.cs @@ -63,7 +63,7 @@ namespace CalamityMod.Items.Weapons.Magic CreateRecipe(). AddIngredient(ItemID.Razorpine). AddIngredient(ItemID.LeafBlower). - AddIngredient(7). + AddIngredient(7). AddIngredient(). AddTile(TileID.LunarCraftingStation). Register(); diff --git a/Items/Weapons/Magic/NightsRay.cs b/Items/Weapons/Magic/NightsRay.cs index 3f67a8b792..8b08e1c71f 100644 --- a/Items/Weapons/Magic/NightsRay.cs +++ b/Items/Weapons/Magic/NightsRay.cs @@ -47,7 +47,7 @@ namespace CalamityMod.Items.Weapons.Magic AddIngredient(ItemID.MagicMissile). AddIngredient(ItemID.WandofSparking). AddIngredient(ItemID.AmberStaff). - AddIngredient(15). + AddIngredient(15). AddIngredient(10). AddTile(TileID.DemonAltar). Register(); diff --git a/Items/Weapons/Magic/PlasmaRifle.cs b/Items/Weapons/Magic/PlasmaRifle.cs index a94f9a4f25..a6c6c6ac8a 100644 --- a/Items/Weapons/Magic/PlasmaRifle.cs +++ b/Items/Weapons/Magic/PlasmaRifle.cs @@ -86,13 +86,13 @@ namespace CalamityMod.Items.Weapons.Magic CreateRecipe(). AddIngredient(ItemID.ToxicFlask). AddIngredient(ItemID.Musket). - AddIngredient(7). + AddIngredient(7). AddTile(TileID.LunarCraftingStation). Register(); CreateRecipe(). AddIngredient(ItemID.ToxicFlask). AddIngredient(ItemID.TheUndertaker). - AddIngredient(7). + AddIngredient(7). AddTile(TileID.LunarCraftingStation). Register(); } diff --git a/Items/Weapons/Magic/ShadecrystalTome.cs b/Items/Weapons/Magic/ShadecrystalTome.cs index 680751e3a8..4b0922dd04 100644 --- a/Items/Weapons/Magic/ShadecrystalTome.cs +++ b/Items/Weapons/Magic/ShadecrystalTome.cs @@ -53,7 +53,7 @@ namespace CalamityMod.Items.Weapons.Magic { CreateRecipe(). AddIngredient(ItemID.CrystalStorm). - AddIngredient(6). + AddIngredient(6). AddTile(TileID.Bookcases). Register(); } diff --git a/Items/Weapons/Magic/ShaderainStaff.cs b/Items/Weapons/Magic/ShaderainStaff.cs index 1e8fe986ba..745c75f899 100644 --- a/Items/Weapons/Magic/ShaderainStaff.cs +++ b/Items/Weapons/Magic/ShaderainStaff.cs @@ -71,7 +71,7 @@ namespace CalamityMod.Items.Weapons.Magic CreateRecipe(). AddIngredient(ItemID.RottenChunk, 2). AddIngredient(ItemID.DemoniteBar, 3). - AddIngredient(12). + AddIngredient(12). AddTile(TileID.DemonAltar). Register(); } diff --git a/Items/Weapons/Magic/ShadowdropStaff.cs b/Items/Weapons/Magic/ShadowdropStaff.cs index 843270fd30..4fea2b6971 100644 --- a/Items/Weapons/Magic/ShadowdropStaff.cs +++ b/Items/Weapons/Magic/ShadowdropStaff.cs @@ -95,7 +95,7 @@ namespace CalamityMod.Items.Weapons.Magic CreateRecipe(). AddIngredient(ItemID.RottenChunk, 5). AddIngredient(ItemID.DemoniteBar, 5). - AddIngredient(15). + AddIngredient(15). AddTile(TileID.DemonAltar). Register(); } diff --git a/Items/Weapons/Magic/StratusSphere.cs b/Items/Weapons/Magic/StratusSphere.cs index a98c4b1ef4..0864911e4a 100644 --- a/Items/Weapons/Magic/StratusSphere.cs +++ b/Items/Weapons/Magic/StratusSphere.cs @@ -47,7 +47,7 @@ namespace CalamityMod.Items.Weapons.Magic { CreateRecipe(). AddIngredient(ItemID.NebulaArcanum). - AddIngredient(5). + AddIngredient(5). AddIngredient(4). AddIngredient(12). AddTile(TileID.LunarCraftingStation). diff --git a/Items/Weapons/Magic/T1000.cs b/Items/Weapons/Magic/T1000.cs index 9ec2fe22b7..870e6eaa3d 100644 --- a/Items/Weapons/Magic/T1000.cs +++ b/Items/Weapons/Magic/T1000.cs @@ -58,7 +58,7 @@ namespace CalamityMod.Items.Weapons.Magic AddIngredient(). AddIngredient(). AddIngredient(5). - AddIngredient(12). + AddIngredient(12). AddIngredient(8). AddTile(). Register(); diff --git a/Items/Weapons/Magic/TacticiansTrumpCard.cs b/Items/Weapons/Magic/TacticiansTrumpCard.cs index 34cd2f9b51..b0cc2408e4 100644 --- a/Items/Weapons/Magic/TacticiansTrumpCard.cs +++ b/Items/Weapons/Magic/TacticiansTrumpCard.cs @@ -60,7 +60,7 @@ namespace CalamityMod.Items.Weapons.Magic AddIngredient(). AddIngredient(). AddIngredient(). - AddIngredient(5). + AddIngredient(5). AddIngredient(). AddTile(TileID.LunarCraftingStation). Register(); @@ -70,7 +70,7 @@ namespace CalamityMod.Items.Weapons.Magic AddIngredient(). AddIngredient(). AddIngredient(). - AddIngredient(5). + AddIngredient(5). AddIngredient(). AddTile(TileID.LunarCraftingStation). Register(); diff --git a/Items/Weapons/Magic/TearsofHeaven.cs b/Items/Weapons/Magic/TearsofHeaven.cs index d5a061e4f5..102bfe9771 100644 --- a/Items/Weapons/Magic/TearsofHeaven.cs +++ b/Items/Weapons/Magic/TearsofHeaven.cs @@ -55,7 +55,7 @@ namespace CalamityMod.Items.Weapons.Magic AddIngredient(). AddIngredient(ItemID.WaterBolt). AddIngredient(15). - AddIngredient(5). + AddIngredient(5). AddTile(TileID.Bookcases). Register(); } diff --git a/Items/Weapons/Magic/ThornBlossom.cs b/Items/Weapons/Magic/ThornBlossom.cs index 5bca32da46..22fea09fa2 100644 --- a/Items/Weapons/Magic/ThornBlossom.cs +++ b/Items/Weapons/Magic/ThornBlossom.cs @@ -62,7 +62,7 @@ namespace CalamityMod.Items.Weapons.Magic { CreateRecipe(). AddIngredient(). - AddIngredient(10). + AddIngredient(10). AddIngredient(10). AddTile(TileID.LunarCraftingStation). Register(); diff --git a/Items/Weapons/Magic/TomeofFates.cs b/Items/Weapons/Magic/TomeofFates.cs index ab7b1edc46..f54aa67b7d 100644 --- a/Items/Weapons/Magic/TomeofFates.cs +++ b/Items/Weapons/Magic/TomeofFates.cs @@ -84,7 +84,7 @@ namespace CalamityMod.Items.Weapons.Magic { CreateRecipe(). AddIngredient(ItemID.SpellTome). - AddIngredient(9). + AddIngredient(9). AddTile(TileID.Bookcases). Register(); } diff --git a/Items/Weapons/Magic/UndinesRetribution.cs b/Items/Weapons/Magic/UndinesRetribution.cs index 85f23c3eda..01b6e5f223 100644 --- a/Items/Weapons/Magic/UndinesRetribution.cs +++ b/Items/Weapons/Magic/UndinesRetribution.cs @@ -92,7 +92,7 @@ namespace CalamityMod.Items.Weapons.Magic { CreateRecipe(). AddIngredient(30). - AddIngredient(10). + AddIngredient(10). AddIngredient(10). AddTile(TileID.MythrilAnvil). Register(); diff --git a/Items/Weapons/Melee/AbyssBlade.cs b/Items/Weapons/Melee/AbyssBlade.cs index 8625c07624..1f082d6b15 100644 --- a/Items/Weapons/Melee/AbyssBlade.cs +++ b/Items/Weapons/Melee/AbyssBlade.cs @@ -70,7 +70,7 @@ namespace CalamityMod.Items.Weapons.Melee AddIngredient(). AddIngredient(ItemID.BrokenHeroSword). AddIngredient(15). - AddIngredient(10). + AddIngredient(10). AddIngredient(5). AddTile(TileID.MythrilAnvil). Register(); diff --git a/Items/Weapons/Melee/AquaticDissolution.cs b/Items/Weapons/Melee/AquaticDissolution.cs index 8f30e14b7d..fc2178815c 100644 --- a/Items/Weapons/Melee/AquaticDissolution.cs +++ b/Items/Weapons/Melee/AquaticDissolution.cs @@ -62,9 +62,9 @@ namespace CalamityMod.Items.Weapons.Melee { CreateRecipe(). AddIngredient(). - AddIngredient(7). - AddIngredient(2). - AddIngredient(20). + AddIngredient(7). + AddIngredient(2). + AddIngredient(20). AddIngredient(5). AddTile(TileID.LunarCraftingStation). Register(); diff --git a/Items/Weapons/Melee/ArkoftheElements.cs b/Items/Weapons/Melee/ArkoftheElements.cs index cb56befb88..70759ab2aa 100644 --- a/Items/Weapons/Melee/ArkoftheElements.cs +++ b/Items/Weapons/Melee/ArkoftheElements.cs @@ -251,7 +251,7 @@ namespace CalamityMod.Items.Weapons.Melee AddIngredient(). AddIngredient(5). AddIngredient(5). - AddIngredient(5). + AddIngredient(5). AddIngredient(ItemID.LunarBar, 5). AddTile(TileID.LunarCraftingStation). Register(); diff --git a/Items/Weapons/Melee/Basher.cs b/Items/Weapons/Melee/Basher.cs index 9dda989b9b..bf0fe40235 100644 --- a/Items/Weapons/Melee/Basher.cs +++ b/Items/Weapons/Melee/Basher.cs @@ -41,7 +41,7 @@ namespace CalamityMod.Items.Weapons.Melee public override void AddRecipes() { CreateRecipe(1). - AddIngredient(12). + AddIngredient(12). AddIngredient(30). AddTile(TileID.Anvils). Register(); diff --git a/Items/Weapons/Melee/BladeofEnmity.cs b/Items/Weapons/Melee/BladeofEnmity.cs index f4149e3961..c78b18e946 100644 --- a/Items/Weapons/Melee/BladeofEnmity.cs +++ b/Items/Weapons/Melee/BladeofEnmity.cs @@ -45,7 +45,7 @@ namespace CalamityMod.Items.Weapons.Melee public override void AddRecipes() { CreateRecipe(). - AddIngredient(5). + AddIngredient(5). AddIngredient(3). AddTile(TileID.MythrilAnvil). Register(); diff --git a/Items/Weapons/Melee/Brimlash.cs b/Items/Weapons/Melee/Brimlash.cs index 381a149b48..7e5fe3f154 100644 --- a/Items/Weapons/Melee/Brimlash.cs +++ b/Items/Weapons/Melee/Brimlash.cs @@ -59,7 +59,7 @@ namespace CalamityMod.Items.Weapons.Melee CreateRecipe(). AddIngredient(4). AddIngredient(3). - AddIngredient(5). + AddIngredient(5). AddTile(TileID.MythrilAnvil). Register(); } diff --git a/Items/Weapons/Melee/Chaotrix.cs b/Items/Weapons/Melee/Chaotrix.cs index 1f5d7dec94..63d89a7bcc 100644 --- a/Items/Weapons/Melee/Chaotrix.cs +++ b/Items/Weapons/Melee/Chaotrix.cs @@ -46,7 +46,7 @@ namespace CalamityMod.Items.Weapons.Melee public override void AddRecipes() { CreateRecipe(). - AddIngredient(6). + AddIngredient(6). AddTile(TileID.MythrilAnvil). Register(); } diff --git a/Items/Weapons/Melee/CorruptedCrusherBlade.cs b/Items/Weapons/Melee/CorruptedCrusherBlade.cs index 7880cebcaf..3f24b23696 100644 --- a/Items/Weapons/Melee/CorruptedCrusherBlade.cs +++ b/Items/Weapons/Melee/CorruptedCrusherBlade.cs @@ -54,7 +54,7 @@ namespace CalamityMod.Items.Weapons.Melee public override void AddRecipes() { CreateRecipe(). - AddIngredient(15). + AddIngredient(15). AddIngredient(ItemID.EbonstoneBlock, 50). AddIngredient(ItemID.ShadowScale, 5). AddIngredient(ItemID.IronBar, 4). diff --git a/Items/Weapons/Melee/CrescentMoon.cs b/Items/Weapons/Melee/CrescentMoon.cs index 1695a4193d..d836cc7487 100644 --- a/Items/Weapons/Melee/CrescentMoon.cs +++ b/Items/Weapons/Melee/CrescentMoon.cs @@ -51,7 +51,7 @@ namespace CalamityMod.Items.Weapons.Melee public override void AddRecipes() { CreateRecipe(). - AddIngredient(8). + AddIngredient(8). AddIngredient(3). AddIngredient(16). AddTile(TileID.LunarCraftingStation). diff --git a/Items/Weapons/Melee/CrimsonCrusherBlade.cs b/Items/Weapons/Melee/CrimsonCrusherBlade.cs index 221d020901..560192d033 100644 --- a/Items/Weapons/Melee/CrimsonCrusherBlade.cs +++ b/Items/Weapons/Melee/CrimsonCrusherBlade.cs @@ -61,7 +61,7 @@ namespace CalamityMod.Items.Weapons.Melee public override void AddRecipes() { CreateRecipe(). - AddIngredient(15). + AddIngredient(15). AddIngredient(ItemID.CrimstoneBlock, 50). AddIngredient(ItemID.TissueSample, 5). AddIngredient(ItemID.IronBar, 4). diff --git a/Items/Weapons/Melee/DarklightGreatsword.cs b/Items/Weapons/Melee/DarklightGreatsword.cs index 295b56cb27..779ff13ec3 100644 --- a/Items/Weapons/Melee/DarklightGreatsword.cs +++ b/Items/Weapons/Melee/DarklightGreatsword.cs @@ -63,7 +63,7 @@ namespace CalamityMod.Items.Weapons.Melee public override void AddRecipes() { CreateRecipe(). - AddIngredient(12). + AddIngredient(12). AddIngredient(ItemID.FallenStar, 5). AddIngredient(ItemID.SoulofNight). AddIngredient(ItemID.SoulofLight). diff --git a/Items/Weapons/Melee/DivineHatchet.cs b/Items/Weapons/Melee/DivineHatchet.cs index 327e67c78c..21217d0bb5 100644 --- a/Items/Weapons/Melee/DivineHatchet.cs +++ b/Items/Weapons/Melee/DivineHatchet.cs @@ -41,7 +41,7 @@ namespace CalamityMod.Items.Weapons.Melee CreateRecipe(). AddIngredient(ItemID.PossessedHatchet). AddIngredient(5). - AddIngredient(9). + AddIngredient(9). AddIngredient(8). AddTile(TileID.LunarCraftingStation). Register(); diff --git a/Items/Weapons/Melee/DraconicDestruction.cs b/Items/Weapons/Melee/DraconicDestruction.cs index 4d497fee69..a9a1cc4180 100644 --- a/Items/Weapons/Melee/DraconicDestruction.cs +++ b/Items/Weapons/Melee/DraconicDestruction.cs @@ -56,7 +56,7 @@ namespace CalamityMod.Items.Weapons.Melee { CreateRecipe(). AddIngredient(5). - AddIngredient(3). + AddIngredient(3). AddIngredient(3). AddIngredient(ItemID.FragmentSolar, 10). AddTile(ModContent.TileType()). diff --git a/Items/Weapons/Melee/ExsanguinationLance.cs b/Items/Weapons/Melee/ExsanguinationLance.cs index 9b6dabecc5..28314579ea 100644 --- a/Items/Weapons/Melee/ExsanguinationLance.cs +++ b/Items/Weapons/Melee/ExsanguinationLance.cs @@ -42,7 +42,7 @@ namespace CalamityMod.Items.Weapons.Melee public override void AddRecipes() { CreateRecipe(). - AddIngredient(10). + AddIngredient(10). AddTile(TileID.MythrilAnvil). Register(); } diff --git a/Items/Weapons/Melee/FeralthornClaymore.cs b/Items/Weapons/Melee/FeralthornClaymore.cs index 48403c48f1..490244bdc2 100644 --- a/Items/Weapons/Melee/FeralthornClaymore.cs +++ b/Items/Weapons/Melee/FeralthornClaymore.cs @@ -66,7 +66,7 @@ namespace CalamityMod.Items.Weapons.Melee public override void AddRecipes() { CreateRecipe(). - AddIngredient(12). + AddIngredient(12). AddTile(TileID.MythrilAnvil). Register(); } diff --git a/Items/Weapons/Melee/FlarefrostBlade.cs b/Items/Weapons/Melee/FlarefrostBlade.cs index 6522c12416..248eb63358 100644 --- a/Items/Weapons/Melee/FlarefrostBlade.cs +++ b/Items/Weapons/Melee/FlarefrostBlade.cs @@ -67,7 +67,7 @@ namespace CalamityMod.Items.Weapons.Melee public override void AddRecipes() { CreateRecipe(). - AddIngredient(8). + AddIngredient(8). AddIngredient(ItemID.HellstoneBar, 8). AddIngredient(ItemID.SoulofLight, 3). AddTile(TileID.MythrilAnvil). diff --git a/Items/Weapons/Melee/Floodtide.cs b/Items/Weapons/Melee/Floodtide.cs index 6ca9e4e679..1a9dc102e1 100644 --- a/Items/Weapons/Melee/Floodtide.cs +++ b/Items/Weapons/Melee/Floodtide.cs @@ -70,7 +70,7 @@ namespace CalamityMod.Items.Weapons.Melee AddIngredient(ItemID.SharkFin, 2). AddRecipeGroup("AnyAdamantiteBar", 5). AddIngredient(10). - AddIngredient(10). + AddIngredient(10). AddIngredient(5). AddTile(TileID.MythrilAnvil). Register(); diff --git a/Items/Weapons/Melee/GalileoGladius.cs b/Items/Weapons/Melee/GalileoGladius.cs index d21bc734e3..ad9a4d2303 100644 --- a/Items/Weapons/Melee/GalileoGladius.cs +++ b/Items/Weapons/Melee/GalileoGladius.cs @@ -89,7 +89,7 @@ namespace CalamityMod.Items.Weapons.Melee { CreateRecipe(). AddIngredient(ItemID.Gladius). //This may be too rare for this recipe, we'll see I guess. - Merkalto - AddIngredient(8). + AddIngredient(8). AddIngredient(5). AddIngredient(15). AddTile(TileID.LunarCraftingStation). diff --git a/Items/Weapons/Melee/GrandGuardian.cs b/Items/Weapons/Melee/GrandGuardian.cs index f52a206f93..ba2c5a497b 100644 --- a/Items/Weapons/Melee/GrandGuardian.cs +++ b/Items/Weapons/Melee/GrandGuardian.cs @@ -101,7 +101,7 @@ namespace CalamityMod.Items.Weapons.Melee { CreateRecipe(). AddIngredient(). - AddIngredient(10). + AddIngredient(10). AddIngredient(ItemID.FragmentSolar, 10). AddTile(TileID.LunarCraftingStation). Register(); diff --git a/Items/Weapons/Melee/HellfireFlamberge.cs b/Items/Weapons/Melee/HellfireFlamberge.cs index 37da81b5ec..e0ea91dc1d 100644 --- a/Items/Weapons/Melee/HellfireFlamberge.cs +++ b/Items/Weapons/Melee/HellfireFlamberge.cs @@ -89,7 +89,7 @@ namespace CalamityMod.Items.Weapons.Melee public override void AddRecipes() { CreateRecipe(). - AddIngredient(15). + AddIngredient(15). AddTile(TileID.MythrilAnvil). Register(); } diff --git a/Items/Weapons/Melee/HellionFlowerSpear.cs b/Items/Weapons/Melee/HellionFlowerSpear.cs index 0151b8fdfc..4ea8b1293b 100644 --- a/Items/Weapons/Melee/HellionFlowerSpear.cs +++ b/Items/Weapons/Melee/HellionFlowerSpear.cs @@ -42,7 +42,7 @@ namespace CalamityMod.Items.Weapons.Melee public override void AddRecipes() { CreateRecipe(). - AddIngredient(12). + AddIngredient(12). AddTile(TileID.MythrilAnvil). Register(); } diff --git a/Items/Weapons/Melee/Hellkite.cs b/Items/Weapons/Melee/Hellkite.cs index bb7c6a250c..30b5e7f6f5 100644 --- a/Items/Weapons/Melee/Hellkite.cs +++ b/Items/Weapons/Melee/Hellkite.cs @@ -94,7 +94,7 @@ namespace CalamityMod.Items.Weapons.Melee { CreateRecipe(). AddIngredient(ItemID.FieryGreatsword). - AddIngredient(8). + AddIngredient(8). AddTile(TileID.MythrilAnvil). Register(); } diff --git a/Items/Weapons/Melee/LeechingDagger.cs b/Items/Weapons/Melee/LeechingDagger.cs index f66b11ab7a..19f19f3c46 100644 --- a/Items/Weapons/Melee/LeechingDagger.cs +++ b/Items/Weapons/Melee/LeechingDagger.cs @@ -59,7 +59,7 @@ namespace CalamityMod.Items.Weapons.Melee CreateRecipe(). AddIngredient(ItemID.RottenChunk, 2). AddIngredient(ItemID.DemoniteBar, 5). - AddIngredient(4). + AddIngredient(4). AddTile(TileID.DemonAltar). Register(); } diff --git a/Items/Weapons/Melee/LifefruitScythe.cs b/Items/Weapons/Melee/LifefruitScythe.cs index 2145ffae7b..80ed39784c 100644 --- a/Items/Weapons/Melee/LifefruitScythe.cs +++ b/Items/Weapons/Melee/LifefruitScythe.cs @@ -63,7 +63,7 @@ namespace CalamityMod.Items.Weapons.Melee public override void AddRecipes() { CreateRecipe(). - AddIngredient(15). + AddIngredient(15). AddTile(TileID.LunarCraftingStation). Register(); } diff --git a/Items/Weapons/Melee/Lucrecia.cs b/Items/Weapons/Melee/Lucrecia.cs index e664a4ad4f..0d1aca5476 100644 --- a/Items/Weapons/Melee/Lucrecia.cs +++ b/Items/Weapons/Melee/Lucrecia.cs @@ -79,7 +79,7 @@ namespace CalamityMod.Items.Weapons.Melee { CreateRecipe(). AddIngredient(). - AddIngredient(5). + AddIngredient(5). AddIngredient(ItemID.SoulofLight, 5). AddIngredient(ItemID.SoulofNight, 5). AddTile(TileID.MythrilAnvil). diff --git a/Items/Weapons/Melee/Mariana.cs b/Items/Weapons/Melee/Mariana.cs index 6edb4fa297..442c774a0d 100644 --- a/Items/Weapons/Melee/Mariana.cs +++ b/Items/Weapons/Melee/Mariana.cs @@ -124,7 +124,7 @@ namespace CalamityMod.Items.Weapons.Melee AddIngredient(ItemID.Starfish, 3). AddIngredient(ItemID.Seashell, 3). AddIngredient(10). - AddIngredient(10). + AddIngredient(10). AddIngredient(5). AddTile(TileID.MythrilAnvil). Register(); diff --git a/Items/Weapons/Melee/Mourningstar.cs b/Items/Weapons/Melee/Mourningstar.cs index 2cbc484e29..6ffff9ccf1 100644 --- a/Items/Weapons/Melee/Mourningstar.cs +++ b/Items/Weapons/Melee/Mourningstar.cs @@ -53,7 +53,7 @@ namespace CalamityMod.Items.Weapons.Melee CreateRecipe(). AddIngredient(ItemID.SolarEruption). AddIngredient(6). - AddIngredient(6). + AddIngredient(6). AddIngredient(6). AddTile(TileID.LunarCraftingStation). Register(); diff --git a/Items/Weapons/Melee/NeptunesBounty.cs b/Items/Weapons/Melee/NeptunesBounty.cs index 6ca221359d..821c149e76 100644 --- a/Items/Weapons/Melee/NeptunesBounty.cs +++ b/Items/Weapons/Melee/NeptunesBounty.cs @@ -65,7 +65,7 @@ namespace CalamityMod.Items.Weapons.Melee AddIngredient(5). AddIngredient(5). AddIngredient(15). - AddIngredient(15). + AddIngredient(15). AddIngredient(5). AddTile(TileID.LunarCraftingStation). Register(); diff --git a/Items/Weapons/Melee/OmegaBiomeBlade.cs b/Items/Weapons/Melee/OmegaBiomeBlade.cs index de32479e93..ce88668232 100644 --- a/Items/Weapons/Melee/OmegaBiomeBlade.cs +++ b/Items/Weapons/Melee/OmegaBiomeBlade.cs @@ -403,7 +403,7 @@ namespace CalamityMod.Items.Weapons.Melee AddIngredient(). AddIngredient(). AddIngredient(3). - AddIngredient(3). + AddIngredient(3). AddTile(TileID.LunarCraftingStation). Register(); } diff --git a/Items/Weapons/Melee/Omniblade.cs b/Items/Weapons/Melee/Omniblade.cs index c3ea384c59..bd9aa7e21c 100644 --- a/Items/Weapons/Melee/Omniblade.cs +++ b/Items/Weapons/Melee/Omniblade.cs @@ -47,7 +47,7 @@ namespace CalamityMod.Items.Weapons.Melee { CreateRecipe(). AddIngredient(ItemID.Katana). - AddIngredient(20). + AddIngredient(20). AddIngredient(10). AddTile(TileID.MythrilAnvil). Register(); diff --git a/Items/Weapons/Melee/PerfectDark.cs b/Items/Weapons/Melee/PerfectDark.cs index a5ebcdd3b8..6c25e36cde 100644 --- a/Items/Weapons/Melee/PerfectDark.cs +++ b/Items/Weapons/Melee/PerfectDark.cs @@ -39,7 +39,7 @@ namespace CalamityMod.Items.Weapons.Melee CreateRecipe(). AddIngredient(ItemID.RottenChunk, 5). AddIngredient(ItemID.DemoniteBar, 5). - AddIngredient(15). + AddIngredient(15). AddTile(TileID.DemonAltar). Register(); } diff --git a/Items/Weapons/Melee/PhoenixBlade.cs b/Items/Weapons/Melee/PhoenixBlade.cs index dd8cf9d9c8..4fbb7bbbcb 100644 --- a/Items/Weapons/Melee/PhoenixBlade.cs +++ b/Items/Weapons/Melee/PhoenixBlade.cs @@ -74,7 +74,7 @@ namespace CalamityMod.Items.Weapons.Melee CreateRecipe(). AddIngredient(ItemID.BreakerBlade). AddIngredient(ItemID.HellstoneBar, 10). - AddIngredient(). + AddIngredient(). AddIngredient(ItemID.SoulofMight, 3). AddIngredient(ItemID.SoulofSight, 3). AddIngredient(ItemID.SoulofFright, 3). diff --git a/Items/Weapons/Melee/PrismaticBreaker.cs b/Items/Weapons/Melee/PrismaticBreaker.cs index 5545f1b105..9bc58b221b 100644 --- a/Items/Weapons/Melee/PrismaticBreaker.cs +++ b/Items/Weapons/Melee/PrismaticBreaker.cs @@ -142,7 +142,7 @@ namespace CalamityMod.Items.Weapons.Melee CreateRecipe(). AddIngredient(). AddIngredient(). - AddIngredient(3). + AddIngredient(3). AddIngredient(8). AddIngredient(20). AddTile(ModContent.TileType()). diff --git a/Items/Weapons/Melee/Quagmire.cs b/Items/Weapons/Melee/Quagmire.cs index eabc41d0f2..66b0afd0a3 100644 --- a/Items/Weapons/Melee/Quagmire.cs +++ b/Items/Weapons/Melee/Quagmire.cs @@ -45,7 +45,7 @@ namespace CalamityMod.Items.Weapons.Melee public override void AddRecipes() { CreateRecipe(). - AddIngredient(6). + AddIngredient(6). AddTile(TileID.MythrilAnvil). Register(); } diff --git a/Items/Weapons/Melee/RedSun.cs b/Items/Weapons/Melee/RedSun.cs index 5c75277f29..37e0a98ba7 100644 --- a/Items/Weapons/Melee/RedSun.cs +++ b/Items/Weapons/Melee/RedSun.cs @@ -115,7 +115,7 @@ namespace CalamityMod.Items.Weapons.Melee CreateRecipe(). AddIngredient(ItemID.AntlionClaw). AddIngredient(). - AddIngredient(5). + AddIngredient(5). AddIngredient(5). AddTile(). Register(); diff --git a/Items/Weapons/Melee/RemsRevenge.cs b/Items/Weapons/Melee/RemsRevenge.cs index 11271add26..42d82682eb 100644 --- a/Items/Weapons/Melee/RemsRevenge.cs +++ b/Items/Weapons/Melee/RemsRevenge.cs @@ -42,7 +42,7 @@ namespace CalamityMod.Items.Weapons.Melee CreateRecipe(). AddIngredient(ItemID.BlueMoon). AddIngredient(ItemID.LunarBar, 5). - AddIngredient(10). + AddIngredient(10). AddTile(TileID.LunarCraftingStation). Register(); } diff --git a/Items/Weapons/Melee/Shimmerspark.cs b/Items/Weapons/Melee/Shimmerspark.cs index c840ffcb03..a67c8820d0 100644 --- a/Items/Weapons/Melee/Shimmerspark.cs +++ b/Items/Weapons/Melee/Shimmerspark.cs @@ -46,7 +46,7 @@ namespace CalamityMod.Items.Weapons.Melee public override void AddRecipes() { CreateRecipe(). - AddIngredient(6). + AddIngredient(6). AddTile(TileID.MythrilAnvil). Register(); } diff --git a/Items/Weapons/Melee/SoulHarvester.cs b/Items/Weapons/Melee/SoulHarvester.cs index 81225e2bc4..23083cd2f4 100644 --- a/Items/Weapons/Melee/SoulHarvester.cs +++ b/Items/Weapons/Melee/SoulHarvester.cs @@ -108,7 +108,7 @@ namespace CalamityMod.Items.Weapons.Melee { CreateRecipe(). AddIngredient(ItemID.DeathSickle). - AddIngredient(10). + AddIngredient(10). AddIngredient(ItemID.CursedFlame, 20). AddTile(TileID.MythrilAnvil). Register(); diff --git a/Items/Weapons/Melee/StarnightLance.cs b/Items/Weapons/Melee/StarnightLance.cs index 4b8770adec..5192be2284 100644 --- a/Items/Weapons/Melee/StarnightLance.cs +++ b/Items/Weapons/Melee/StarnightLance.cs @@ -41,7 +41,7 @@ namespace CalamityMod.Items.Weapons.Melee public override void AddRecipes() { CreateRecipe(). - AddIngredient(12). + AddIngredient(12). AddTile(TileID.MythrilAnvil). Register(); } diff --git a/Items/Weapons/Melee/StormRuler.cs b/Items/Weapons/Melee/StormRuler.cs index 54d451e86b..14b3caf6fc 100644 --- a/Items/Weapons/Melee/StormRuler.cs +++ b/Items/Weapons/Melee/StormRuler.cs @@ -51,7 +51,7 @@ namespace CalamityMod.Items.Weapons.Melee CreateRecipe(). AddIngredient(). AddIngredient(). - AddIngredient(3). + AddIngredient(3). AddIngredient(ItemID.FragmentSolar, 10). AddTile(TileID.LunarCraftingStation). Register(); diff --git a/Items/Weapons/Melee/TemporalFloeSword.cs b/Items/Weapons/Melee/TemporalFloeSword.cs index c9108b16f0..2a42e5bc4a 100644 --- a/Items/Weapons/Melee/TemporalFloeSword.cs +++ b/Items/Weapons/Melee/TemporalFloeSword.cs @@ -69,7 +69,7 @@ namespace CalamityMod.Items.Weapons.Melee public override void AddRecipes() { CreateRecipe(). - AddIngredient(15). + AddIngredient(15). AddIngredient(15). AddIngredient(ItemID.Ectoplasm, 5). AddTile(TileID.IceMachine). diff --git a/Items/Weapons/Melee/TenebreusTides.cs b/Items/Weapons/Melee/TenebreusTides.cs index b5a0faf22a..ebe0a297a8 100644 --- a/Items/Weapons/Melee/TenebreusTides.cs +++ b/Items/Weapons/Melee/TenebreusTides.cs @@ -51,7 +51,7 @@ namespace CalamityMod.Items.Weapons.Melee AddIngredient(ItemID.InfluxWaver). AddIngredient(20). AddIngredient(25). - AddIngredient(50). + AddIngredient(50). AddTile(TileID.LunarCraftingStation). Register(); } diff --git a/Items/Weapons/Melee/Trinity.cs b/Items/Weapons/Melee/Trinity.cs index d8855d85c7..b588c6527e 100644 --- a/Items/Weapons/Melee/Trinity.cs +++ b/Items/Weapons/Melee/Trinity.cs @@ -68,7 +68,7 @@ namespace CalamityMod.Items.Weapons.Melee public override void AddRecipes() { CreateRecipe(). - AddIngredient(9). + AddIngredient(9). AddTile(TileID.MythrilAnvil). Register(); } diff --git a/Items/Weapons/Melee/TrueForbiddenOathblade.cs b/Items/Weapons/Melee/TrueForbiddenOathblade.cs index 6de0743727..866ca8ae1d 100644 --- a/Items/Weapons/Melee/TrueForbiddenOathblade.cs +++ b/Items/Weapons/Melee/TrueForbiddenOathblade.cs @@ -119,7 +119,7 @@ namespace CalamityMod.Items.Weapons.Melee CreateRecipe(). AddIngredient(). AddIngredient(ItemID.BrokenHeroSword). - AddIngredient(3). + AddIngredient(3). AddIngredient(3). AddTile(TileID.MythrilAnvil). Register(); diff --git a/Items/Weapons/Melee/TruePaladinsHammerMelee.cs b/Items/Weapons/Melee/TruePaladinsHammerMelee.cs index 4dd8b2fe13..8aad7dcaf4 100644 --- a/Items/Weapons/Melee/TruePaladinsHammerMelee.cs +++ b/Items/Weapons/Melee/TruePaladinsHammerMelee.cs @@ -40,9 +40,9 @@ namespace CalamityMod.Items.Weapons.Melee CreateRecipe(). AddIngredient(ItemID.PaladinsHammer). AddIngredient(). - AddIngredient(5). + AddIngredient(5). AddIngredient(5). - AddIngredient(5). + AddIngredient(5). AddTile(TileID.MythrilAnvil). Register(); } diff --git a/Items/Weapons/Melee/TrueTyrantYharimsUltisword.cs b/Items/Weapons/Melee/TrueTyrantYharimsUltisword.cs index 168ed1b1f6..c5b4c4aa28 100644 --- a/Items/Weapons/Melee/TrueTyrantYharimsUltisword.cs +++ b/Items/Weapons/Melee/TrueTyrantYharimsUltisword.cs @@ -88,7 +88,7 @@ namespace CalamityMod.Items.Weapons.Melee CreateRecipe(). AddIngredient(). AddIngredient(). - AddIngredient(15). + AddIngredient(15). AddTile(TileID.DemonAltar). Register(); } diff --git a/Items/Weapons/Melee/TyphonsGreed.cs b/Items/Weapons/Melee/TyphonsGreed.cs index acab71b199..dcc8a9f26c 100644 --- a/Items/Weapons/Melee/TyphonsGreed.cs +++ b/Items/Weapons/Melee/TyphonsGreed.cs @@ -41,7 +41,7 @@ namespace CalamityMod.Items.Weapons.Melee { CreateRecipe(). AddIngredient(30). - AddIngredient(10). + AddIngredient(10). AddIngredient(10). AddTile(TileID.MythrilAnvil). Register(); diff --git a/Items/Weapons/Melee/Verdant.cs b/Items/Weapons/Melee/Verdant.cs index 5a89528696..bbfc2fb006 100644 --- a/Items/Weapons/Melee/Verdant.cs +++ b/Items/Weapons/Melee/Verdant.cs @@ -47,7 +47,7 @@ namespace CalamityMod.Items.Weapons.Melee public override void AddRecipes() { CreateRecipe(). - AddIngredient(6). + AddIngredient(6). AddTile(TileID.LunarCraftingStation). Register(); } diff --git a/Items/Weapons/Melee/XerocsGreatsword.cs b/Items/Weapons/Melee/XerocsGreatsword.cs index 94ec00b672..33963c41dd 100644 --- a/Items/Weapons/Melee/XerocsGreatsword.cs +++ b/Items/Weapons/Melee/XerocsGreatsword.cs @@ -81,7 +81,7 @@ namespace CalamityMod.Items.Weapons.Melee public override void AddRecipes() { CreateRecipe(). - AddIngredient(15). + AddIngredient(15). AddTile(TileID.LunarCraftingStation). Register(); } diff --git a/Items/Weapons/Ranged/Alluvion.cs b/Items/Weapons/Ranged/Alluvion.cs index ca560c0d76..1ed3082209 100644 --- a/Items/Weapons/Ranged/Alluvion.cs +++ b/Items/Weapons/Ranged/Alluvion.cs @@ -98,7 +98,7 @@ namespace CalamityMod.Items.Weapons.Ranged AddIngredient(). AddIngredient(20). AddIngredient(10). - AddIngredient(20). + AddIngredient(20). AddIngredient(5). AddIngredient(8). AddIngredient(20). diff --git a/Items/Weapons/Ranged/AngelicShotgun.cs b/Items/Weapons/Ranged/AngelicShotgun.cs index 54764923f7..9e68187b71 100644 --- a/Items/Weapons/Ranged/AngelicShotgun.cs +++ b/Items/Weapons/Ranged/AngelicShotgun.cs @@ -126,9 +126,9 @@ Fighting 'til the war's won"); { CreateRecipe(). AddIngredient(ItemID.SunplateBlock, 75). - AddIngredient(10). + AddIngredient(10). AddIngredient(15). - AddIngredient(7). + AddIngredient(7). AddTile(TileID.LunarCraftingStation). Register(); } diff --git a/Items/Weapons/Ranged/Auralis.cs b/Items/Weapons/Ranged/Auralis.cs index 7fde36fa64..a400f05613 100644 --- a/Items/Weapons/Ranged/Auralis.cs +++ b/Items/Weapons/Ranged/Auralis.cs @@ -76,7 +76,7 @@ namespace CalamityMod.Items.Weapons.Ranged { CreateRecipe(). AddIngredient(ItemID.SniperRifle). - AddIngredient(5). + AddIngredient(5). AddIngredient(5). AddIngredient(50). AddTile(TileID.LunarCraftingStation). diff --git a/Items/Weapons/Ranged/BarracudaGun.cs b/Items/Weapons/Ranged/BarracudaGun.cs index 417930d68a..ecbcade026 100644 --- a/Items/Weapons/Ranged/BarracudaGun.cs +++ b/Items/Weapons/Ranged/BarracudaGun.cs @@ -60,7 +60,7 @@ namespace CalamityMod.Items.Weapons.Ranged CreateRecipe(). AddIngredient(ItemID.PiranhaGun). AddIngredient(2). - AddIngredient(). + AddIngredient(). AddIngredient(5). AddIngredient(ItemID.SharkFin, 2). AddTile(TileID.MythrilAnvil). diff --git a/Items/Weapons/Ranged/BladedgeGreatbow.cs b/Items/Weapons/Ranged/BladedgeGreatbow.cs index 9a0951316e..e804e8cd2c 100644 --- a/Items/Weapons/Ranged/BladedgeGreatbow.cs +++ b/Items/Weapons/Ranged/BladedgeGreatbow.cs @@ -77,7 +77,7 @@ namespace CalamityMod.Items.Weapons.Ranged public override void AddRecipes() { CreateRecipe(). - AddIngredient(12). + AddIngredient(12). AddTile(TileID.MythrilAnvil). Register(); } diff --git a/Items/Weapons/Ranged/ClockGatlignum.cs b/Items/Weapons/Ranged/ClockGatlignum.cs index efa66e7039..99345c32f4 100644 --- a/Items/Weapons/Ranged/ClockGatlignum.cs +++ b/Items/Weapons/Ranged/ClockGatlignum.cs @@ -67,7 +67,7 @@ namespace CalamityMod.Items.Weapons.Ranged AddIngredient(ItemID.Gatligator). AddIngredient(ItemID.VenusMagnum). AddIngredient(ItemID.ClockworkAssaultRifle). - AddIngredient(3). + AddIngredient(3). AddIngredient(ItemID.Ectoplasm, 5). AddTile(TileID.MythrilAnvil). Register(); diff --git a/Items/Weapons/Ranged/Contagion.cs b/Items/Weapons/Ranged/Contagion.cs index e35d41da87..232f9f1bf5 100644 --- a/Items/Weapons/Ranged/Contagion.cs +++ b/Items/Weapons/Ranged/Contagion.cs @@ -48,7 +48,7 @@ namespace CalamityMod.Items.Weapons.Ranged { CreateRecipe(). AddIngredient(). - AddIngredient(20). + AddIngredient(20). AddIngredient(5). AddTile(). Register(); diff --git a/Items/Weapons/Ranged/DarkechoGreatbow.cs b/Items/Weapons/Ranged/DarkechoGreatbow.cs index 660a73674d..6142d26f48 100644 --- a/Items/Weapons/Ranged/DarkechoGreatbow.cs +++ b/Items/Weapons/Ranged/DarkechoGreatbow.cs @@ -55,7 +55,7 @@ namespace CalamityMod.Items.Weapons.Ranged public override void AddRecipes() { CreateRecipe(). - AddIngredient(8). + AddIngredient(8). AddTile(TileID.MythrilAnvil). Register(); } diff --git a/Items/Weapons/Ranged/FlakKraken.cs b/Items/Weapons/Ranged/FlakKraken.cs index 04bcbae7c8..7cbcbcb2ad 100644 --- a/Items/Weapons/Ranged/FlakKraken.cs +++ b/Items/Weapons/Ranged/FlakKraken.cs @@ -53,7 +53,7 @@ namespace CalamityMod.Items.Weapons.Ranged CreateRecipe(). AddIngredient(). AddIngredient(20). - AddIngredient(10). + AddIngredient(10). AddIngredient(10). AddTile(TileID.MythrilAnvil). Register(); diff --git a/Items/Weapons/Ranged/FlarewingBow.cs b/Items/Weapons/Ranged/FlarewingBow.cs index 07e755208d..8c1f456bc7 100644 --- a/Items/Weapons/Ranged/FlarewingBow.cs +++ b/Items/Weapons/Ranged/FlarewingBow.cs @@ -74,7 +74,7 @@ namespace CalamityMod.Items.Weapons.Ranged { CreateRecipe(). AddIngredient(ItemID.HellwingBow). - AddIngredient(5). + AddIngredient(5). AddIngredient(ItemID.LivingFireBlock, 50). AddIngredient(ItemID.Obsidian, 10). AddTile(TileID.MythrilAnvil). diff --git a/Items/Weapons/Ranged/GreatbowofTurmoil.cs b/Items/Weapons/Ranged/GreatbowofTurmoil.cs index f4dd959181..161c874615 100644 --- a/Items/Weapons/Ranged/GreatbowofTurmoil.cs +++ b/Items/Weapons/Ranged/GreatbowofTurmoil.cs @@ -84,7 +84,7 @@ namespace CalamityMod.Items.Weapons.Ranged public override void AddRecipes() { CreateRecipe(). - AddIngredient(10). + AddIngredient(10). AddTile(TileID.MythrilAnvil). Register(); } diff --git a/Items/Weapons/Ranged/HalleysInferno.cs b/Items/Weapons/Ranged/HalleysInferno.cs index d01eedcf7c..b7800935ed 100644 --- a/Items/Weapons/Ranged/HalleysInferno.cs +++ b/Items/Weapons/Ranged/HalleysInferno.cs @@ -52,7 +52,7 @@ namespace CalamityMod.Items.Weapons.Ranged { CreateRecipe(). AddIngredient(ItemID.SniperScope). - AddIngredient(6). + AddIngredient(6). AddIngredient(4). AddIngredient(12). AddTile(TileID.LunarCraftingStation). diff --git a/Items/Weapons/Ranged/Helstorm.cs b/Items/Weapons/Ranged/Helstorm.cs index f006823e8c..70f74fa7e6 100644 --- a/Items/Weapons/Ranged/Helstorm.cs +++ b/Items/Weapons/Ranged/Helstorm.cs @@ -56,7 +56,7 @@ namespace CalamityMod.Items.Weapons.Ranged public override void AddRecipes() { CreateRecipe(). - AddIngredient(7). + AddIngredient(7). AddTile(TileID.MythrilAnvil). Register(); } diff --git a/Items/Weapons/Ranged/Impaler.cs b/Items/Weapons/Ranged/Impaler.cs index f8e589a061..5c1242ea1e 100644 --- a/Items/Weapons/Ranged/Impaler.cs +++ b/Items/Weapons/Ranged/Impaler.cs @@ -64,7 +64,7 @@ namespace CalamityMod.Items.Weapons.Ranged CreateRecipe(). AddIngredient(ItemID.StakeLauncher). AddIngredient(ItemID.ExplosivePowder, 100). - AddIngredient(5). + AddIngredient(5). AddIngredient(ItemID.LivingFireBlock, 75). AddTile(TileID.MythrilAnvil). Register(); diff --git a/Items/Weapons/Ranged/Megalodon.cs b/Items/Weapons/Ranged/Megalodon.cs index 35c24f2bef..c5b628ee1a 100644 --- a/Items/Weapons/Ranged/Megalodon.cs +++ b/Items/Weapons/Ranged/Megalodon.cs @@ -78,7 +78,7 @@ namespace CalamityMod.Items.Weapons.Ranged AddIngredient(ItemID.Megashark). AddIngredient(). AddIngredient(10). - AddIngredient(10). + AddIngredient(10). AddIngredient(5). AddTile(TileID.MythrilAnvil). Register(); diff --git a/Items/Weapons/Ranged/Monsoon.cs b/Items/Weapons/Ranged/Monsoon.cs index 30fd239769..1664e6df92 100644 --- a/Items/Weapons/Ranged/Monsoon.cs +++ b/Items/Weapons/Ranged/Monsoon.cs @@ -95,7 +95,7 @@ namespace CalamityMod.Items.Weapons.Ranged AddIngredient(6). AddIngredient(ItemID.SharkFin, 2). AddIngredient(10). - AddIngredient(10). + AddIngredient(10). AddIngredient(5). AddTile(TileID.LunarCraftingStation). Register(); diff --git a/Items/Weapons/Ranged/NettlelineGreatbow.cs b/Items/Weapons/Ranged/NettlelineGreatbow.cs index 6bd4e3cc10..1619ab0124 100644 --- a/Items/Weapons/Ranged/NettlelineGreatbow.cs +++ b/Items/Weapons/Ranged/NettlelineGreatbow.cs @@ -83,7 +83,7 @@ namespace CalamityMod.Items.Weapons.Ranged public override void AddRecipes() { CreateRecipe(). - AddIngredient(12). + AddIngredient(12). AddTile(TileID.LunarCraftingStation). Register(); } diff --git a/Items/Weapons/Ranged/SDFMG.cs b/Items/Weapons/Ranged/SDFMG.cs index 2a7cc7da0a..3039a82670 100644 --- a/Items/Weapons/Ranged/SDFMG.cs +++ b/Items/Weapons/Ranged/SDFMG.cs @@ -73,7 +73,7 @@ namespace CalamityMod.Items.Weapons.Ranged AddIngredient(). AddIngredient(10). AddIngredient(10). - AddIngredient(10). + AddIngredient(10). AddIngredient(5). AddIngredient(8). AddIngredient(20). diff --git a/Items/Weapons/Ranged/Seadragon.cs b/Items/Weapons/Ranged/Seadragon.cs index f194fb424f..9320dc9b71 100644 --- a/Items/Weapons/Ranged/Seadragon.cs +++ b/Items/Weapons/Ranged/Seadragon.cs @@ -94,7 +94,7 @@ namespace CalamityMod.Items.Weapons.Ranged AddIngredient(3). AddIngredient(10). AddIngredient(15). - AddIngredient(15). + AddIngredient(15). AddIngredient(5). AddTile(TileID.LunarCraftingStation). Register(); diff --git a/Items/Weapons/Ranged/Shadethrower.cs b/Items/Weapons/Ranged/Shadethrower.cs index c6ac8c7945..331b885ea0 100644 --- a/Items/Weapons/Ranged/Shadethrower.cs +++ b/Items/Weapons/Ranged/Shadethrower.cs @@ -53,7 +53,7 @@ namespace CalamityMod.Items.Weapons.Ranged CreateRecipe(). AddIngredient(ItemID.RottenChunk, 3). AddIngredient(ItemID.DemoniteBar, 7). - AddIngredient(10). + AddIngredient(10). AddTile(TileID.DemonAltar). Register(); } diff --git a/Items/Weapons/Ranged/Shredder.cs b/Items/Weapons/Ranged/Shredder.cs index 788dd1aaab..e119fcbc72 100644 --- a/Items/Weapons/Ranged/Shredder.cs +++ b/Items/Weapons/Ranged/Shredder.cs @@ -81,7 +81,7 @@ namespace CalamityMod.Items.Weapons.Ranged AddIngredient(). AddIngredient(ItemID.Shotgun). AddIngredient(5). - AddIngredient(5). + AddIngredient(5). AddIngredient(ItemID.LunarBar, 5). AddTile(TileID.LunarCraftingStation). Register(); diff --git a/Items/Weapons/Ranged/Spyker.cs b/Items/Weapons/Ranged/Spyker.cs index 951708d913..bdbb1f3159 100644 --- a/Items/Weapons/Ranged/Spyker.cs +++ b/Items/Weapons/Ranged/Spyker.cs @@ -58,7 +58,7 @@ namespace CalamityMod.Items.Weapons.Ranged CreateRecipe(). AddIngredient(). AddIngredient(ItemID.Stynger). - AddIngredient(5). + AddIngredient(5). AddTile(TileID.LunarCraftingStation). Register(); } diff --git a/Items/Weapons/Ranged/TerraFlameburster.cs b/Items/Weapons/Ranged/TerraFlameburster.cs index 9241ee8836..19d074fa83 100644 --- a/Items/Weapons/Ranged/TerraFlameburster.cs +++ b/Items/Weapons/Ranged/TerraFlameburster.cs @@ -53,7 +53,7 @@ namespace CalamityMod.Items.Weapons.Ranged CreateRecipe(). AddIngredient(ItemID.Flamethrower). AddIngredient(7). - AddIngredient(5). + AddIngredient(5). AddTile(TileID.MythrilAnvil). Register(); } diff --git a/Items/Weapons/Ranged/TheEmpyrean.cs b/Items/Weapons/Ranged/TheEmpyrean.cs index 77f6523e87..e3be15c5ae 100644 --- a/Items/Weapons/Ranged/TheEmpyrean.cs +++ b/Items/Weapons/Ranged/TheEmpyrean.cs @@ -51,7 +51,7 @@ namespace CalamityMod.Items.Weapons.Ranged public override void AddRecipes() { CreateRecipe(). - AddIngredient(12). + AddIngredient(12). AddTile(TileID.LunarCraftingStation). Register(); } diff --git a/Items/Weapons/Ranged/Toxibow.cs b/Items/Weapons/Ranged/Toxibow.cs index 1aff391f4b..42efa6b014 100644 --- a/Items/Weapons/Ranged/Toxibow.cs +++ b/Items/Weapons/Ranged/Toxibow.cs @@ -51,7 +51,7 @@ namespace CalamityMod.Items.Weapons.Ranged public override void AddRecipes() { CreateRecipe(). - AddIngredient(15). + AddIngredient(15). AddIngredient(20). AddTile(TileID.Anvils). Register(); diff --git a/Items/Weapons/Ranged/Triploon.cs b/Items/Weapons/Ranged/Triploon.cs index 0337c34122..7359e78089 100644 --- a/Items/Weapons/Ranged/Triploon.cs +++ b/Items/Weapons/Ranged/Triploon.cs @@ -71,7 +71,7 @@ namespace CalamityMod.Items.Weapons.Ranged AddIngredient(). AddIngredient(ItemID.Harpoon). AddIngredient(15). - AddIngredient(5). + AddIngredient(5). AddIngredient(5). AddTile(TileID.MythrilAnvil). Register(); diff --git a/Items/Weapons/Rogue/AccretionDisk.cs b/Items/Weapons/Rogue/AccretionDisk.cs index cf34b6632c..7232917c6a 100644 --- a/Items/Weapons/Rogue/AccretionDisk.cs +++ b/Items/Weapons/Rogue/AccretionDisk.cs @@ -63,7 +63,7 @@ namespace CalamityMod.Items.Weapons.Rogue AddIngredient(). AddIngredient(). AddIngredient(5). - AddIngredient(5). + AddIngredient(5). AddIngredient(ItemID.LunarBar, 5). AddTile(TileID.LunarCraftingStation). Register(); diff --git a/Items/Weapons/Rogue/AlphaVirus.cs b/Items/Weapons/Rogue/AlphaVirus.cs index 5809b53601..513e95341e 100644 --- a/Items/Weapons/Rogue/AlphaVirus.cs +++ b/Items/Weapons/Rogue/AlphaVirus.cs @@ -57,7 +57,7 @@ namespace CalamityMod.Items.Weapons.Rogue { CreateRecipe(). AddIngredient(). - AddIngredient(5). + AddIngredient(5). AddIngredient(5). AddTile(TileID.LunarCraftingStation). Register(); diff --git a/Items/Weapons/Rogue/Apoctolith.cs b/Items/Weapons/Rogue/Apoctolith.cs index 2aef59ebd1..a5c6efbc9e 100644 --- a/Items/Weapons/Rogue/Apoctolith.cs +++ b/Items/Weapons/Rogue/Apoctolith.cs @@ -68,7 +68,7 @@ namespace CalamityMod.Items.Weapons.Rogue AddIngredient(100). AddIngredient(20). AddIngredient(15). - AddIngredient(8). + AddIngredient(8). AddTile(TileID.MythrilAnvil). Register(); } diff --git a/Items/Weapons/Rogue/ContaminatedBile.cs b/Items/Weapons/Rogue/ContaminatedBile.cs index b1bd1f8e84..c84522e366 100644 --- a/Items/Weapons/Rogue/ContaminatedBile.cs +++ b/Items/Weapons/Rogue/ContaminatedBile.cs @@ -47,7 +47,7 @@ namespace CalamityMod.Items.Weapons.Rogue { CreateRecipe(). AddIngredient(ItemID.BottledWater). - AddIngredient(10). + AddIngredient(10). AddTile(TileID.Bottles). Register(); } diff --git a/Items/Weapons/Rogue/CrystalPiercer.cs b/Items/Weapons/Rogue/CrystalPiercer.cs index 89385902f2..945116069b 100644 --- a/Items/Weapons/Rogue/CrystalPiercer.cs +++ b/Items/Weapons/Rogue/CrystalPiercer.cs @@ -60,7 +60,7 @@ namespace CalamityMod.Items.Weapons.Rogue public override void AddRecipes() { CreateRecipe(100). - AddIngredient(). + AddIngredient(). AddTile(TileID.MythrilAnvil). Register(); } diff --git a/Items/Weapons/Rogue/DeificThunderbolt.cs b/Items/Weapons/Rogue/DeificThunderbolt.cs index 51133a6ae1..01c93b6d2d 100644 --- a/Items/Weapons/Rogue/DeificThunderbolt.cs +++ b/Items/Weapons/Rogue/DeificThunderbolt.cs @@ -69,7 +69,7 @@ Stealth strikes summon more lightning and travel faster"); AddIngredient(). AddIngredient(8). AddIngredient(15). - AddIngredient(5). + AddIngredient(5). AddTile(TileID.LunarCraftingStation). Register(); } diff --git a/Items/Weapons/Rogue/EclipsesFall.cs b/Items/Weapons/Rogue/EclipsesFall.cs index 3ec138d0a6..7f8ec3a307 100644 --- a/Items/Weapons/Rogue/EclipsesFall.cs +++ b/Items/Weapons/Rogue/EclipsesFall.cs @@ -55,7 +55,7 @@ namespace CalamityMod.Items.Weapons.Rogue { CreateRecipe(). AddIngredient(). - AddIngredient(12). + AddIngredient(12). AddIngredient(8). AddIngredient(8). AddTile(). diff --git a/Items/Weapons/Rogue/EpidemicShredder.cs b/Items/Weapons/Rogue/EpidemicShredder.cs index 58491178b7..565528a31b 100644 --- a/Items/Weapons/Rogue/EpidemicShredder.cs +++ b/Items/Weapons/Rogue/EpidemicShredder.cs @@ -54,7 +54,7 @@ namespace CalamityMod.Items.Weapons.Rogue CreateRecipe(). AddIngredient(ItemID.ChlorophyteBar, 20). AddIngredient(ItemID.Nanites, 150). - AddIngredient(15). + AddIngredient(15). AddTile(TileID.MythrilAnvil). Register(); } diff --git a/Items/Weapons/Rogue/FlameScythe.cs b/Items/Weapons/Rogue/FlameScythe.cs index 3f1c62dc5d..6eb86dccad 100644 --- a/Items/Weapons/Rogue/FlameScythe.cs +++ b/Items/Weapons/Rogue/FlameScythe.cs @@ -49,7 +49,7 @@ namespace CalamityMod.Items.Weapons.Rogue public override void AddRecipes() { CreateRecipe(). - AddIngredient(9). + AddIngredient(9). AddTile(TileID.MythrilAnvil). Register(); } diff --git a/Items/Weapons/Rogue/FrostcrushValari.cs b/Items/Weapons/Rogue/FrostcrushValari.cs index 80477df92a..f49c245846 100644 --- a/Items/Weapons/Rogue/FrostcrushValari.cs +++ b/Items/Weapons/Rogue/FrostcrushValari.cs @@ -78,7 +78,7 @@ Stealth strikes throw three short ranged boomerangs along with a spread of icicl { CreateRecipe(). AddIngredient(). - AddIngredient(6). + AddIngredient(6). AddIngredient(40). AddIngredient(5). AddTile(TileID.IceMachine). diff --git a/Items/Weapons/Rogue/JawsOfOblivion.cs b/Items/Weapons/Rogue/JawsOfOblivion.cs index 7b73bc5fbd..b16a885650 100644 --- a/Items/Weapons/Rogue/JawsOfOblivion.cs +++ b/Items/Weapons/Rogue/JawsOfOblivion.cs @@ -70,7 +70,7 @@ namespace CalamityMod.Items.Weapons.Rogue CreateRecipe(). AddIngredient(). AddIngredient(6). - AddIngredient(15). + AddIngredient(15). AddIngredient(2). AddTile(TileID.LunarCraftingStation). Register(); diff --git a/Items/Weapons/Rogue/LuminousStriker.cs b/Items/Weapons/Rogue/LuminousStriker.cs index 9bd9419330..a4d79ac64c 100644 --- a/Items/Weapons/Rogue/LuminousStriker.cs +++ b/Items/Weapons/Rogue/LuminousStriker.cs @@ -54,7 +54,7 @@ namespace CalamityMod.Items.Weapons.Rogue AddIngredient(). AddIngredient(). AddIngredient(). - AddIngredient(10). + AddIngredient(10). AddIngredient(ItemID.FragmentStardust, 10). AddTile(TileID.LunarCraftingStation). Register(); diff --git a/Items/Weapons/Rogue/MangroveChakram.cs b/Items/Weapons/Rogue/MangroveChakram.cs index 951baa57e1..75a997b9c7 100644 --- a/Items/Weapons/Rogue/MangroveChakram.cs +++ b/Items/Weapons/Rogue/MangroveChakram.cs @@ -51,7 +51,7 @@ namespace CalamityMod.Items.Weapons.Rogue public override void AddRecipes() { CreateRecipe(). - AddIngredient(7). + AddIngredient(7). AddTile(TileID.MythrilAnvil). Register(); } diff --git a/Items/Weapons/Rogue/NanoblackReaperRogue.cs b/Items/Weapons/Rogue/NanoblackReaperRogue.cs index cce15a87f2..107bab5a54 100644 --- a/Items/Weapons/Rogue/NanoblackReaperRogue.cs +++ b/Items/Weapons/Rogue/NanoblackReaperRogue.cs @@ -68,7 +68,7 @@ namespace CalamityMod.Items.Weapons.Rogue AddIngredient(). AddIngredient(). AddIngredient(40). - AddIngredient(20). + AddIngredient(20). AddIngredient(ItemID.Nanites, 400). AddIngredient(5). AddTile(). diff --git a/Items/Weapons/Rogue/NightsGaze.cs b/Items/Weapons/Rogue/NightsGaze.cs index 5982c7be4e..2196d602a7 100644 --- a/Items/Weapons/Rogue/NightsGaze.cs +++ b/Items/Weapons/Rogue/NightsGaze.cs @@ -64,7 +64,7 @@ namespace CalamityMod.Items.Weapons.Rogue { CreateRecipe(). AddIngredient(ItemID.DayBreak). - AddIngredient(7). + AddIngredient(7). AddIngredient(4). AddIngredient(12). AddTile(TileID.LunarCraftingStation). diff --git a/Items/Weapons/Rogue/PhantomLance.cs b/Items/Weapons/Rogue/PhantomLance.cs index 6b8a24ed5a..cc518ed6fa 100644 --- a/Items/Weapons/Rogue/PhantomLance.cs +++ b/Items/Weapons/Rogue/PhantomLance.cs @@ -61,8 +61,8 @@ Stealth strikes don't slow down and souls always deal full damage"); { CreateRecipe(100). AddIngredient(ItemID.SpectreBar, 2). - AddIngredient(). - AddIngredient(2). + AddIngredient(). + AddIngredient(2). AddTile(TileID.MythrilAnvil). Register(); } diff --git a/Items/Weapons/Rogue/Plaguenade.cs b/Items/Weapons/Rogue/Plaguenade.cs index 40b0382428..48ea20eda4 100644 --- a/Items/Weapons/Rogue/Plaguenade.cs +++ b/Items/Weapons/Rogue/Plaguenade.cs @@ -57,7 +57,7 @@ namespace CalamityMod.Items.Weapons.Rogue { CreateRecipe(100). AddIngredient(ItemID.Beenade, 20). - AddIngredient(5). + AddIngredient(5). AddTile(TileID.MythrilAnvil). Register(); } diff --git a/Items/Weapons/Rogue/ProfanedPartisan.cs b/Items/Weapons/Rogue/ProfanedPartisan.cs index f480f49f7b..eabdc273bb 100644 --- a/Items/Weapons/Rogue/ProfanedPartisan.cs +++ b/Items/Weapons/Rogue/ProfanedPartisan.cs @@ -61,7 +61,7 @@ Stealth strikes spawn smaller spears to fly along side it"); { CreateRecipe(). AddIngredient(500). - AddIngredient(6). + AddIngredient(6). AddIngredient(4). AddIngredient(25). AddTile(TileID.LunarCraftingStation).Register(); diff --git a/Items/Weapons/Rogue/RotBall.cs b/Items/Weapons/Rogue/RotBall.cs index 31b5216156..35553d6da6 100644 --- a/Items/Weapons/Rogue/RotBall.cs +++ b/Items/Weapons/Rogue/RotBall.cs @@ -60,7 +60,7 @@ namespace CalamityMod.Items.Weapons.Rogue public override void AddRecipes() { CreateRecipe(100). - AddIngredient(). + AddIngredient(). AddIngredient(ItemID.RottenChunk). AddIngredient(ItemID.DemoniteBar). AddTile(TileID.DemonAltar). diff --git a/Items/Weapons/Rogue/Sandslasher.cs b/Items/Weapons/Rogue/Sandslasher.cs index 74c523e546..b4ae8fbaeb 100644 --- a/Items/Weapons/Rogue/Sandslasher.cs +++ b/Items/Weapons/Rogue/Sandslasher.cs @@ -55,7 +55,7 @@ namespace CalamityMod.Items.Weapons.Rogue { CreateRecipe(). AddIngredient(). - AddIngredient(6). + AddIngredient(6). AddRecipeGroup("AnyGoldBar", 10). AddIngredient(ItemID.HardenedSand, 25). AddTile(TileID.MythrilAnvil). diff --git a/Items/Weapons/Rogue/SludgeSplotch.cs b/Items/Weapons/Rogue/SludgeSplotch.cs index 37e73a1e5b..4db35f155b 100644 --- a/Items/Weapons/Rogue/SludgeSplotch.cs +++ b/Items/Weapons/Rogue/SludgeSplotch.cs @@ -57,7 +57,7 @@ namespace CalamityMod.Items.Weapons.Rogue public override void AddRecipes() { CreateRecipe(100). - AddIngredient(15). + AddIngredient(15). AddRecipeGroup("Boss2Material"). Register(); } diff --git a/Items/Weapons/Rogue/StarofDestruction.cs b/Items/Weapons/Rogue/StarofDestruction.cs index 2dc0f44cee..52372f3499 100644 --- a/Items/Weapons/Rogue/StarofDestruction.cs +++ b/Items/Weapons/Rogue/StarofDestruction.cs @@ -53,7 +53,7 @@ namespace CalamityMod.Items.Weapons.Rogue public override void AddRecipes() { CreateRecipe(). - AddIngredient(10). + AddIngredient(10). AddTile(TileID.LunarCraftingStation). Register(); } diff --git a/Items/Weapons/Rogue/StormfrontRazor.cs b/Items/Weapons/Rogue/StormfrontRazor.cs index ebf03ec115..2face4c0c9 100644 --- a/Items/Weapons/Rogue/StormfrontRazor.cs +++ b/Items/Weapons/Rogue/StormfrontRazor.cs @@ -64,7 +64,7 @@ namespace CalamityMod.Items.Weapons.Rogue CreateRecipe(). AddIngredient(). AddRecipeGroup("AnyMythrilBar", 6). - AddIngredient(4). + AddIngredient(4). AddIngredient(15). AddIngredient(2). AddTile(TileID.MythrilAnvil). diff --git a/Items/Weapons/Rogue/TarragonThrowingDart.cs b/Items/Weapons/Rogue/TarragonThrowingDart.cs index 3594cdb228..5de8ccea82 100644 --- a/Items/Weapons/Rogue/TarragonThrowingDart.cs +++ b/Items/Weapons/Rogue/TarragonThrowingDart.cs @@ -56,7 +56,7 @@ Stealth strikes erupt into thorns on enemy hits"); public override void AddRecipes() { CreateRecipe(333). - AddIngredient(). + AddIngredient(). AddTile(TileID.LunarCraftingStation). Register(); } diff --git a/Items/Weapons/Rogue/XerocPitchfork.cs b/Items/Weapons/Rogue/XerocPitchfork.cs index 27ac7cf18e..eeb845923b 100644 --- a/Items/Weapons/Rogue/XerocPitchfork.cs +++ b/Items/Weapons/Rogue/XerocPitchfork.cs @@ -53,7 +53,7 @@ namespace CalamityMod.Items.Weapons.Rogue public override void AddRecipes() { CreateRecipe(100). - AddIngredient(). + AddIngredient(). AddTile(TileID.LunarCraftingStation). Register(); } diff --git a/Items/Weapons/Summon/DaedalusGolemStaff.cs b/Items/Weapons/Summon/DaedalusGolemStaff.cs index 2b3a323b88..1d59bb6449 100644 --- a/Items/Weapons/Summon/DaedalusGolemStaff.cs +++ b/Items/Weapons/Summon/DaedalusGolemStaff.cs @@ -51,7 +51,7 @@ namespace CalamityMod.Items.Weapons.Summon public override void AddRecipes() { CreateRecipe(). - AddIngredient(12). + AddIngredient(12). AddTile(TileID.MythrilAnvil). Register(); } diff --git a/Items/Weapons/Summon/DankStaff.cs b/Items/Weapons/Summon/DankStaff.cs index 1e5f240174..e5792383f9 100644 --- a/Items/Weapons/Summon/DankStaff.cs +++ b/Items/Weapons/Summon/DankStaff.cs @@ -56,7 +56,7 @@ namespace CalamityMod.Items.Weapons.Summon CreateRecipe(). AddIngredient(ItemID.RottenChunk, 3). AddIngredient(ItemID.DemoniteBar, 8). - AddIngredient(7). + AddIngredient(7). AddTile(TileID.DemonAltar). Register(); } diff --git a/Items/Weapons/Summon/DreadmineStaff.cs b/Items/Weapons/Summon/DreadmineStaff.cs index a6813d35cf..7da2b2128f 100644 --- a/Items/Weapons/Summon/DreadmineStaff.cs +++ b/Items/Weapons/Summon/DreadmineStaff.cs @@ -52,7 +52,7 @@ namespace CalamityMod.Items.Weapons.Summon { CreateRecipe(). AddIngredient(10). - AddIngredient(30). + AddIngredient(30). AddIngredient(10). AddTile(TileID.MythrilAnvil). Register(); diff --git a/Items/Weapons/Summon/ElementalAxe.cs b/Items/Weapons/Summon/ElementalAxe.cs index 307a0fdfa2..bd422bde36 100644 --- a/Items/Weapons/Summon/ElementalAxe.cs +++ b/Items/Weapons/Summon/ElementalAxe.cs @@ -57,7 +57,7 @@ namespace CalamityMod.Items.Weapons.Summon AddIngredient(). AddIngredient(). AddIngredient(5). - AddIngredient(5). + AddIngredient(5). AddIngredient(ItemID.LunarBar, 5). AddTile(TileID.LunarCraftingStation). Register(); diff --git a/Items/Weapons/Summon/FlowersOfMortality.cs b/Items/Weapons/Summon/FlowersOfMortality.cs index f095eef15c..52c2548cd1 100644 --- a/Items/Weapons/Summon/FlowersOfMortality.cs +++ b/Items/Weapons/Summon/FlowersOfMortality.cs @@ -57,7 +57,7 @@ namespace CalamityMod.Items.Weapons.Summon AddIngredient(). AddIngredient(ItemID.LunarBar, 5). AddIngredient(5). - AddIngredient(5). + AddIngredient(5). AddTile(TileID.LunarCraftingStation). Register(); } diff --git a/Items/Weapons/Summon/ResurrectionButterfly.cs b/Items/Weapons/Summon/ResurrectionButterfly.cs index f76ee1628a..91e5dcc946 100644 --- a/Items/Weapons/Summon/ResurrectionButterfly.cs +++ b/Items/Weapons/Summon/ResurrectionButterfly.cs @@ -86,7 +86,7 @@ namespace CalamityMod.Items.Weapons.Summon CreateRecipe(). AddIngredient(ItemID.Silk, 40). AddIngredient(ItemID.Ectoplasm, 20). - AddIngredient(5). + AddIngredient(5). AddIngredient(ItemID.ButterflyDust, 2). AddTile(TileID.Loom). Register(); diff --git a/Items/Weapons/Summon/RustyBeaconPrototype.cs b/Items/Weapons/Summon/RustyBeaconPrototype.cs index 514c6e3bb7..38df520a60 100644 --- a/Items/Weapons/Summon/RustyBeaconPrototype.cs +++ b/Items/Weapons/Summon/RustyBeaconPrototype.cs @@ -49,7 +49,7 @@ namespace CalamityMod.Items.Weapons.Summon public override void AddRecipes() { CreateRecipe(). - AddIngredient(20). + AddIngredient(20). AddRecipeGroup("IronBar", 10). AddTile(TileID.Anvils). Register(); diff --git a/Items/Weapons/Summon/Sirius.cs b/Items/Weapons/Summon/Sirius.cs index 738df6354d..d2a958efe3 100644 --- a/Items/Weapons/Summon/Sirius.cs +++ b/Items/Weapons/Summon/Sirius.cs @@ -75,7 +75,7 @@ namespace CalamityMod.Items.Weapons.Summon { CreateRecipe(). AddIngredient(). - AddIngredient(5). + AddIngredient(5). AddIngredient(2). AddIngredient(12). AddTile(TileID.LunarCraftingStation). diff --git a/Items/Weapons/Summon/SunGodStaff.cs b/Items/Weapons/Summon/SunGodStaff.cs index 9c2d00c6af..ddfb3c81eb 100644 --- a/Items/Weapons/Summon/SunGodStaff.cs +++ b/Items/Weapons/Summon/SunGodStaff.cs @@ -50,7 +50,7 @@ namespace CalamityMod.Items.Weapons.Summon { CreateRecipe(). AddIngredient(). - AddIngredient(5). + AddIngredient(5). AddIngredient(ItemID.SoulofMight, 3). AddIngredient(ItemID.SoulofSight, 3). AddIngredient(ItemID.SoulofFright, 3). diff --git a/Items/Weapons/Summon/TacticalPlagueEngine.cs b/Items/Weapons/Summon/TacticalPlagueEngine.cs index 092ec4bd4f..d8a10b8e57 100644 --- a/Items/Weapons/Summon/TacticalPlagueEngine.cs +++ b/Items/Weapons/Summon/TacticalPlagueEngine.cs @@ -55,7 +55,7 @@ namespace CalamityMod.Items.Weapons.Summon AddIngredient(). AddIngredient(). AddIngredient(). - AddIngredient(15). + AddIngredient(15). AddIngredient(8). AddIngredient(ItemID.LunarBar, 5). AddTile(TileID.LunarCraftingStation). diff --git a/Items/Weapons/Summon/ViralSprout.cs b/Items/Weapons/Summon/ViralSprout.cs index ce6c35f4c8..498dd9b91b 100644 --- a/Items/Weapons/Summon/ViralSprout.cs +++ b/Items/Weapons/Summon/ViralSprout.cs @@ -62,7 +62,7 @@ namespace CalamityMod.Items.Weapons.Summon public override void AddRecipes() { CreateRecipe(). - AddIngredient(12). + AddIngredient(12). AddTile(TileID.MythrilAnvil). Register(); } diff --git a/Items/Weapons/Summon/ViridVanguard.cs b/Items/Weapons/Summon/ViridVanguard.cs index 183dea040c..81f5284485 100644 --- a/Items/Weapons/Summon/ViridVanguard.cs +++ b/Items/Weapons/Summon/ViridVanguard.cs @@ -107,7 +107,7 @@ namespace CalamityMod.Items.Weapons.Summon { CreateRecipe(). AddIngredient(). - AddIngredient(8). + AddIngredient(8). AddTile(TileID.LunarCraftingStation). Register(); } diff --git a/Items/Weapons/Summon/WitherBlossomsStaff.cs b/Items/Weapons/Summon/WitherBlossomsStaff.cs index 76ebff30d6..7e95661189 100644 --- a/Items/Weapons/Summon/WitherBlossomsStaff.cs +++ b/Items/Weapons/Summon/WitherBlossomsStaff.cs @@ -54,9 +54,9 @@ namespace CalamityMod.Items.Weapons.Summon { CreateRecipe(). AddIngredient(). - AddIngredient(15). + AddIngredient(15). AddIngredient(5). - AddIngredient(5). + AddIngredient(5). AddTile(TileID.MythrilAnvil). Register(); } diff --git a/Items/Weapons/Typeless/YanmeisKnife.cs b/Items/Weapons/Typeless/YanmeisKnife.cs index bb17ee861c..bb48e0d3e3 100644 --- a/Items/Weapons/Typeless/YanmeisKnife.cs +++ b/Items/Weapons/Typeless/YanmeisKnife.cs @@ -66,7 +66,7 @@ namespace CalamityMod.Items.Weapons.Typeless AddIngredient(ItemID.PsychoKnife). AddIngredient(ItemID.Obsidian, 10). AddIngredient(ItemID.IronBar, 20). - AddIngredient(50). + AddIngredient(50). AddTile(TileID.MythrilAnvil). Register(); } diff --git a/ModSupport/WeakReferenceSupport.cs b/ModSupport/WeakReferenceSupport.cs index 480aa6a59f..347427a57c 100644 --- a/ModSupport/WeakReferenceSupport.cs +++ b/ModSupport/WeakReferenceSupport.cs @@ -305,7 +305,7 @@ namespace CalamityMod BossDifficulty.TryGetValue("HiveMind", out float order); int type = NPCType(); int summon = ItemType(); - List loot = new List() { ItemType(), ItemType(), ItemID.DemoniteBar, ItemID.RottenChunk, ItemID.CorruptSeeds, ItemID.CursedFlame, ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemID.LesserHealingPotion }; + List loot = new List() { ItemType(), ItemType(), ItemID.DemoniteBar, ItemID.RottenChunk, ItemID.CorruptSeeds, ItemID.CursedFlame, ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemID.LesserHealingPotion }; List collection = new List() { ItemType(), ItemType(), ItemType(), ItemType() }; string instructions = $"Kill a Cyst in the Corruption or use a [i:{summon}] in the Corruption"; string despawn = CalamityUtils.ColorMessage("The corrupted colony began searching for a new breeding ground.", new Color(0x94, 0x00, 0xD3)); @@ -379,7 +379,7 @@ namespace CalamityMod BossDifficulty.TryGetValue("Calamitas", 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(), ItemID.BrokenHeroSword, ItemID.GreaterHealingPotion }; + 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"; string despawn = CalamityUtils.ColorMessage("If you wanted a fight, you should've came more prepared.", new Color(0xFF, 0xA5, 0x00)); @@ -403,7 +403,7 @@ namespace CalamityMod BossDifficulty.TryGetValue("Leviathan", out float order); List bosses = new List() { NPCType(), NPCType() }; List loot = new List() { ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemID.HotlineFishingHook, ItemID.BottomlessBucket, ItemID.SuperAbsorbantSponge, ItemID.FishingPotion, ItemID.SonarPotion, ItemID.CratePotion, ItemID.GreaterHealingPotion }; - List collection = new List() { ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType() }; + List collection = new List() { ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType() }; string instructions = "By killing an unknown entity in the Ocean Biome"; string despawn = CalamityUtils.ColorMessage("The aquatic entities sink back beneath the ocean depths.", new Color(0x7F, 0xFF, 0xD4)); string bossLogTex = "CalamityMod/NPCs/Leviathan/SirenandLevi_BossChecklist"; @@ -428,7 +428,7 @@ namespace CalamityMod BossDifficulty.TryGetValue("PlaguebringerGoliath", out float order); int type = NPCType(); 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 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"; string despawn = CalamityUtils.ColorMessage("HOSTILE SPECIMENS TERMINATED. INITIATE RECALL TO HOME BASE.", new Color(0x00, 0xFF, 0x00)); @@ -484,7 +484,7 @@ namespace CalamityMod int type = NPCType(); int summon = ItemType(); List loot = new List() { ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType() }; - List collection = new List() { ItemType(), ItemType(), ItemType() }; + List collection = new List() { ItemType(), ItemType(), ItemType() }; string instructions = $"Use [i:{summon}] in the Jungle Biome"; string despawn = CalamityUtils.ColorMessage("The failed experiment returns to its reproductive routine.", new Color(0xFF, 0xD7, 0x00)); AddBoss(bossChecklist, calamity, "Dragonfolly", order, type, DownedBirb, summon, loot, collection, instructions, despawn); @@ -610,11 +610,11 @@ namespace CalamityMod { BossDifficulty.TryGetValue("SupremeCalamitas", out float order); int type = NPCType(); - int summon1 = ItemType(); + int summon1 = 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() }; + List loot = new List() { ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType() }; List collection = new List() { ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType() }; string instructions = $"Use [i:{summon1}] or a [i:{summon2}] as offering at an [i:{altar}]"; string despawn = CalamityUtils.ColorMessage("Please don't waste my time.", new Color(0xFF, 0xA5, 0x00)); @@ -627,7 +627,7 @@ namespace CalamityMod BossDifficulty.TryGetValue("AdultEidolonWyrm", out float order); int type = NPCType(); int summon = ItemID.RodofDiscord; - List loot = new List() { ItemType(), ItemType(), ItemID.Ectoplasm, ItemType(), ItemType(), ItemType(), ItemType() }; + List loot = new List() { ItemType(), ItemType(), ItemID.Ectoplasm, ItemType(), ItemType(), ItemType(), ItemType() }; List collection = new List() { }; string instructions = $"While in the Abyss, use an item that inflicts Chaos State"; string despawn = CalamityUtils.ColorMessage("...", new Color(0x7F, 0xFF, 0xD4)); @@ -643,7 +643,7 @@ namespace CalamityMod InvasionDifficulty.TryGetValue("Acid Rain Initial", out float order); List enemies = AcidRainEvent.PossibleEnemiesPreHM.Select(enemy => enemy.Key).ToList(); int summon = ItemType(); - List loot = new List() { ItemType(), ItemType(), ItemType() }; + List loot = new List() { ItemType(), ItemType(), ItemType() }; List collection = new List() { ItemType() }; string instructions = $"Use a [i:{summon}] or wait for the invasion to occur naturally after the Eye of Cthulhu is defeated."; string despawn = CalamityUtils.ColorMessage("The mysterious creatures of the sulphuric sea descended back into the ocean.", new Color(146, 183, 116)); @@ -658,7 +658,7 @@ namespace CalamityMod enemies.Add(ModContent.NPCType()); enemies.AddRange(AcidRainEvent.PossibleMinibossesAS.Select(miniboss => miniboss.Key)); List summons = new List() { ItemType() }; - List loot = new List() { ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType() }; + List loot = new List() { ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType() }; List collection = new List() { ItemType() }; string instructions = $"Use a [i:{ItemType()}] or wait for the invasion to occur naturally after the Aquatic Scourge is defeated"; string despawn = CalamityUtils.ColorMessage("The mysterious creatures of the sulphuric sea descended back into the deep ocean.", new Color(146, 183, 116)); @@ -672,7 +672,7 @@ namespace CalamityMod List enemies = AcidRainEvent.PossibleEnemiesPolter.Select(enemy => enemy.Key).ToList(); enemies.AddRange(AcidRainEvent.PossibleMinibossesPolter.Select(miniboss => miniboss.Key)); List summons = new List() { ItemType() }; - List loot = new List() { ItemID.SharkFin, ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType() }; + List loot = new List() { ItemID.SharkFin, ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType() }; List collection = new List() { ItemType() }; string instructions = $"Use a [i:{ItemType()}] or wait for the invasion to occur naturally after the Polterghast is defeated"; string despawn = CalamityUtils.ColorMessage("The mysterious creatures of the sulphuric sea descended back into the deep ocean.", new Color(146, 183, 116)); @@ -757,7 +757,7 @@ namespace CalamityMod // Golem AddLoot(bossChecklist, "Golem", - new List() { ItemType(), ItemType() }, + new List() { ItemType(), ItemType() }, new List() { ItemType() } ); AddSummons(bossChecklist, "Golem", new List() { ItemType() }); diff --git a/NPCs/Abyss/DevilFish.cs b/NPCs/Abyss/DevilFish.cs index 55fbd7c116..711f79015c 100644 --- a/NPCs/Abyss/DevilFish.cs +++ b/NPCs/Abyss/DevilFish.cs @@ -312,7 +312,7 @@ namespace CalamityMod.NPCs.Abyss { var postClone = npcLoot.DefineConditionalDropSet(() => DownedBossSystem.downedCalamitas); postClone.Add(DropHelper.NormalVsExpertQuantity(ModContent.ItemType(), 2, 1, 2, 2, 3)); - postClone.Add(ModContent.ItemType(), 2); + postClone.Add(ModContent.ItemType(), 2); npcLoot.AddIf(() => NPC.downedGolemBoss, ModContent.ItemType(), 1, 3, 9); } diff --git a/NPCs/Abyss/EidolonWyrmHead.cs b/NPCs/Abyss/EidolonWyrmHead.cs index fb76ff365b..78d02434cc 100644 --- a/NPCs/Abyss/EidolonWyrmHead.cs +++ b/NPCs/Abyss/EidolonWyrmHead.cs @@ -515,7 +515,7 @@ namespace CalamityMod.NPCs.Abyss // Post-Clone: 6-8 Lumenyl (8-11 on Expert) LeadingConditionRule postClone = new(DropHelper.If(() => DownedBossSystem.downedCalamitas)); aewMinionCondition.Add(postClone); - postClone.Add(DropHelper.NormalVsExpertQuantity(ModContent.ItemType(), 1, 6, 8, 8, 11)); + postClone.Add(DropHelper.NormalVsExpertQuantity(ModContent.ItemType(), 1, 6, 8, 8, 11)); // Post-Plantera: 8-12 Ectoplasm aewMinionCondition.Add(ItemDropRule.ByCondition(new Conditions.DownedPlantera(), ItemID.Ectoplasm, 1, 8, 12)); diff --git a/NPCs/Abyss/GiantSquid.cs b/NPCs/Abyss/GiantSquid.cs index 987ceec84c..17c6638a01 100644 --- a/NPCs/Abyss/GiantSquid.cs +++ b/NPCs/Abyss/GiantSquid.cs @@ -248,7 +248,7 @@ namespace CalamityMod.NPCs.Abyss public override void ModifyNPCLoot(NPCLoot npcLoot) { var postClone = npcLoot.DefineConditionalDropSet(() => DownedBossSystem.downedCalamitas); - postClone.Add(ModContent.ItemType(), 2); + postClone.Add(ModContent.ItemType(), 2); postClone.Add(DropHelper.NormalVsExpertQuantity(ModContent.ItemType(), 2, 2, 4, 3, 6)); } diff --git a/NPCs/Abyss/GulperEelHead.cs b/NPCs/Abyss/GulperEelHead.cs index ce6eed9a32..a89b8d4a61 100644 --- a/NPCs/Abyss/GulperEelHead.cs +++ b/NPCs/Abyss/GulperEelHead.cs @@ -348,7 +348,7 @@ namespace CalamityMod.NPCs.Abyss public override void ModifyNPCLoot(NPCLoot npcLoot) { var postClone = npcLoot.DefineConditionalDropSet(() => DownedBossSystem.downedCalamitas); - postClone.Add(DropHelper.NormalVsExpertQuantity(ModContent.ItemType(), 2, 2, 3, 3, 4)); + postClone.Add(DropHelper.NormalVsExpertQuantity(ModContent.ItemType(), 2, 2, 3, 3, 4)); postClone.Add(DropHelper.NormalVsExpertQuantity(ModContent.ItemType(), 2, 6, 8, 8, 11)); } diff --git a/NPCs/Abyss/Laserfish.cs b/NPCs/Abyss/Laserfish.cs index b998b562a4..b1decf1119 100644 --- a/NPCs/Abyss/Laserfish.cs +++ b/NPCs/Abyss/Laserfish.cs @@ -126,7 +126,7 @@ namespace CalamityMod.NPCs.Abyss public override void ModifyNPCLoot(NPCLoot npcLoot) { - npcLoot.AddIf(() => DownedBossSystem.downedCalamitas, ModContent.ItemType(), 2); + npcLoot.AddIf(() => DownedBossSystem.downedCalamitas, ModContent.ItemType(), 2); } public override void HitEffect(int hitDirection, double damage) diff --git a/NPCs/Abyss/LuminousCorvina.cs b/NPCs/Abyss/LuminousCorvina.cs index 8c79d8513e..c8e3db2c22 100644 --- a/NPCs/Abyss/LuminousCorvina.cs +++ b/NPCs/Abyss/LuminousCorvina.cs @@ -294,7 +294,7 @@ namespace CalamityMod.NPCs.Abyss npcLoot.Add(ModContent.ItemType(), 1, 8, 15); var postClone = npcLoot.DefineConditionalDropSet(() => DownedBossSystem.downedCalamitas); postClone.Add(DropHelper.NormalVsExpertQuantity(ModContent.ItemType(), 2, 1, 2, 2, 3)); - postClone.Add(ModContent.ItemType(), 2); + postClone.Add(ModContent.ItemType(), 2); } public override void HitEffect(int hitDirection, double damage) diff --git a/NPCs/Abyss/Viperfish.cs b/NPCs/Abyss/Viperfish.cs index 92b7dec6e0..c0b24e6979 100644 --- a/NPCs/Abyss/Viperfish.cs +++ b/NPCs/Abyss/Viperfish.cs @@ -132,7 +132,7 @@ namespace CalamityMod.NPCs.Abyss { var postClone = npcLoot.DefineConditionalDropSet(() => DownedBossSystem.downedCalamitas); postClone.Add(DropHelper.NormalVsExpertQuantity(ModContent.ItemType(), 2, 1, 2, 2, 3)); - postClone.Add(ModContent.ItemType(), 4); + postClone.Add(ModContent.ItemType(), 4); } public override void HitEffect(int hitDirection, double damage) diff --git a/NPCs/AcidRain/AcidEel.cs b/NPCs/AcidRain/AcidEel.cs index 2aab5ba293..4cbdace2a4 100644 --- a/NPCs/AcidRain/AcidEel.cs +++ b/NPCs/AcidRain/AcidEel.cs @@ -147,7 +147,7 @@ namespace CalamityMod.NPCs.AcidRain public override void ModifyNPCLoot(NPCLoot npcLoot) { - npcLoot.Add(ModContent.ItemType(), 2, 1, 3); + npcLoot.Add(ModContent.ItemType(), 2, 1, 3); npcLoot.AddIf(() => DownedBossSystem.downedAquaticScourge, ModContent.ItemType(), 20); } diff --git a/NPCs/AcidRain/NuclearToad.cs b/NPCs/AcidRain/NuclearToad.cs index 9b74798e69..991d23a013 100644 --- a/NPCs/AcidRain/NuclearToad.cs +++ b/NPCs/AcidRain/NuclearToad.cs @@ -165,7 +165,7 @@ namespace CalamityMod.NPCs.AcidRain public override void ModifyNPCLoot(NPCLoot npcLoot) { - npcLoot.Add(ModContent.ItemType(), 2, 1, 3); + npcLoot.Add(ModContent.ItemType(), 2, 1, 3); npcLoot.AddIf(() => !DownedBossSystem.downedAquaticScourge, ModContent.ItemType(), 20); npcLoot.AddIf(() => DownedBossSystem.downedAquaticScourge, ModContent.ItemType(), 100); } diff --git a/NPCs/AcidRain/Radiator.cs b/NPCs/AcidRain/Radiator.cs index 9cb9757c3e..320021008c 100644 --- a/NPCs/AcidRain/Radiator.cs +++ b/NPCs/AcidRain/Radiator.cs @@ -122,7 +122,7 @@ namespace CalamityMod.NPCs.AcidRain public override void ModifyNPCLoot(NPCLoot npcLoot) { - npcLoot.Add(ModContent.ItemType(), 2, 1, 3); + npcLoot.Add(ModContent.ItemType(), 2, 1, 3); } } } diff --git a/NPCs/AcidRain/Skyfin.cs b/NPCs/AcidRain/Skyfin.cs index 3832dd7a79..698bb48373 100644 --- a/NPCs/AcidRain/Skyfin.cs +++ b/NPCs/AcidRain/Skyfin.cs @@ -178,7 +178,7 @@ namespace CalamityMod.NPCs.AcidRain public override void ModifyNPCLoot(NPCLoot npcLoot) { - npcLoot.Add(ModContent.ItemType(), 2, 1, 3); + npcLoot.Add(ModContent.ItemType(), 2, 1, 3); npcLoot.AddIf(() => DownedBossSystem.downedAquaticScourge, ModContent.ItemType(), 20); } diff --git a/NPCs/AdultEidolonWyrm/EidolonWyrmHeadHuge.cs b/NPCs/AdultEidolonWyrm/EidolonWyrmHeadHuge.cs index d30eb857f8..9148237502 100644 --- a/NPCs/AdultEidolonWyrm/EidolonWyrmHeadHuge.cs +++ b/NPCs/AdultEidolonWyrm/EidolonWyrmHeadHuge.cs @@ -1386,7 +1386,7 @@ namespace CalamityMod.NPCs.AdultEidolonWyrm npcLoot.Add(ModContent.ItemType(), 1, 80, 100); var postClone = npcLoot.DefineConditionalDropSet(() => DownedBossSystem.downedCalamitas); - postClone.Add(DropHelper.NormalVsExpertQuantity(ModContent.ItemType(), 1, 50, 108, 65, 135)); + postClone.Add(DropHelper.NormalVsExpertQuantity(ModContent.ItemType(), 1, 50, 108, 65, 135)); postClone.Add(ItemID.Ectoplasm, 1, 21, 32); } diff --git a/NPCs/Bumblebirb/Bumblefuck.cs b/NPCs/Bumblebirb/Bumblefuck.cs index b6374ffd48..98ed893189 100644 --- a/NPCs/Bumblebirb/Bumblefuck.cs +++ b/NPCs/Bumblebirb/Bumblefuck.cs @@ -437,7 +437,7 @@ namespace CalamityMod.NPCs.Bumblebirb npcLoot.Add(ModContent.ItemType(), 10); // Lore - npcLoot.AddConditionalPerPlayer(() => !DownedBossSystem.downedDragonfolly, ModContent.ItemType()); + npcLoot.AddConditionalPerPlayer(() => !DownedBossSystem.downedDragonfolly, ModContent.ItemType()); } public override void OnKill() diff --git a/NPCs/Calamitas/CalamitasRun3.cs b/NPCs/Calamitas/CalamitasRun3.cs index 5ec6783d95..96f1aba20c 100644 --- a/NPCs/Calamitas/CalamitasRun3.cs +++ b/NPCs/Calamitas/CalamitasRun3.cs @@ -211,7 +211,7 @@ namespace CalamityMod.NPCs.Calamitas // Materials normalOnly.Add(ModContent.ItemType(), 1, 4, 8); - normalOnly.Add(ModContent.ItemType(), 1, 9, 14); + normalOnly.Add(ModContent.ItemType(), 1, 9, 14); postProvidence.Add(ModContent.ItemType(), 1, 30, 40); // Vanity diff --git a/NPCs/CalamityGlobalNPCLoot.cs b/NPCs/CalamityGlobalNPCLoot.cs index 3fc7fdc3d9..3e0c3ba204 100644 --- a/NPCs/CalamityGlobalNPCLoot.cs +++ b/NPCs/CalamityGlobalNPCLoot.cs @@ -85,19 +85,19 @@ namespace CalamityMod.NPCs // Essence of Cinder @ 50% IF Hardmode and not statue spawned case NPCID.Harpy: npcLoot.AddIf(() => NPC.downedBoss1, ModContent.ItemType(), 30); - npcLoot.AddIf(() => Main.hardMode && !npc.SpawnedFromStatue, ModContent.ItemType(), 2); + npcLoot.AddIf(() => Main.hardMode && !npc.SpawnedFromStatue, ModContent.ItemType(), 2); break; // Angry Nimbus // Essence of Cinder @ 50% Normal, 100% Expert+ case NPCID.AngryNimbus: - npcLoot.Add(ItemDropRule.NormalvsExpert(ModContent.ItemType(), 2, 1)); + npcLoot.Add(ItemDropRule.NormalvsExpert(ModContent.ItemType(), 2, 1)); break; // Wyvern Head // 1-2 Essence of Cinder @ 100% case NPCID.WyvernHead: - npcLoot.Add(ModContent.ItemType(), 1, 1, 2); + npcLoot.Add(ModContent.ItemType(), 1, 1, 2); break; #endregion @@ -1111,7 +1111,7 @@ namespace CalamityMod.NPCs normalOnly.Add(DropHelper.PerPlayer(ItemID.ShinyStone)); // Would be in the bag otherwise - normalOnly.Add(ModContent.ItemType(), 1, 5, 10); + normalOnly.Add(ModContent.ItemType(), 1, 5, 10); normalOnly.Add(ModContent.ItemType(), 10); // If Golem has never been killed, provide a Picksaw to all players. This only applies in Normal Mode. diff --git a/NPCs/DraedonLabThings/RepairUnitCritter.cs b/NPCs/DraedonLabThings/RepairUnitCritter.cs index b2fc0acc1b..fc2f049e09 100644 --- a/NPCs/DraedonLabThings/RepairUnitCritter.cs +++ b/NPCs/DraedonLabThings/RepairUnitCritter.cs @@ -318,7 +318,7 @@ namespace CalamityMod.NPCs.DraedonLabThings public override void ModifyNPCLoot(NPCLoot npcLoot) { - npcLoot.Add(ModContent.ItemType(), 2, 2, 4); + npcLoot.Add(ModContent.ItemType(), 2, 2, 4); } public override void FindFrame(int frameHeight) diff --git a/NPCs/HiveMind/HiveMind.cs b/NPCs/HiveMind/HiveMind.cs index 7c0a818ef9..13adf9d2ae 100644 --- a/NPCs/HiveMind/HiveMind.cs +++ b/NPCs/HiveMind/HiveMind.cs @@ -1132,7 +1132,7 @@ namespace CalamityMod.NPCs.HiveMind normalOnly.Add(ItemID.DemoniteBar, 1, 12, 15); normalOnly.Add(ItemID.RottenChunk, 1, 12, 15); normalOnly.Add(ItemID.CorruptSeeds, 1, 12, 15); - normalOnly.Add(DropHelper.PerPlayer(ModContent.ItemType(), 1, 25, 30)); + normalOnly.Add(DropHelper.PerPlayer(ModContent.ItemType(), 1, 25, 30)); normalOnly.Add(ItemDropRule.ByCondition(new Conditions.IsHardmode(), ItemID.CursedFlame, 1, 10, 20)); // Equipment diff --git a/NPCs/Leviathan/Leviathan.cs b/NPCs/Leviathan/Leviathan.cs index b78fa96942..26a2e1d219 100644 --- a/NPCs/Leviathan/Leviathan.cs +++ b/NPCs/Leviathan/Leviathan.cs @@ -784,7 +784,7 @@ namespace CalamityMod.NPCs.Leviathan // Lore bool shouldDropLore(DropAttemptInfo info) => !DownedBossSystem.downedLeviathan && LastAnLStanding(); npcLoot.AddConditionalPerPlayer(shouldDropLore, ModContent.ItemType()); - npcLoot.AddConditionalPerPlayer(shouldDropLore, ModContent.ItemType()); + npcLoot.AddConditionalPerPlayer(shouldDropLore, ModContent.ItemType()); } public override void ModifyNPCLoot(NPCLoot npcLoot) diff --git a/NPCs/NormalNPCs/CrimulanBlightSlime.cs b/NPCs/NormalNPCs/CrimulanBlightSlime.cs index 447b66eddd..cf451f7151 100644 --- a/NPCs/NormalNPCs/CrimulanBlightSlime.cs +++ b/NPCs/NormalNPCs/CrimulanBlightSlime.cs @@ -81,7 +81,7 @@ namespace CalamityMod.NPCs.NormalNPCs public override void ModifyNPCLoot(NPCLoot npcLoot) { npcLoot.Add(ItemID.Gel, 1, 10, 14); - npcLoot.Add(ModContent.ItemType(), 1, 15, 21); + npcLoot.Add(ModContent.ItemType(), 1, 15, 21); } } } diff --git a/NPCs/NormalNPCs/EbonianBlightSlime.cs b/NPCs/NormalNPCs/EbonianBlightSlime.cs index 8f2d830805..f22746f5f5 100644 --- a/NPCs/NormalNPCs/EbonianBlightSlime.cs +++ b/NPCs/NormalNPCs/EbonianBlightSlime.cs @@ -81,7 +81,7 @@ namespace CalamityMod.NPCs.NormalNPCs public override void ModifyNPCLoot(NPCLoot npcLoot) { npcLoot.Add(ItemID.Gel, 1, 10, 14); - npcLoot.Add(ModContent.ItemType(), 1, 15, 21); + npcLoot.Add(ModContent.ItemType(), 1, 15, 21); } } } diff --git a/NPCs/NormalNPCs/Eidolist.cs b/NPCs/NormalNPCs/Eidolist.cs index 483e563a49..7ab9784eba 100644 --- a/NPCs/NormalNPCs/Eidolist.cs +++ b/NPCs/NormalNPCs/Eidolist.cs @@ -352,7 +352,7 @@ namespace CalamityMod.NPCs.NormalNPCs aewMinionCondition.Add(notDuringCultistFight); LeadingConditionRule postClone = new LeadingConditionRule(DropHelper.If(() => DownedBossSystem.downedCalamitas)); - postClone.Add(DropHelper.NormalVsExpertQuantity(ModContent.ItemType(), 1, 8, 10, 10, 14)); + postClone.Add(DropHelper.NormalVsExpertQuantity(ModContent.ItemType(), 1, 8, 10, 10, 14)); aewMinionCondition.Add(postClone); LeadingConditionRule postPlant = new LeadingConditionRule(new Conditions.DownedPlantera()); diff --git a/NPCs/NormalNPCs/ShockstormShuttle.cs b/NPCs/NormalNPCs/ShockstormShuttle.cs index 996243a581..2d13083219 100644 --- a/NPCs/NormalNPCs/ShockstormShuttle.cs +++ b/NPCs/NormalNPCs/ShockstormShuttle.cs @@ -406,7 +406,7 @@ namespace CalamityMod.NPCs.NormalNPCs public override void ModifyNPCLoot(NPCLoot npcLoot) { npcLoot.AddIf(() => NPC.downedGolemBoss, ItemID.MartianConduitPlating, 1, 10, 30); - npcLoot.Add(ModContent.ItemType(), 3); + npcLoot.Add(ModContent.ItemType(), 3); npcLoot.Add(ModContent.ItemType(), 10); } } diff --git a/NPCs/NormalNPCs/SunBat.cs b/NPCs/NormalNPCs/SunBat.cs index 798494edef..295e43faf4 100644 --- a/NPCs/NormalNPCs/SunBat.cs +++ b/NPCs/NormalNPCs/SunBat.cs @@ -98,6 +98,6 @@ namespace CalamityMod.NPCs.NormalNPCs } } - public override void ModifyNPCLoot(NPCLoot npcLoot) => npcLoot.Add(ModContent.ItemType(), 3); + public override void ModifyNPCLoot(NPCLoot npcLoot) => npcLoot.Add(ModContent.ItemType(), 3); } } diff --git a/NPCs/NormalNPCs/Sunskater.cs b/NPCs/NormalNPCs/Sunskater.cs index edc9433201..1f3fa788e0 100644 --- a/NPCs/NormalNPCs/Sunskater.cs +++ b/NPCs/NormalNPCs/Sunskater.cs @@ -227,7 +227,7 @@ namespace CalamityMod.NPCs.NormalNPCs player.AddBuff(ModContent.BuffType(), 120, true); } - public override void ModifyNPCLoot(NPCLoot npcLoot) => npcLoot.AddIf(() => Main.hardMode, ModContent.ItemType(), 3); + public override void ModifyNPCLoot(NPCLoot npcLoot) => npcLoot.AddIf(() => Main.hardMode, ModContent.ItemType(), 3); public override void HitEffect(int hitDirection, double damage) { diff --git a/NPCs/NormalNPCs/ThiccWaifu.cs b/NPCs/NormalNPCs/ThiccWaifu.cs index e29dcbf2da..f8521c72c4 100644 --- a/NPCs/NormalNPCs/ThiccWaifu.cs +++ b/NPCs/NormalNPCs/ThiccWaifu.cs @@ -430,7 +430,7 @@ namespace CalamityMod.NPCs.NormalNPCs public override void ModifyNPCLoot(NPCLoot npcLoot) { - npcLoot.Add(ModContent.ItemType(), 1, 2, 3); + npcLoot.Add(ModContent.ItemType(), 1, 2, 3); npcLoot.Add(ModContent.ItemType(), 3); npcLoot.Add(ModContent.ItemType(), 5); } diff --git a/NPCs/PlagueEnemies/PlagueBee.cs b/NPCs/PlagueEnemies/PlagueBee.cs index ce8172adeb..9bb1bdb5b7 100644 --- a/NPCs/PlagueEnemies/PlagueBee.cs +++ b/NPCs/PlagueEnemies/PlagueBee.cs @@ -115,7 +115,7 @@ namespace CalamityMod.NPCs.PlagueEnemies public override void ModifyNPCLoot(NPCLoot npcLoot) { - npcLoot.Add(ModContent.ItemType(), 1, 1, 2); + npcLoot.Add(ModContent.ItemType(), 1, 1, 2); npcLoot.Add(ItemDropRule.NormalvsExpert(ItemID.Stinger, 4, 2)); } diff --git a/NPCs/PlagueEnemies/PlagueBeeLarge.cs b/NPCs/PlagueEnemies/PlagueBeeLarge.cs index a5401a2cd5..c420f9334d 100644 --- a/NPCs/PlagueEnemies/PlagueBeeLarge.cs +++ b/NPCs/PlagueEnemies/PlagueBeeLarge.cs @@ -115,7 +115,7 @@ namespace CalamityMod.NPCs.PlagueEnemies public override void ModifyNPCLoot(NPCLoot npcLoot) { - npcLoot.Add(ModContent.ItemType(), 1, 2, 3); + npcLoot.Add(ModContent.ItemType(), 1, 2, 3); npcLoot.Add(ItemDropRule.NormalvsExpert(ItemID.Stinger, 4, 2)); } diff --git a/NPCs/PlagueEnemies/PlaguebringerShade.cs b/NPCs/PlagueEnemies/PlaguebringerShade.cs index 1b7c451540..d1f01edd81 100644 --- a/NPCs/PlagueEnemies/PlaguebringerShade.cs +++ b/NPCs/PlagueEnemies/PlaguebringerShade.cs @@ -656,7 +656,7 @@ namespace CalamityMod.NPCs.PlagueEnemies public override void ModifyNPCLoot(NPCLoot npcLoot) { - npcLoot.Add(ModContent.ItemType(), 1, 8, 12); + npcLoot.Add(ModContent.ItemType(), 1, 8, 12); npcLoot.Add(ModContent.ItemType(), 10); npcLoot.Add(ModContent.ItemType(), 50); npcLoot.Add(ItemID.Stinger); diff --git a/NPCs/PlagueEnemies/PlaguedDerpling.cs b/NPCs/PlagueEnemies/PlaguedDerpling.cs index 610914b413..81937c8f28 100644 --- a/NPCs/PlagueEnemies/PlaguedDerpling.cs +++ b/NPCs/PlagueEnemies/PlaguedDerpling.cs @@ -202,6 +202,6 @@ namespace CalamityMod.NPCs.PlagueEnemies } } - public override void ModifyNPCLoot(NPCLoot npcLoot) => npcLoot.Add(ModContent.ItemType(), 1, 1, 2); + public override void ModifyNPCLoot(NPCLoot npcLoot) => npcLoot.Add(ModContent.ItemType(), 1, 1, 2); } } diff --git a/NPCs/PlagueEnemies/PlaguedFlyingFox.cs b/NPCs/PlagueEnemies/PlaguedFlyingFox.cs index 0cd65eaf24..92a9d1dfc6 100644 --- a/NPCs/PlagueEnemies/PlaguedFlyingFox.cs +++ b/NPCs/PlagueEnemies/PlaguedFlyingFox.cs @@ -83,6 +83,6 @@ namespace CalamityMod.NPCs.PlagueEnemies } } - public override void ModifyNPCLoot(NPCLoot npcLoot) => npcLoot.Add(ModContent.ItemType(), 1, 1, 2); + public override void ModifyNPCLoot(NPCLoot npcLoot) => npcLoot.Add(ModContent.ItemType(), 1, 1, 2); } } diff --git a/NPCs/PlagueEnemies/PlaguedJungleSlime.cs b/NPCs/PlagueEnemies/PlaguedJungleSlime.cs index 0f4eb7f34e..608d602fd6 100644 --- a/NPCs/PlagueEnemies/PlaguedJungleSlime.cs +++ b/NPCs/PlagueEnemies/PlaguedJungleSlime.cs @@ -143,7 +143,7 @@ namespace CalamityMod.NPCs.PlagueEnemies public override void ModifyNPCLoot(NPCLoot npcLoot) { - npcLoot.Add(ModContent.ItemType(), 1, 1, 2); + npcLoot.Add(ModContent.ItemType(), 1, 1, 2); npcLoot.Add(ItemDropRule.NormalvsExpert(ItemID.Stinger, 4, 2)); } diff --git a/NPCs/PlagueEnemies/PlaguedTortoise.cs b/NPCs/PlagueEnemies/PlaguedTortoise.cs index 4c54719337..cff22684cb 100644 --- a/NPCs/PlagueEnemies/PlaguedTortoise.cs +++ b/NPCs/PlagueEnemies/PlaguedTortoise.cs @@ -83,6 +83,6 @@ namespace CalamityMod.NPCs.PlagueEnemies player.AddBuff(ModContent.BuffType(), 180, true); } - public override void ModifyNPCLoot(NPCLoot npcLoot) => npcLoot.Add(ModContent.ItemType(), 1, 3, 4); + public override void ModifyNPCLoot(NPCLoot npcLoot) => npcLoot.Add(ModContent.ItemType(), 1, 3, 4); } } diff --git a/NPCs/PlaguebringerGoliath/PlaguebringerGoliath.cs b/NPCs/PlaguebringerGoliath/PlaguebringerGoliath.cs index 3ed82d5260..de74849cec 100644 --- a/NPCs/PlaguebringerGoliath/PlaguebringerGoliath.cs +++ b/NPCs/PlaguebringerGoliath/PlaguebringerGoliath.cs @@ -1255,7 +1255,7 @@ namespace CalamityMod.NPCs.PlaguebringerGoliath // Materials normalOnly.Add(ItemID.Stinger, 1, 3, 5); - normalOnly.Add(ModContent.ItemType(), 1, 10, 14); + normalOnly.Add(ModContent.ItemType(), 1, 10, 14); normalOnly.Add(DropHelper.PerPlayer(ModContent.ItemType(), 1, 13, 17)); // Equipment diff --git a/NPCs/SupremeCalamitas/SupremeCalamitas.cs b/NPCs/SupremeCalamitas/SupremeCalamitas.cs index 7386fe235e..6278d7ffd9 100644 --- a/NPCs/SupremeCalamitas/SupremeCalamitas.cs +++ b/NPCs/SupremeCalamitas/SupremeCalamitas.cs @@ -2518,7 +2518,7 @@ namespace CalamityMod.NPCs.SupremeCalamitas normalOnly.Add(DropHelper.CalamityStyle(DropHelper.NormalWeaponDropRateFraction, weapons)); // Materials - normalOnly.Add(DropHelper.PerPlayer(ModContent.ItemType(), 1, 18, 27)); + normalOnly.Add(DropHelper.PerPlayer(ModContent.ItemType(), 1, 18, 27)); // Equipment normalOnly.Add(DropHelper.PerPlayer(ModContent.ItemType())); diff --git a/Projectiles/Typeless/ChaoticSpreadBobber.cs b/Projectiles/Typeless/ChaoticSpreadBobber.cs index ae14a993db..1c3cbabaf7 100644 --- a/Projectiles/Typeless/ChaoticSpreadBobber.cs +++ b/Projectiles/Typeless/ChaoticSpreadBobber.cs @@ -45,7 +45,7 @@ namespace CalamityMod.Projectiles.Typeless Lighting.AddLight(Projectile.Center, 0.5f, 0.25f, 0f); else Lighting.AddLight(Projectile.Center, 0f, 0.45f, 0.46f); - return Projectile.DrawFishingLine(ModContent.ItemType(), fishingLineColor, 65, 30f); + return Projectile.DrawFishingLine(ModContent.ItemType(), fishingLineColor, 65, 30f); } } } diff --git a/TileEntities/TEChargingStation.cs b/TileEntities/TEChargingStation.cs index c1c3daf15a..49027f7f6a 100644 --- a/TileEntities/TEChargingStation.cs +++ b/TileEntities/TEChargingStation.cs @@ -69,7 +69,7 @@ namespace CalamityMod.TileEntities { // Apply charge to the plugged item first, as this doesn't send a sync packet. CalamityGlobalItem modItem = PluggedItem.Calamity(); - modItem.Charge += PowerCell.ChargeValue; + modItem.Charge += DraedonPowerCell.ChargeValue; if (modItem.Charge >= modItem.MaxCharge) modItem.Charge = modItem.MaxCharge; diff --git a/TileEntities/TECodebreaker.cs b/TileEntities/TECodebreaker.cs index 87728811cd..4f8f8988e7 100644 --- a/TileEntities/TECodebreaker.cs +++ b/TileEntities/TECodebreaker.cs @@ -167,7 +167,7 @@ namespace CalamityMod.TileEntities if (totalCellsToDrop > 999) totalCellsToDrop = 999; InputtedCellCount -= totalCellsToDrop; - Item.NewItem(new EntitySource_TileEntity(this), x * 16, y * 16, 32, 32, ModContent.ItemType(), totalCellsToDrop); + Item.NewItem(new EntitySource_TileEntity(this), x * 16, y * 16, 32, 32, ModContent.ItemType(), totalCellsToDrop); } } diff --git a/TileEntities/TEPowerCellFactory.cs b/TileEntities/TEPowerCellFactory.cs index c1adeb6782..da86d0bf1c 100644 --- a/TileEntities/TEPowerCellFactory.cs +++ b/TileEntities/TEPowerCellFactory.cs @@ -72,7 +72,7 @@ namespace CalamityMod.TileEntities public override void Update() { ++Time; - int maxCellStack = ModContent.GetModItem(ModContent.ItemType()).Item.maxStack; + int maxCellStack = ModContent.GetModItem(ModContent.ItemType()).Item.maxStack; if (IsCellFrame && CellStack < maxCellStack) // The property setter will automatically send the necessary packet. CellStack++; diff --git a/Tiles/Abyss/LumenylCrystals.cs b/Tiles/Abyss/LumenylCrystals.cs index ab23f174a3..9c074391c0 100644 --- a/Tiles/Abyss/LumenylCrystals.cs +++ b/Tiles/Abyss/LumenylCrystals.cs @@ -20,7 +20,7 @@ namespace CalamityMod.Tiles.Abyss AddMapEntry(new Color(0, 150, 200), name); HitSound = SoundID.Item27; DustType = 67; - ItemDrop = ModContent.ItemType(); + ItemDrop = ModContent.ItemType(); Main.tileSpelunker[Type] = true; } diff --git a/Tiles/ChaoticBarPlaced.cs b/Tiles/ChaoticBarPlaced.cs index b52b31b622..01150affb1 100644 --- a/Tiles/ChaoticBarPlaced.cs +++ b/Tiles/ChaoticBarPlaced.cs @@ -11,7 +11,7 @@ namespace CalamityMod.Tiles { this.SetUpBar(new Color(255, 165, 0)); DustType = 87; - ItemDrop = ModContent.ItemType(); + ItemDrop = ModContent.ItemType(); } public override bool CreateDust(int i, int j, ref int type) diff --git a/Tiles/CryonicBar.cs b/Tiles/CryonicBar.cs index 6b4776eb7b..fa05ada349 100644 --- a/Tiles/CryonicBar.cs +++ b/Tiles/CryonicBar.cs @@ -11,7 +11,7 @@ namespace CalamityMod.Tiles { this.SetUpBar(new Color(138, 43, 226)); DustType = 44; - ItemDrop = ModContent.ItemType(); + ItemDrop = ModContent.ItemType(); } public override bool CreateDust(int i, int j, ref int type) diff --git a/Tiles/DraedonStructures/ChargingStation.cs b/Tiles/DraedonStructures/ChargingStation.cs index f2d40760a9..cdec10eb83 100644 --- a/Tiles/DraedonStructures/ChargingStation.cs +++ b/Tiles/DraedonStructures/ChargingStation.cs @@ -73,7 +73,7 @@ namespace CalamityMod.Tiles.DraedonStructures TEChargingStation charger = CalamityUtils.FindTileEntity(i, j, Width, Height, SheetSquare); int numCells = charger?.CellStack ?? 0; if (numCells > 0) - Item.NewItem(new EntitySource_TileBreak(i, j), dropPos, ModContent.ItemType(), numCells); + Item.NewItem(new EntitySource_TileBreak(i, j), dropPos, ModContent.ItemType(), numCells); // Netcode check is required because otherwise this will spawn two items. // Force cloning items into the Main item array is weird. diff --git a/Tiles/DraedonStructures/PowerCellFactory.cs b/Tiles/DraedonStructures/PowerCellFactory.cs index b693a1eed1..22314ef931 100644 --- a/Tiles/DraedonStructures/PowerCellFactory.cs +++ b/Tiles/DraedonStructures/PowerCellFactory.cs @@ -87,7 +87,7 @@ namespace CalamityMod.Tiles.DraedonStructures TEPowerCellFactory factory = CalamityUtils.FindTileEntity(i, j, Width, Height, SheetSquare); int numCells = factory?.CellStack ?? 0; if (numCells > 0) - Item.NewItem(new EntitySource_TileBreak(i, j), new Vector2(i, j) * 16f, ModContent.ItemType(), numCells); + Item.NewItem(new EntitySource_TileBreak(i, j), new Vector2(i, j) * 16f, ModContent.ItemType(), numCells); factory?.Kill(left, top); } diff --git a/Tiles/Furniture/SCalAltar.cs b/Tiles/Furniture/SCalAltar.cs index e9ea9b606f..7af344f655 100644 --- a/Tiles/Furniture/SCalAltar.cs +++ b/Tiles/Furniture/SCalAltar.cs @@ -61,7 +61,7 @@ namespace CalamityMod.Tiles.Furniture int left = i - tile.TileFrameX / 18; int top = j - tile.TileFrameY / 18; - if (!Main.LocalPlayer.HasItem(ModContent.ItemType()) && + if (!Main.LocalPlayer.HasItem(ModContent.ItemType()) && !Main.LocalPlayer.HasItem(ModContent.ItemType())) { return true; @@ -82,7 +82,7 @@ namespace CalamityMod.Tiles.Furniture Projectile.NewProjectile(new EntitySource_WorldEvent(), ritualSpawnPosition, Vector2.Zero, ModContent.ProjectileType(), 0, 0f, Main.myPlayer); if (!usingSpecialItem) - Main.LocalPlayer.ConsumeItem(ModContent.ItemType(), true); + Main.LocalPlayer.ConsumeItem(ModContent.ItemType(), true); return true; } @@ -92,7 +92,7 @@ namespace CalamityMod.Tiles.Furniture if (Main.LocalPlayer.HasItem(ModContent.ItemType())) Main.LocalPlayer.cursorItemIconID = ModContent.ItemType(); else - Main.LocalPlayer.cursorItemIconID = ModContent.ItemType(); + Main.LocalPlayer.cursorItemIconID = ModContent.ItemType(); Main.LocalPlayer.noThrow = 2; Main.LocalPlayer.cursorItemIconEnabled = true; @@ -103,7 +103,7 @@ namespace CalamityMod.Tiles.Furniture if (Main.LocalPlayer.HasItem(ModContent.ItemType())) Main.LocalPlayer.cursorItemIconID = ModContent.ItemType(); else - Main.LocalPlayer.cursorItemIconID = ModContent.ItemType(); + Main.LocalPlayer.cursorItemIconID = ModContent.ItemType(); Main.LocalPlayer.noThrow = 2; Main.LocalPlayer.cursorItemIconEnabled = true; diff --git a/Tiles/PerennialBar.cs b/Tiles/PerennialBar.cs index b549b6317c..da3f160c42 100644 --- a/Tiles/PerennialBar.cs +++ b/Tiles/PerennialBar.cs @@ -11,7 +11,7 @@ namespace CalamityMod.Tiles { this.SetUpBar(new Color(157, 255, 0)); DustType = 44; - ItemDrop = ModContent.ItemType(); + ItemDrop = ModContent.ItemType(); } public override bool CreateDust(int i, int j, ref int type) diff --git a/Tiles/UelibloomBar.cs b/Tiles/UelibloomBar.cs index 43bbad47f2..c495c44c92 100644 --- a/Tiles/UelibloomBar.cs +++ b/Tiles/UelibloomBar.cs @@ -12,7 +12,7 @@ namespace CalamityMod.Tiles { this.SetUpBar(new Color(134, 209, 102)); DustType = ModContent.DustType(); - ItemDrop = ModContent.ItemType(); + ItemDrop = ModContent.ItemType(); } public override bool CreateDust(int i, int j, ref int type) diff --git a/UI/ChargingStationUI.cs b/UI/ChargingStationUI.cs index ba0ad83d8e..5f97b3c9f7 100644 --- a/UI/ChargingStationUI.cs +++ b/UI/ChargingStationUI.cs @@ -64,7 +64,7 @@ namespace CalamityMod.UI // What items are currently in the UI item slots? // Normally they are empty, but the plugged item could be anything and the bottom slot may be a stack of power cells. - int powercellID = ModContent.ItemType(); + int powercellID = ModContent.ItemType(); ref Item pluggedItem = ref charger.PluggedItem; Item powercell = new Item(); powercell.TurnToAir(); diff --git a/UI/CodebreakerUI.cs b/UI/CodebreakerUI.cs index 89174d4189..a8017fa65d 100644 --- a/UI/CodebreakerUI.cs +++ b/UI/CodebreakerUI.cs @@ -132,7 +132,7 @@ namespace CalamityMod.UI // Create a temporary item for drawing purposes. // If cells are present, make the item reflect that. Item temporaryPowerCell = new Item(); - temporaryPowerCell.SetDefaults(ModContent.ItemType()); + temporaryPowerCell.SetDefaults(ModContent.ItemType()); temporaryPowerCell.stack = codebreakerTileEntity.InputtedCellCount; CalamityUtils.DrawPowercellSlot(spriteBatch, temporaryPowerCell, cellDrawCenter, GeneralScale); @@ -154,7 +154,7 @@ namespace CalamityMod.UI if (Main.mouseLeft && Main.mouseLeftRelease && codebreakerTileEntity.DecryptionCountdown <= 0) { - int powerCellID = ModContent.ItemType(); + int powerCellID = ModContent.ItemType(); short cellStackDiff = 0; bool shouldPlaySound = true; diff --git a/UI/PowerCellFactoryUI.cs b/UI/PowerCellFactoryUI.cs index e071628721..59132fbb39 100644 --- a/UI/PowerCellFactoryUI.cs +++ b/UI/PowerCellFactoryUI.cs @@ -58,7 +58,7 @@ namespace CalamityMod.UI } // What item is currently in the UI item slot? It's normally nothing, but it could be power cells. - int powercellID = ModContent.ItemType(); + int powercellID = ModContent.ItemType(); Item powercell = new Item(); powercell.TurnToAir(); if (factory.CellStack > 0) diff --git a/Utilities/CalamityRecipes.cs b/Utilities/CalamityRecipes.cs index 0be67ad342..2d323b100e 100644 --- a/Utilities/CalamityRecipes.cs +++ b/Utilities/CalamityRecipes.cs @@ -759,7 +759,7 @@ namespace CalamityMod s.requiredItem[0].stack = 1; s.requiredItem[1].SetDefaults(ItemID.MechanicalGlove, false); s.requiredItem[1].stack = 1; - s.requiredItem[2].SetDefaults(ModContent.ItemType(), false); + s.requiredItem[2].SetDefaults(ModContent.ItemType(), false); s.requiredItem[2].stack = 5; s.createItem.SetDefaults(ItemID.FireGauntlet, false); @@ -1447,7 +1447,7 @@ namespace CalamityMod // Lihzahrd Power Cell (NOT Calamity's Old Power Cell) r = CreateRecipe(ItemID.LihzahrdPowerCell); r.AddIngredient(ItemID.LihzahrdBrick, 15); - r.AddIngredient(ModContent.ItemType()); + r.AddIngredient(ModContent.ItemType()); r.AddTile(TileID.LihzahrdFurnace); r.Register(); } From fb05a9ac597f0cf428838836c384cb3daa05c330 Mon Sep 17 00:00:00 2001 From: Ozzatron Date: Sat, 11 Jun 2022 13:11:03 -0400 Subject: [PATCH 10/11] Mounts and permanent boosters renamed --- Items/CalamityGlobalItemLoot.cs | 2 +- Items/Mounts/{BirdSeed.cs => FollyFeed.cs} | 3 ++- Items/Mounts/{BirdSeed.png => FollyFeed.png} | Bin .../Minecarts/{DoGCart.cs => TheCartofGods.cs} | 3 ++- .../Minecarts/{DoGCart.png => TheCartofGods.png} | Bin ...hyBeanMount.cs => SuspiciousLookingJellyBean.cs} | 3 ++- ...BeanMount.png => SuspiciousLookingJellyBean.png} | Bin .../{MLGRune2.cs => CelestialOnion.cs} | 3 ++- .../{MLGRune2.png => CelestialOnion.png} | Bin Items/TreasureBags/AstrageldonBag.cs | 2 +- Items/TreasureBags/BumblebirbBag.cs | 2 +- ModSupport/WeakReferenceSupport.cs | 4 ++-- NPCs/AstrumAureus/AstrumAureus.cs | 2 +- NPCs/Bumblebirb/Bumblefuck.cs | 2 +- NPCs/CalamityGlobalNPCLoot.cs | 2 +- 15 files changed, 16 insertions(+), 12 deletions(-) rename Items/Mounts/{BirdSeed.cs => FollyFeed.cs} (92%) rename Items/Mounts/{BirdSeed.png => FollyFeed.png} (100%) rename Items/Mounts/Minecarts/{DoGCart.cs => TheCartofGods.cs} (94%) rename Items/Mounts/Minecarts/{DoGCart.png => TheCartofGods.png} (100%) rename Items/Mounts/{SquishyBeanMount.cs => SuspiciousLookingJellyBean.cs} (90%) rename Items/Mounts/{SquishyBeanMount.png => SuspiciousLookingJellyBean.png} (100%) rename Items/PermanentBoosters/{MLGRune2.cs => CelestialOnion.cs} (96%) rename Items/PermanentBoosters/{MLGRune2.png => CelestialOnion.png} (100%) diff --git a/Items/CalamityGlobalItemLoot.cs b/Items/CalamityGlobalItemLoot.cs index ef71e1a121..553fcaeadf 100644 --- a/Items/CalamityGlobalItemLoot.cs +++ b/Items/CalamityGlobalItemLoot.cs @@ -238,7 +238,7 @@ namespace CalamityMod.Items DropHelper.BlockDrops(moonLordWeapons); // The Celestial Onion only drops if the player hasn't used one and doesn't have one in their inventory. - int celestialOnion = ModContent.ItemType(); + int celestialOnion = ModContent.ItemType(); DropHelper.DropItemCondition(s, player, celestialOnion, !player.Calamity().extraAccessoryML && !player.InventoryHas(celestialOnion)); break; } diff --git a/Items/Mounts/BirdSeed.cs b/Items/Mounts/FollyFeed.cs similarity index 92% rename from Items/Mounts/BirdSeed.cs rename to Items/Mounts/FollyFeed.cs index c37840bf07..ae8413218d 100644 --- a/Items/Mounts/BirdSeed.cs +++ b/Items/Mounts/FollyFeed.cs @@ -4,7 +4,8 @@ using Terraria.ModLoader; namespace CalamityMod.Items.Mounts { - public class BirdSeed : ModItem + [LegacyName("BirdSeed")] + public class FollyFeed : ModItem { public override void SetStaticDefaults() { diff --git a/Items/Mounts/BirdSeed.png b/Items/Mounts/FollyFeed.png similarity index 100% rename from Items/Mounts/BirdSeed.png rename to Items/Mounts/FollyFeed.png diff --git a/Items/Mounts/Minecarts/DoGCart.cs b/Items/Mounts/Minecarts/TheCartofGods.cs similarity index 94% rename from Items/Mounts/Minecarts/DoGCart.cs rename to Items/Mounts/Minecarts/TheCartofGods.cs index 62e32eaae4..ed7b6c9c2b 100644 --- a/Items/Mounts/Minecarts/DoGCart.cs +++ b/Items/Mounts/Minecarts/TheCartofGods.cs @@ -6,7 +6,8 @@ using Terraria.ModLoader; namespace CalamityMod.Items.Mounts.Minecarts { - public class DoGCart : ModItem + [LegacyName("DoGCart")] + public class TheCartofGods : ModItem { public override void SetStaticDefaults() => DisplayName.SetDefault("The Cart of Gods"); diff --git a/Items/Mounts/Minecarts/DoGCart.png b/Items/Mounts/Minecarts/TheCartofGods.png similarity index 100% rename from Items/Mounts/Minecarts/DoGCart.png rename to Items/Mounts/Minecarts/TheCartofGods.png diff --git a/Items/Mounts/SquishyBeanMount.cs b/Items/Mounts/SuspiciousLookingJellyBean.cs similarity index 90% rename from Items/Mounts/SquishyBeanMount.cs rename to Items/Mounts/SuspiciousLookingJellyBean.cs index d9c13536ca..c22d4debf7 100644 --- a/Items/Mounts/SquishyBeanMount.cs +++ b/Items/Mounts/SuspiciousLookingJellyBean.cs @@ -4,7 +4,8 @@ using Terraria.ModLoader; namespace CalamityMod.Items.Mounts { - public class SquishyBeanMount : ModItem + [LegacyName("SquishyBeanMount")] + public class SuspiciousLookingJellyBean : ModItem { public override void SetStaticDefaults() { diff --git a/Items/Mounts/SquishyBeanMount.png b/Items/Mounts/SuspiciousLookingJellyBean.png similarity index 100% rename from Items/Mounts/SquishyBeanMount.png rename to Items/Mounts/SuspiciousLookingJellyBean.png diff --git a/Items/PermanentBoosters/MLGRune2.cs b/Items/PermanentBoosters/CelestialOnion.cs similarity index 96% rename from Items/PermanentBoosters/MLGRune2.cs rename to Items/PermanentBoosters/CelestialOnion.cs index fe976cc320..222500271b 100644 --- a/Items/PermanentBoosters/MLGRune2.cs +++ b/Items/PermanentBoosters/CelestialOnion.cs @@ -6,7 +6,8 @@ using Terraria.ModLoader; namespace CalamityMod.Items.PermanentBoosters { - public class MLGRune2 : ModItem + [LegacyName("MLGRune2")] + public class CelestialOnion : ModItem { public override void SetStaticDefaults() { diff --git a/Items/PermanentBoosters/MLGRune2.png b/Items/PermanentBoosters/CelestialOnion.png similarity index 100% rename from Items/PermanentBoosters/MLGRune2.png rename to Items/PermanentBoosters/CelestialOnion.png diff --git a/Items/TreasureBags/AstrageldonBag.cs b/Items/TreasureBags/AstrageldonBag.cs index e377d1502e..041ff4db7d 100644 --- a/Items/TreasureBags/AstrageldonBag.cs +++ b/Items/TreasureBags/AstrageldonBag.cs @@ -70,7 +70,7 @@ namespace CalamityMod.Items.TreasureBags ); // Equipment - DropHelper.DropItemCondition(s, player, ModContent.ItemType(), NPC.downedMoonlord); + DropHelper.DropItemCondition(s, player, ModContent.ItemType(), NPC.downedMoonlord); DropHelper.DropItem(s, player, ModContent.ItemType()); DropHelper.DropItemChance(s, player, ModContent.ItemType(), 0.1f); diff --git a/Items/TreasureBags/BumblebirbBag.cs b/Items/TreasureBags/BumblebirbBag.cs index f750cd9f21..7eb06a5624 100644 --- a/Items/TreasureBags/BumblebirbBag.cs +++ b/Items/TreasureBags/BumblebirbBag.cs @@ -60,7 +60,7 @@ namespace CalamityMod.Items.TreasureBags DropHelper.WeightStack(w), DropHelper.WeightStack(w), DropHelper.WeightStack(w), - DropHelper.WeightStack(w) + DropHelper.WeightStack(w) ); // Equipment diff --git a/ModSupport/WeakReferenceSupport.cs b/ModSupport/WeakReferenceSupport.cs index 347427a57c..6d3adf5911 100644 --- a/ModSupport/WeakReferenceSupport.cs +++ b/ModSupport/WeakReferenceSupport.cs @@ -483,7 +483,7 @@ namespace CalamityMod BossDifficulty.TryGetValue("Dragonfolly", out float order); int type = NPCType(); int summon = ItemType(); - List loot = new List() { ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), 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"; string despawn = CalamityUtils.ColorMessage("The failed experiment returns to its reproductive routine.", new Color(0xFF, 0xD7, 0x00)); @@ -783,7 +783,7 @@ namespace CalamityMod // Moon Lord AddLoot(bossChecklist, "MoonLord", - new List() { ItemType(), ItemType() }, + new List() { ItemType(), ItemType() }, new List() { ItemType() } ); } diff --git a/NPCs/AstrumAureus/AstrumAureus.cs b/NPCs/AstrumAureus/AstrumAureus.cs index 90a3267656..9bc0cc3d71 100644 --- a/NPCs/AstrumAureus/AstrumAureus.cs +++ b/NPCs/AstrumAureus/AstrumAureus.cs @@ -351,7 +351,7 @@ namespace CalamityMod.NPCs.AstrumAureus normalOnly.Add(DropHelper.PerPlayer(ModContent.ItemType(), 1, 9, 12)); normalOnly.Add(ModContent.ItemType(), 10); - normalOnly.Add(ItemDropRule.ByCondition(DropHelper.If(() => NPC.downedMoonlord), ModContent.ItemType())); + normalOnly.Add(ItemDropRule.ByCondition(DropHelper.If(() => NPC.downedMoonlord), ModContent.ItemType())); } npcLoot.Add(ModContent.ItemType(), 10); diff --git a/NPCs/Bumblebirb/Bumblefuck.cs b/NPCs/Bumblebirb/Bumblefuck.cs index 98ed893189..620df020fa 100644 --- a/NPCs/Bumblebirb/Bumblefuck.cs +++ b/NPCs/Bumblebirb/Bumblefuck.cs @@ -419,7 +419,7 @@ namespace CalamityMod.NPCs.Bumblebirb ModContent.ItemType(), ModContent.ItemType(), ModContent.ItemType(), - ModContent.ItemType(), + ModContent.ItemType(), }; normalOnly.Add(DropHelper.CalamityStyle(DropHelper.NormalWeaponDropRateFraction, items)); normalOnly.Add(ModContent.ItemType(), 10); diff --git a/NPCs/CalamityGlobalNPCLoot.cs b/NPCs/CalamityGlobalNPCLoot.cs index 3e0c3ba204..3991dcc60a 100644 --- a/NPCs/CalamityGlobalNPCLoot.cs +++ b/NPCs/CalamityGlobalNPCLoot.cs @@ -1235,7 +1235,7 @@ namespace CalamityMod.NPCs npcLoot.AddNormalOnly(DropHelper.PerPlayer(ItemID.LongRainbowTrailWings)); // Would be in the bag otherwise - npcLoot.AddNormalOnly(DropHelper.PerPlayer(ModContent.ItemType())); + npcLoot.AddNormalOnly(DropHelper.PerPlayer(ModContent.ItemType())); // Lore npcLoot.AddConditionalPerPlayer(() => !NPC.downedMoonlord, ModContent.ItemType()); From a583534182a5d5fd5424d1828dbfbd19ee8c3c3e Mon Sep 17 00:00:00 2001 From: Ozzatron Date: Sat, 11 Jun 2022 13:27:07 -0400 Subject: [PATCH 11/11] Lots of furniture renames. Plagued Plate furniture is halfway renamed. --- Items/LoreItems/KnowledgeAstrumAureus.cs | 2 +- Items/LoreItems/KnowledgeDragonfolly.cs | 2 +- Items/Pets/{BearEye.cs => BearsEye.cs} | 3 ++- Items/Pets/{BearEye.png => BearsEye.png} | Bin ...akiBox.cs => HermitsBoxofOneHundredMedicines.cs} | 3 ++- ...iBox.png => HermitsBoxofOneHundredMedicines.png} | Bin Items/Pets/PrimroseKeepsake.cs | 2 +- .../{SCalAltarItem.cs => AltarOfTheAccursedItem.cs} | 5 +++-- ...SCalAltarItem.png => AltarOfTheAccursedItem.png} | Bin Items/Placeables/Furniture/ThaumaticChair.cs | 2 +- .../{AstrageldonTrophy.cs => AstrumAureusTrophy.cs} | 5 +++-- ...AstrageldonTrophy.png => AstrumAureusTrophy.png} | Bin .../{BumblebirbTrophy.cs => DragonfollyTrophy.cs} | 5 +++-- .../{BumblebirbTrophy.png => DragonfollyTrophy.png} | Bin .../PlaguedPlate.cs | 2 +- .../PlaguedPlate.png | Bin .../PlaguedPlateBasin.cs | 2 +- .../PlaguedPlateBasin.png | Bin .../PlaguedPlateBathtub.cs | 2 +- .../PlaguedPlateBathtub.png | Bin .../PlaguedPlateBed.cs | 2 +- .../PlaguedPlateBed.png | Bin .../PlaguedPlateBookcase.cs | 2 +- .../PlaguedPlateBookcase.png | Bin .../PlaguedPlateCandelabra.cs | 2 +- .../PlaguedPlateCandelabra.png | Bin .../PlaguedPlateCandle.cs | 2 +- .../PlaguedPlateCandle.png | Bin .../PlaguedPlateChair.cs | 2 +- .../PlaguedPlateChair.png | Bin .../PlaguedPlateChandelier.cs | 2 +- .../PlaguedPlateChandelier.png | Bin .../PlaguedPlateChest.cs | 2 +- .../PlaguedPlateChest.png | Bin .../PlaguedPlateClock.cs | 2 +- .../PlaguedPlateClock.png | Bin .../PlaguedPlateDoor.cs | 2 +- .../PlaguedPlateDoor.png | Bin .../PlaguedPlateDresser.cs | 2 +- .../PlaguedPlateDresser.png | Bin .../PlaguedPlateLamp.cs | 2 +- .../PlaguedPlateLamp.png | Bin .../PlaguedPlateLantern.cs | 2 +- .../PlaguedPlateLantern.png | Bin .../PlaguedPlatePiano.cs | 2 +- .../PlaguedPlatePiano.png | Bin .../PlaguedPlatePlatform.cs | 2 +- .../PlaguedPlatePlatform.png | Bin .../PlaguedPlateSink.cs | 2 +- .../PlaguedPlateSink.png | Bin .../PlaguedPlateSofa.cs | 2 +- .../PlaguedPlateSofa.png | Bin .../PlaguedPlateTable.cs | 2 +- .../PlaguedPlateTable.png | Bin .../PlaguedPlateWorkbench.cs | 2 +- .../PlaguedPlateWorkbench.png | Bin Items/Placeables/Walls/PlaguedPlateWall.cs | 2 +- ModSupport/WeakReferenceSupport.cs | 8 ++++---- NPCs/AstrumAureus/AstrumAureus.cs | 2 +- NPCs/Bumblebirb/Bumblefuck.cs | 2 +- NPCs/CalamityGlobalNPCLoot.cs | 4 ++-- NPCs/TownNPCs/THIEF.cs | 2 +- Tiles/Furniture/BossTrophy.cs | 4 ++-- Tiles/Furniture/SCalAltar.cs | 2 +- Tiles/FurniturePlaguedPlate/PlaguedPlate.cs | 2 +- Tiles/FurniturePlaguedPlate/PlaguedPlateBasin.cs | 2 +- Tiles/FurniturePlaguedPlate/PlaguedPlateBathtub.cs | 2 +- Tiles/FurniturePlaguedPlate/PlaguedPlateBed.cs | 4 ++-- Tiles/FurniturePlaguedPlate/PlaguedPlateBookcase.cs | 2 +- .../FurniturePlaguedPlate/PlaguedPlateCandelabra.cs | 2 +- Tiles/FurniturePlaguedPlate/PlaguedPlateCandle.cs | 4 ++-- Tiles/FurniturePlaguedPlate/PlaguedPlateChair.cs | 4 ++-- .../FurniturePlaguedPlate/PlaguedPlateChandelier.cs | 2 +- Tiles/FurniturePlaguedPlate/PlaguedPlateChest.cs | 6 +++--- Tiles/FurniturePlaguedPlate/PlaguedPlateClock.cs | 2 +- .../FurniturePlaguedPlate/PlaguedPlateDoorClosed.cs | 4 ++-- Tiles/FurniturePlaguedPlate/PlaguedPlateDoorOpen.cs | 4 ++-- Tiles/FurniturePlaguedPlate/PlaguedPlateDresser.cs | 6 +++--- Tiles/FurniturePlaguedPlate/PlaguedPlateLamp.cs | 2 +- Tiles/FurniturePlaguedPlate/PlaguedPlateLantern.cs | 2 +- Tiles/FurniturePlaguedPlate/PlaguedPlatePiano.cs | 2 +- Tiles/FurniturePlaguedPlate/PlaguedPlatePlatform.cs | 2 +- Tiles/FurniturePlaguedPlate/PlaguedPlateSink.cs | 2 +- Tiles/FurniturePlaguedPlate/PlaguedPlateSofa.cs | 2 +- Tiles/FurniturePlaguedPlate/PlaguedPlateTable.cs | 2 +- .../FurniturePlaguedPlate/PlaguedPlateWorkbench.cs | 2 +- 86 files changed, 82 insertions(+), 77 deletions(-) rename Items/Pets/{BearEye.cs => BearsEye.cs} (95%) rename Items/Pets/{BearEye.png => BearsEye.png} (100%) rename Items/Pets/{IbarakiBox.cs => HermitsBoxofOneHundredMedicines.cs} (97%) rename Items/Pets/{IbarakiBox.png => HermitsBoxofOneHundredMedicines.png} (100%) rename Items/Placeables/Furniture/{SCalAltarItem.cs => AltarOfTheAccursedItem.cs} (92%) rename Items/Placeables/Furniture/{SCalAltarItem.png => AltarOfTheAccursedItem.png} (100%) rename Items/Placeables/Furniture/Trophies/{AstrageldonTrophy.cs => AstrumAureusTrophy.cs} (87%) rename Items/Placeables/Furniture/Trophies/{AstrageldonTrophy.png => AstrumAureusTrophy.png} (100%) rename Items/Placeables/Furniture/Trophies/{BumblebirbTrophy.cs => DragonfollyTrophy.cs} (87%) rename Items/Placeables/Furniture/Trophies/{BumblebirbTrophy.png => DragonfollyTrophy.png} (100%) rename Items/Placeables/{FurniturePlaguedPlate => FurniturePlagued}/PlaguedPlate.cs (95%) rename Items/Placeables/{FurniturePlaguedPlate => FurniturePlagued}/PlaguedPlate.png (100%) rename Items/Placeables/{FurniturePlaguedPlate => FurniturePlagued}/PlaguedPlateBasin.cs (94%) rename Items/Placeables/{FurniturePlaguedPlate => FurniturePlagued}/PlaguedPlateBasin.png (100%) rename Items/Placeables/{FurniturePlaguedPlate => FurniturePlagued}/PlaguedPlateBathtub.cs (94%) rename Items/Placeables/{FurniturePlaguedPlate => FurniturePlagued}/PlaguedPlateBathtub.png (100%) rename Items/Placeables/{FurniturePlaguedPlate => FurniturePlagued}/PlaguedPlateBed.cs (94%) rename Items/Placeables/{FurniturePlaguedPlate => FurniturePlagued}/PlaguedPlateBed.png (100%) rename Items/Placeables/{FurniturePlaguedPlate => FurniturePlagued}/PlaguedPlateBookcase.cs (94%) rename Items/Placeables/{FurniturePlaguedPlate => FurniturePlagued}/PlaguedPlateBookcase.png (100%) rename Items/Placeables/{FurniturePlaguedPlate => FurniturePlagued}/PlaguedPlateCandelabra.cs (94%) rename Items/Placeables/{FurniturePlaguedPlate => FurniturePlagued}/PlaguedPlateCandelabra.png (100%) rename Items/Placeables/{FurniturePlaguedPlate => FurniturePlagued}/PlaguedPlateCandle.cs (94%) rename Items/Placeables/{FurniturePlaguedPlate => FurniturePlagued}/PlaguedPlateCandle.png (100%) rename Items/Placeables/{FurniturePlaguedPlate => FurniturePlagued}/PlaguedPlateChair.cs (94%) rename Items/Placeables/{FurniturePlaguedPlate => FurniturePlagued}/PlaguedPlateChair.png (100%) rename Items/Placeables/{FurniturePlaguedPlate => FurniturePlagued}/PlaguedPlateChandelier.cs (95%) rename Items/Placeables/{FurniturePlaguedPlate => FurniturePlagued}/PlaguedPlateChandelier.png (100%) rename Items/Placeables/{FurniturePlaguedPlate => FurniturePlagued}/PlaguedPlateChest.cs (94%) rename Items/Placeables/{FurniturePlaguedPlate => FurniturePlagued}/PlaguedPlateChest.png (100%) rename Items/Placeables/{FurniturePlaguedPlate => FurniturePlagued}/PlaguedPlateClock.cs (94%) rename Items/Placeables/{FurniturePlaguedPlate => FurniturePlagued}/PlaguedPlateClock.png (100%) rename Items/Placeables/{FurniturePlaguedPlate => FurniturePlagued}/PlaguedPlateDoor.cs (94%) rename Items/Placeables/{FurniturePlaguedPlate => FurniturePlagued}/PlaguedPlateDoor.png (100%) rename Items/Placeables/{FurniturePlaguedPlate => FurniturePlagued}/PlaguedPlateDresser.cs (94%) rename Items/Placeables/{FurniturePlaguedPlate => FurniturePlagued}/PlaguedPlateDresser.png (100%) rename Items/Placeables/{FurniturePlaguedPlate => FurniturePlagued}/PlaguedPlateLamp.cs (94%) rename Items/Placeables/{FurniturePlaguedPlate => FurniturePlagued}/PlaguedPlateLamp.png (100%) rename Items/Placeables/{FurniturePlaguedPlate => FurniturePlagued}/PlaguedPlateLantern.cs (94%) rename Items/Placeables/{FurniturePlaguedPlate => FurniturePlagued}/PlaguedPlateLantern.png (100%) rename Items/Placeables/{FurniturePlaguedPlate => FurniturePlagued}/PlaguedPlatePiano.cs (94%) rename Items/Placeables/{FurniturePlaguedPlate => FurniturePlagued}/PlaguedPlatePiano.png (100%) rename Items/Placeables/{FurniturePlaguedPlate => FurniturePlagued}/PlaguedPlatePlatform.cs (94%) rename Items/Placeables/{FurniturePlaguedPlate => FurniturePlagued}/PlaguedPlatePlatform.png (100%) rename Items/Placeables/{FurniturePlaguedPlate => FurniturePlagued}/PlaguedPlateSink.cs (95%) rename Items/Placeables/{FurniturePlaguedPlate => FurniturePlagued}/PlaguedPlateSink.png (100%) rename Items/Placeables/{FurniturePlaguedPlate => FurniturePlagued}/PlaguedPlateSofa.cs (94%) rename Items/Placeables/{FurniturePlaguedPlate => FurniturePlagued}/PlaguedPlateSofa.png (100%) rename Items/Placeables/{FurniturePlaguedPlate => FurniturePlagued}/PlaguedPlateTable.cs (94%) rename Items/Placeables/{FurniturePlaguedPlate => FurniturePlagued}/PlaguedPlateTable.png (100%) rename Items/Placeables/{FurniturePlaguedPlate => FurniturePlagued}/PlaguedPlateWorkbench.cs (94%) rename Items/Placeables/{FurniturePlaguedPlate => FurniturePlagued}/PlaguedPlateWorkbench.png (100%) diff --git a/Items/LoreItems/KnowledgeAstrumAureus.cs b/Items/LoreItems/KnowledgeAstrumAureus.cs index 825905f9c0..5efc6a4093 100644 --- a/Items/LoreItems/KnowledgeAstrumAureus.cs +++ b/Items/LoreItems/KnowledgeAstrumAureus.cs @@ -31,7 +31,7 @@ namespace CalamityMod.Items.LoreItems public override void AddRecipes() { - CreateRecipe(1).AddTile(TileID.Bookcases).AddIngredient(ModContent.ItemType()).AddIngredient(ModContent.ItemType(), 10).Register(); + CreateRecipe(1).AddTile(TileID.Bookcases).AddIngredient(ModContent.ItemType()).AddIngredient(ModContent.ItemType(), 10).Register(); } } } diff --git a/Items/LoreItems/KnowledgeDragonfolly.cs b/Items/LoreItems/KnowledgeDragonfolly.cs index 7bee7e562d..beeb6b55e5 100644 --- a/Items/LoreItems/KnowledgeDragonfolly.cs +++ b/Items/LoreItems/KnowledgeDragonfolly.cs @@ -32,7 +32,7 @@ namespace CalamityMod.Items.LoreItems public override void AddRecipes() { - CreateRecipe(1).AddTile(TileID.Bookcases).AddIngredient(ModContent.ItemType()).AddIngredient(ModContent.ItemType(), 10).Register(); + CreateRecipe(1).AddTile(TileID.Bookcases).AddIngredient(ModContent.ItemType()).AddIngredient(ModContent.ItemType(), 10).Register(); } } } diff --git a/Items/Pets/BearEye.cs b/Items/Pets/BearsEye.cs similarity index 95% rename from Items/Pets/BearEye.cs rename to Items/Pets/BearsEye.cs index 11f47d7e40..48ce996078 100644 --- a/Items/Pets/BearEye.cs +++ b/Items/Pets/BearsEye.cs @@ -7,7 +7,8 @@ using Terraria.ModLoader; namespace CalamityMod.Items.Pets { - public class BearEye : ModItem + [LegacyName("BearEye")] + public class BearsEye : ModItem { public override void SetStaticDefaults() { diff --git a/Items/Pets/BearEye.png b/Items/Pets/BearsEye.png similarity index 100% rename from Items/Pets/BearEye.png rename to Items/Pets/BearsEye.png diff --git a/Items/Pets/IbarakiBox.cs b/Items/Pets/HermitsBoxofOneHundredMedicines.cs similarity index 97% rename from Items/Pets/IbarakiBox.cs rename to Items/Pets/HermitsBoxofOneHundredMedicines.cs index 9a9816aaa7..087361c992 100644 --- a/Items/Pets/IbarakiBox.cs +++ b/Items/Pets/HermitsBoxofOneHundredMedicines.cs @@ -9,7 +9,8 @@ using Terraria.ModLoader; namespace CalamityMod.Items.Pets { - public class IbarakiBox : ModItem + [LegacyName("IbarakiBox")] + public class HermitsBoxofOneHundredMedicines : ModItem { public override void SetStaticDefaults() { diff --git a/Items/Pets/IbarakiBox.png b/Items/Pets/HermitsBoxofOneHundredMedicines.png similarity index 100% rename from Items/Pets/IbarakiBox.png rename to Items/Pets/HermitsBoxofOneHundredMedicines.png diff --git a/Items/Pets/PrimroseKeepsake.cs b/Items/Pets/PrimroseKeepsake.cs index afe0dc4a1d..658d069810 100644 --- a/Items/Pets/PrimroseKeepsake.cs +++ b/Items/Pets/PrimroseKeepsake.cs @@ -55,7 +55,7 @@ namespace CalamityMod.Items.Pets public override void AddRecipes() { CreateRecipe(). - AddIngredient(). + AddIngredient(). AddIngredient(). AddIngredient(ItemID.LovePotion). AddTile(TileID.TinkerersWorkbench). diff --git a/Items/Placeables/Furniture/SCalAltarItem.cs b/Items/Placeables/Furniture/AltarOfTheAccursedItem.cs similarity index 92% rename from Items/Placeables/Furniture/SCalAltarItem.cs rename to Items/Placeables/Furniture/AltarOfTheAccursedItem.cs index 6b624c34e9..47a12d6ed1 100644 --- a/Items/Placeables/Furniture/SCalAltarItem.cs +++ b/Items/Placeables/Furniture/AltarOfTheAccursedItem.cs @@ -1,4 +1,4 @@ -using CalamityMod.Items.Materials; +using CalamityMod.Items.Materials; using CalamityMod.Tiles.Furniture; using CalamityMod.Tiles.Furniture.CraftingStations; using Terraria.ID; @@ -6,7 +6,8 @@ using Terraria.ModLoader; namespace CalamityMod.Items.Placeables.Furniture { - public class SCalAltarItem : ModItem + [LegacyName("SCalAltarItem")] + public class AltarOfTheAccursedItem : ModItem { public override void SetStaticDefaults() { diff --git a/Items/Placeables/Furniture/SCalAltarItem.png b/Items/Placeables/Furniture/AltarOfTheAccursedItem.png similarity index 100% rename from Items/Placeables/Furniture/SCalAltarItem.png rename to Items/Placeables/Furniture/AltarOfTheAccursedItem.png diff --git a/Items/Placeables/Furniture/ThaumaticChair.cs b/Items/Placeables/Furniture/ThaumaticChair.cs index 86ac3f5ba8..26beea17ff 100644 --- a/Items/Placeables/Furniture/ThaumaticChair.cs +++ b/Items/Placeables/Furniture/ThaumaticChair.cs @@ -6,7 +6,6 @@ using CalamityMod.Items.Placeables.FurnitureBotanic; using CalamityMod.Items.Placeables.FurnitureCosmilite; using CalamityMod.Items.Placeables.FurnitureEutrophic; using CalamityMod.Items.Placeables.FurnitureOtherworldly; -using CalamityMod.Items.Placeables.FurniturePlaguedPlate; using CalamityMod.Items.Placeables.FurnitureProfaned; using CalamityMod.Items.Placeables.FurnitureSilva; using CalamityMod.Items.Placeables.FurnitureStatigel; @@ -16,6 +15,7 @@ using CalamityMod.Tiles.Furniture; using CalamityMod.Tiles.Furniture.CraftingStations; using Terraria.ID; using Terraria.ModLoader; +using CalamityMod.Items.Placeables.FurniturePlagued; namespace CalamityMod.Items.Placeables.Furniture { diff --git a/Items/Placeables/Furniture/Trophies/AstrageldonTrophy.cs b/Items/Placeables/Furniture/Trophies/AstrumAureusTrophy.cs similarity index 87% rename from Items/Placeables/Furniture/Trophies/AstrageldonTrophy.cs rename to Items/Placeables/Furniture/Trophies/AstrumAureusTrophy.cs index 5fb1c934ae..7b7b6965a6 100644 --- a/Items/Placeables/Furniture/Trophies/AstrageldonTrophy.cs +++ b/Items/Placeables/Furniture/Trophies/AstrumAureusTrophy.cs @@ -1,10 +1,11 @@ -using CalamityMod.Tiles.Furniture; +using CalamityMod.Tiles.Furniture; using Terraria.ModLoader; using Terraria.ID; namespace CalamityMod.Items.Placeables.Furniture.Trophies { - public class AstrageldonTrophy : ModItem + [LegacyName("AstrageldonTrophy")] + public class AstrumAureusTrophy : ModItem { public override void SetStaticDefaults() { diff --git a/Items/Placeables/Furniture/Trophies/AstrageldonTrophy.png b/Items/Placeables/Furniture/Trophies/AstrumAureusTrophy.png similarity index 100% rename from Items/Placeables/Furniture/Trophies/AstrageldonTrophy.png rename to Items/Placeables/Furniture/Trophies/AstrumAureusTrophy.png diff --git a/Items/Placeables/Furniture/Trophies/BumblebirbTrophy.cs b/Items/Placeables/Furniture/Trophies/DragonfollyTrophy.cs similarity index 87% rename from Items/Placeables/Furniture/Trophies/BumblebirbTrophy.cs rename to Items/Placeables/Furniture/Trophies/DragonfollyTrophy.cs index 3a695ade53..c50ac2d2fb 100644 --- a/Items/Placeables/Furniture/Trophies/BumblebirbTrophy.cs +++ b/Items/Placeables/Furniture/Trophies/DragonfollyTrophy.cs @@ -1,10 +1,11 @@ -using CalamityMod.Tiles.Furniture; +using CalamityMod.Tiles.Furniture; using Terraria.ModLoader; using Terraria.ID; namespace CalamityMod.Items.Placeables.Furniture.Trophies { - public class BumblebirbTrophy : ModItem + [LegacyName("BumblebirbTrophy")] + public class DragonfollyTrophy : ModItem { public override void SetStaticDefaults() { diff --git a/Items/Placeables/Furniture/Trophies/BumblebirbTrophy.png b/Items/Placeables/Furniture/Trophies/DragonfollyTrophy.png similarity index 100% rename from Items/Placeables/Furniture/Trophies/BumblebirbTrophy.png rename to Items/Placeables/Furniture/Trophies/DragonfollyTrophy.png diff --git a/Items/Placeables/FurniturePlaguedPlate/PlaguedPlate.cs b/Items/Placeables/FurniturePlagued/PlaguedPlate.cs similarity index 95% rename from Items/Placeables/FurniturePlaguedPlate/PlaguedPlate.cs rename to Items/Placeables/FurniturePlagued/PlaguedPlate.cs index ce607c6e82..169b30bc38 100644 --- a/Items/Placeables/FurniturePlaguedPlate/PlaguedPlate.cs +++ b/Items/Placeables/FurniturePlagued/PlaguedPlate.cs @@ -3,7 +3,7 @@ using CalamityMod.Items.Placeables.Walls; using CalamityMod.Tiles.Furniture.CraftingStations; using Terraria.ID; using Terraria.ModLoader; -namespace CalamityMod.Items.Placeables.FurniturePlaguedPlate +namespace CalamityMod.Items.Placeables.FurniturePlagued { public class PlaguedPlate : ModItem { diff --git a/Items/Placeables/FurniturePlaguedPlate/PlaguedPlate.png b/Items/Placeables/FurniturePlagued/PlaguedPlate.png similarity index 100% rename from Items/Placeables/FurniturePlaguedPlate/PlaguedPlate.png rename to Items/Placeables/FurniturePlagued/PlaguedPlate.png diff --git a/Items/Placeables/FurniturePlaguedPlate/PlaguedPlateBasin.cs b/Items/Placeables/FurniturePlagued/PlaguedPlateBasin.cs similarity index 94% rename from Items/Placeables/FurniturePlaguedPlate/PlaguedPlateBasin.cs rename to Items/Placeables/FurniturePlagued/PlaguedPlateBasin.cs index 04838e5fae..d71d3b6724 100644 --- a/Items/Placeables/FurniturePlaguedPlate/PlaguedPlateBasin.cs +++ b/Items/Placeables/FurniturePlagued/PlaguedPlateBasin.cs @@ -2,7 +2,7 @@ using CalamityMod.Items.Materials; using CalamityMod.Tiles.Furniture.CraftingStations; using Terraria.ID; using Terraria.ModLoader; -namespace CalamityMod.Items.Placeables.FurniturePlaguedPlate +namespace CalamityMod.Items.Placeables.FurniturePlagued { public class PlaguedPlateBasin : ModItem { diff --git a/Items/Placeables/FurniturePlaguedPlate/PlaguedPlateBasin.png b/Items/Placeables/FurniturePlagued/PlaguedPlateBasin.png similarity index 100% rename from Items/Placeables/FurniturePlaguedPlate/PlaguedPlateBasin.png rename to Items/Placeables/FurniturePlagued/PlaguedPlateBasin.png diff --git a/Items/Placeables/FurniturePlaguedPlate/PlaguedPlateBathtub.cs b/Items/Placeables/FurniturePlagued/PlaguedPlateBathtub.cs similarity index 94% rename from Items/Placeables/FurniturePlaguedPlate/PlaguedPlateBathtub.cs rename to Items/Placeables/FurniturePlagued/PlaguedPlateBathtub.cs index acf9b4621c..38c27374a8 100644 --- a/Items/Placeables/FurniturePlaguedPlate/PlaguedPlateBathtub.cs +++ b/Items/Placeables/FurniturePlagued/PlaguedPlateBathtub.cs @@ -2,7 +2,7 @@ using CalamityMod.Items.Materials; using CalamityMod.Tiles.Furniture.CraftingStations; using Terraria.ID; using Terraria.ModLoader; -namespace CalamityMod.Items.Placeables.FurniturePlaguedPlate +namespace CalamityMod.Items.Placeables.FurniturePlagued { public class PlaguedPlateBathtub : ModItem { diff --git a/Items/Placeables/FurniturePlaguedPlate/PlaguedPlateBathtub.png b/Items/Placeables/FurniturePlagued/PlaguedPlateBathtub.png similarity index 100% rename from Items/Placeables/FurniturePlaguedPlate/PlaguedPlateBathtub.png rename to Items/Placeables/FurniturePlagued/PlaguedPlateBathtub.png diff --git a/Items/Placeables/FurniturePlaguedPlate/PlaguedPlateBed.cs b/Items/Placeables/FurniturePlagued/PlaguedPlateBed.cs similarity index 94% rename from Items/Placeables/FurniturePlaguedPlate/PlaguedPlateBed.cs rename to Items/Placeables/FurniturePlagued/PlaguedPlateBed.cs index e455754d1e..9895dc310d 100644 --- a/Items/Placeables/FurniturePlaguedPlate/PlaguedPlateBed.cs +++ b/Items/Placeables/FurniturePlagued/PlaguedPlateBed.cs @@ -2,7 +2,7 @@ using CalamityMod.Items.Materials; using CalamityMod.Tiles.Furniture.CraftingStations; using Terraria.ID; using Terraria.ModLoader; -namespace CalamityMod.Items.Placeables.FurniturePlaguedPlate +namespace CalamityMod.Items.Placeables.FurniturePlagued { public class PlaguedPlateBed : ModItem { diff --git a/Items/Placeables/FurniturePlaguedPlate/PlaguedPlateBed.png b/Items/Placeables/FurniturePlagued/PlaguedPlateBed.png similarity index 100% rename from Items/Placeables/FurniturePlaguedPlate/PlaguedPlateBed.png rename to Items/Placeables/FurniturePlagued/PlaguedPlateBed.png diff --git a/Items/Placeables/FurniturePlaguedPlate/PlaguedPlateBookcase.cs b/Items/Placeables/FurniturePlagued/PlaguedPlateBookcase.cs similarity index 94% rename from Items/Placeables/FurniturePlaguedPlate/PlaguedPlateBookcase.cs rename to Items/Placeables/FurniturePlagued/PlaguedPlateBookcase.cs index 9304ba0338..c5083a1bec 100644 --- a/Items/Placeables/FurniturePlaguedPlate/PlaguedPlateBookcase.cs +++ b/Items/Placeables/FurniturePlagued/PlaguedPlateBookcase.cs @@ -2,7 +2,7 @@ using CalamityMod.Items.Materials; using CalamityMod.Tiles.Furniture.CraftingStations; using Terraria.ID; using Terraria.ModLoader; -namespace CalamityMod.Items.Placeables.FurniturePlaguedPlate +namespace CalamityMod.Items.Placeables.FurniturePlagued { public class PlaguedPlateBookcase : ModItem { diff --git a/Items/Placeables/FurniturePlaguedPlate/PlaguedPlateBookcase.png b/Items/Placeables/FurniturePlagued/PlaguedPlateBookcase.png similarity index 100% rename from Items/Placeables/FurniturePlaguedPlate/PlaguedPlateBookcase.png rename to Items/Placeables/FurniturePlagued/PlaguedPlateBookcase.png diff --git a/Items/Placeables/FurniturePlaguedPlate/PlaguedPlateCandelabra.cs b/Items/Placeables/FurniturePlagued/PlaguedPlateCandelabra.cs similarity index 94% rename from Items/Placeables/FurniturePlaguedPlate/PlaguedPlateCandelabra.cs rename to Items/Placeables/FurniturePlagued/PlaguedPlateCandelabra.cs index 7bd275b3b9..2a737a20d4 100644 --- a/Items/Placeables/FurniturePlaguedPlate/PlaguedPlateCandelabra.cs +++ b/Items/Placeables/FurniturePlagued/PlaguedPlateCandelabra.cs @@ -2,7 +2,7 @@ using CalamityMod.Items.Materials; using CalamityMod.Tiles.Furniture.CraftingStations; using Terraria.ID; using Terraria.ModLoader; -namespace CalamityMod.Items.Placeables.FurniturePlaguedPlate +namespace CalamityMod.Items.Placeables.FurniturePlagued { public class PlaguedPlateCandelabra : ModItem { diff --git a/Items/Placeables/FurniturePlaguedPlate/PlaguedPlateCandelabra.png b/Items/Placeables/FurniturePlagued/PlaguedPlateCandelabra.png similarity index 100% rename from Items/Placeables/FurniturePlaguedPlate/PlaguedPlateCandelabra.png rename to Items/Placeables/FurniturePlagued/PlaguedPlateCandelabra.png diff --git a/Items/Placeables/FurniturePlaguedPlate/PlaguedPlateCandle.cs b/Items/Placeables/FurniturePlagued/PlaguedPlateCandle.cs similarity index 94% rename from Items/Placeables/FurniturePlaguedPlate/PlaguedPlateCandle.cs rename to Items/Placeables/FurniturePlagued/PlaguedPlateCandle.cs index 810aa093ec..766ef552eb 100644 --- a/Items/Placeables/FurniturePlaguedPlate/PlaguedPlateCandle.cs +++ b/Items/Placeables/FurniturePlagued/PlaguedPlateCandle.cs @@ -2,7 +2,7 @@ using CalamityMod.Items.Materials; using CalamityMod.Tiles.Furniture.CraftingStations; using Terraria.ID; using Terraria.ModLoader; -namespace CalamityMod.Items.Placeables.FurniturePlaguedPlate +namespace CalamityMod.Items.Placeables.FurniturePlagued { public class PlaguedPlateCandle : ModItem { diff --git a/Items/Placeables/FurniturePlaguedPlate/PlaguedPlateCandle.png b/Items/Placeables/FurniturePlagued/PlaguedPlateCandle.png similarity index 100% rename from Items/Placeables/FurniturePlaguedPlate/PlaguedPlateCandle.png rename to Items/Placeables/FurniturePlagued/PlaguedPlateCandle.png diff --git a/Items/Placeables/FurniturePlaguedPlate/PlaguedPlateChair.cs b/Items/Placeables/FurniturePlagued/PlaguedPlateChair.cs similarity index 94% rename from Items/Placeables/FurniturePlaguedPlate/PlaguedPlateChair.cs rename to Items/Placeables/FurniturePlagued/PlaguedPlateChair.cs index 327591790b..c59f61ae03 100644 --- a/Items/Placeables/FurniturePlaguedPlate/PlaguedPlateChair.cs +++ b/Items/Placeables/FurniturePlagued/PlaguedPlateChair.cs @@ -2,7 +2,7 @@ using CalamityMod.Items.Materials; using CalamityMod.Tiles.Furniture.CraftingStations; using Terraria.ID; using Terraria.ModLoader; -namespace CalamityMod.Items.Placeables.FurniturePlaguedPlate +namespace CalamityMod.Items.Placeables.FurniturePlagued { public class PlaguedPlateChair : ModItem { diff --git a/Items/Placeables/FurniturePlaguedPlate/PlaguedPlateChair.png b/Items/Placeables/FurniturePlagued/PlaguedPlateChair.png similarity index 100% rename from Items/Placeables/FurniturePlaguedPlate/PlaguedPlateChair.png rename to Items/Placeables/FurniturePlagued/PlaguedPlateChair.png diff --git a/Items/Placeables/FurniturePlaguedPlate/PlaguedPlateChandelier.cs b/Items/Placeables/FurniturePlagued/PlaguedPlateChandelier.cs similarity index 95% rename from Items/Placeables/FurniturePlaguedPlate/PlaguedPlateChandelier.cs rename to Items/Placeables/FurniturePlagued/PlaguedPlateChandelier.cs index ffd3288a5f..1a9bb2bb7a 100644 --- a/Items/Placeables/FurniturePlaguedPlate/PlaguedPlateChandelier.cs +++ b/Items/Placeables/FurniturePlagued/PlaguedPlateChandelier.cs @@ -2,7 +2,7 @@ using CalamityMod.Items.Materials; using CalamityMod.Tiles.Furniture.CraftingStations; using Terraria.ID; using Terraria.ModLoader; -namespace CalamityMod.Items.Placeables.FurniturePlaguedPlate +namespace CalamityMod.Items.Placeables.FurniturePlagued { public class PlaguedPlateChandelier : ModItem { diff --git a/Items/Placeables/FurniturePlaguedPlate/PlaguedPlateChandelier.png b/Items/Placeables/FurniturePlagued/PlaguedPlateChandelier.png similarity index 100% rename from Items/Placeables/FurniturePlaguedPlate/PlaguedPlateChandelier.png rename to Items/Placeables/FurniturePlagued/PlaguedPlateChandelier.png diff --git a/Items/Placeables/FurniturePlaguedPlate/PlaguedPlateChest.cs b/Items/Placeables/FurniturePlagued/PlaguedPlateChest.cs similarity index 94% rename from Items/Placeables/FurniturePlaguedPlate/PlaguedPlateChest.cs rename to Items/Placeables/FurniturePlagued/PlaguedPlateChest.cs index fbf03efc69..8b1bb54a45 100644 --- a/Items/Placeables/FurniturePlaguedPlate/PlaguedPlateChest.cs +++ b/Items/Placeables/FurniturePlagued/PlaguedPlateChest.cs @@ -2,7 +2,7 @@ using CalamityMod.Items.Materials; using CalamityMod.Tiles.Furniture.CraftingStations; using Terraria.ID; using Terraria.ModLoader; -namespace CalamityMod.Items.Placeables.FurniturePlaguedPlate +namespace CalamityMod.Items.Placeables.FurniturePlagued { public class PlaguedPlateChest : ModItem { diff --git a/Items/Placeables/FurniturePlaguedPlate/PlaguedPlateChest.png b/Items/Placeables/FurniturePlagued/PlaguedPlateChest.png similarity index 100% rename from Items/Placeables/FurniturePlaguedPlate/PlaguedPlateChest.png rename to Items/Placeables/FurniturePlagued/PlaguedPlateChest.png diff --git a/Items/Placeables/FurniturePlaguedPlate/PlaguedPlateClock.cs b/Items/Placeables/FurniturePlagued/PlaguedPlateClock.cs similarity index 94% rename from Items/Placeables/FurniturePlaguedPlate/PlaguedPlateClock.cs rename to Items/Placeables/FurniturePlagued/PlaguedPlateClock.cs index cecc2ebeb8..4b62f6fb23 100644 --- a/Items/Placeables/FurniturePlaguedPlate/PlaguedPlateClock.cs +++ b/Items/Placeables/FurniturePlagued/PlaguedPlateClock.cs @@ -2,7 +2,7 @@ using CalamityMod.Items.Materials; using CalamityMod.Tiles.Furniture.CraftingStations; using Terraria.ID; using Terraria.ModLoader; -namespace CalamityMod.Items.Placeables.FurniturePlaguedPlate +namespace CalamityMod.Items.Placeables.FurniturePlagued { public class PlaguedPlateClock : ModItem { diff --git a/Items/Placeables/FurniturePlaguedPlate/PlaguedPlateClock.png b/Items/Placeables/FurniturePlagued/PlaguedPlateClock.png similarity index 100% rename from Items/Placeables/FurniturePlaguedPlate/PlaguedPlateClock.png rename to Items/Placeables/FurniturePlagued/PlaguedPlateClock.png diff --git a/Items/Placeables/FurniturePlaguedPlate/PlaguedPlateDoor.cs b/Items/Placeables/FurniturePlagued/PlaguedPlateDoor.cs similarity index 94% rename from Items/Placeables/FurniturePlaguedPlate/PlaguedPlateDoor.cs rename to Items/Placeables/FurniturePlagued/PlaguedPlateDoor.cs index d404d7dfaf..af6ed6c651 100644 --- a/Items/Placeables/FurniturePlaguedPlate/PlaguedPlateDoor.cs +++ b/Items/Placeables/FurniturePlagued/PlaguedPlateDoor.cs @@ -3,7 +3,7 @@ using CalamityMod.Tiles.Furniture.CraftingStations; using CalamityMod.Tiles.FurniturePlaguedPlate; using Terraria.ID; using Terraria.ModLoader; -namespace CalamityMod.Items.Placeables.FurniturePlaguedPlate +namespace CalamityMod.Items.Placeables.FurniturePlagued { public class PlaguedPlateDoor : ModItem { diff --git a/Items/Placeables/FurniturePlaguedPlate/PlaguedPlateDoor.png b/Items/Placeables/FurniturePlagued/PlaguedPlateDoor.png similarity index 100% rename from Items/Placeables/FurniturePlaguedPlate/PlaguedPlateDoor.png rename to Items/Placeables/FurniturePlagued/PlaguedPlateDoor.png diff --git a/Items/Placeables/FurniturePlaguedPlate/PlaguedPlateDresser.cs b/Items/Placeables/FurniturePlagued/PlaguedPlateDresser.cs similarity index 94% rename from Items/Placeables/FurniturePlaguedPlate/PlaguedPlateDresser.cs rename to Items/Placeables/FurniturePlagued/PlaguedPlateDresser.cs index af421d26d6..c716c03585 100644 --- a/Items/Placeables/FurniturePlaguedPlate/PlaguedPlateDresser.cs +++ b/Items/Placeables/FurniturePlagued/PlaguedPlateDresser.cs @@ -2,7 +2,7 @@ using CalamityMod.Items.Materials; using CalamityMod.Tiles.Furniture.CraftingStations; using Terraria.ID; using Terraria.ModLoader; -namespace CalamityMod.Items.Placeables.FurniturePlaguedPlate +namespace CalamityMod.Items.Placeables.FurniturePlagued { public class PlaguedPlateDresser : ModItem { diff --git a/Items/Placeables/FurniturePlaguedPlate/PlaguedPlateDresser.png b/Items/Placeables/FurniturePlagued/PlaguedPlateDresser.png similarity index 100% rename from Items/Placeables/FurniturePlaguedPlate/PlaguedPlateDresser.png rename to Items/Placeables/FurniturePlagued/PlaguedPlateDresser.png diff --git a/Items/Placeables/FurniturePlaguedPlate/PlaguedPlateLamp.cs b/Items/Placeables/FurniturePlagued/PlaguedPlateLamp.cs similarity index 94% rename from Items/Placeables/FurniturePlaguedPlate/PlaguedPlateLamp.cs rename to Items/Placeables/FurniturePlagued/PlaguedPlateLamp.cs index f2532bd2d2..efb90ee9a4 100644 --- a/Items/Placeables/FurniturePlaguedPlate/PlaguedPlateLamp.cs +++ b/Items/Placeables/FurniturePlagued/PlaguedPlateLamp.cs @@ -2,7 +2,7 @@ using CalamityMod.Items.Materials; using CalamityMod.Tiles.Furniture.CraftingStations; using Terraria.ID; using Terraria.ModLoader; -namespace CalamityMod.Items.Placeables.FurniturePlaguedPlate +namespace CalamityMod.Items.Placeables.FurniturePlagued { public class PlaguedPlateLamp : ModItem { diff --git a/Items/Placeables/FurniturePlaguedPlate/PlaguedPlateLamp.png b/Items/Placeables/FurniturePlagued/PlaguedPlateLamp.png similarity index 100% rename from Items/Placeables/FurniturePlaguedPlate/PlaguedPlateLamp.png rename to Items/Placeables/FurniturePlagued/PlaguedPlateLamp.png diff --git a/Items/Placeables/FurniturePlaguedPlate/PlaguedPlateLantern.cs b/Items/Placeables/FurniturePlagued/PlaguedPlateLantern.cs similarity index 94% rename from Items/Placeables/FurniturePlaguedPlate/PlaguedPlateLantern.cs rename to Items/Placeables/FurniturePlagued/PlaguedPlateLantern.cs index 95471e74a9..ecc5b11016 100644 --- a/Items/Placeables/FurniturePlaguedPlate/PlaguedPlateLantern.cs +++ b/Items/Placeables/FurniturePlagued/PlaguedPlateLantern.cs @@ -2,7 +2,7 @@ using CalamityMod.Items.Materials; using CalamityMod.Tiles.Furniture.CraftingStations; using Terraria.ID; using Terraria.ModLoader; -namespace CalamityMod.Items.Placeables.FurniturePlaguedPlate +namespace CalamityMod.Items.Placeables.FurniturePlagued { public class PlaguedPlateLantern : ModItem { diff --git a/Items/Placeables/FurniturePlaguedPlate/PlaguedPlateLantern.png b/Items/Placeables/FurniturePlagued/PlaguedPlateLantern.png similarity index 100% rename from Items/Placeables/FurniturePlaguedPlate/PlaguedPlateLantern.png rename to Items/Placeables/FurniturePlagued/PlaguedPlateLantern.png diff --git a/Items/Placeables/FurniturePlaguedPlate/PlaguedPlatePiano.cs b/Items/Placeables/FurniturePlagued/PlaguedPlatePiano.cs similarity index 94% rename from Items/Placeables/FurniturePlaguedPlate/PlaguedPlatePiano.cs rename to Items/Placeables/FurniturePlagued/PlaguedPlatePiano.cs index b83aeea8e9..7859b776df 100644 --- a/Items/Placeables/FurniturePlaguedPlate/PlaguedPlatePiano.cs +++ b/Items/Placeables/FurniturePlagued/PlaguedPlatePiano.cs @@ -2,7 +2,7 @@ using CalamityMod.Items.Materials; using CalamityMod.Tiles.Furniture.CraftingStations; using Terraria.ID; using Terraria.ModLoader; -namespace CalamityMod.Items.Placeables.FurniturePlaguedPlate +namespace CalamityMod.Items.Placeables.FurniturePlagued { public class PlaguedPlatePiano : ModItem { diff --git a/Items/Placeables/FurniturePlaguedPlate/PlaguedPlatePiano.png b/Items/Placeables/FurniturePlagued/PlaguedPlatePiano.png similarity index 100% rename from Items/Placeables/FurniturePlaguedPlate/PlaguedPlatePiano.png rename to Items/Placeables/FurniturePlagued/PlaguedPlatePiano.png diff --git a/Items/Placeables/FurniturePlaguedPlate/PlaguedPlatePlatform.cs b/Items/Placeables/FurniturePlagued/PlaguedPlatePlatform.cs similarity index 94% rename from Items/Placeables/FurniturePlaguedPlate/PlaguedPlatePlatform.cs rename to Items/Placeables/FurniturePlagued/PlaguedPlatePlatform.cs index 4e983466c1..3c313d8593 100644 --- a/Items/Placeables/FurniturePlaguedPlate/PlaguedPlatePlatform.cs +++ b/Items/Placeables/FurniturePlagued/PlaguedPlatePlatform.cs @@ -1,7 +1,7 @@ using CalamityMod.Tiles.Furniture.CraftingStations; using Terraria.ID; using Terraria.ModLoader; -namespace CalamityMod.Items.Placeables.FurniturePlaguedPlate +namespace CalamityMod.Items.Placeables.FurniturePlagued { public class PlaguedPlatePlatform : ModItem { diff --git a/Items/Placeables/FurniturePlaguedPlate/PlaguedPlatePlatform.png b/Items/Placeables/FurniturePlagued/PlaguedPlatePlatform.png similarity index 100% rename from Items/Placeables/FurniturePlaguedPlate/PlaguedPlatePlatform.png rename to Items/Placeables/FurniturePlagued/PlaguedPlatePlatform.png diff --git a/Items/Placeables/FurniturePlaguedPlate/PlaguedPlateSink.cs b/Items/Placeables/FurniturePlagued/PlaguedPlateSink.cs similarity index 95% rename from Items/Placeables/FurniturePlaguedPlate/PlaguedPlateSink.cs rename to Items/Placeables/FurniturePlagued/PlaguedPlateSink.cs index 5ef8815aa9..ff531f0a2a 100644 --- a/Items/Placeables/FurniturePlaguedPlate/PlaguedPlateSink.cs +++ b/Items/Placeables/FurniturePlagued/PlaguedPlateSink.cs @@ -2,7 +2,7 @@ using CalamityMod.Items.Materials; using CalamityMod.Tiles.Furniture.CraftingStations; using Terraria.ID; using Terraria.ModLoader; -namespace CalamityMod.Items.Placeables.FurniturePlaguedPlate +namespace CalamityMod.Items.Placeables.FurniturePlagued { public class PlaguedPlateSink : ModItem { diff --git a/Items/Placeables/FurniturePlaguedPlate/PlaguedPlateSink.png b/Items/Placeables/FurniturePlagued/PlaguedPlateSink.png similarity index 100% rename from Items/Placeables/FurniturePlaguedPlate/PlaguedPlateSink.png rename to Items/Placeables/FurniturePlagued/PlaguedPlateSink.png diff --git a/Items/Placeables/FurniturePlaguedPlate/PlaguedPlateSofa.cs b/Items/Placeables/FurniturePlagued/PlaguedPlateSofa.cs similarity index 94% rename from Items/Placeables/FurniturePlaguedPlate/PlaguedPlateSofa.cs rename to Items/Placeables/FurniturePlagued/PlaguedPlateSofa.cs index bf8508cc77..ac0f5a9322 100644 --- a/Items/Placeables/FurniturePlaguedPlate/PlaguedPlateSofa.cs +++ b/Items/Placeables/FurniturePlagued/PlaguedPlateSofa.cs @@ -2,7 +2,7 @@ using CalamityMod.Items.Materials; using CalamityMod.Tiles.Furniture.CraftingStations; using Terraria.ID; using Terraria.ModLoader; -namespace CalamityMod.Items.Placeables.FurniturePlaguedPlate +namespace CalamityMod.Items.Placeables.FurniturePlagued { public class PlaguedPlateSofa : ModItem { diff --git a/Items/Placeables/FurniturePlaguedPlate/PlaguedPlateSofa.png b/Items/Placeables/FurniturePlagued/PlaguedPlateSofa.png similarity index 100% rename from Items/Placeables/FurniturePlaguedPlate/PlaguedPlateSofa.png rename to Items/Placeables/FurniturePlagued/PlaguedPlateSofa.png diff --git a/Items/Placeables/FurniturePlaguedPlate/PlaguedPlateTable.cs b/Items/Placeables/FurniturePlagued/PlaguedPlateTable.cs similarity index 94% rename from Items/Placeables/FurniturePlaguedPlate/PlaguedPlateTable.cs rename to Items/Placeables/FurniturePlagued/PlaguedPlateTable.cs index 1c91bf98ce..52d13317a2 100644 --- a/Items/Placeables/FurniturePlaguedPlate/PlaguedPlateTable.cs +++ b/Items/Placeables/FurniturePlagued/PlaguedPlateTable.cs @@ -2,7 +2,7 @@ using CalamityMod.Items.Materials; using CalamityMod.Tiles.Furniture.CraftingStations; using Terraria.ID; using Terraria.ModLoader; -namespace CalamityMod.Items.Placeables.FurniturePlaguedPlate +namespace CalamityMod.Items.Placeables.FurniturePlagued { public class PlaguedPlateTable : ModItem { diff --git a/Items/Placeables/FurniturePlaguedPlate/PlaguedPlateTable.png b/Items/Placeables/FurniturePlagued/PlaguedPlateTable.png similarity index 100% rename from Items/Placeables/FurniturePlaguedPlate/PlaguedPlateTable.png rename to Items/Placeables/FurniturePlagued/PlaguedPlateTable.png diff --git a/Items/Placeables/FurniturePlaguedPlate/PlaguedPlateWorkbench.cs b/Items/Placeables/FurniturePlagued/PlaguedPlateWorkbench.cs similarity index 94% rename from Items/Placeables/FurniturePlaguedPlate/PlaguedPlateWorkbench.cs rename to Items/Placeables/FurniturePlagued/PlaguedPlateWorkbench.cs index 0c395d1bc9..cc06f2e978 100644 --- a/Items/Placeables/FurniturePlaguedPlate/PlaguedPlateWorkbench.cs +++ b/Items/Placeables/FurniturePlagued/PlaguedPlateWorkbench.cs @@ -2,7 +2,7 @@ using CalamityMod.Items.Materials; using CalamityMod.Tiles.Furniture.CraftingStations; using Terraria.ID; using Terraria.ModLoader; -namespace CalamityMod.Items.Placeables.FurniturePlaguedPlate +namespace CalamityMod.Items.Placeables.FurniturePlagued { public class PlaguedPlateWorkbench : ModItem { diff --git a/Items/Placeables/FurniturePlaguedPlate/PlaguedPlateWorkbench.png b/Items/Placeables/FurniturePlagued/PlaguedPlateWorkbench.png similarity index 100% rename from Items/Placeables/FurniturePlaguedPlate/PlaguedPlateWorkbench.png rename to Items/Placeables/FurniturePlagued/PlaguedPlateWorkbench.png diff --git a/Items/Placeables/Walls/PlaguedPlateWall.cs b/Items/Placeables/Walls/PlaguedPlateWall.cs index 5c84518aec..9a6808f5aa 100644 --- a/Items/Placeables/Walls/PlaguedPlateWall.cs +++ b/Items/Placeables/Walls/PlaguedPlateWall.cs @@ -1,4 +1,4 @@ -using CalamityMod.Items.Placeables.FurniturePlaguedPlate; +using CalamityMod.Items.Placeables.FurniturePlagued; using CalamityMod.Tiles.Furniture.CraftingStations; using Terraria.ID; using Terraria.ModLoader; diff --git a/ModSupport/WeakReferenceSupport.cs b/ModSupport/WeakReferenceSupport.cs index 6d3adf5911..dc5d878a9c 100644 --- a/ModSupport/WeakReferenceSupport.cs +++ b/ModSupport/WeakReferenceSupport.cs @@ -416,7 +416,7 @@ namespace CalamityMod 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 collection = new List() { ItemType(), ItemType(), ItemType() }; + 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)); string bossLogTex = "CalamityMod/NPCs/AstrumAureus/AstrumAureus_BossChecklist"; @@ -484,7 +484,7 @@ namespace CalamityMod int type = NPCType(); int summon = ItemType(); List loot = new List() { ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType() }; - List collection = new List() { ItemType(), ItemType(), ItemType() }; + List collection = new List() { ItemType(), ItemType(), ItemType() }; string instructions = $"Use [i:{summon}] in the Jungle Biome"; string despawn = CalamityUtils.ColorMessage("The failed experiment returns to its reproductive routine.", new Color(0xFF, 0xD7, 0x00)); AddBoss(bossChecklist, calamity, "Dragonfolly", order, type, DownedBirb, summon, loot, collection, instructions, despawn); @@ -612,7 +612,7 @@ namespace CalamityMod int type = NPCType(); int summon1 = ItemType(); int summon2 = ItemType(); - int altar = 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() }; List collection = new List() { ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType() }; @@ -723,7 +723,7 @@ namespace CalamityMod // Wall of Flesh AddLoot(bossChecklist, "WallofFlesh", new List() { ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemID.CorruptionKey, ItemID.CrimsonKey }, - new List() { ItemType(), ItemType(), ItemType() } + new List() { ItemType(), ItemType(), ItemType() } ); // Queen Slime diff --git a/NPCs/AstrumAureus/AstrumAureus.cs b/NPCs/AstrumAureus/AstrumAureus.cs index 9bc0cc3d71..145baebd39 100644 --- a/NPCs/AstrumAureus/AstrumAureus.cs +++ b/NPCs/AstrumAureus/AstrumAureus.cs @@ -354,7 +354,7 @@ namespace CalamityMod.NPCs.AstrumAureus normalOnly.Add(ItemDropRule.ByCondition(DropHelper.If(() => NPC.downedMoonlord), ModContent.ItemType())); } - npcLoot.Add(ModContent.ItemType(), 10); + npcLoot.Add(ModContent.ItemType(), 10); // Lore npcLoot.AddConditionalPerPlayer(() => !DownedBossSystem.downedAstrumAureus, ModContent.ItemType()); diff --git a/NPCs/Bumblebirb/Bumblefuck.cs b/NPCs/Bumblebirb/Bumblefuck.cs index 620df020fa..0d768cf26b 100644 --- a/NPCs/Bumblebirb/Bumblefuck.cs +++ b/NPCs/Bumblebirb/Bumblefuck.cs @@ -434,7 +434,7 @@ namespace CalamityMod.NPCs.Bumblebirb normalOnly.Add(ModContent.ItemType(), 7); } - npcLoot.Add(ModContent.ItemType(), 10); + npcLoot.Add(ModContent.ItemType(), 10); // Lore npcLoot.AddConditionalPerPlayer(() => !DownedBossSystem.downedDragonfolly, ModContent.ItemType()); diff --git a/NPCs/CalamityGlobalNPCLoot.cs b/NPCs/CalamityGlobalNPCLoot.cs index 3991dcc60a..13c6d2ba53 100644 --- a/NPCs/CalamityGlobalNPCLoot.cs +++ b/NPCs/CalamityGlobalNPCLoot.cs @@ -899,10 +899,10 @@ namespace CalamityMod.NPCs // Drop Hermit's Box directly for EACH player, regardles of Expert or not. 100% chance on first kill, 10% chance afterwards. LeadingConditionRule firstWoFKill = new(DropHelper.If(() => !Main.hardMode)); - firstWoFKill.Add(DropHelper.PerPlayer(ModContent.ItemType())); + firstWoFKill.Add(DropHelper.PerPlayer(ModContent.ItemType())); npcLoot.AddNormalOnly(firstWoFKill); LeadingConditionRule subsequentWoFKills = new(DropHelper.If(() => Main.hardMode)); - subsequentWoFKills.Add(DropHelper.PerPlayer(ModContent.ItemType(), 10)); + subsequentWoFKills.Add(DropHelper.PerPlayer(ModContent.ItemType(), 10)); npcLoot.AddNormalOnly(subsequentWoFKills); // Expert+ drops are also available on Normal diff --git a/NPCs/TownNPCs/THIEF.cs b/NPCs/TownNPCs/THIEF.cs index 768db891cb..e9fc49a3cc 100644 --- a/NPCs/TownNPCs/THIEF.cs +++ b/NPCs/TownNPCs/THIEF.cs @@ -367,7 +367,7 @@ namespace CalamityMod.NPCs.TownNPCs nextSlot++; } //:BearWatchingYou: - shop.item[nextSlot].SetDefaults(ModContent.ItemType()); + shop.item[nextSlot].SetDefaults(ModContent.ItemType()); shop.item[nextSlot].shopCustomPrice = shop.item[nextSlot].value; nextSlot++; } diff --git a/Tiles/Furniture/BossTrophy.cs b/Tiles/Furniture/BossTrophy.cs index a2d014920d..d6763d7079 100644 --- a/Tiles/Furniture/BossTrophy.cs +++ b/Tiles/Furniture/BossTrophy.cs @@ -86,10 +86,10 @@ namespace CalamityMod.Tiles.Furniture item = ModContent.ItemType(); break; case 18: - item = ModContent.ItemType(); + item = ModContent.ItemType(); break; case 19: - item = ModContent.ItemType(); + item = ModContent.ItemType(); break; case 20: item = ModContent.ItemType(); diff --git a/Tiles/Furniture/SCalAltar.cs b/Tiles/Furniture/SCalAltar.cs index 7af344f655..d89027c8db 100644 --- a/Tiles/Furniture/SCalAltar.cs +++ b/Tiles/Furniture/SCalAltar.cs @@ -51,7 +51,7 @@ namespace CalamityMod.Tiles.Furniture public override void KillMultiTile(int i, int j, int frameX, int frameY) { - Item.NewItem(new EntitySource_TileBreak(i, j), i * 16, j * 16, Width * 16, Height * 16, ModContent.ItemType()); + Item.NewItem(new EntitySource_TileBreak(i, j), i * 16, j * 16, Width * 16, Height * 16, ModContent.ItemType()); } public override bool RightClick(int i, int j) diff --git a/Tiles/FurniturePlaguedPlate/PlaguedPlate.cs b/Tiles/FurniturePlaguedPlate/PlaguedPlate.cs index c6075611ff..6bd98276a1 100644 --- a/Tiles/FurniturePlaguedPlate/PlaguedPlate.cs +++ b/Tiles/FurniturePlaguedPlate/PlaguedPlate.cs @@ -15,7 +15,7 @@ namespace CalamityMod.Tiles.FurniturePlaguedPlate Main.tileBlockLight[Type] = true; HitSound = SoundID.Tink; MineResist = 2.1f; - ItemDrop = ModContent.ItemType(); + ItemDrop = ModContent.ItemType(); AddMapEntry(new Color(51, 99, 75)); } diff --git a/Tiles/FurniturePlaguedPlate/PlaguedPlateBasin.cs b/Tiles/FurniturePlaguedPlate/PlaguedPlateBasin.cs index 861149b5fd..b101198d1e 100644 --- a/Tiles/FurniturePlaguedPlate/PlaguedPlateBasin.cs +++ b/Tiles/FurniturePlaguedPlate/PlaguedPlateBasin.cs @@ -59,7 +59,7 @@ namespace CalamityMod.Tiles.FurniturePlaguedPlate public override void KillMultiTile(int i, int j, int frameX, int frameY) { - Item.NewItem(new EntitySource_TileBreak(i, j), i * 16, j * 16, 16, 32, ModContent.ItemType()); + Item.NewItem(new EntitySource_TileBreak(i, j), i * 16, j * 16, 16, 32, ModContent.ItemType()); } public override void HitWire(int i, int j) diff --git a/Tiles/FurniturePlaguedPlate/PlaguedPlateBathtub.cs b/Tiles/FurniturePlaguedPlate/PlaguedPlateBathtub.cs index 4775281f2c..2184a36750 100644 --- a/Tiles/FurniturePlaguedPlate/PlaguedPlateBathtub.cs +++ b/Tiles/FurniturePlaguedPlate/PlaguedPlateBathtub.cs @@ -28,7 +28,7 @@ namespace CalamityMod.Tiles.FurniturePlaguedPlate public override void KillMultiTile(int i, int j, int frameX, int frameY) { - Item.NewItem(new EntitySource_TileBreak(i, j), i * 16, j * 16, 16, 32, ModContent.ItemType()); + Item.NewItem(new EntitySource_TileBreak(i, j), i * 16, j * 16, 16, 32, ModContent.ItemType()); } } } diff --git a/Tiles/FurniturePlaguedPlate/PlaguedPlateBed.cs b/Tiles/FurniturePlaguedPlate/PlaguedPlateBed.cs index 4c052bf8b6..370015931f 100644 --- a/Tiles/FurniturePlaguedPlate/PlaguedPlateBed.cs +++ b/Tiles/FurniturePlaguedPlate/PlaguedPlateBed.cs @@ -42,7 +42,7 @@ namespace CalamityMod.Tiles.FurniturePlaguedPlate public override void KillMultiTile(int i, int j, int frameX, int frameY) { - Item.NewItem(new EntitySource_TileBreak(i, j), i * 16, j * 16, 64, 32, ModContent.ItemType()); + Item.NewItem(new EntitySource_TileBreak(i, j), i * 16, j * 16, 64, 32, ModContent.ItemType()); } public override bool RightClick(int i, int j) @@ -72,7 +72,7 @@ namespace CalamityMod.Tiles.FurniturePlaguedPlate Player player = Main.LocalPlayer; player.noThrow = 2; player.cursorItemIconEnabled = true; - player.cursorItemIconID = ModContent.ItemType(); + player.cursorItemIconID = ModContent.ItemType(); } } } diff --git a/Tiles/FurniturePlaguedPlate/PlaguedPlateBookcase.cs b/Tiles/FurniturePlaguedPlate/PlaguedPlateBookcase.cs index 7fcf114e79..7d722f2784 100644 --- a/Tiles/FurniturePlaguedPlate/PlaguedPlateBookcase.cs +++ b/Tiles/FurniturePlaguedPlate/PlaguedPlateBookcase.cs @@ -31,7 +31,7 @@ namespace CalamityMod.Tiles.FurniturePlaguedPlate public override void KillMultiTile(int i, int j, int frameX, int frameY) { - Item.NewItem(new EntitySource_TileBreak(i, j), i * 16, j * 16, 16, 32, ModContent.ItemType()); + Item.NewItem(new EntitySource_TileBreak(i, j), i * 16, j * 16, 16, 32, ModContent.ItemType()); } } } diff --git a/Tiles/FurniturePlaguedPlate/PlaguedPlateCandelabra.cs b/Tiles/FurniturePlaguedPlate/PlaguedPlateCandelabra.cs index 8feeacd432..5a3fc8d380 100644 --- a/Tiles/FurniturePlaguedPlate/PlaguedPlateCandelabra.cs +++ b/Tiles/FurniturePlaguedPlate/PlaguedPlateCandelabra.cs @@ -47,7 +47,7 @@ namespace CalamityMod.Tiles.FurniturePlaguedPlate public override void KillMultiTile(int i, int j, int frameX, int frameY) { - Item.NewItem(new EntitySource_TileBreak(i, j), i * 16, j * 16, 16, 16, ModContent.ItemType()); + Item.NewItem(new EntitySource_TileBreak(i, j), i * 16, j * 16, 16, 16, ModContent.ItemType()); } public override void HitWire(int i, int j) diff --git a/Tiles/FurniturePlaguedPlate/PlaguedPlateCandle.cs b/Tiles/FurniturePlaguedPlate/PlaguedPlateCandle.cs index f51f193c1d..9539ed2cff 100644 --- a/Tiles/FurniturePlaguedPlate/PlaguedPlateCandle.cs +++ b/Tiles/FurniturePlaguedPlate/PlaguedPlateCandle.cs @@ -15,7 +15,7 @@ namespace CalamityMod.Tiles.FurniturePlaguedPlate AddMapEntry(new Color(253, 221, 3), name); TileID.Sets.DisableSmartCursor[Type] = true; AdjTiles = new int[] { TileID.Candles }; - ItemDrop = ModContent.ItemType(); + ItemDrop = ModContent.ItemType(); } public override bool CreateDust(int i, int j, ref int type) @@ -55,7 +55,7 @@ namespace CalamityMod.Tiles.FurniturePlaguedPlate Player player = Main.LocalPlayer; player.noThrow = 2; player.cursorItemIconEnabled = true; - player.cursorItemIconID = ModContent.ItemType(); + player.cursorItemIconID = ModContent.ItemType(); } public override bool RightClick(int i, int j) diff --git a/Tiles/FurniturePlaguedPlate/PlaguedPlateChair.cs b/Tiles/FurniturePlaguedPlate/PlaguedPlateChair.cs index 445431fc2c..ccbfbf9cb5 100644 --- a/Tiles/FurniturePlaguedPlate/PlaguedPlateChair.cs +++ b/Tiles/FurniturePlaguedPlate/PlaguedPlateChair.cs @@ -35,7 +35,7 @@ namespace CalamityMod.Tiles.FurniturePlaguedPlate public override void KillMultiTile(int i, int j, int frameX, int frameY) { - Item.NewItem(new EntitySource_TileBreak(i, j), i * 16, j * 16, 16, 32, ModContent.ItemType()); + Item.NewItem(new EntitySource_TileBreak(i, j), i * 16, j * 16, 16, 32, ModContent.ItemType()); } public override void ModifySittingTargetInfo(int i, int j, ref TileRestingInfo info) @@ -80,7 +80,7 @@ namespace CalamityMod.Tiles.FurniturePlaguedPlate player.noThrow = 2; player.cursorItemIconEnabled = true; - player.cursorItemIconID = ModContent.ItemType(); + player.cursorItemIconID = ModContent.ItemType(); if (Main.tile[i, j].TileFrameX / 18 < 1) { diff --git a/Tiles/FurniturePlaguedPlate/PlaguedPlateChandelier.cs b/Tiles/FurniturePlaguedPlate/PlaguedPlateChandelier.cs index ed1c505539..8a548a9e6a 100644 --- a/Tiles/FurniturePlaguedPlate/PlaguedPlateChandelier.cs +++ b/Tiles/FurniturePlaguedPlate/PlaguedPlateChandelier.cs @@ -45,7 +45,7 @@ namespace CalamityMod.Tiles.FurniturePlaguedPlate public override void KillMultiTile(int i, int j, int frameX, int frameY) { - Item.NewItem(new EntitySource_TileBreak(i, j), i * 16, j * 16, 48, 48, ModContent.ItemType()); + Item.NewItem(new EntitySource_TileBreak(i, j), i * 16, j * 16, 48, 48, ModContent.ItemType()); } public override void HitWire(int i, int j) diff --git a/Tiles/FurniturePlaguedPlate/PlaguedPlateChest.cs b/Tiles/FurniturePlaguedPlate/PlaguedPlateChest.cs index fc87def4b1..12e8a55690 100644 --- a/Tiles/FurniturePlaguedPlate/PlaguedPlateChest.cs +++ b/Tiles/FurniturePlaguedPlate/PlaguedPlateChest.cs @@ -18,7 +18,7 @@ namespace CalamityMod.Tiles.FurniturePlaguedPlate TileID.Sets.DisableSmartCursor[Type] = true; AdjTiles = new int[] { TileID.Containers }; ContainerName.SetDefault("Plagued Chest"); - ChestDrop = ModContent.ItemType(); + ChestDrop = ModContent.ItemType(); } public override bool CreateDust(int i, int j, ref int type) @@ -49,12 +49,12 @@ namespace CalamityMod.Tiles.FurniturePlaguedPlate public override void MouseOver(int i, int j) { - CalamityUtils.ChestMouseOver("Plagued Chest", i, j); + CalamityUtils.ChestMouseOver("Plagued Chest", i, j); } public override void MouseOverFar(int i, int j) { - CalamityUtils.ChestMouseFar("Plagued Chest", i, j); + CalamityUtils.ChestMouseFar("Plagued Chest", i, j); } } } diff --git a/Tiles/FurniturePlaguedPlate/PlaguedPlateClock.cs b/Tiles/FurniturePlaguedPlate/PlaguedPlateClock.cs index ffb138fc73..65613d0077 100644 --- a/Tiles/FurniturePlaguedPlate/PlaguedPlateClock.cs +++ b/Tiles/FurniturePlaguedPlate/PlaguedPlateClock.cs @@ -46,7 +46,7 @@ namespace CalamityMod.Tiles.FurniturePlaguedPlate public override void KillMultiTile(int i, int j, int frameX, int frameY) { - Item.NewItem(new EntitySource_TileBreak(i, j), i * 16, j * 16, 48, 32, ModContent.ItemType()); + Item.NewItem(new EntitySource_TileBreak(i, j), i * 16, j * 16, 48, 32, ModContent.ItemType()); } } } diff --git a/Tiles/FurniturePlaguedPlate/PlaguedPlateDoorClosed.cs b/Tiles/FurniturePlaguedPlate/PlaguedPlateDoorClosed.cs index 810f665b2a..1ef82395f5 100644 --- a/Tiles/FurniturePlaguedPlate/PlaguedPlateDoorClosed.cs +++ b/Tiles/FurniturePlaguedPlate/PlaguedPlateDoorClosed.cs @@ -34,7 +34,7 @@ namespace CalamityMod.Tiles.FurniturePlaguedPlate public override void KillMultiTile(int i, int j, int frameX, int frameY) { - Item.NewItem(new EntitySource_TileBreak(i, j), i * 16, j * 16, 16, 48, ModContent.ItemType()); + Item.NewItem(new EntitySource_TileBreak(i, j), i * 16, j * 16, 16, 48, ModContent.ItemType()); } public override void MouseOver(int i, int j) @@ -42,7 +42,7 @@ namespace CalamityMod.Tiles.FurniturePlaguedPlate Player player = Main.LocalPlayer; player.noThrow = 2; player.cursorItemIconEnabled = true; - player.cursorItemIconID = ModContent.ItemType(); + player.cursorItemIconID = ModContent.ItemType(); } } } diff --git a/Tiles/FurniturePlaguedPlate/PlaguedPlateDoorOpen.cs b/Tiles/FurniturePlaguedPlate/PlaguedPlateDoorOpen.cs index 3d4cd1f8e2..73ba7a0521 100644 --- a/Tiles/FurniturePlaguedPlate/PlaguedPlateDoorOpen.cs +++ b/Tiles/FurniturePlaguedPlate/PlaguedPlateDoorOpen.cs @@ -34,7 +34,7 @@ namespace CalamityMod.Tiles.FurniturePlaguedPlate public override void KillMultiTile(int i, int j, int frameX, int frameY) { - Item.NewItem(new EntitySource_TileBreak(i, j), i * 16, j * 16, 32, 48, ModContent.ItemType()); + Item.NewItem(new EntitySource_TileBreak(i, j), i * 16, j * 16, 32, 48, ModContent.ItemType()); } public override void MouseOver(int i, int j) @@ -42,7 +42,7 @@ namespace CalamityMod.Tiles.FurniturePlaguedPlate Player player = Main.LocalPlayer; player.noThrow = 2; player.cursorItemIconEnabled = true; - player.cursorItemIconID = ModContent.ItemType(); + player.cursorItemIconID = ModContent.ItemType(); } } } diff --git a/Tiles/FurniturePlaguedPlate/PlaguedPlateDresser.cs b/Tiles/FurniturePlaguedPlate/PlaguedPlateDresser.cs index 7c22bd136f..cb3884ca5d 100644 --- a/Tiles/FurniturePlaguedPlate/PlaguedPlateDresser.cs +++ b/Tiles/FurniturePlaguedPlate/PlaguedPlateDresser.cs @@ -18,7 +18,7 @@ namespace CalamityMod.Tiles.FurniturePlaguedPlate TileID.Sets.DisableSmartCursor[Type] = true; AdjTiles = new int[] { TileID.Dressers }; ContainerName.SetDefault("Plagued Dresser"); - DresserDrop = ModContent.ItemType(); + DresserDrop = ModContent.ItemType(); } public override bool HasSmartInteract(int i, int j, SmartInteractScanSettings settings) => true; @@ -41,12 +41,12 @@ namespace CalamityMod.Tiles.FurniturePlaguedPlate public override void MouseOverFar(int i, int j) { - CalamityUtils.DresserMouseFar(ContainerName.GetDefault()); + CalamityUtils.DresserMouseFar(ContainerName.GetDefault()); } public override void MouseOver(int i, int j) { - CalamityUtils.DresserMouseOver(ContainerName.GetDefault()); + CalamityUtils.DresserMouseOver(ContainerName.GetDefault()); } public override void KillMultiTile(int i, int j, int frameX, int frameY) diff --git a/Tiles/FurniturePlaguedPlate/PlaguedPlateLamp.cs b/Tiles/FurniturePlaguedPlate/PlaguedPlateLamp.cs index 1ed50c20e7..ec7e7bab27 100644 --- a/Tiles/FurniturePlaguedPlate/PlaguedPlateLamp.cs +++ b/Tiles/FurniturePlaguedPlate/PlaguedPlateLamp.cs @@ -31,7 +31,7 @@ namespace CalamityMod.Tiles.FurniturePlaguedPlate public override void KillMultiTile(int i, int j, int frameX, int frameY) { - Item.NewItem(new EntitySource_TileBreak(i, j), i * 16, j * 16, 16, 32, ModContent.ItemType()); + Item.NewItem(new EntitySource_TileBreak(i, j), i * 16, j * 16, 16, 32, ModContent.ItemType()); } public override void ModifyLight(int i, int j, ref float r, ref float g, ref float b) diff --git a/Tiles/FurniturePlaguedPlate/PlaguedPlateLantern.cs b/Tiles/FurniturePlaguedPlate/PlaguedPlateLantern.cs index cc3abd52a4..748f4b6a7e 100644 --- a/Tiles/FurniturePlaguedPlate/PlaguedPlateLantern.cs +++ b/Tiles/FurniturePlaguedPlate/PlaguedPlateLantern.cs @@ -31,7 +31,7 @@ namespace CalamityMod.Tiles.FurniturePlaguedPlate public override void KillMultiTile(int i, int j, int frameX, int frameY) { - Item.NewItem(new EntitySource_TileBreak(i, j), i * 16, j * 16, 16, 32, ModContent.ItemType()); + Item.NewItem(new EntitySource_TileBreak(i, j), i * 16, j * 16, 16, 32, ModContent.ItemType()); } public override void ModifyLight(int i, int j, ref float r, ref float g, ref float b) diff --git a/Tiles/FurniturePlaguedPlate/PlaguedPlatePiano.cs b/Tiles/FurniturePlaguedPlate/PlaguedPlatePiano.cs index 22359cbcf8..b4c8042d57 100644 --- a/Tiles/FurniturePlaguedPlate/PlaguedPlatePiano.cs +++ b/Tiles/FurniturePlaguedPlate/PlaguedPlatePiano.cs @@ -27,7 +27,7 @@ namespace CalamityMod.Tiles.FurniturePlaguedPlate public override void KillMultiTile(int i, int j, int frameX, int frameY) { - Item.NewItem(new EntitySource_TileBreak(i, j), i * 16, j * 16, 16, 32, ModContent.ItemType()); + Item.NewItem(new EntitySource_TileBreak(i, j), i * 16, j * 16, 16, 32, ModContent.ItemType()); } } } diff --git a/Tiles/FurniturePlaguedPlate/PlaguedPlatePlatform.cs b/Tiles/FurniturePlaguedPlate/PlaguedPlatePlatform.cs index 9d98e68471..95ea782903 100644 --- a/Tiles/FurniturePlaguedPlate/PlaguedPlatePlatform.cs +++ b/Tiles/FurniturePlaguedPlate/PlaguedPlatePlatform.cs @@ -11,7 +11,7 @@ namespace CalamityMod.Tiles.FurniturePlaguedPlate { this.SetUpPlatform(true); AddMapEntry(new Color(191, 142, 111)); - ItemDrop = ModContent.ItemType(); + ItemDrop = ModContent.ItemType(); TileID.Sets.DisableSmartCursor[Type] = true; AdjTiles = new int[] { TileID.Platforms }; } diff --git a/Tiles/FurniturePlaguedPlate/PlaguedPlateSink.cs b/Tiles/FurniturePlaguedPlate/PlaguedPlateSink.cs index 049a69f471..f30460cfa2 100644 --- a/Tiles/FurniturePlaguedPlate/PlaguedPlateSink.cs +++ b/Tiles/FurniturePlaguedPlate/PlaguedPlateSink.cs @@ -29,7 +29,7 @@ namespace CalamityMod.Tiles.FurniturePlaguedPlate public override void KillMultiTile(int i, int j, int frameX, int frameY) { - Item.NewItem(new EntitySource_TileBreak(i, j), i * 16, j * 16, 16, 32, ModContent.ItemType()); + Item.NewItem(new EntitySource_TileBreak(i, j), i * 16, j * 16, 16, 32, ModContent.ItemType()); } } } diff --git a/Tiles/FurniturePlaguedPlate/PlaguedPlateSofa.cs b/Tiles/FurniturePlaguedPlate/PlaguedPlateSofa.cs index 4d2972e199..3bc866a571 100644 --- a/Tiles/FurniturePlaguedPlate/PlaguedPlateSofa.cs +++ b/Tiles/FurniturePlaguedPlate/PlaguedPlateSofa.cs @@ -27,7 +27,7 @@ namespace CalamityMod.Tiles.FurniturePlaguedPlate public override void KillMultiTile(int i, int j, int frameX, int frameY) { - Item.NewItem(new EntitySource_TileBreak(i, j), i * 16, j * 16, 16, 32, ModContent.ItemType()); + Item.NewItem(new EntitySource_TileBreak(i, j), i * 16, j * 16, 16, 32, ModContent.ItemType()); } } } diff --git a/Tiles/FurniturePlaguedPlate/PlaguedPlateTable.cs b/Tiles/FurniturePlaguedPlate/PlaguedPlateTable.cs index f7a1335ac0..72a924fe61 100644 --- a/Tiles/FurniturePlaguedPlate/PlaguedPlateTable.cs +++ b/Tiles/FurniturePlaguedPlate/PlaguedPlateTable.cs @@ -29,7 +29,7 @@ namespace CalamityMod.Tiles.FurniturePlaguedPlate public override void KillMultiTile(int i, int j, int frameX, int frameY) { - Item.NewItem(new EntitySource_TileBreak(i, j), i * 16, j * 16, 16, 32, ModContent.ItemType()); + Item.NewItem(new EntitySource_TileBreak(i, j), i * 16, j * 16, 16, 32, ModContent.ItemType()); } } } diff --git a/Tiles/FurniturePlaguedPlate/PlaguedPlateWorkbench.cs b/Tiles/FurniturePlaguedPlate/PlaguedPlateWorkbench.cs index 1f57e127b5..c34b42a493 100644 --- a/Tiles/FurniturePlaguedPlate/PlaguedPlateWorkbench.cs +++ b/Tiles/FurniturePlaguedPlate/PlaguedPlateWorkbench.cs @@ -31,7 +31,7 @@ namespace CalamityMod.Tiles.FurniturePlaguedPlate public override void KillMultiTile(int i, int j, int frameX, int frameY) { - Item.NewItem(new EntitySource_TileBreak(i, j), i * 16, j * 16, 32, 16, ModContent.ItemType()); + Item.NewItem(new EntitySource_TileBreak(i, j), i * 16, j * 16, 32, 16, ModContent.ItemType()); } } }