diff --git a/CalPlayer/CalamityPlayer.cs b/CalPlayer/CalamityPlayer.cs index 072b2e0681..283cb5b6bb 100644 --- a/CalPlayer/CalamityPlayer.cs +++ b/CalPlayer/CalamityPlayer.cs @@ -80,6 +80,7 @@ using Terraria.Net; using static Terraria.Main; using static Terraria.ModLoader.ModContent; using CalamityMod.NPCs.Ravager; +using CalamityMod.Items.Tools; namespace CalamityMod.CalPlayer { diff --git a/Items/CalamityGlobalItem.cs b/Items/CalamityGlobalItem.cs index e68e7c24ac..a4320200ec 100644 --- a/Items/CalamityGlobalItem.cs +++ b/Items/CalamityGlobalItem.cs @@ -18,6 +18,7 @@ using CalamityMod.Items.Armor.Tarragon; using CalamityMod.Items.Armor.Victide; using CalamityMod.Items.Potions; using CalamityMod.Items.Potions.Alcohol; +using CalamityMod.Items.Tools; using CalamityMod.Items.VanillaArmorChanges; using CalamityMod.Items.Weapons.Magic; using CalamityMod.Items.Weapons.Melee; diff --git a/Items/Fishing/SulphurCatches/HydrothermalCrate.cs b/Items/Fishing/SulphurCatches/HydrothermalCrate.cs index 8cc50d26bd..eb343ed2e4 100644 --- a/Items/Fishing/SulphurCatches/HydrothermalCrate.cs +++ b/Items/Fishing/SulphurCatches/HydrothermalCrate.cs @@ -2,6 +2,7 @@ using CalamityMod.Items.Pets; using CalamityMod.Items.Placeables.Furniture; using CalamityMod.Items.Tools.ClimateChange; +using CalamityMod.Items.Tools.SpawnBlocker; using CalamityMod.Items.Weapons.Magic; using CalamityMod.Items.Weapons.Melee; using CalamityMod.Items.Weapons.Ranged; diff --git a/Items/Fishing/SulphurCatches/SulphurousCrate.cs b/Items/Fishing/SulphurCatches/SulphurousCrate.cs index 91a129cab5..e50e4940d0 100644 --- a/Items/Fishing/SulphurCatches/SulphurousCrate.cs +++ b/Items/Fishing/SulphurCatches/SulphurousCrate.cs @@ -1,5 +1,6 @@ using CalamityMod.Items.Accessories; using CalamityMod.Items.Placeables.Furniture; +using CalamityMod.Items.Tools.SpawnBlocker; using CalamityMod.Items.Weapons.Summon; using CalamityMod.Tiles.Abyss; using Terraria; diff --git a/Items/Rock.cs b/Items/Placeables/Rock.cs similarity index 84% rename from Items/Rock.cs rename to Items/Placeables/Rock.cs index 30bf1937ab..be73346308 100644 --- a/Items/Rock.cs +++ b/Items/Placeables/Rock.cs @@ -4,11 +4,11 @@ using Terraria; using Terraria.ID; using Terraria.ModLoader; -namespace CalamityMod.Items +namespace CalamityMod.Items.Placeables { public class Rock : ModItem, ILocalizedModType { - public new string LocalizationCategory => "Items.Misc"; + public new string LocalizationCategory => "Items.Placeables"; public override void SetStaticDefaults() { Item.ResearchUnlockCount = 0; diff --git a/Items/Rock.png b/Items/Placeables/Rock.png similarity index 100% rename from Items/Rock.png rename to Items/Placeables/Rock.png diff --git a/Items/BrimstoneLocus.cs b/Items/Tools/BrimstoneLocus.cs similarity index 89% rename from Items/BrimstoneLocus.cs rename to Items/Tools/BrimstoneLocus.cs index 5572578b6c..19e3fab570 100644 --- a/Items/BrimstoneLocus.cs +++ b/Items/Tools/BrimstoneLocus.cs @@ -3,11 +3,11 @@ using CalamityMod.Rarities; using Terraria.ID; using Terraria.ModLoader; -namespace CalamityMod.Items +namespace CalamityMod.Items.Tools { public class BrimstoneLocus : ModItem, ILocalizedModType { - public new string LocalizationCategory => "Items.Misc"; + public new string LocalizationCategory => "Items.Tools"; public override void SetDefaults() { Item.width = 20; diff --git a/Items/BrimstoneLocus.png b/Items/Tools/BrimstoneLocus.png similarity index 100% rename from Items/BrimstoneLocus.png rename to Items/Tools/BrimstoneLocus.png diff --git a/Items/DisgustingMeat.cs b/Items/Tools/DisgustingMeat.cs similarity index 97% rename from Items/DisgustingMeat.cs rename to Items/Tools/DisgustingMeat.cs index 8c4cae1c3c..38205ad2ed 100644 --- a/Items/DisgustingMeat.cs +++ b/Items/Tools/DisgustingMeat.cs @@ -3,11 +3,11 @@ using Terraria; using Terraria.ID; using Terraria.ModLoader; -namespace CalamityMod.Items +namespace CalamityMod.Items.Tools { public class DisgustingMeat : ModItem, ILocalizedModType { - public new string LocalizationCategory => "Items.Misc"; + public new string LocalizationCategory => "Items.Tools"; public override void SetDefaults() { diff --git a/Items/DisgustingMeat.png b/Items/Tools/DisgustingMeat.png similarity index 100% rename from Items/DisgustingMeat.png rename to Items/Tools/DisgustingMeat.png diff --git a/Items/MomentumCapacitor.cs b/Items/Tools/MomentumCapacitor.cs similarity index 95% rename from Items/MomentumCapacitor.cs rename to Items/Tools/MomentumCapacitor.cs index 1af5fc77ba..e3be6272b5 100644 --- a/Items/MomentumCapacitor.cs +++ b/Items/Tools/MomentumCapacitor.cs @@ -4,11 +4,11 @@ using Terraria; using Terraria.ID; using Terraria.ModLoader; -namespace CalamityMod.Items +namespace CalamityMod.Items.Tools { public class MomentumCapacitor : ModItem, ILocalizedModType { - public new string LocalizationCategory => "Items.Misc"; + public new string LocalizationCategory => "Items.Tools"; internal const float MomentumChargePerFrame = 0.02f; internal const float MaxMomentumCharge = 5.8f; // +580% movemnt speed internal const int TotalFadeTime = 16; diff --git a/Items/MomentumCapacitor.png b/Items/Tools/MomentumCapacitor.png similarity index 100% rename from Items/MomentumCapacitor.png rename to Items/Tools/MomentumCapacitor.png diff --git a/Items/NormalityRelocator.cs b/Items/Tools/NormalityRelocator.cs similarity index 94% rename from Items/NormalityRelocator.cs rename to Items/Tools/NormalityRelocator.cs index 65138dcd96..0e33d5589c 100644 --- a/Items/NormalityRelocator.cs +++ b/Items/Tools/NormalityRelocator.cs @@ -8,11 +8,11 @@ using Terraria.DataStructures; using Terraria.ID; using Terraria.ModLoader; -namespace CalamityMod.Items +namespace CalamityMod.Items.Tools { public class NormalityRelocator : ModItem, ILocalizedModType { - public new string LocalizationCategory => "Items.Misc"; + public new string LocalizationCategory => "Items.Tools"; public static readonly SoundStyle TeleportSound = new("CalamityMod/Sounds/Item/NormalityRelocator", 3); public override void SetStaticDefaults() { diff --git a/Items/NormalityRelocator.png b/Items/Tools/NormalityRelocator.png similarity index 100% rename from Items/NormalityRelocator.png rename to Items/Tools/NormalityRelocator.png diff --git a/Items/RelicOfConvergence.cs b/Items/Tools/RelicOfConvergence.cs similarity index 94% rename from Items/RelicOfConvergence.cs rename to Items/Tools/RelicOfConvergence.cs index d441f610cc..a5b882c7fe 100644 --- a/Items/RelicOfConvergence.cs +++ b/Items/Tools/RelicOfConvergence.cs @@ -4,11 +4,11 @@ using Terraria.ID; using Terraria.Localization; using Terraria.ModLoader; -namespace CalamityMod.Items +namespace CalamityMod.Items.Tools { public class RelicOfConvergence : ModItem, ILocalizedModType { - public new string LocalizationCategory => "Items.Misc"; + public new string LocalizationCategory => "Items.Tools"; public static int HealValue = 60; public override LocalizedText Tooltip => base.Tooltip.WithFormatArgs(HealValue); diff --git a/Items/RelicOfConvergence.png b/Items/Tools/RelicOfConvergence.png similarity index 100% rename from Items/RelicOfConvergence.png rename to Items/Tools/RelicOfConvergence.png diff --git a/Items/RelicOfResilience.cs b/Items/Tools/RelicOfResilience.cs similarity index 88% rename from Items/RelicOfResilience.cs rename to Items/Tools/RelicOfResilience.cs index 4f801d8f58..af20a97f04 100644 --- a/Items/RelicOfResilience.cs +++ b/Items/Tools/RelicOfResilience.cs @@ -2,11 +2,11 @@ using Terraria.ID; using Terraria.ModLoader; -namespace CalamityMod.Items +namespace CalamityMod.Items.Tools { public class RelicOfResilience : ModItem, ILocalizedModType { - public new string LocalizationCategory => "Items.Misc"; + public new string LocalizationCategory => "Items.Tools"; public override void SetDefaults() { Item.width = 40; diff --git a/Items/RelicOfResilience.png b/Items/Tools/RelicOfResilience.png similarity index 100% rename from Items/RelicOfResilience.png rename to Items/Tools/RelicOfResilience.png diff --git a/Items/AntiCystOintment.cs b/Items/Tools/SpawnBlocker/AntiCystOintment.cs similarity index 97% rename from Items/AntiCystOintment.cs rename to Items/Tools/SpawnBlocker/AntiCystOintment.cs index 9b5ba62151..08abe17ffe 100644 --- a/Items/AntiCystOintment.cs +++ b/Items/Tools/SpawnBlocker/AntiCystOintment.cs @@ -6,11 +6,11 @@ using Terraria.ModLoader; using Terraria.ModLoader.IO; using static CalamityMod.CalamityUtils; -namespace CalamityMod.Items +namespace CalamityMod.Items.Tools.SpawnBlocker { public class AntiCystOintment : ModItem, ILocalizedModType { - public new string LocalizationCategory => "Items.Misc"; + public new string LocalizationCategory => "Items.Tools"; public override void SetDefaults() { Item.width = 44; diff --git a/Items/AntiCystOintment.png b/Items/Tools/SpawnBlocker/AntiCystOintment.png similarity index 100% rename from Items/AntiCystOintment.png rename to Items/Tools/SpawnBlocker/AntiCystOintment.png diff --git a/Items/AntiTumorOintment.cs b/Items/Tools/SpawnBlocker/AntiTumorOintment.cs similarity index 97% rename from Items/AntiTumorOintment.cs rename to Items/Tools/SpawnBlocker/AntiTumorOintment.cs index 5166880a05..564dc8d4c3 100644 --- a/Items/AntiTumorOintment.cs +++ b/Items/Tools/SpawnBlocker/AntiTumorOintment.cs @@ -6,11 +6,11 @@ using Terraria.ModLoader; using Terraria.ModLoader.IO; using static CalamityMod.CalamityUtils; -namespace CalamityMod.Items +namespace CalamityMod.Items.Tools.SpawnBlocker { public class AntiTumorOintment : ModItem, ILocalizedModType { - public new string LocalizationCategory => "Items.Misc"; + public new string LocalizationCategory => "Items.Tools"; public override void SetDefaults() { Item.width = 44; diff --git a/Items/AntiTumorOintment.png b/Items/Tools/SpawnBlocker/AntiTumorOintment.png similarity index 100% rename from Items/AntiTumorOintment.png rename to Items/Tools/SpawnBlocker/AntiTumorOintment.png diff --git a/Items/BleachBall.cs b/Items/Tools/SpawnBlocker/BleachBall.cs similarity index 97% rename from Items/BleachBall.cs rename to Items/Tools/SpawnBlocker/BleachBall.cs index 155b348a11..c2c6df1948 100644 --- a/Items/BleachBall.cs +++ b/Items/Tools/SpawnBlocker/BleachBall.cs @@ -7,11 +7,11 @@ using Terraria.ModLoader; using Terraria.ModLoader.IO; using static CalamityMod.CalamityUtils; -namespace CalamityMod.Items +namespace CalamityMod.Items.Tools.SpawnBlocker { public class BleachBall : ModItem, ILocalizedModType { - public new string LocalizationCategory => "Items.Misc"; + public new string LocalizationCategory => "Items.Tools"; public override void SetDefaults() { Item.width = 38; diff --git a/Items/BleachBall.png b/Items/Tools/SpawnBlocker/BleachBall.png similarity index 100% rename from Items/BleachBall.png rename to Items/Tools/SpawnBlocker/BleachBall.png diff --git a/Items/BrokenWaterFilter.cs b/Items/Tools/SpawnBlocker/BrokenWaterFilter.cs similarity index 97% rename from Items/BrokenWaterFilter.cs rename to Items/Tools/SpawnBlocker/BrokenWaterFilter.cs index 1fa6bf51d0..9740d03c89 100644 --- a/Items/BrokenWaterFilter.cs +++ b/Items/Tools/SpawnBlocker/BrokenWaterFilter.cs @@ -6,11 +6,11 @@ using Terraria.ModLoader; using Terraria.ModLoader.IO; using static CalamityMod.CalamityUtils; -namespace CalamityMod.Items +namespace CalamityMod.Items.Tools.SpawnBlocker { public class BrokenWaterFilter : ModItem, ILocalizedModType { - public new string LocalizationCategory => "Items.Misc"; + public new string LocalizationCategory => "Items.Tools"; public override void SetDefaults() { Item.width = 32; diff --git a/Items/BrokenWaterFilter.png b/Items/Tools/SpawnBlocker/BrokenWaterFilter.png similarity index 100% rename from Items/BrokenWaterFilter.png rename to Items/Tools/SpawnBlocker/BrokenWaterFilter.png diff --git a/Items/SirenproofEarMuffs.cs b/Items/Tools/SpawnBlocker/SirenproofEarMuffs.cs similarity index 97% rename from Items/SirenproofEarMuffs.cs rename to Items/Tools/SpawnBlocker/SirenproofEarMuffs.cs index 6763eb7aff..29c1e1e10d 100644 --- a/Items/SirenproofEarMuffs.cs +++ b/Items/Tools/SpawnBlocker/SirenproofEarMuffs.cs @@ -6,11 +6,11 @@ using Terraria.ModLoader; using Terraria.ModLoader.IO; using static CalamityMod.CalamityUtils; -namespace CalamityMod.Items +namespace CalamityMod.Items.Tools.SpawnBlocker { public class SirenproofEarMuffs : ModItem, ILocalizedModType { - public new string LocalizationCategory => "Items.Misc"; + public new string LocalizationCategory => "Items.Tools"; public override void SetDefaults() { Item.width = 44; diff --git a/Items/SirenproofEarMuffs.png b/Items/Tools/SpawnBlocker/SirenproofEarMuffs.png similarity index 100% rename from Items/SirenproofEarMuffs.png rename to Items/Tools/SpawnBlocker/SirenproofEarMuffs.png diff --git a/Items/VoodooDemonVoodooDoll.cs b/Items/Tools/SpawnBlocker/VoodooDemonVoodooDoll.cs similarity index 97% rename from Items/VoodooDemonVoodooDoll.cs rename to Items/Tools/SpawnBlocker/VoodooDemonVoodooDoll.cs index 236dd89600..dd57546bb3 100644 --- a/Items/VoodooDemonVoodooDoll.cs +++ b/Items/Tools/SpawnBlocker/VoodooDemonVoodooDoll.cs @@ -6,11 +6,11 @@ using Terraria.ModLoader; using Terraria.ModLoader.IO; using static CalamityMod.CalamityUtils; -namespace CalamityMod.Items +namespace CalamityMod.Items.Tools.SpawnBlocker { public class VoodooDemonVoodooDoll : ModItem, ILocalizedModType { - public new string LocalizationCategory => "Items.Misc"; + public new string LocalizationCategory => "Items.Tools"; public override void SetDefaults() { diff --git a/Items/VoodooDemonVoodooDoll.png b/Items/Tools/SpawnBlocker/VoodooDemonVoodooDoll.png similarity index 100% rename from Items/VoodooDemonVoodooDoll.png rename to Items/Tools/SpawnBlocker/VoodooDemonVoodooDoll.png diff --git a/Items/SulphurousSeaWorldSideChanger.cs b/Items/Tools/SulphurousSeaWorldSideChanger.cs similarity index 93% rename from Items/SulphurousSeaWorldSideChanger.cs rename to Items/Tools/SulphurousSeaWorldSideChanger.cs index 9a7eaaca0c..8f173a2f35 100644 --- a/Items/SulphurousSeaWorldSideChanger.cs +++ b/Items/Tools/SulphurousSeaWorldSideChanger.cs @@ -5,11 +5,11 @@ using Terraria; using Terraria.ID; using Terraria.ModLoader; -namespace CalamityMod.Items +namespace CalamityMod.Items.Tools { public class SulphurousSeaWorldSideChanger : ModItem, ILocalizedModType { - public new string LocalizationCategory => "Items.Misc"; + public new string LocalizationCategory => "Items.Tools"; public override void SetStaticDefaults() { Item.ResearchUnlockCount = 0; diff --git a/Items/SulphurousSeaWorldSideChanger.png b/Items/Tools/SulphurousSeaWorldSideChanger.png similarity index 100% rename from Items/SulphurousSeaWorldSideChanger.png rename to Items/Tools/SulphurousSeaWorldSideChanger.png diff --git a/Items/SuperDummy.cs b/Items/Tools/SuperDummy.cs similarity index 97% rename from Items/SuperDummy.cs rename to Items/Tools/SuperDummy.cs index 47958aa978..dd380e9b03 100644 --- a/Items/SuperDummy.cs +++ b/Items/Tools/SuperDummy.cs @@ -5,11 +5,11 @@ using Terraria.DataStructures; using Terraria.ID; using Terraria.ModLoader; -namespace CalamityMod.Items +namespace CalamityMod.Items.Tools { public class SuperDummy : ModItem, ILocalizedModType { - public new string LocalizationCategory => "Items.Misc"; + public new string LocalizationCategory => "Items.Tools"; public override void SetDefaults() { Item.width = 20; diff --git a/Items/SuperDummy.png b/Items/Tools/SuperDummy.png similarity index 100% rename from Items/SuperDummy.png rename to Items/Tools/SuperDummy.png diff --git a/Items/ColdheartIcicle.cs b/Items/Weapons/Typeless/ColdheartIcicle.cs similarity index 97% rename from Items/ColdheartIcicle.cs rename to Items/Weapons/Typeless/ColdheartIcicle.cs index 5e8fd0c9e4..8d09e32d98 100644 --- a/Items/ColdheartIcicle.cs +++ b/Items/Weapons/Typeless/ColdheartIcicle.cs @@ -6,12 +6,12 @@ using Terraria; using Terraria.Audio; using Terraria.ModLoader; -namespace CalamityMod.Items +namespace CalamityMod.Items.Weapons.Typeless { [LegacyName("AlicornonaStick")] public class ColdheartIcicle : ModItem, ILocalizedModType { - public new string LocalizationCategory => "Items.Misc"; + public new string LocalizationCategory => "Items.Weapons.Typeless"; public override void SetDefaults() { Item.width = 42; diff --git a/Items/ColdheartIcicle.png b/Items/Weapons/Typeless/ColdheartIcicle.png similarity index 100% rename from Items/ColdheartIcicle.png rename to Items/Weapons/Typeless/ColdheartIcicle.png diff --git a/Localization/en-US/Mods.CalamityMod.Items.Misc.hjson b/Localization/en-US/Mods.CalamityMod.Items.Misc.hjson index a62ad69389..18c738eb26 100644 --- a/Localization/en-US/Mods.CalamityMod.Items.Misc.hjson +++ b/Localization/en-US/Mods.CalamityMod.Items.Misc.hjson @@ -318,67 +318,6 @@ TaintedCloudberry: { // Spawn Blockers SpawnBlockersOn: Spawns are currently disabled SpawnBlockersOff: Spawns are currently enabled - -AntiCystOintment: { - DisplayName: Anti-Cyst Ointment - Tooltip: - ''' - Toggle this item to prevent hive cysts from spawning near you - Press to toggle - [STATE] - ''' -} - -AntiTumorOintment: { - DisplayName: Anti-Tumor Ointment - Tooltip: - ''' - Toggle this item to prevent hive tumors from spawning near you - Press to toggle - [STATE] - ''' -} - -BleachBall: { - DisplayName: Bleach Ball - Tooltip: - ''' - Toggle this item to prevent Aquatic Scourge from spawning - Press to toggle - [STATE] - ''' -} - -BrokenWaterFilter: { - DisplayName: Broken Water Filter - Tooltip: - ''' - Toggle this item to prevent Acid Rain from occurring - Press to toggle - [STATE] - ''' -} - -SirenproofEarMuffs: { - DisplayName: Sirenproof Earmuffs - Tooltip: - ''' - Toggle this item to prevent Anahita from spawning - Press to toggle - [STATE] - ''' -} - -VoodooDemonVoodooDoll: { - DisplayName: Voodoo Demon Voodoo Doll - Tooltip: - ''' - Toggle this item to prevent voodoo demons from spawning near you - Press to toggle - [STATE] - ''' -} - // Uncategorized ExhumeShortTooltip: ''' @@ -390,122 +329,3 @@ LegendaryShortTooltip: [c/FF6F00:Tales of legends past radiate around you...] [c/BABABA:Hold Shift to listen closer] ''' - -BrimstoneLocus: { - DisplayName: Brimstone Locus - Tooltip: - ''' - [c/C61B40:'Not only can I enhance your equipment with potent magic,] - [c/C61B40:I can also transcend some of your weaponry to entirely new forms.] - [c/C61B40:Such items are revealed while this item is in your inventory.'] - ''' -} - -ColdheartIcicle: { - DisplayName: Coldheart Icicle - Tooltip: "'N(ice) work'" -} - -DisgustingMeat: { - DisplayName: Disgusting Meat - Tooltip: - ''' - Debug item, spawn and use to remove permanent upgrades - will remove health and mana upgrades, use with no Calamity upgrades to remove vanilla upgrades - will remove rage and adrenaline upgrades, plus other miscellaneous boosters - Removed boosters will be vomited out of you as items - ''' -} - -MomentumCapacitor: { - DisplayName: Momentum Capacitor - GFBName: Burden Breaker - Tooltip: "[GFB]" - TooltipNormal: - ''' - While using the Momentum Capacitor, - your top speed will continuously and uncontrollably increase - This effect only works if there are no bosses alive - ''' - TooltipGFB: - ''' - The good time - Go fast - WARNING: May have disastrous results - Only works if there are no bosses alive - ''' -} - -NormalityRelocator: { - DisplayName: Normality Relocator - Tooltip: - ''' - Press [KEY] to teleport to the position of the mouse - Fall speed is doubled for 0.5 seconds after teleporting - Teleportation is disabled while Chaos State is active - Works while in the inventory - 'I'll be there in the blink of an eye' - ''' -} - -RelicOfConvergence: { - DisplayName: Relic of Convergence - Tooltip: - ''' - Creates a profaned crystal at the cursor that channels a healing aura before shattering - All players within the area of effect are healed for {0} HP - Allies gain 50% extra healing - Holding out the crystal heavily reduces the damage of all summons - [c/FF8C00:Never once had I known kindness. Neither my peers or family had a shred of compassion for me.] - [c/FF8C00:I wished for someone I could confide. A presence that cleansed me of anxiety.] - [c/FF8C00:And when I saw Her radiant smile when we met, I knew I had finally found it.] - ''' -} - -RelicOfResilience: { - DisplayName: Relic of Resilience - Tooltip: - ''' - Holding this item creates orbiting rock shards around you and nearby allies - While they orbit you, your minimum defense is set to 150 and minimum damage reduction to 10% - Taking a hit or pressing will pull in the shards, then blast them outward, crippling hit enemies - This effect has a 10 second cooldown after taking a hit - Holding out the shield heavily reduces the damage of all summons while rocks are active, only for you - [c/FF8C00:I saw a massacre and did nothing to stop it. My vow broken, I was shunned.] - [c/FF8C00:My will to forge ahead vanished. My final wish was simply to not die alone.] - [c/FF8C00:But when She put faith in my shield, I would never again let it falter.] - ''' -} - -Rock: { - DisplayName: Rock - Tooltip: - ''' - When the battle was finally over, the dust having just began to settle - Where even the stone refused the course of time, there sat a monk - Who dared to question history and stare into fate - 'What is the true price of the past being ever eternal? - Why must our future forever haunt us?' - ''' -} - -SulphurousSeaWorldSideChanger: { - DisplayName: Sulphurous Sea World Side Changer - Tooltip: - ''' - Spawn and use this if your regular ocean counts as a Sulphurous Sea - This will also fix the Abyss if it is broken - ''' -} - -SuperDummy: { - DisplayName: Super Dummy - Tooltip: - ''' - Creates a super dummy - Regenerates 1 million life per second - Will not die when taking damage over time from debuffs - to kill all super dummies - Can only spawn 50 super dummies at once - ''' -} diff --git a/Localization/en-US/Mods.CalamityMod.Items.Placeables.hjson b/Localization/en-US/Mods.CalamityMod.Items.Placeables.hjson index 6295eba031..80067091a8 100644 --- a/Localization/en-US/Mods.CalamityMod.Items.Placeables.hjson +++ b/Localization/en-US/Mods.CalamityMod.Items.Placeables.hjson @@ -401,6 +401,11 @@ ReinforcedCrateItem: { Tooltip: "" } +Rock: { + DisplayName: Rock + Tooltip: "" +} + RustedPipes: { DisplayName: Rusted Pipes Tooltip: "" diff --git a/Localization/en-US/Mods.CalamityMod.Items.Tools.hjson b/Localization/en-US/Mods.CalamityMod.Items.Tools.hjson index 02ba812d15..3aa5e40fbb 100644 --- a/Localization/en-US/Mods.CalamityMod.Items.Tools.hjson +++ b/Localization/en-US/Mods.CalamityMod.Items.Tools.hjson @@ -23,6 +23,26 @@ AerialHamaxe: { Tooltip: "" } +AntiCystOintment: { + DisplayName: Anti-Cyst Ointment + Tooltip: + ''' + Toggle this item to prevent hive cysts from spawning near you + Press to toggle + [STATE] + ''' +} + +AntiTumorOintment: { + DisplayName: Anti-Tumor Ointment + Tooltip: + ''' + Toggle this item to prevent hive tumors from spawning near you + Press to toggle + [STATE] + ''' +} + AridArtifact: { DisplayName: Arid Artifact Tooltip: @@ -87,6 +107,16 @@ BerserkerWaraxe: { Tooltip: "" } +BleachBall: { + DisplayName: Bleach Ball + Tooltip: + ''' + Toggle this item to prevent Aquatic Scourge from spawning + Press to toggle + [STATE] + ''' +} + BlossomPickaxe: { DisplayName: Blossom Pickaxe Tooltip: Can mine Auric Ore @@ -101,6 +131,26 @@ BobbitHook: { ''' } +BrimstoneLocus: { + DisplayName: Brimstone Locus + Tooltip: + ''' + [c/C61B40:'Not only can I enhance your equipment with potent magic,] + [c/C61B40:I can also transcend some of your weaponry to entirely new forms.] + [c/C61B40:Such items are revealed while this item is in your inventory.'] + ''' +} + +BrokenWaterFilter: { + DisplayName: Broken Water Filter + Tooltip: + ''' + Toggle this item to prevent Acid Rain from occurring + Press to toggle + [STATE] + ''' +} + Cosmolight: { DisplayName: Cosmolight Tooltip: @@ -121,6 +171,17 @@ CrystylCrusher: { ''' } +DisgustingMeat: { + DisplayName: Disgusting Meat + Tooltip: + ''' + Debug item, spawn and use to remove permanent upgrades + will remove health and mana upgrades, use with no Calamity upgrades to remove vanilla upgrades + will remove rage and adrenaline upgrades, plus other miscellaneous boosters + Removed boosters will be vomited out of you as items + ''' +} + DriftwoodAxe: { DisplayName: Driftwood Axe Tooltip: Improved efficiency while you are wet @@ -192,6 +253,25 @@ MarniteObliterator: { ''' } +MomentumCapacitor: { + DisplayName: Momentum Capacitor + GFBName: Burden Breaker + Tooltip: "[GFB]" + TooltipNormal: + ''' + While using the Momentum Capacitor, + your top speed will continuously and uncontrollably increase + This effect only works if there are no bosses alive + ''' + TooltipGFB: + ''' + The good time + Go fast + WARNING: May have disastrous results + Only works if there are no bosses alive + ''' +} + MonolithAxe: { DisplayName: Monolith Axe Tooltip: "" @@ -207,11 +287,52 @@ MonolithPickaxe: { Tooltip: "" } +NormalityRelocator: { + DisplayName: Normality Relocator + Tooltip: + ''' + Press [KEY] to teleport to the position of the mouse + Fall speed is doubled for 0.5 seconds after teleporting + Teleportation is disabled while Chaos State is active + Works while in the inventory + 'I'll be there in the blink of an eye' + ''' +} + ReefclawHamaxe: { DisplayName: Reefclaw Hamaxe Tooltip: "" } +RelicOfConvergence: { + DisplayName: Relic of Convergence + Tooltip: + ''' + Creates a profaned crystal at the cursor that channels a healing aura before shattering + All players within the area of effect are healed for {0} HP + Allies gain 50% extra healing + Holding out the crystal heavily reduces the damage of all summons + [c/FF8C00:Never once had I known kindness. Neither my peers or family had a shred of compassion for me.] + [c/FF8C00:I wished for someone I could confide. A presence that cleansed me of anxiety.] + [c/FF8C00:And when I saw Her radiant smile when we met, I knew I had finally found it.] + ''' +} + +RelicOfResilience: { + DisplayName: Relic of Resilience + Tooltip: + ''' + Holding this item creates orbiting rock shards around you and nearby allies + While they orbit you, your minimum defense is set to 150 and minimum damage reduction to 10% + Taking a hit or pressing will pull in the shards, then blast them outward, crippling hit enemies + This effect has a 10 second cooldown after taking a hit + Holding out the shield heavily reduces the damage of all summons while rocks are active, only for you + [c/FF8C00:I saw a massacre and did nothing to stop it. My vow broken, I was shunned.] + [c/FF8C00:My will to forge ahead vanished. My final wish was simply to not die alone.] + [c/FF8C00:But when She put faith in my shield, I would never again let it falter.] + ''' +} + SeismicHampick: { DisplayName: Seismic Hampick Tooltip: @@ -227,11 +348,42 @@ ShardlightPickaxe: { Tooltip: "" } +SirenproofEarMuffs: { + DisplayName: Sirenproof Earmuffs + Tooltip: + ''' + Toggle this item to prevent Anahita from spawning + Press to toggle + [STATE] + ''' +} + SkyfringePickaxe: { DisplayName: Skyfringe Pickaxe Tooltip: Able to mine Hellstone } +SulphurousSeaWorldSideChanger: { + DisplayName: Sulphurous Sea World Side Changer + Tooltip: + ''' + Spawn and use this if your regular ocean counts as a Sulphurous Sea + This will also fix the Abyss if it is broken + ''' +} + +SuperDummy: { + DisplayName: Super Dummy + Tooltip: + ''' + Creates a super dummy + Regenerates 1 million life per second + Will not die when taking damage over time from debuffs + to kill all super dummies + Can only spawn 50 super dummies at once + ''' +} + TectonicTruncator: { DisplayName: Tectonic Truncator Tooltip: "" @@ -247,6 +399,16 @@ TorrentialTear: { ''' } +VoodooDemonVoodooDoll: { + DisplayName: Voodoo Demon Voodoo Doll + Tooltip: + ''' + Toggle this item to prevent voodoo demons from spawning near you + Press to toggle + [STATE] + ''' +} + WulfrumDiggingTurtle: { DisplayName: Wulfrum Digging Turtle Tooltip: diff --git a/Localization/en-US/Mods.CalamityMod.Items.Weapons.Typeless.hjson b/Localization/en-US/Mods.CalamityMod.Items.Weapons.Typeless.hjson index 7e168d89a0..14d9cd14db 100644 --- a/Localization/en-US/Mods.CalamityMod.Items.Weapons.Typeless.hjson +++ b/Localization/en-US/Mods.CalamityMod.Items.Weapons.Typeless.hjson @@ -20,6 +20,11 @@ ClaretCannon: { ''' } +ColdheartIcicle: { + DisplayName: Coldheart Icicle + Tooltip: "'N(ice) work'" +} + EyeofMagnus: { DisplayName: Eye of Magnus Tooltip: diff --git a/ModSupport/WeakReferenceSupport.cs b/ModSupport/WeakReferenceSupport.cs index 55450e36ef..0f2bf130da 100644 --- a/ModSupport/WeakReferenceSupport.cs +++ b/ModSupport/WeakReferenceSupport.cs @@ -3,11 +3,11 @@ using System.Collections.Generic; using System.Linq; using CalamityMod.Buffs.Summon; using CalamityMod.Events; -using CalamityMod.Items; using CalamityMod.Items.Armor.Vanity; using CalamityMod.Items.LoreItems; using CalamityMod.Items.Materials; using CalamityMod.Items.Pets; +using CalamityMod.Items.Placeables; using CalamityMod.Items.Placeables.Furniture.BossRelics; using CalamityMod.Items.Placeables.Furniture.Paintings; using CalamityMod.Items.Placeables.Furniture.Trophies; diff --git a/NPCs/CalamityGlobalNPC.cs b/NPCs/CalamityGlobalNPC.cs index 56e32e5f9e..3b9fbabdaf 100644 --- a/NPCs/CalamityGlobalNPC.cs +++ b/NPCs/CalamityGlobalNPC.cs @@ -13,7 +13,6 @@ using CalamityMod.Dusts; using CalamityMod.Events; using CalamityMod.Graphics.Metaballs; using CalamityMod.Graphics.Renderers.CalamityRenderers; -using CalamityMod.Items; using CalamityMod.Items.Accessories; using CalamityMod.Items.Accessories.Vanity; using CalamityMod.Items.Armor.PlagueReaper; diff --git a/NPCs/CalamityGlobalNPCLoot.cs b/NPCs/CalamityGlobalNPCLoot.cs index 2fab5b9abd..44daaf0bc4 100644 --- a/NPCs/CalamityGlobalNPCLoot.cs +++ b/NPCs/CalamityGlobalNPCLoot.cs @@ -2,7 +2,6 @@ using System.Collections.Generic; using System.Threading; using CalamityMod.Events; -using CalamityMod.Items; using CalamityMod.Items.Accessories; using CalamityMod.Items.Accessories.Vanity; using CalamityMod.Items.Fishing; @@ -10,6 +9,7 @@ using CalamityMod.Items.LoreItems; using CalamityMod.Items.Materials; using CalamityMod.Items.PermanentBoosters; using CalamityMod.Items.Pets; +using CalamityMod.Items.Placeables; using CalamityMod.Items.Placeables.Furniture.Paintings; using CalamityMod.Items.Potions; using CalamityMod.Items.Potions.Alcohol; diff --git a/NPCs/ExoMechs/Ares/AresBody.cs b/NPCs/ExoMechs/Ares/AresBody.cs index 4ce85ae558..e766667521 100644 --- a/NPCs/ExoMechs/Ares/AresBody.cs +++ b/NPCs/ExoMechs/Ares/AresBody.cs @@ -3,7 +3,6 @@ using System.Collections.Generic; using System.IO; using CalamityMod.Events; using CalamityMod.Graphics.Primitives; -using CalamityMod.Items; using CalamityMod.Items.Armor.Vanity; using CalamityMod.Items.LoreItems; using CalamityMod.Items.Materials; @@ -12,6 +11,7 @@ using CalamityMod.Items.Placeables.Furniture.BossRelics; using CalamityMod.Items.Placeables.Furniture.Paintings; using CalamityMod.Items.Placeables.Furniture.Trophies; using CalamityMod.Items.Potions; +using CalamityMod.Items.Tools.SpawnBlocker; using CalamityMod.Items.TreasureBags; using CalamityMod.Items.Weapons.Melee; using CalamityMod.Items.Weapons.Ranged; diff --git a/NPCs/ProfanedGuardians/ProfanedGuardianDefender.cs b/NPCs/ProfanedGuardians/ProfanedGuardianDefender.cs index a92f968510..25c30d0215 100644 --- a/NPCs/ProfanedGuardians/ProfanedGuardianDefender.cs +++ b/NPCs/ProfanedGuardians/ProfanedGuardianDefender.cs @@ -3,7 +3,7 @@ using System.IO; using CalamityMod.Buffs.DamageOverTime; using CalamityMod.Dusts; using CalamityMod.Events; -using CalamityMod.Items; +using CalamityMod.Items.Tools; using CalamityMod.NPCs.Providence; using CalamityMod.Projectiles.Boss; using CalamityMod.Utilities.Daybreak; diff --git a/NPCs/ProfanedGuardians/ProfanedGuardianHealer.cs b/NPCs/ProfanedGuardians/ProfanedGuardianHealer.cs index 214cf3287f..5dd7eda2b6 100644 --- a/NPCs/ProfanedGuardians/ProfanedGuardianHealer.cs +++ b/NPCs/ProfanedGuardians/ProfanedGuardianHealer.cs @@ -2,7 +2,7 @@ using System.IO; using CalamityMod.Dusts; using CalamityMod.Events; -using CalamityMod.Items; +using CalamityMod.Items.Tools; using CalamityMod.NPCs.Providence; using CalamityMod.Projectiles.Boss; using CalamityMod.World; diff --git a/NPCs/SupremeCalamitas/SupremeCalamitas.cs b/NPCs/SupremeCalamitas/SupremeCalamitas.cs index 16b78c1c15..522fba3e33 100644 --- a/NPCs/SupremeCalamitas/SupremeCalamitas.cs +++ b/NPCs/SupremeCalamitas/SupremeCalamitas.cs @@ -5,7 +5,6 @@ using System.Linq; using CalamityMod.Dusts; using CalamityMod.Events; using CalamityMod.Graphics.Metaballs; -using CalamityMod.Items; using CalamityMod.Items.Armor.Vanity; using CalamityMod.Items.Fishing.FishingRods; using CalamityMod.Items.LoreItems; @@ -21,6 +20,7 @@ using CalamityMod.Items.Weapons.Melee; using CalamityMod.Items.Weapons.Ranged; using CalamityMod.Items.Weapons.Rogue; using CalamityMod.Items.Weapons.Summon; +using CalamityMod.Items.Weapons.Typeless; using CalamityMod.NPCs.Bumblebirb; using CalamityMod.NPCs.DevourerofGods; using CalamityMod.NPCs.TownNPCs; diff --git a/NPCs/TownNPCs/Bandit.cs b/NPCs/TownNPCs/Bandit.cs index c87c764726..2c83ed448c 100644 --- a/NPCs/TownNPCs/Bandit.cs +++ b/NPCs/TownNPCs/Bandit.cs @@ -1,7 +1,7 @@ using System.Collections.Generic; -using CalamityMod.Items; using CalamityMod.Items.Accessories; using CalamityMod.Items.Pets; +using CalamityMod.Items.Tools; using CalamityMod.Items.Weapons.Rogue; using CalamityMod.Packets; using CalamityMod.Projectiles.Rogue; diff --git a/NPCs/TownNPCs/BrimstoneWitch.cs b/NPCs/TownNPCs/BrimstoneWitch.cs index a6bd55ef26..aa3216af16 100644 --- a/NPCs/TownNPCs/BrimstoneWitch.cs +++ b/NPCs/TownNPCs/BrimstoneWitch.cs @@ -3,7 +3,7 @@ using System.Collections.Generic; using CalamityMod.BiomeManagers; using CalamityMod.Dusts; using CalamityMod.Events; -using CalamityMod.Items; +using CalamityMod.Items.Tools; using CalamityMod.Projectiles.Magic; using CalamityMod.Systems.Collections; using CalamityMod.UI.CalamitasEnchants; diff --git a/Packets/Entities/SuperDummy/DeleteAllSuperDummiesPacket.cs b/Packets/Entities/SuperDummy/DeleteAllSuperDummiesPacket.cs index 8c2b97ffa6..121ce493e4 100644 --- a/Packets/Entities/SuperDummy/DeleteAllSuperDummiesPacket.cs +++ b/Packets/Entities/SuperDummy/DeleteAllSuperDummiesPacket.cs @@ -1,5 +1,5 @@ using System.IO; -using CalamityMod.Items; +using CalamityMod.Items.Tools; using Terraria; namespace CalamityMod.Packets diff --git a/Projectiles/Boss/PermafrostColdheartIcicle.cs b/Projectiles/Boss/PermafrostColdheartIcicle.cs index 3f4241aa7b..5c6c4eb6c8 100644 --- a/Projectiles/Boss/PermafrostColdheartIcicle.cs +++ b/Projectiles/Boss/PermafrostColdheartIcicle.cs @@ -1,5 +1,6 @@ using System; using CalamityMod.Graphics.Primitives; +using CalamityMod.Items.Weapons.Typeless; using CalamityMod.NPCs.SupremeCalamitas; using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Graphics; @@ -15,7 +16,7 @@ namespace CalamityMod.Projectiles.Boss { public new string LocalizationCategory => "Projectiles.Boss"; - public override string Texture => "CalamityMod/Items/ColdheartIcicle"; + public override string Texture => ModContent.GetInstance().Texture; public const int Lifetime = 80; @@ -154,7 +155,7 @@ namespace CalamityMod.Projectiles.Boss Main.spriteBatch.EnterShaderRegion(); GameShaders.Misc["CalamityMod:PrismaticStreak"].SetShaderTexture(ModContent.Request("CalamityMod/ExtraTextures/Trails/ScarletDevilStreak")); - PrimitiveRenderer.RenderTrail(Projectile.oldPos, new(WidthFunction, ColorFunction, (_,_) => Projectile.Size * 0.5f + generalOffset, shader: GameShaders.Misc["CalamityMod:PrismaticStreak"]), 65); + PrimitiveRenderer.RenderTrail(Projectile.oldPos, new(WidthFunction, ColorFunction, (_, _) => Projectile.Size * 0.5f + generalOffset, shader: GameShaders.Misc["CalamityMod:PrismaticStreak"]), 65); Main.spriteBatch.ExitShaderRegion(); return true; } diff --git a/Projectiles/Typeless/BossRushEndEffectThing.cs b/Projectiles/Typeless/BossRushEndEffectThing.cs index 5d75f31777..769281d1cd 100644 --- a/Projectiles/Typeless/BossRushEndEffectThing.cs +++ b/Projectiles/Typeless/BossRushEndEffectThing.cs @@ -1,5 +1,5 @@ using CalamityMod.Events; -using CalamityMod.Items; +using CalamityMod.Items.Placeables; using CalamityMod.Systems; using Microsoft.Xna.Framework; using Terraria; diff --git a/Projectiles/Typeless/RelicGuard.cs b/Projectiles/Typeless/RelicGuard.cs index c3f0bd89aa..e43a4d80fc 100644 --- a/Projectiles/Typeless/RelicGuard.cs +++ b/Projectiles/Typeless/RelicGuard.cs @@ -2,7 +2,7 @@ using System.Collections.Generic; using CalamityMod.CalPlayer; using CalamityMod.Dusts; -using CalamityMod.Items; +using CalamityMod.Items.Tools; using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Graphics; using Terraria; diff --git a/Projectiles/Typeless/RelicOfConvergenceCrystal.cs b/Projectiles/Typeless/RelicOfConvergenceCrystal.cs index b2683fd6b2..cc2dcc2b6d 100644 --- a/Projectiles/Typeless/RelicOfConvergenceCrystal.cs +++ b/Projectiles/Typeless/RelicOfConvergenceCrystal.cs @@ -2,7 +2,7 @@ using System.Collections.Generic; using CalamityMod.Dusts; using CalamityMod.Enums; -using CalamityMod.Items; +using CalamityMod.Items.Tools; using CalamityMod.Particles; using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Graphics; diff --git a/World/SulphurousSea.cs b/World/SulphurousSea.cs index 160a73964f..680f61ffd0 100644 --- a/World/SulphurousSea.cs +++ b/World/SulphurousSea.cs @@ -1,9 +1,9 @@ using System; using System.Collections.Generic; using System.Linq; -using CalamityMod.Items; using CalamityMod.Items.Accessories; using CalamityMod.Items.Placeables.Furniture; +using CalamityMod.Items.Tools.SpawnBlocker; using CalamityMod.Items.Weapons.Summon; using CalamityMod.Schematics; using CalamityMod.Tiles.Abyss;