diff --git a/CalPlayer/CalamityPlayerFishing.cs b/CalPlayer/CalamityPlayerFishing.cs index 6592637949..13a5f1c05a 100644 --- a/CalPlayer/CalamityPlayerFishing.cs +++ b/CalPlayer/CalamityPlayerFishing.cs @@ -141,7 +141,6 @@ namespace CalamityMod.CalPlayer fishList.AddWithCondition(ItemID.Prismite, Player.ZoneHallow); fishList.AddWithCondition(ItemID.Damselfish, Player.ZoneSkyHeight); fishList.AddWithCondition(ModContent.ItemType(), ZoneAstral); - fishList.AddWithCondition(ModContent.ItemType(), ZoneSunkenSea); fishList.AddWithCondition(ModContent.ItemType(), ZoneSunkenSea); fishList.AddWithCondition(ModContent.ItemType(), !Main.dayTime && !Player.ZoneSkyHeight); } @@ -447,7 +446,7 @@ namespace CalamityMod.CalPlayer { if (attempt.uncommon && Main.rand.NextBool(7)) { - itemDrop = ModContent.ItemType(); + itemDrop = ModContent.ItemType(); } } @@ -495,12 +494,7 @@ namespace CalamityMod.CalPlayer } else if (attempt.uncommon || attempt.rare || attempt.veryrare) { - int uncommonCatch = Utils.SelectRandom(Main.rand, new int[] - { - ModContent.ItemType(), - ModContent.ItemType() - }); - itemDrop = uncommonCatch; + itemDrop = ModContent.ItemType(); } else { @@ -659,7 +653,6 @@ namespace CalamityMod.CalPlayer ModContent.ItemType(), ModContent.ItemType(), ModContent.ItemType(), - ModContent.ItemType(), ModContent.ItemType(), }; diff --git a/Items/Fishing/Xerocodile.cs b/Items/Fishing/Gorecodile.cs similarity index 89% rename from Items/Fishing/Xerocodile.cs rename to Items/Fishing/Gorecodile.cs index 19c62f83bb..48beda6687 100644 --- a/Items/Fishing/Xerocodile.cs +++ b/Items/Fishing/Gorecodile.cs @@ -5,11 +5,12 @@ using Terraria.ModLoader; namespace CalamityMod.Items.Fishing { - public class Xerocodile : ModItem + [LegacyName("Xerocodile")] + public class Gorecodile : ModItem { public override void SetStaticDefaults() { - DisplayName.SetDefault("Xerocodile"); + DisplayName.SetDefault("Gorecodile"); Tooltip.SetDefault("Right click to extract blood orbs"); SacrificeTotal = 10; ItemID.Sets.CanBePlacedOnWeaponRacks[Item.type] = true; diff --git a/Items/Fishing/Xerocodile.png b/Items/Fishing/Gorecodile.png similarity index 100% rename from Items/Fishing/Xerocodile.png rename to Items/Fishing/Gorecodile.png diff --git a/Items/Fishing/SunkenSeaCatches/CoralskinFoolfish.cs b/Items/Fishing/SunkenSeaCatches/CoralskinFoolfish.cs deleted file mode 100644 index 7c8c3892a0..0000000000 --- a/Items/Fishing/SunkenSeaCatches/CoralskinFoolfish.cs +++ /dev/null @@ -1,31 +0,0 @@ -using Terraria; -using Terraria.ModLoader; -using Terraria.ID; - -namespace CalamityMod.Items.Fishing.SunkenSeaCatches -{ - public class CoralskinFoolfish : ModItem - { - public override void SetStaticDefaults() - { - DisplayName.SetDefault("Coralskin Foolfish"); //Potion material - Tooltip.SetDefault("Camouflage is one of nature's best defenses"); - SacrificeTotal = 3; - ItemID.Sets.CanBePlacedOnWeaponRacks[Item.type] = true; - } - - public override void SetDefaults() - { - Item.width = 28; - Item.height = 28; - Item.maxStack = 999; - Item.value = Item.sellPrice(silver: 7); - Item.rare = ItemRarityID.Green; - } - - public override void ModifyResearchSorting(ref ContentSamples.CreativeHelper.ItemGroup itemGroup) - { - itemGroup = ContentSamples.CreativeHelper.ItemGroup.Fish; - } - } -} diff --git a/Items/Fishing/SunkenSeaCatches/CoralskinFoolfish.png b/Items/Fishing/SunkenSeaCatches/CoralskinFoolfish.png deleted file mode 100644 index 20a714b80d..0000000000 Binary files a/Items/Fishing/SunkenSeaCatches/CoralskinFoolfish.png and /dev/null differ diff --git a/Items/Placeables/Banners/AquaticAberrationBanner.cs b/Items/Placeables/Banners/AquaticAberrationBanner.cs deleted file mode 100644 index 6a56ca38fc..0000000000 --- a/Items/Placeables/Banners/AquaticAberrationBanner.cs +++ /dev/null @@ -1,33 +0,0 @@ -using CalamityMod.Tiles; -using Terraria; -using Terraria.ModLoader; -using Terraria.ID; - -namespace CalamityMod.Items.Placeables.Banners -{ - public class AquaticAberrationBanner : ModItem - { - public override void SetStaticDefaults() - { - SacrificeTotal = 1; - Tooltip.SetDefault("{$CommonItemTooltip.BannerBonus}Aquatic Aberration"); - } - - public override void SetDefaults() - { - Item.width = 10; - Item.height = 24; - Item.maxStack = 99; - Item.useTurn = true; - Item.autoReuse = true; - Item.useAnimation = 15; - Item.useTime = 10; - Item.useStyle = ItemUseStyleID.Swing; - Item.consumable = true; - Item.rare = ItemRarityID.Blue; - Item.value = Item.buyPrice(0, 0, 10, 0); - Item.createTile = ModContent.TileType(); - Item.placeStyle = 10; - } - } -} diff --git a/Items/Placeables/Banners/AquaticAberrationBanner.png b/Items/Placeables/Banners/AquaticAberrationBanner.png deleted file mode 100644 index 8f23e9938a..0000000000 Binary files a/Items/Placeables/Banners/AquaticAberrationBanner.png and /dev/null differ diff --git a/NPCs/SupremeCalamitas/SupremeCataclysm.cs b/NPCs/SupremeCalamitas/SupremeCataclysm.cs index 9ea1fc3b25..d8476e8827 100644 --- a/NPCs/SupremeCalamitas/SupremeCataclysm.cs +++ b/NPCs/SupremeCalamitas/SupremeCataclysm.cs @@ -244,10 +244,13 @@ namespace CalamityMod.NPCs.SupremeCalamitas float radians = MathHelper.TwoPi / totalProjectiles; float velocity = CalamityWorld.getFixedBoi ? 5f : 7f; Vector2 spinningPoint = new Vector2(0f, -velocity); - for (int k = 0; k < totalProjectiles; k++) + if (Main.netMode != NetmodeID.MultiplayerClient) { - Vector2 velocity2 = spinningPoint.RotatedBy(radians * k); - Projectile.NewProjectile(NPC.GetSource_FromAI(), NPC.Center, velocity2, type, damage, 0f, Main.myPlayer, 0f, 1f); + for (int k = 0; k < totalProjectiles; k++) + { + Vector2 velocity2 = spinningPoint.RotatedBy(radians * k); + Projectile.NewProjectile(NPC.GetSource_FromAI(), NPC.Center, velocity2, type, damage, 0f, Main.myPlayer, 0f, 1f); + } } for (int i = 0; i < 6; i++) diff --git a/NPCs/SupremeCalamitas/SupremeCatastrophe.cs b/NPCs/SupremeCalamitas/SupremeCatastrophe.cs index 3acbc12e1f..6eadb782bb 100644 --- a/NPCs/SupremeCalamitas/SupremeCatastrophe.cs +++ b/NPCs/SupremeCalamitas/SupremeCatastrophe.cs @@ -239,10 +239,13 @@ namespace CalamityMod.NPCs.SupremeCalamitas float radians = MathHelper.TwoPi / totalProjectiles; float velocity = CalamityWorld.getFixedBoi ? 5f : 7f; Vector2 spinningPoint = new Vector2(0f, -velocity); - for (int k = 0; k < totalProjectiles; k++) + if (Main.netMode != NetmodeID.MultiplayerClient) { - Vector2 velocity2 = spinningPoint.RotatedBy(radians * k); - Projectile.NewProjectile(NPC.GetSource_FromAI(), NPC.Center, velocity2, type, damage, 0f, Main.myPlayer, 0f, 1f); + for (int k = 0; k < totalProjectiles; k++) + { + Vector2 velocity2 = spinningPoint.RotatedBy(radians * k); + Projectile.NewProjectile(NPC.GetSource_FromAI(), NPC.Center, velocity2, type, damage, 0f, Main.myPlayer, 0f, 1f); + } } for (int i = 0; i < 6; i++) diff --git a/NPCs/Yharon/Yharon.cs b/NPCs/Yharon/Yharon.cs index 890c1a6002..d907d22051 100644 --- a/NPCs/Yharon/Yharon.cs +++ b/NPCs/Yharon/Yharon.cs @@ -118,7 +118,7 @@ namespace CalamityMod.NPCs.Yharon public override void SetBestiary(BestiaryDatabase database, BestiaryEntry bestiaryEntry) { bestiaryEntry.Info.AddRange(new IBestiaryInfoElement[] { - BestiaryDatabaseNPCsPopulator.CommonTags.SpawnConditions.Biomes.Jungle, + // Will move to localization whenever that is cleaned up. new FlavorTextBestiaryInfoElement("The loyal companion of the God-Hunter, they possess immense power compared to the Dragons of the past. This is likely partly due to fighting and training by their master's side.") diff --git a/Utilities/CalamityRecipes.cs b/Utilities/CalamityRecipes.cs index efcca2200d..4d2b1205fa 100644 --- a/Utilities/CalamityRecipes.cs +++ b/Utilities/CalamityRecipes.cs @@ -1125,11 +1125,6 @@ namespace CalamityMod r.AddTile(TileID.CookingPots); r.Register(); - r = Recipe.Create(ItemID.SeafoodDinner); - r.AddIngredient(ModContent.ItemType(), 2); - r.AddTile(TileID.CookingPots); - r.Register(); - r = Recipe.Create(ItemID.SeafoodDinner); r.AddIngredient(ModContent.ItemType(), 2); r.AddTile(TileID.CookingPots); diff --git a/Utilities/MiscUtils.cs b/Utilities/MiscUtils.cs index 425c558295..5103b627c3 100644 --- a/Utilities/MiscUtils.cs +++ b/Utilities/MiscUtils.cs @@ -407,9 +407,6 @@ namespace CalamityMod case 9: item = ModContent.ItemType(); break; - case 10: - item = ModContent.ItemType(); - break; case 12: item = ModContent.ItemType(); break; @@ -769,9 +766,6 @@ namespace CalamityMod case 9: npc = ModContent.NPCType(); break; - case 10: - npc = ModContent.NPCType(); - break; case 12: npc = ModContent.NPCType(); break;