diff --git a/Items/SummonItems/AncientMedallion.cs b/Items/SummonItems/AncientMedallion.cs index 4aa128504c..84ffc053a2 100644 --- a/Items/SummonItems/AncientMedallion.cs +++ b/Items/SummonItems/AncientMedallion.cs @@ -11,7 +11,8 @@ namespace CalamityMod.Items.SummonItems { DisplayName.SetDefault("Death Whistle"); Tooltip.SetDefault("A very old temple whistle\n" + - "Summons the Ravager"); + "Summons the Ravager\n" + + "Not consumable"); } public override void SetDefaults() @@ -23,7 +24,7 @@ namespace CalamityMod.Items.SummonItems item.useAnimation = 45; item.useTime = 45; item.useStyle = ItemUseStyleID.HoldingUp; - item.consumable = true; + item.consumable = false; } public override bool CanUseItem(Player player) @@ -49,8 +50,8 @@ namespace CalamityMod.Items.SummonItems public override void AddRecipes() { ModRecipe recipe = new ModRecipe(mod); - recipe.AddIngredient(ItemID.LunarTabletFragment, 5); - recipe.AddIngredient(ItemID.LihzahrdBrick, 10); + recipe.AddIngredient(ItemID.LunarTabletFragment, 15); + recipe.AddIngredient(ItemID.LihzahrdBrick, 25); recipe.AddTile(TileID.MythrilAnvil); recipe.SetResult(this); recipe.AddRecipe(); diff --git a/Items/SummonItems/AstralChunk.cs b/Items/SummonItems/AstralChunk.cs index 09ba7ef44d..4c571aa2ce 100644 --- a/Items/SummonItems/AstralChunk.cs +++ b/Items/SummonItems/AstralChunk.cs @@ -12,7 +12,8 @@ namespace CalamityMod.Items.SummonItems public override void SetStaticDefaults() { DisplayName.SetDefault("Astral Chunk"); - Tooltip.SetDefault("Summons Astrum Aureus"); + Tooltip.SetDefault("Summons Astrum Aureus\n" + + "Not consumable"); } public override void SetDefaults() @@ -24,7 +25,7 @@ namespace CalamityMod.Items.SummonItems item.useAnimation = 45; item.useTime = 45; item.useStyle = ItemUseStyleID.HoldingUp; - item.consumable = true; + item.consumable = false; } public override bool CanUseItem(Player player) @@ -50,8 +51,8 @@ namespace CalamityMod.Items.SummonItems public override void AddRecipes() { ModRecipe recipe = new ModRecipe(mod); - recipe.AddIngredient(ModContent.ItemType(), 15); - recipe.AddIngredient(ItemID.FallenStar, 10); + recipe.AddIngredient(ModContent.ItemType(), 30); + recipe.AddIngredient(ItemID.FallenStar, 20); recipe.AddTile(TileID.MythrilAnvil); recipe.SetResult(this); recipe.AddRecipe(); diff --git a/Items/SummonItems/BirbPheromones.cs b/Items/SummonItems/BirbPheromones.cs index f545640620..cf97150eec 100644 --- a/Items/SummonItems/BirbPheromones.cs +++ b/Items/SummonItems/BirbPheromones.cs @@ -1,4 +1,5 @@ using CalamityMod.Events; +using CalamityMod.Items.Materials; using CalamityMod.NPCs.Bumblebirb; using Terraria; using Terraria.ID; @@ -10,7 +11,8 @@ namespace CalamityMod.Items.SummonItems public override void SetStaticDefaults() { DisplayName.SetDefault("Exotic Pheromones"); - Tooltip.SetDefault("Attracts the failed draconic experiment"); + Tooltip.SetDefault("Attracts the failed draconic experiment\n" + + "Not consumable"); } public override void SetDefaults() @@ -22,7 +24,7 @@ namespace CalamityMod.Items.SummonItems item.useAnimation = 45; item.useTime = 45; item.useStyle = ItemUseStyleID.HoldingUp; - item.consumable = true; + item.consumable = false; } public override bool CanUseItem(Player player) @@ -44,8 +46,8 @@ namespace CalamityMod.Items.SummonItems public override void AddRecipes() { ModRecipe recipe = new ModRecipe(mod); - recipe.AddIngredient(ItemID.LunarBar, 3); - recipe.AddIngredient(ItemID.FragmentSolar, 5); + recipe.AddIngredient(ModContent.ItemType(), 5); + recipe.AddIngredient(ItemID.FragmentSolar, 20); recipe.AddTile(TileID.LunarCraftingStation); recipe.SetResult(this); recipe.AddRecipe(); diff --git a/Items/SummonItems/BloodyWormFood.cs b/Items/SummonItems/BloodyWormFood.cs index 116c0fb345..b888b075c8 100644 --- a/Items/SummonItems/BloodyWormFood.cs +++ b/Items/SummonItems/BloodyWormFood.cs @@ -12,7 +12,8 @@ namespace CalamityMod.Items.SummonItems public override void SetStaticDefaults() { DisplayName.SetDefault("Bloody Worm Food"); - Tooltip.SetDefault("Summons the Perforator Hive"); + Tooltip.SetDefault("Summons the Perforator Hive\n" + + "Not consumable"); } public override void SetDefaults() @@ -24,7 +25,7 @@ namespace CalamityMod.Items.SummonItems item.useAnimation = 45; item.useTime = 45; item.useStyle = ItemUseStyleID.HoldingUp; - item.consumable = true; + item.consumable = false; } public override bool CanUseItem(Player player) @@ -46,9 +47,9 @@ namespace CalamityMod.Items.SummonItems public override void AddRecipes() { ModRecipe recipe = new ModRecipe(mod); - recipe.AddIngredient(ItemID.Vertebrae, 9); - recipe.AddIngredient(ModContent.ItemType(), 5); - recipe.AddIngredient(ItemID.CrimtaneBar, 2); + recipe.AddIngredient(ItemID.Vertebrae, 13); + recipe.AddIngredient(ModContent.ItemType(), 7); + recipe.AddIngredient(ItemID.CrimtaneBar, 3); recipe.AddTile(TileID.DemonAltar); recipe.SetResult(this); recipe.AddRecipe(); diff --git a/Items/SummonItems/BulbofDoom.cs b/Items/SummonItems/BulbofDoom.cs index b37a60b3d2..4e07f94292 100644 --- a/Items/SummonItems/BulbofDoom.cs +++ b/Items/SummonItems/BulbofDoom.cs @@ -11,7 +11,8 @@ namespace CalamityMod.Items.SummonItems public override void SetStaticDefaults() { DisplayName.SetDefault("Portabulb"); - Tooltip.SetDefault("Summons Plantera"); + Tooltip.SetDefault("Summons Plantera\n" + + "Not consumable"); } public override void SetDefaults() @@ -23,7 +24,7 @@ namespace CalamityMod.Items.SummonItems item.useTime = 45; item.useStyle = ItemUseStyleID.HoldingUp; item.rare = ItemRarityID.Lime; - item.consumable = true; + item.consumable = false; } public override bool CanUseItem(Player player) diff --git a/Items/SummonItems/CharredIdol.cs b/Items/SummonItems/CharredIdol.cs index 7b36a235e4..0e111ac809 100644 --- a/Items/SummonItems/CharredIdol.cs +++ b/Items/SummonItems/CharredIdol.cs @@ -15,7 +15,7 @@ namespace CalamityMod.Items.SummonItems DisplayName.SetDefault("Charred Idol"); Tooltip.SetDefault("Use in the Brimstone Crag at your own risk\n" + "Summons the Brimstone Elemental\n" + - "The boss enrages outside of her home in the crags"); + "Not consumable"); } public override void SetDefaults() @@ -27,7 +27,7 @@ namespace CalamityMod.Items.SummonItems item.useAnimation = 45; item.useTime = 45; item.useStyle = ItemUseStyleID.HoldingUp; - item.consumable = true; + item.consumable = false; } public override bool CanUseItem(Player player) @@ -50,9 +50,9 @@ namespace CalamityMod.Items.SummonItems public override void AddRecipes() { ModRecipe recipe = new ModRecipe(mod); - recipe.AddIngredient(ItemID.SoulofNight, 3); - recipe.AddIngredient(ModContent.ItemType(), 5); - recipe.AddIngredient(ModContent.ItemType()); + recipe.AddIngredient(ItemID.SoulofNight, 5); + recipe.AddIngredient(ModContent.ItemType(), 7); + recipe.AddIngredient(ModContent.ItemType(), 2); recipe.AddTile(TileID.AdamantiteForge); recipe.SetResult(this); recipe.AddRecipe(); diff --git a/Items/SummonItems/ChickenEgg.cs b/Items/SummonItems/ChickenEgg.cs index b4b9ab55e0..e462c37eab 100644 --- a/Items/SummonItems/ChickenEgg.cs +++ b/Items/SummonItems/ChickenEgg.cs @@ -1,7 +1,6 @@ using CalamityMod.Events; using CalamityMod.Items.Materials; using CalamityMod.NPCs.Yharon; -using CalamityMod.World; using Terraria; using Terraria.ID; using Terraria.ModLoader; diff --git a/Items/SummonItems/CosmicWorm.cs b/Items/SummonItems/CosmicWorm.cs index 35e99f9f12..a0ae2417a4 100644 --- a/Items/SummonItems/CosmicWorm.cs +++ b/Items/SummonItems/CosmicWorm.cs @@ -6,7 +6,6 @@ using Microsoft.Xna.Framework; using System.Collections.Generic; using Terraria; using Terraria.ID; -using Terraria.Localization; using Terraria.ModLoader; namespace CalamityMod.Items.SummonItems diff --git a/Items/SummonItems/DecapoditaSprout.cs b/Items/SummonItems/DecapoditaSprout.cs index 3aee02d470..de76b3cab7 100644 --- a/Items/SummonItems/DecapoditaSprout.cs +++ b/Items/SummonItems/DecapoditaSprout.cs @@ -10,7 +10,8 @@ namespace CalamityMod.Items.SummonItems public override void SetStaticDefaults() { DisplayName.SetDefault("Decapodita Sprout"); - Tooltip.SetDefault("Summons Crabulon"); + Tooltip.SetDefault("Summons Crabulon\n" + + "Not consumable"); } public override void SetDefaults() @@ -22,7 +23,7 @@ namespace CalamityMod.Items.SummonItems item.useAnimation = 45; item.useTime = 45; item.useStyle = ItemUseStyleID.HoldingUp; - item.consumable = true; + item.consumable = false; } public override bool CanUseItem(Player player) @@ -48,7 +49,7 @@ namespace CalamityMod.Items.SummonItems public override void AddRecipes() { ModRecipe recipe = new ModRecipe(mod); - recipe.AddIngredient(ItemID.GlowingMushroom, 25); + recipe.AddIngredient(ItemID.GlowingMushroom, 50); recipe.AddTile(TileID.DemonAltar); recipe.SetResult(this); recipe.AddRecipe(); diff --git a/Items/SummonItems/DraedonsRemote.cs b/Items/SummonItems/DraedonsRemote.cs index 99a004c15f..c49e2a31d4 100644 --- a/Items/SummonItems/DraedonsRemote.cs +++ b/Items/SummonItems/DraedonsRemote.cs @@ -11,7 +11,8 @@ namespace CalamityMod.Items.SummonItems public override void SetStaticDefaults() { DisplayName.SetDefault("Draedon's Remote"); - Tooltip.SetDefault("Mayhem..."); + Tooltip.SetDefault("Mayhem...\n" + + "Not consumable"); } public override void SetDefaults() @@ -23,7 +24,7 @@ namespace CalamityMod.Items.SummonItems item.useAnimation = 45; item.useTime = 45; item.useStyle = ItemUseStyleID.HoldingUp; - item.consumable = true; + item.consumable = false; } public override bool CanUseItem(Player player) diff --git a/Items/SummonItems/DriedSeafood.cs b/Items/SummonItems/DriedSeafood.cs index 7b7d8f331b..6caef8ed17 100644 --- a/Items/SummonItems/DriedSeafood.cs +++ b/Items/SummonItems/DriedSeafood.cs @@ -14,7 +14,8 @@ namespace CalamityMod.Items.SummonItems { DisplayName.SetDefault("Desert Medallion"); Tooltip.SetDefault("The desert sand stirs...\n" + - "Summons the Desert Scourge"); + "Summons the Desert Scourge\n" + + "Not consumable"); } public override void SetDefaults() @@ -26,7 +27,7 @@ namespace CalamityMod.Items.SummonItems item.useAnimation = 45; item.useTime = 45; item.useStyle = ItemUseStyleID.HoldingUp; - item.consumable = true; + item.consumable = false; } public override bool CanUseItem(Player player) @@ -61,10 +62,10 @@ namespace CalamityMod.Items.SummonItems public override void AddRecipes() { ModRecipe recipe = new ModRecipe(mod); - recipe.AddIngredient(ItemID.SandBlock, 15); - recipe.AddIngredient(ItemID.AntlionMandible, 3); - recipe.AddIngredient(ItemID.Cactus, 10); - recipe.AddIngredient(ModContent.ItemType()); + recipe.AddIngredient(ItemID.SandBlock, 25); + recipe.AddIngredient(ItemID.Cactus, 15); + recipe.AddIngredient(ItemID.AntlionMandible, 4); + recipe.AddIngredient(ModContent.ItemType(), 2); recipe.AddTile(TileID.DemonAltar); recipe.SetResult(this); recipe.AddRecipe(); diff --git a/Items/SummonItems/NecroplasmicBeacon.cs b/Items/SummonItems/NecroplasmicBeacon.cs index e41cf684e2..e9602bb459 100644 --- a/Items/SummonItems/NecroplasmicBeacon.cs +++ b/Items/SummonItems/NecroplasmicBeacon.cs @@ -56,7 +56,8 @@ namespace CalamityMod.Items.SummonItems public override void AddRecipes() { ModRecipe recipe = new ModRecipe(mod); - recipe.AddIngredient(ModContent.ItemType(), 100); + recipe.AddIngredient(ItemID.SpookyWood, 25); + recipe.AddIngredient(ModContent.ItemType(), 50); recipe.AddTile(TileID.LunarCraftingStation); recipe.SetResult(this); recipe.AddRecipe(); diff --git a/Items/SummonItems/OldPowerCell.cs b/Items/SummonItems/OldPowerCell.cs index 2ca5cdd787..d8d043ea7d 100644 --- a/Items/SummonItems/OldPowerCell.cs +++ b/Items/SummonItems/OldPowerCell.cs @@ -11,7 +11,8 @@ namespace CalamityMod.Items.SummonItems public override void SetStaticDefaults() { DisplayName.SetDefault("Old Power Cell"); - Tooltip.SetDefault("Summons the ancient golem when used in the Temple"); + Tooltip.SetDefault("Summons the Golem when used in the Temple\n" + + "Not consumable"); } public override void SetDefaults() @@ -23,21 +24,19 @@ namespace CalamityMod.Items.SummonItems item.useAnimation = 45; item.useTime = 45; item.useStyle = ItemUseStyleID.HoldingUp; - item.consumable = true; + item.consumable = false; } public override bool CanUseItem(Player player) { bool canSummon = false; - if ((double)player.Center.Y > Main.worldSurface * 16.0) + if (player.Center.Y > Main.worldSurface * 16.0) { int num = (int)player.Center.X / 16; int num2 = (int)player.Center.Y / 16; Tile tile = Framing.GetTileSafely(num, num2); if (tile.wall == 87) - { canSummon = true; - } } return canSummon && !NPC.AnyNPCs(NPCID.Golem) && !BossRushEvent.BossRushActive; } @@ -56,8 +55,8 @@ namespace CalamityMod.Items.SummonItems public override void AddRecipes() { ModRecipe recipe = new ModRecipe(mod); - recipe.AddIngredient(ItemID.LunarTabletFragment, 10); - recipe.AddIngredient(ModContent.ItemType(), 5); + recipe.AddIngredient(ItemID.LunarTabletFragment, 20); + recipe.AddIngredient(ModContent.ItemType(), 10); recipe.AddTile(TileID.MythrilAnvil); recipe.SetResult(this); recipe.AddRecipe(); diff --git a/Items/SummonItems/OverloadedSludge.cs b/Items/SummonItems/OverloadedSludge.cs index 9d2cb4fbae..b91922d811 100644 --- a/Items/SummonItems/OverloadedSludge.cs +++ b/Items/SummonItems/OverloadedSludge.cs @@ -13,7 +13,8 @@ namespace CalamityMod.Items.SummonItems { DisplayName.SetDefault("Overloaded Sludge"); Tooltip.SetDefault("It looks corrupted\n" + - "Summons the Slime God"); + "Summons the Slime God\n" + + "Not consumable"); } public override void SetDefaults() @@ -25,7 +26,7 @@ namespace CalamityMod.Items.SummonItems item.useAnimation = 45; item.useTime = 45; item.useStyle = ItemUseStyleID.HoldingUp; - item.consumable = true; + item.consumable = false; } public override bool CanUseItem(Player player) @@ -48,13 +49,13 @@ namespace CalamityMod.Items.SummonItems public override void AddRecipes() { ModRecipe recipe = new ModRecipe(mod); - recipe.AddIngredient(ModContent.ItemType(), 25); - recipe.AddRecipeGroup("AnyEvilBlock", 25); + recipe.AddIngredient(ModContent.ItemType(), 40); + recipe.AddRecipeGroup("AnyEvilBlock", 40); recipe.AddTile(TileID.DemonAltar); recipe.SetResult(this); recipe.AddRecipe(); recipe = new ModRecipe(mod); - recipe.AddIngredient(ModContent.ItemType(), 25); + recipe.AddIngredient(ModContent.ItemType(), 40); recipe.AddTile(TileID.DemonAltar); recipe.SetResult(this); recipe.AddRecipe(); diff --git a/Items/SummonItems/ProfanedShard.cs b/Items/SummonItems/ProfanedShard.cs index 4fb56f2fd9..6ab36b36dd 100644 --- a/Items/SummonItems/ProfanedShard.cs +++ b/Items/SummonItems/ProfanedShard.cs @@ -14,7 +14,8 @@ namespace CalamityMod.Items.SummonItems DisplayName.SetDefault("Profaned Shard"); Tooltip.SetDefault("A shard of the unholy flame\n" + "Summons the Profaned Guardians\n" + - "Can only be used during daytime"); + "Can only be used during daytime\n" + + "Not consumable"); } public override void SetDefaults() @@ -25,7 +26,7 @@ namespace CalamityMod.Items.SummonItems item.useAnimation = 45; item.useTime = 45; item.useStyle = ItemUseStyleID.HoldingUp; - item.consumable = true; + item.consumable = false; item.rare = ItemRarityID.Purple; } @@ -48,8 +49,8 @@ namespace CalamityMod.Items.SummonItems public override void AddRecipes() { ModRecipe recipe = new ModRecipe(mod); - recipe.AddIngredient(ModContent.ItemType(), 15); - recipe.AddIngredient(ItemID.LunarBar, 3); + recipe.AddIngredient(ModContent.ItemType(), 25); + recipe.AddIngredient(ItemID.LunarBar, 5); recipe.AddTile(TileID.LunarCraftingStation); recipe.SetResult(this); recipe.AddRecipe(); diff --git a/Items/SummonItems/SandstormsCore.cs b/Items/SummonItems/SandstormsCore.cs index 00bf9252c3..318737ecfa 100644 --- a/Items/SummonItems/SandstormsCore.cs +++ b/Items/SummonItems/SandstormsCore.cs @@ -9,7 +9,8 @@ namespace CalamityMod.Items.SummonItems public override void SetStaticDefaults() { DisplayName.SetDefault("Sandstorm's Core"); - Tooltip.SetDefault("Summons the Great Sand Shark"); + Tooltip.SetDefault("Summons the Great Sand Shark\n" + + "Not consumable"); } public override void SetDefaults() @@ -21,7 +22,7 @@ namespace CalamityMod.Items.SummonItems item.useAnimation = 45; item.useTime = 45; item.useStyle = ItemUseStyleID.HoldingUp; - item.consumable = true; + item.consumable = false; } public override bool CanUseItem(Player player) @@ -43,10 +44,10 @@ namespace CalamityMod.Items.SummonItems public override void AddRecipes() { ModRecipe recipe = new ModRecipe(mod); - recipe.AddIngredient(ItemID.AncientBattleArmorMaterial, 2); - recipe.AddIngredient(ItemID.Ectoplasm, 5); + recipe.AddIngredient(ItemID.Ectoplasm, 10); recipe.AddIngredient(ItemID.HallowedBar, 5); - recipe.AddTile(TileID.MythrilAnvil); + recipe.AddIngredient(ItemID.AncientBattleArmorMaterial, 3); + recipe.AddTile(TileID.MythrilAnvil); recipe.SetResult(this); recipe.AddRecipe(); } diff --git a/Items/SummonItems/Seafood.cs b/Items/SummonItems/Seafood.cs index 2e33f85676..d03f969527 100644 --- a/Items/SummonItems/Seafood.cs +++ b/Items/SummonItems/Seafood.cs @@ -14,7 +14,8 @@ namespace CalamityMod.Items.SummonItems { DisplayName.SetDefault("Seafood"); Tooltip.SetDefault("The sulphuric sand stirs...\n" + - "Summons the Aquatic Scourge"); + "Summons the Aquatic Scourge\n" + + "Not consumable"); } public override void SetDefaults() @@ -26,7 +27,7 @@ namespace CalamityMod.Items.SummonItems item.useAnimation = 45; item.useTime = 45; item.useStyle = ItemUseStyleID.HoldingUp; - item.consumable = true; + item.consumable = false; } public override bool CanUseItem(Player player) @@ -49,9 +50,9 @@ namespace CalamityMod.Items.SummonItems public override void AddRecipes() { ModRecipe recipe = new ModRecipe(mod); - recipe.AddIngredient(ModContent.ItemType(), 10); - recipe.AddIngredient(ItemID.Starfish, 5); - recipe.AddIngredient(ItemID.SharkFin); + recipe.AddIngredient(ModContent.ItemType(), 20); + recipe.AddIngredient(ItemID.Starfish, 10); + recipe.AddIngredient(ItemID.SharkFin, 5); recipe.AddTile(TileID.MythrilAnvil); recipe.SetResult(this); recipe.AddRecipe(); diff --git a/Items/SummonItems/Teratoma.cs b/Items/SummonItems/Teratoma.cs index f839dee8fd..5cf5c56657 100644 --- a/Items/SummonItems/Teratoma.cs +++ b/Items/SummonItems/Teratoma.cs @@ -12,7 +12,8 @@ namespace CalamityMod.Items.SummonItems public override void SetStaticDefaults() { DisplayName.SetDefault("Teratoma"); - Tooltip.SetDefault("Summons the Hive Mind"); + Tooltip.SetDefault("Summons the Hive Mind\n" + + "Not consumable"); } public override void SetDefaults() @@ -24,7 +25,7 @@ namespace CalamityMod.Items.SummonItems item.useAnimation = 45; item.useTime = 45; item.useStyle = ItemUseStyleID.HoldingUp; - item.consumable = true; + item.consumable = false; } public override bool CanUseItem(Player player) @@ -46,9 +47,9 @@ namespace CalamityMod.Items.SummonItems public override void AddRecipes() { ModRecipe recipe = new ModRecipe(mod); - recipe.AddIngredient(ItemID.RottenChunk, 9); - recipe.AddIngredient(ModContent.ItemType(), 5); - recipe.AddIngredient(ItemID.DemoniteBar, 2); + recipe.AddIngredient(ItemID.RottenChunk, 13); + recipe.AddIngredient(ModContent.ItemType(), 7); + recipe.AddIngredient(ItemID.DemoniteBar, 3); recipe.AddTile(TileID.DemonAltar); recipe.SetResult(this); recipe.AddRecipe();