diff --git a/CalPlayer/CalamityPlayer.cs b/CalPlayer/CalamityPlayer.cs index 5b324bd0cd..a42a057629 100644 --- a/CalPlayer/CalamityPlayer.cs +++ b/CalPlayer/CalamityPlayer.cs @@ -463,8 +463,8 @@ namespace CalamityMod.CalPlayer public bool pHeart = false; public bool cShard = false; public bool mFruit = false; - public bool bOrange = false; - public bool eBerry = false; + public bool sTangerine = false; + public bool tCloudberry = false; public bool dFruit = false; public bool revJamDrop = false; public bool rageBoostOne = false; @@ -1268,8 +1268,8 @@ namespace CalamityMod.CalPlayer extraAccessoryML = false; eCore = false; mFruit = false; - bOrange = false; - eBerry = false; + sTangerine = false; + tCloudberry = false; dFruit = false; pHeart = false; cShard = false; @@ -1320,8 +1320,8 @@ namespace CalamityMod.CalPlayer boost.AddWithCondition("extraAccessoryML", extraAccessoryML); boost.AddWithCondition("etherealCore", eCore); boost.AddWithCondition("miracleFruit", mFruit); - boost.AddWithCondition("bloodOrange", bOrange); - boost.AddWithCondition("elderBerry", eBerry); + boost.AddWithCondition("sanguineTangerine", sTangerine); + boost.AddWithCondition("taintedCloudberry", tCloudberry); boost.AddWithCondition("dragonFruit", dFruit); boost.AddWithCondition("phantomHeart", pHeart); boost.AddWithCondition("cometShard", cShard); @@ -1410,8 +1410,8 @@ namespace CalamityMod.CalPlayer extraAccessoryML = boost.Contains("extraAccessoryML"); eCore = boost.Contains("etherealCore"); mFruit = boost.Contains("miracleFruit"); - bOrange = boost.Contains("bloodOrange"); - eBerry = boost.Contains("elderBerry"); + sTangerine = boost.Contains("sanguineTangerine"); + tCloudberry = boost.Contains("taintedCloudberry"); dFruit = boost.Contains("dragonFruit"); pHeart = boost.Contains("phantomHeart"); cShard = boost.Contains("cometShard"); @@ -2246,9 +2246,9 @@ namespace CalamityMod.CalPlayer public override void ModifyMaxStats(out StatModifier health, out StatModifier mana) { health = StatModifier.Default; - health.Base = bOrange.ToInt() * BloodOrange.LifeBoost + health.Base = sTangerine.ToInt() * SanguineTangerine.LifeBoost + mFruit.ToInt() * MiracleFruit.LifeBoost - + eBerry.ToInt() * Elderberry.LifeBoost + + tCloudberry.ToInt() * TaintedCloudberry.LifeBoost + dFruit.ToInt() * Dragonfruit.LifeBoost; mana = StatModifier.Default; diff --git a/Events/BossRushEvent.cs b/Events/BossRushEvent.cs index 76b1624211..c88caf12bb 100644 --- a/Events/BossRushEvent.cs +++ b/Events/BossRushEvent.cs @@ -326,7 +326,7 @@ namespace CalamityMod.Events Player player = Main.player[ClosestPlayerToWorldCenter]; - SoundEngine.PlaySound(RuneofKos.CVSound, player.Center); + SoundEngine.PlaySound(MarkofProvidence.CVSound, player.Center); NPC.SpawnOnPlayer(ClosestPlayerToWorldCenter, type); }, usesSpecialSound: true, permittedNPCs: ModContent.NPCType()), @@ -334,7 +334,7 @@ namespace CalamityMod.Events { Player player = Main.player[ClosestPlayerToWorldCenter]; - SoundEngine.PlaySound(RuneofKos.StormSound, player.Center); + SoundEngine.PlaySound(MarkofProvidence.StormSound, player.Center); NPC.SpawnOnPlayer(ClosestPlayerToWorldCenter, type); }, usesSpecialSound: true, permittedNPCs: new int[] { ModContent.NPCType(), ModContent.NPCType(), }), @@ -342,7 +342,7 @@ namespace CalamityMod.Events { Player player = Main.player[ClosestPlayerToWorldCenter]; - SoundEngine.PlaySound(RuneofKos.SignutSound, player.Center); + SoundEngine.PlaySound(MarkofProvidence.SignutSound, player.Center); NPC.SpawnOnPlayer(ClosestPlayerToWorldCenter, type); }, usesSpecialSound: true, permittedNPCs: new int[] { ModContent.NPCType(), ModContent.NPCType() }), diff --git a/Items/Accessories/ElementalQuiver.cs b/Items/Accessories/PlanebreakersPouch.cs similarity index 93% rename from Items/Accessories/ElementalQuiver.cs rename to Items/Accessories/PlanebreakersPouch.cs index b586332d81..d53fed6512 100644 --- a/Items/Accessories/ElementalQuiver.cs +++ b/Items/Accessories/PlanebreakersPouch.cs @@ -8,7 +8,8 @@ using Terraria.ModLoader; namespace CalamityMod.Items.Accessories { - public class ElementalQuiver : ModItem, ILocalizedModType + [LegacyName("ElementalQuiver")] + public class PlanebreakersPouch : ModItem, ILocalizedModType { public new string LocalizationCategory => "Items.Accessories"; public override void SetDefaults() diff --git a/Items/Accessories/ElementalQuiver.png b/Items/Accessories/PlanebreakersPouch.png similarity index 100% rename from Items/Accessories/ElementalQuiver.png rename to Items/Accessories/PlanebreakersPouch.png diff --git a/Items/PermanentBoosters/BloodOrange.cs b/Items/PermanentBoosters/SanguineTangerine.cs similarity index 88% rename from Items/PermanentBoosters/BloodOrange.cs rename to Items/PermanentBoosters/SanguineTangerine.cs index ded6fe84a0..5da1e72a6a 100644 --- a/Items/PermanentBoosters/BloodOrange.cs +++ b/Items/PermanentBoosters/SanguineTangerine.cs @@ -11,7 +11,8 @@ using Terraria.ModLoader; namespace CalamityMod.Items.PermanentBoosters { - public class BloodOrange : ModItem, ILocalizedModType + [LegacyName("BloodOrange")] + public class SanguineTangerine : ModItem, ILocalizedModType { public new string LocalizationCategory => "Items.Misc"; @@ -45,16 +46,16 @@ namespace CalamityMod.Items.PermanentBoosters if (player.itemAnimation > 0 && player.itemTime == 0) { player.itemTime = Item.useTime; - if (modPlayer.bOrange) + if (modPlayer.sTangerine) { - string key = "Mods.CalamityMod.Misc.BloodOrangeText"; + string key = "Mods.CalamityMod.Misc.SanguineTangerineText"; Color messageColor = Color.Orange; CalamityUtils.DisplayLocalizedText(key, messageColor); return false; } player.UseHealthMaxIncreasingItem(LifeBoost); - modPlayer.bOrange = true; + modPlayer.sTangerine = true; } return true; } @@ -63,7 +64,7 @@ namespace CalamityMod.Items.PermanentBoosters { TooltipLine line = list.FirstOrDefault(x => x.Mod == "Terraria" && x.Name == "Tooltip1"); - if (line != null && Main.LocalPlayer.Calamity().bOrange) + if (line != null && Main.LocalPlayer.Calamity().sTangerine) line.Text += "\n" + CalamityUtils.GetTextValue("Misc.GenericConsumedText"); } diff --git a/Items/PermanentBoosters/BloodOrange.png b/Items/PermanentBoosters/SanguineTangerine.png similarity index 100% rename from Items/PermanentBoosters/BloodOrange.png rename to Items/PermanentBoosters/SanguineTangerine.png diff --git a/Items/PermanentBoosters/Elderberry.cs b/Items/PermanentBoosters/TaintedCloudberry.cs similarity index 88% rename from Items/PermanentBoosters/Elderberry.cs rename to Items/PermanentBoosters/TaintedCloudberry.cs index fef3e5ef5e..fb096694fd 100644 --- a/Items/PermanentBoosters/Elderberry.cs +++ b/Items/PermanentBoosters/TaintedCloudberry.cs @@ -12,7 +12,8 @@ using Terraria.ModLoader; namespace CalamityMod.Items.PermanentBoosters { - public class Elderberry : ModItem, ILocalizedModType + [LegacyName("Elderberry")] + public class TaintedCloudberry : ModItem, ILocalizedModType { public new string LocalizationCategory => "Items.Misc"; @@ -46,16 +47,16 @@ namespace CalamityMod.Items.PermanentBoosters if (player.itemAnimation > 0 && player.itemTime == 0) { player.itemTime = Item.useTime; - if (modPlayer.eBerry) + if (modPlayer.tCloudberry) { - string key = "Mods.CalamityMod.Misc.ElderberryText"; + string key = "Mods.CalamityMod.Misc.TaintedCloudberryText"; Color messageColor = Color.Turquoise; CalamityUtils.DisplayLocalizedText(key, messageColor); return false; } player.UseHealthMaxIncreasingItem(LifeBoost); - modPlayer.eBerry = true; + modPlayer.tCloudberry = true; } return true; } @@ -64,7 +65,7 @@ namespace CalamityMod.Items.PermanentBoosters { TooltipLine line = list.FirstOrDefault(x => x.Mod == "Terraria" && x.Name == "Tooltip1"); - if (line != null && Main.LocalPlayer.Calamity().eBerry) + if (line != null && Main.LocalPlayer.Calamity().tCloudberry) line.Text += "\n" + CalamityUtils.GetTextValue("Misc.GenericConsumedText"); } diff --git a/Items/PermanentBoosters/Elderberry.png b/Items/PermanentBoosters/TaintedCloudberry.png similarity index 100% rename from Items/PermanentBoosters/Elderberry.png rename to Items/PermanentBoosters/TaintedCloudberry.png diff --git a/Items/Placeables/Banners/AstraglomerateBanner.cs b/Items/Placeables/Banners/AstraglomerateBanner.cs new file mode 100644 index 0000000000..f45f7ea296 --- /dev/null +++ b/Items/Placeables/Banners/AstraglomerateBanner.cs @@ -0,0 +1,10 @@ +using Terraria.ModLoader; + +namespace CalamityMod.Items.Placeables.Banners +{ + [LegacyName("HiveBanner")] + public class AstraglomerateBanner : BaseBanner + { + public override int BannerTileStyle => 40; + } +} diff --git a/Items/Placeables/Banners/HiveBanner.png b/Items/Placeables/Banners/AstraglomerateBanner.png similarity index 100% rename from Items/Placeables/Banners/HiveBanner.png rename to Items/Placeables/Banners/AstraglomerateBanner.png diff --git a/Items/Placeables/Banners/HiveBanner.cs b/Items/Placeables/Banners/HiveBanner.cs deleted file mode 100644 index ccacb8cf92..0000000000 --- a/Items/Placeables/Banners/HiveBanner.cs +++ /dev/null @@ -1,7 +0,0 @@ -namespace CalamityMod.Items.Placeables.Banners -{ - public class HiveBanner : BaseBanner - { - public override int BannerTileStyle => 40; - } -} diff --git a/Items/SummonItems/RuneofKos.cs b/Items/SummonItems/MarkofProvidence.cs similarity index 97% rename from Items/SummonItems/RuneofKos.cs rename to Items/SummonItems/MarkofProvidence.cs index 4e40c943d3..36ea4261ed 100644 --- a/Items/SummonItems/RuneofKos.cs +++ b/Items/SummonItems/MarkofProvidence.cs @@ -12,8 +12,8 @@ using Terraria.ModLoader; namespace CalamityMod.Items.SummonItems { - [LegacyName("RuneofCos")] - public class RuneofKos : ModItem, ILocalizedModType + [LegacyName("RuneofCos", "RuneofKos")] + public class MarkofProvidence : ModItem, ILocalizedModType { public new string LocalizationCategory => "Items.SummonItems"; public static readonly SoundStyle CVSound = new("CalamityMod/Sounds/Item/CeaselessVoidSpawn"); diff --git a/Items/SummonItems/RuneofKos.png b/Items/SummonItems/MarkofProvidence.png similarity index 100% rename from Items/SummonItems/RuneofKos.png rename to Items/SummonItems/MarkofProvidence.png diff --git a/Localization/en-US/Mods.CalamityMod.Bestiary.hjson b/Localization/en-US/Mods.CalamityMod.Bestiary.hjson index 80bf331521..25c7ebd6e0 100644 --- a/Localization/en-US/Mods.CalamityMod.Bestiary.hjson +++ b/Localization/en-US/Mods.CalamityMod.Bestiary.hjson @@ -44,8 +44,8 @@ AstralSlime: With slimes already acclimated to absorbing both matter and energy Atlas: Knights of the infection, these fusions of creatures pack an immense punch. Though slow due to their overbearing weight, a single blow from an atlas is easily able to pulverize a monolith. Their hearts continue to slowly beat even after being ripped from their bodies, for their lives seemingly cannot truly end. FusionFeeder: Bloated with mana, the immense amount of magical power has dulled the instincts of these former sand sharks, their movements now slow and sluggish. Their need for food has been permanently sated, and they now thirst only for distant stars. Hadarian: Once mere desert vultures, they have been metamorphosed into new beings, their feathers stripped and replaced with gooey tissue and stone-like plating. They sit still as a statue, with eyes seemingly staring at both everything, and nothing at all. -HiveEnemy: Amalgamations of several creatures, with all of their features rendered unrecognizable after being fused into a singular being. Unable to act on their own due to its immense mass, hives choose instead to split off small parts of themselves to fight for them. -Hiveling: Hivelings may be rather unthreatening alone, though dangerous in large numbers. Being simply extensions of a hive, they lack a preservation instinct, and fight ferociously to the death so that they may serve the greater whole. +Astraglomerate: Amalgamations of several creatures, with all of their features rendered unrecognizable after being fused into a singular being. Unable to act on their own due to their immense mass, Astraglomerates choose instead to split off small parts of themselves to fight for them. +Glomerling: Glomerlings may be rather unthreatening alone, though dangerous in large numbers. Being simply extensions of a hive, they lack a preservation instinct, and fight ferociously to the death so that they may serve the greater whole. Mantis: The most versatile organism born from the Astral Infection, mantises can reach incredible speeds and are equipped with claws capable of slicing through all but the most durable metals with ease. When their foes are at a distance, they are capable of condensing latent mana in the air to form bladed disks they can throw at their enemies. Nova: Warped yet simple creatures created from but stardust and mana, containing a volatile nucleus within. They feel that they must defend the infection despite lacking proper means of even defending themselves, and so all they can do to ward off intruders is overcharge their nucleus, causing themselves to combust. SightseerCollider: Originally demon eyes, these now act as an extension of the dead star. Unlike the larger variants, these sightseers lack the ability to spit at their enemies. All they are capable of is ramming into those who intrude upon land taken by the Astral Infection with a questionable amount of success. diff --git a/Localization/en-US/Mods.CalamityMod.Items.Accessories.hjson b/Localization/en-US/Mods.CalamityMod.Items.Accessories.hjson index 7f9284ef47..3fb73b3322 100644 --- a/Localization/en-US/Mods.CalamityMod.Items.Accessories.hjson +++ b/Localization/en-US/Mods.CalamityMod.Items.Accessories.hjson @@ -658,16 +658,6 @@ ElementalGauntlet: { ''' } -ElementalQuiver: { - DisplayName: Elemental Quiver - Tooltip: - ''' - 15% increased ranged damage, 5% increased ranged critical strike chance and 20% reduced ammo usage - Grants a 20% chance to not consume arrows - Greatly increases all ranged projectile velocity - ''' -} - ElysianAegis: { DisplayName: Elysian Aegis Tooltip: @@ -1261,6 +1251,16 @@ PlaguedFuelPack: { ''' } +PlanebreakersPouch: { + DisplayName: Planebreaker's Pouch + Tooltip: + ''' + 15% increased ranged damage, 5% increased ranged critical strike chance and 20% reduced ammo usage + Grants a 20% chance to not consume arrows + Greatly increases all ranged projectile velocity + ''' +} + ProfanedSoulArtifact: { DisplayName: Profaned Soul Artifact Tooltip: diff --git a/Localization/en-US/Mods.CalamityMod.Items.Misc.hjson b/Localization/en-US/Mods.CalamityMod.Items.Misc.hjson index 119da60e37..34f4d2dec0 100644 --- a/Localization/en-US/Mods.CalamityMod.Items.Misc.hjson +++ b/Localization/en-US/Mods.CalamityMod.Items.Misc.hjson @@ -64,16 +64,6 @@ TwinklerItem: { } // Permanent Boosters -BloodOrange: { - DisplayName: Blood Orange - Tooltip: - ''' - Permanently increases maximum life by {0} - Can only be used once and requires the max amount of Life Fruits consumed - It has a distinctly sweet flavor and a strong aroma - ''' -} - CelestialOnion: { DisplayName: Celestial Onion Tooltip: @@ -112,16 +102,6 @@ Ectoheart: { ''' } -Elderberry: { - DisplayName: Elderberry - Tooltip: - ''' - Permanently increases maximum life by {0} - Can only be used once and requires the max amount of Life Fruits consumed - A tangy, tart flavor with a somewhat earthen touch - ''' -} - ElectrolyteGelPack: { DisplayName: Electrolyte Gel Pack Tooltip: @@ -186,6 +166,16 @@ RedLightningContainer: { ''' } +SanguineTangerine: { + DisplayName: Sanguine Tangerine + Tooltip: + ''' + Permanently increases maximum life by {0} + Can only be used once and requires the max amount of Life Fruits consumed + It has a distinctly sweet flavor and a strong aroma + ''' +} + StarlightFuelCell: { DisplayName: Starlight Fuel Cell Tooltip: @@ -195,6 +185,16 @@ StarlightFuelCell: { ''' } +TaintedCloudberry: { + DisplayName: Tainted Cloudberry + Tooltip: + ''' + Permanently increases maximum life by {0} + Can only be used once and requires the max amount of Life Fruits consumed + A tangy, tart flavor with a somewhat earthen touch + ''' +} + // Spawn Blockers SpawnBlockersOn: Currently enabled SpawnBlockersOff: Currently disabled diff --git a/Localization/en-US/Mods.CalamityMod.Items.SummonItems.hjson b/Localization/en-US/Mods.CalamityMod.Items.SummonItems.hjson index 9329498724..cc189e79e5 100644 --- a/Localization/en-US/Mods.CalamityMod.Items.SummonItems.hjson +++ b/Localization/en-US/Mods.CalamityMod.Items.SummonItems.hjson @@ -160,6 +160,25 @@ CausticTear: { ''' } +MarkofProvidence: { + DisplayName: Mark of Providence + Tooltip: + ''' + An ornate sigil of the Profaned Flame + Hatred yet burns upon its brow + [SPAWN] + Not consumable + ''' + SpawnInfo: Such power attracts otherworldly beings + SpawnVoid: + ''' + Summons the Ceaseless Void + Enrages on the surface + ''' + SpawnSignus: Summons Signus, Envoy of the Devourer + SpawnWeaver: Summons the Storm Weaver +} + MartianDistressRemote: { DisplayName: Martian Distress Remote Tooltip: @@ -242,25 +261,6 @@ ProfanedShard: { SpawnRemix: Summons the Profaned Guardians when used in the Hallow or Underworld } -RuneofKos: { - DisplayName: Rune of Kos - Tooltip: - ''' - An ornate sigil of the Profaned Flame - Hatred yet burns upon its brow - [SPAWN] - Not consumable - ''' - SpawnInfo: Such power attracts otherworldly beings - SpawnVoid: - ''' - Summons the Ceaseless Void - Enrages on the surface - ''' - SpawnSignus: Summons Signus, Envoy of the Devourer - SpawnWeaver: Summons the Storm Weaver -} - SandstormsCore: { DisplayName: Sandstorm's Core Tooltip: diff --git a/Localization/en-US/Mods.CalamityMod.Items.Weapons.Summon.hjson b/Localization/en-US/Mods.CalamityMod.Items.Weapons.Summon.hjson index 2fa9a00315..8932345b99 100644 --- a/Localization/en-US/Mods.CalamityMod.Items.Weapons.Summon.hjson +++ b/Localization/en-US/Mods.CalamityMod.Items.Weapons.Summon.hjson @@ -437,7 +437,7 @@ HerringStaff: { HivePod: { DisplayName: Hive Pod - Tooltip: Summons an astral hive to protect you + Tooltip: Summons an astraglomerate to protect you } IgneousExaltation: { diff --git a/Localization/en-US/Mods.CalamityMod.Misc.hjson b/Localization/en-US/Mods.CalamityMod.Misc.hjson index 0066b7de9b..8d174fcb3d 100644 --- a/Localization/en-US/Mods.CalamityMod.Misc.hjson +++ b/Localization/en-US/Mods.CalamityMod.Misc.hjson @@ -47,9 +47,9 @@ SevensDoubles: Doubles! SevensTriples: Triples! StylishHammerHit: Stylish! GenericConsumedText: "[c/8A8A8A:You have already consumed this item]" -BloodOrangeText: You have already consumed a Blood Orange. Eating any more would make your blood too thick to flow. +SanguineTangerineText: You have already consumed a Sanguine Tangerine. Eating any more would make your blood too thick to flow. MiracleFruitText: You have already consumed a Miracle Fruit. It would take a miracle to put you back together if you ate another. -ElderberryText: You have already consumed an Elderberry. Your body would become dust if you ate more than one. +TaintedCloudberryText: You have already consumed a Tainted Cloudberry. Your body would become dust if you ate more than one. DragonfruitText: You have already consumed a Dragonfruit. Any more draconic power and you'd be rejected. CometShardText: You have already used a Comet Shard. Your neurons would die if you used another. EtherealCoreText: You have already used an Ethereal Core. Your brain would escape your head if you dared to use it a second time. diff --git a/Localization/en-US/Mods.CalamityMod.NPCs.hjson b/Localization/en-US/Mods.CalamityMod.NPCs.hjson index 42d943f37f..cb8489e93e 100644 --- a/Localization/en-US/Mods.CalamityMod.NPCs.hjson +++ b/Localization/en-US/Mods.CalamityMod.NPCs.hjson @@ -45,8 +45,8 @@ AstralSlime.DisplayName: Astral Slime Atlas.DisplayName: Atlas FusionFeeder.DisplayName: Fusion Feeder Hadarian.DisplayName: Hadarian -HiveEnemy.DisplayName: Hive -Hiveling.DisplayName: Hiveling +Astraglomerate.DisplayName: Astraglomerate +Glomerling.DisplayName: Glomerling Mantis.DisplayName: Mantis Nova.DisplayName: Nova SightseerCollider.DisplayName: Sightseer Collider diff --git a/ModSupport/ModCalls.cs b/ModSupport/ModCalls.cs index 09288e3327..1d14431941 100644 --- a/ModSupport/ModCalls.cs +++ b/ModSupport/ModCalls.cs @@ -998,9 +998,9 @@ namespace CalamityMod { return powerupName switch { - "BloodOrange" => player.Calamity().bOrange, + "SanguineTangerine" => player.Calamity().sTangerine, "MiracleFruit" => player.Calamity().mFruit, - "Elderberry" => player.Calamity().eBerry, + "TaintedCloudberry" => player.Calamity().tCloudberry, "Dragonfruit" => player.Calamity().dFruit, "CometShard" => player.Calamity().cShard, @@ -1027,9 +1027,9 @@ namespace CalamityMod switch (powerupName) { - case "BloodOrange": player.Calamity().bOrange = value; break; + case "SanguineTangerine": player.Calamity().sTangerine = value; break; case "MiracleFruit": player.Calamity().mFruit = value; break; - case "Elderberry": player.Calamity().eBerry = value; break; + case "TaintedCloudberry": player.Calamity().tCloudberry = value; break; case "Dragonfruit": player.Calamity().dFruit = value; break; case "CometShard": player.Calamity().cShard = value; break; diff --git a/ModSupport/WeakReferenceSupport.cs b/ModSupport/WeakReferenceSupport.cs index fbf4dbf23b..55b5ac0ac2 100644 --- a/ModSupport/WeakReferenceSupport.cs +++ b/ModSupport/WeakReferenceSupport.cs @@ -231,8 +231,6 @@ namespace CalamityMod void EnemyRedirect(int item, string pageName) => wiki.Call(2, item, pageName); // Items - ItemRedirect(ItemType(), "Blood Orange (calamity)"); - ItemRedirect(ItemType(), "Elderberry (calamity)"); ItemRedirect(ItemType(), "Pineapple (calamity)"); ItemRedirect(ItemType(), "Trash Can (pet)"); ItemRedirect(ItemType(), "Sandstorm (weapon)"); @@ -294,7 +292,6 @@ namespace CalamityMod ItemRedirect(ItemType(), loreItemPage); // Enemies - EnemyRedirect(NPCType(), "Hive (enemy)"); EnemyRedirect(NPCType(), "Crown Jewels"); EnemyRedirect(NPCType(), "Crown Jewels"); EnemyRedirect(NPCType(), "Crown Jewels"); @@ -743,7 +740,7 @@ namespace CalamityMod ["displayName"] = GetDisplayName(entryName), ["spawnInfo"] = GetSpawnInfo(entryName), ["despawnMessage"] = GetDespawnMessage(entryName), - ["spawnItems"] = ItemType(), + ["spawnItems"] = ItemType(), ["collectibles"] = collection }); } @@ -765,7 +762,7 @@ namespace CalamityMod ["displayName"] = GetDisplayName(entryName), ["spawnInfo"] = GetSpawnInfo(entryName), ["despawnMessage"] = GetDespawnMessage(entryName), - ["spawnItems"] = ItemType(), + ["spawnItems"] = ItemType(), ["collectibles"] = collection, ["customPortrait"] = portrait, ["overrideHeadTextures"] = "CalamityMod/NPCs/StormWeaver/StormWeaverHead_Head_Boss" @@ -783,7 +780,7 @@ namespace CalamityMod ["displayName"] = GetDisplayName(entryName), ["spawnInfo"] = GetSpawnInfo(entryName), ["despawnMessage"] = GetDespawnMessage(entryName), - ["spawnItems"] = ItemType(), + ["spawnItems"] = ItemType(), ["collectibles"] = collection }); } diff --git a/NPCs/Astral/HiveEnemy.cs b/NPCs/Astral/Astraglomerate.cs similarity index 92% rename from NPCs/Astral/HiveEnemy.cs rename to NPCs/Astral/Astraglomerate.cs index ab56f1f246..e3a88546ce 100644 --- a/NPCs/Astral/HiveEnemy.cs +++ b/NPCs/Astral/Astraglomerate.cs @@ -18,14 +18,14 @@ using Terraria.ModLoader; namespace CalamityMod.NPCs.Astral { - public class HiveEnemy : ModNPC + public class Astraglomerate : ModNPC { public static Asset glowmask; public override void SetStaticDefaults() { if (!Main.dedServ) - glowmask = ModContent.Request("CalamityMod/NPCs/Astral/HiveGlow", AssetRequestMode.AsyncLoad); + glowmask = ModContent.Request("CalamityMod/NPCs/Astral/AstraglomerateGlow", AssetRequestMode.AsyncLoad); Main.npcFrameCount[NPC.type] = 6; } @@ -42,7 +42,7 @@ namespace CalamityMod.NPCs.Astral NPC.knockBackResist = 0f; NPC.value = Item.buyPrice(0, 0, 15, 0); Banner = NPC.type; - BannerItem = ModContent.ItemType(); + BannerItem = ModContent.ItemType(); if (DownedBossSystem.downedAstrumAureus) { NPC.damage = 90; @@ -66,7 +66,7 @@ namespace CalamityMod.NPCs.Astral { bestiaryEntry.Info.AddRange(new IBestiaryInfoElement[] { - new FlavorTextBestiaryInfoElement("Mods.CalamityMod.Bestiary.HiveEnemy") + new FlavorTextBestiaryInfoElement("Mods.CalamityMod.Bestiary.Astraglomerate") }); } @@ -80,12 +80,12 @@ namespace CalamityMod.NPCs.Astral { if (Main.rand.NextBool(100)) { - if (NPC.CountNPCS(ModContent.NPCType()) < 10) + if (NPC.CountNPCS(ModContent.NPCType()) < 10) { NPC.ai[0] = 0; // Spawn hiveling, it's ai[0] is the hive npc index. - int n = NPC.NewNPC(NPC.GetSource_FromAI(), (int)NPC.Center.X, (int)NPC.Center.Y, ModContent.NPCType(), 0, NPC.whoAmI); + int n = NPC.NewNPC(NPC.GetSource_FromAI(), (int)NPC.Center.X, (int)NPC.Center.Y, ModContent.NPCType(), 0, NPC.whoAmI); Main.npc[n].velocity.X = Main.rand.NextFloat(-0.4f, 0.4f); Main.npc[n].velocity.Y = Main.rand.NextFloat(-0.5f, -0.05f); } @@ -126,7 +126,7 @@ namespace CalamityMod.NPCs.Astral //if dead do gores if (NPC.life <= 0) { - int type = ModContent.NPCType(); + int type = ModContent.NPCType(); // TODO: Should this use `Main.ActiveNPCs` iterator? for (int i = 0; i < Main.maxNPCs; i++) diff --git a/NPCs/Astral/HiveEnemy.png b/NPCs/Astral/Astraglomerate.png similarity index 100% rename from NPCs/Astral/HiveEnemy.png rename to NPCs/Astral/Astraglomerate.png diff --git a/NPCs/Astral/HiveGlow.png b/NPCs/Astral/AstraglomerateGlow.png similarity index 100% rename from NPCs/Astral/HiveGlow.png rename to NPCs/Astral/AstraglomerateGlow.png diff --git a/NPCs/Astral/Hiveling.cs b/NPCs/Astral/Glomerling.cs similarity index 97% rename from NPCs/Astral/Hiveling.cs rename to NPCs/Astral/Glomerling.cs index 1815cf10a8..17d72cc3a0 100644 --- a/NPCs/Astral/Hiveling.cs +++ b/NPCs/Astral/Glomerling.cs @@ -16,14 +16,14 @@ using Terraria.ModLoader; namespace CalamityMod.NPCs.Astral { - public class Hiveling : ModNPC + public class Glomerling : ModNPC { public static Asset glowmask; public override void SetStaticDefaults() { if (!Main.dedServ) - glowmask = ModContent.Request("CalamityMod/NPCs/Astral/HivelingGlow", AssetRequestMode.AsyncLoad); + glowmask = ModContent.Request("CalamityMod/NPCs/Astral/GlomerlingGlow", AssetRequestMode.AsyncLoad); Main.npcFrameCount[NPC.type] = 4; NPCID.Sets.NPCBestiaryDrawModifiers value = new NPCID.Sets.NPCBestiaryDrawModifiers(); value.Position.Y -= 8; @@ -62,7 +62,7 @@ namespace CalamityMod.NPCs.Astral { bestiaryEntry.Info.AddRange(new IBestiaryInfoElement[] { - new FlavorTextBestiaryInfoElement("Mods.CalamityMod.Bestiary.Hiveling") + new FlavorTextBestiaryInfoElement("Mods.CalamityMod.Bestiary.Glomerling") }); } diff --git a/NPCs/Astral/Hiveling.png b/NPCs/Astral/Glomerling.png similarity index 100% rename from NPCs/Astral/Hiveling.png rename to NPCs/Astral/Glomerling.png diff --git a/NPCs/Astral/HivelingGlow.png b/NPCs/Astral/GlomerlingGlow.png similarity index 100% rename from NPCs/Astral/HivelingGlow.png rename to NPCs/Astral/GlomerlingGlow.png diff --git a/NPCs/Providence/Providence.cs b/NPCs/Providence/Providence.cs index aeb2b7d136..a80e8a4152 100644 --- a/NPCs/Providence/Providence.cs +++ b/NPCs/Providence/Providence.cs @@ -2035,8 +2035,8 @@ namespace CalamityMod.NPCs.Providence { npcLoot.Add(ItemDropRule.BossBag(ModContent.ItemType())); - // Drops Rune of Cos on first kill - npcLoot.AddIf(() => !DownedBossSystem.downedProvidence, ModContent.ItemType(), desc: DropHelper.FirstKillText); + // Drops Mark of Providence on first kill + npcLoot.AddIf(() => !DownedBossSystem.downedProvidence, ModContent.ItemType(), desc: DropHelper.FirstKillText); npcLoot.AddConditionalPerPlayer(info => { diff --git a/NPCs/StormWeaver/StormWeaverHead.cs b/NPCs/StormWeaver/StormWeaverHead.cs index 75e8814fe4..17e8a0c6b2 100644 --- a/NPCs/StormWeaver/StormWeaverHead.cs +++ b/NPCs/StormWeaver/StormWeaverHead.cs @@ -1009,7 +1009,7 @@ namespace CalamityMod.NPCs.StormWeaver var GFBOnly = npcLoot.DefineConditionalDropSet(DropHelper.GFB); { GFBOnly.Add(ModContent.ItemType(), hideLootReport: true); - GFBOnly.Add(ModContent.ItemType(), hideLootReport: true); + GFBOnly.Add(ModContent.ItemType(), hideLootReport: true); } // Lore diff --git a/Projectiles/Summon/Hive.cs b/Projectiles/Summon/Hive.cs index 3f2f6adc50..1c04ec50a5 100644 --- a/Projectiles/Summon/Hive.cs +++ b/Projectiles/Summon/Hive.cs @@ -7,7 +7,7 @@ namespace CalamityMod.Projectiles.Summon public class Hive : ModProjectile, ILocalizedModType { public new string LocalizationCategory => "Projectiles.Summon"; - public override string Texture => "CalamityMod/NPCs/Astral/HiveEnemy"; + public override string Texture => "CalamityMod/NPCs/Astral/Astraglomerate"; public override void SetStaticDefaults() { diff --git a/Projectiles/Summon/Hiveling.cs b/Projectiles/Summon/Hiveling.cs index 6d5e1967da..1bb9860418 100644 --- a/Projectiles/Summon/Hiveling.cs +++ b/Projectiles/Summon/Hiveling.cs @@ -8,7 +8,7 @@ namespace CalamityMod.Projectiles.Summon public class Hiveling : ModProjectile, ILocalizedModType { public new string LocalizationCategory => "Projectiles.Summon"; - public override string Texture => "CalamityMod/NPCs/Astral/Hiveling"; + public override string Texture => "CalamityMod/NPCs/Astral/Glomerling"; public override void SetStaticDefaults() { diff --git a/Tiles/FloralParadise/BloodOrangePlant.cs b/Tiles/FloralParadise/BloodOrangePlant.cs index 667236043e..2ee61a885a 100644 --- a/Tiles/FloralParadise/BloodOrangePlant.cs +++ b/Tiles/FloralParadise/BloodOrangePlant.cs @@ -25,7 +25,7 @@ namespace CalamityMod.Tiles.FloralParadise 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 SetDrawPositions(int i, int j, ref int width, ref int offsetY, ref int height, ref short tileFrameX, ref short tileFrameY) diff --git a/Tiles/MonsterBanner.cs b/Tiles/MonsterBanner.cs index a2b3727e1b..75470b3984 100644 --- a/Tiles/MonsterBanner.cs +++ b/Tiles/MonsterBanner.cs @@ -184,7 +184,7 @@ namespace CalamityMod.Tiles npc = NPCType(); break; case 40: - npc = NPCType(); + npc = NPCType(); break; case 41: npc = NPCType(); diff --git a/UI/ResourceSets/CalamityResourceOverlay.cs b/UI/ResourceSets/CalamityResourceOverlay.cs index e90a77051c..fb693141ba 100644 --- a/UI/ResourceSets/CalamityResourceOverlay.cs +++ b/UI/ResourceSets/CalamityResourceOverlay.cs @@ -22,12 +22,12 @@ namespace CalamityMod.UI.ResourceSets CalamityPlayer modPlayer = Main.LocalPlayer.Calamity(); if (modPlayer.dFruit) return folder + "Dragonfruit"; - if (modPlayer.eBerry) - return folder + "Elderberry"; + if (modPlayer.tCloudberry) + return folder + "TaintedCloudberry"; if (modPlayer.mFruit) return folder + "MiracleFruit"; - if (modPlayer.bOrange) - return folder + "BloodOrange"; + if (modPlayer.sTangerine) + return folder + "SanguineTangerine"; return string.Empty; } diff --git a/UI/ResourceSets/HPBloodOrangeBar.png b/UI/ResourceSets/HPSanguineTangerineBar.png similarity index 100% rename from UI/ResourceSets/HPBloodOrangeBar.png rename to UI/ResourceSets/HPSanguineTangerineBar.png diff --git a/UI/ResourceSets/HPBloodOrangeHeart.png b/UI/ResourceSets/HPSanguineTangerineHeart.png similarity index 100% rename from UI/ResourceSets/HPBloodOrangeHeart.png rename to UI/ResourceSets/HPSanguineTangerineHeart.png diff --git a/UI/ResourceSets/HPElderberryBar.png b/UI/ResourceSets/HPTaintedCloudberryBar.png similarity index 100% rename from UI/ResourceSets/HPElderberryBar.png rename to UI/ResourceSets/HPTaintedCloudberryBar.png diff --git a/UI/ResourceSets/HPElderberryHeart.png b/UI/ResourceSets/HPTaintedCloudberryHeart.png similarity index 100% rename from UI/ResourceSets/HPElderberryHeart.png rename to UI/ResourceSets/HPTaintedCloudberryHeart.png diff --git a/Utilities/NPCDebuffs.cs b/Utilities/NPCDebuffs.cs index e1739f1947..d147204c86 100644 --- a/Utilities/NPCDebuffs.cs +++ b/Utilities/NPCDebuffs.cs @@ -393,8 +393,8 @@ namespace CalamityMod { ModContent.NPCType(), astral }, { ModContent.NPCType(), astral }, { ModContent.NPCType(), astral }, - { ModContent.NPCType(), astral }, - { ModContent.NPCType(), astral }, + { ModContent.NPCType(), astral }, + { ModContent.NPCType(), astral }, { ModContent.NPCType(), astral }, { ModContent.NPCType(), astral }, { ModContent.NPCType(), astral },