diff --git a/Items/Materials/AscendantSpiritEssence.cs b/Items/Materials/AscendantSpiritEssence.cs index c56c54e6f5..16234a3597 100644 --- a/Items/Materials/AscendantSpiritEssence.cs +++ b/Items/Materials/AscendantSpiritEssence.cs @@ -1,17 +1,16 @@ -using CalamityMod.Tiles.Furniture.CraftingStations; -using Microsoft.Xna.Framework; +using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Graphics; using Terraria; +using Terraria.DataStructures; using Terraria.ID; using Terraria.ModLoader; -using Terraria.DataStructures; namespace CalamityMod.Items.Materials { public class AscendantSpiritEssence : ModItem { - public int frameCounter = 0; - public int frame = 0; + public int frameCounter = 0; + public int frame = 0; public override void SetStaticDefaults() { DisplayName.SetDefault("Ascendant Spirit Essence"); @@ -26,21 +25,21 @@ namespace CalamityMod.Items.Materials item.maxStack = 999; item.rare = ItemRarityID.Red; item.Calamity().customRarity = CalamityRarity.DarkBlue; - item.value = Item.sellPrice(gold: 25); + item.value = Item.sellPrice(gold: 40); } - public override bool PreDrawInWorld(SpriteBatch spriteBatch, Color lightColor, Color alphaColor, ref float rotation, ref float scale, int whoAmI) - { - Texture2D texture = Main.itemTexture[item.type]; - spriteBatch.Draw(texture, item.position - Main.screenPosition, item.GetCurrentFrame(ref frame, ref frameCounter, 6, 6), lightColor, 0f, Vector2.Zero, 1f, SpriteEffects.None, 0); - return false; - } + public override bool PreDrawInWorld(SpriteBatch spriteBatch, Color lightColor, Color alphaColor, ref float rotation, ref float scale, int whoAmI) + { + Texture2D texture = Main.itemTexture[item.type]; + spriteBatch.Draw(texture, item.position - Main.screenPosition, item.GetCurrentFrame(ref frame, ref frameCounter, 6, 6), lightColor, 0f, Vector2.Zero, 1f, SpriteEffects.None, 0); + return false; + } - public override void PostDrawInWorld(SpriteBatch spriteBatch, Color lightColor, Color alphaColor, float rotation, float scale, int whoAmI) - { - Texture2D texture = ModContent.GetTexture("CalamityMod/Items/Materials/AscendantSpiritEssenceGlow"); - spriteBatch.Draw(texture, item.position - Main.screenPosition, item.GetCurrentFrame(ref frame, ref frameCounter, 6, 6, false), Color.White, 0f, Vector2.Zero, 1f, SpriteEffects.None, 0); - } + public override void PostDrawInWorld(SpriteBatch spriteBatch, Color lightColor, Color alphaColor, float rotation, float scale, int whoAmI) + { + Texture2D texture = ModContent.GetTexture("CalamityMod/Items/Materials/AscendantSpiritEssenceGlow"); + spriteBatch.Draw(texture, item.position - Main.screenPosition, item.GetCurrentFrame(ref frame, ref frameCounter, 6, 6, false), Color.White, 0f, Vector2.Zero, 1f, SpriteEffects.None, 0); + } public override void Update(ref float gravity, ref float maxFallSpeed) { @@ -54,8 +53,8 @@ namespace CalamityMod.Items.Materials recipe.AddIngredient(ModContent.ItemType(), 5); recipe.AddIngredient(ModContent.ItemType(), 5); recipe.AddIngredient(ModContent.ItemType(), 5); - recipe.AddIngredient(ModContent.ItemType(), 5); - recipe.AddTile(ModContent.TileType()); + recipe.AddIngredient(ModContent.ItemType(), 2); + recipe.AddTile(TileID.LunarCraftingStation); recipe.SetResult(this); recipe.AddRecipe(); } diff --git a/Items/Materials/AuricBar.cs b/Items/Materials/AuricBar.cs index d223c55911..6931b55a40 100644 --- a/Items/Materials/AuricBar.cs +++ b/Items/Materials/AuricBar.cs @@ -11,54 +11,54 @@ namespace CalamityMod.Items.Materials { public class AuricBar : ModItem { - public int frameCounter = 0; - public int frame = 0; + public int frameCounter = 0; + public int frame = 0; public override void SetStaticDefaults() { - DisplayName.SetDefault("Auric Tesla Bar"); - Tooltip.SetDefault("It radiates godly energy"); + DisplayName.SetDefault("Auric Bar"); + Tooltip.SetDefault("Godlike power emanates from the metal"); } public override void SetDefaults() { - item.createTile = ModContent.TileType(); + item.createTile = ModContent.TileType(); item.width = 50; item.height = 30; item.maxStack = 999; item.value = Item.sellPrice(gold: 60); item.Calamity().customRarity = CalamityRarity.Violet; - item.useStyle = ItemUseStyleID.SwingThrow; - item.useTurn = true; - item.useAnimation = 15; - item.useTime = 10; - item.autoReuse = true; - item.consumable = true; + item.useStyle = ItemUseStyleID.SwingThrow; + item.useTurn = true; + item.useAnimation = 15; + item.useTime = 10; + item.autoReuse = true; + item.consumable = true; } - public override void UseStyle(Player player) - { - player.itemLocation += new Vector2(-10f * player.direction, 10f * player.gravDir).RotatedBy(player.itemRotation); - } + public override void UseStyle(Player player) + { + player.itemLocation += new Vector2(-10f * player.direction, 10f * player.gravDir).RotatedBy(player.itemRotation); + } - public override bool PreDrawInInventory(SpriteBatch spriteBatch, Vector2 position, Rectangle frameI, Color drawColor, Color itemColor, Vector2 origin, float scale) - { - Texture2D texture = ModContent.GetTexture("CalamityMod/Items/Materials/AuricBar_Animated"); - spriteBatch.Draw(texture, position, item.GetCurrentFrame(ref frame, ref frameCounter, 5, 15), Color.White, 0f, origin, scale, SpriteEffects.None, 0); - return false; - } + public override bool PreDrawInInventory(SpriteBatch spriteBatch, Vector2 position, Rectangle frameI, Color drawColor, Color itemColor, Vector2 origin, float scale) + { + Texture2D texture = ModContent.GetTexture("CalamityMod/Items/Materials/AuricBar_Animated"); + spriteBatch.Draw(texture, position, item.GetCurrentFrame(ref frame, ref frameCounter, 5, 15), Color.White, 0f, origin, scale, SpriteEffects.None, 0); + return false; + } - public override bool PreDrawInWorld(SpriteBatch spriteBatch, Color lightColor, Color alphaColor, ref float rotation, ref float scale, int whoAmI) - { - Texture2D texture = ModContent.GetTexture("CalamityMod/Items/Materials/AuricBar_Animated"); - spriteBatch.Draw(texture, item.position - Main.screenPosition, item.GetCurrentFrame(ref frame, ref frameCounter, 5, 15), lightColor, 0f, Vector2.Zero, 1f, SpriteEffects.None, 0); - return false; - } + public override bool PreDrawInWorld(SpriteBatch spriteBatch, Color lightColor, Color alphaColor, ref float rotation, ref float scale, int whoAmI) + { + Texture2D texture = ModContent.GetTexture("CalamityMod/Items/Materials/AuricBar_Animated"); + spriteBatch.Draw(texture, item.position - Main.screenPosition, item.GetCurrentFrame(ref frame, ref frameCounter, 5, 15), lightColor, 0f, Vector2.Zero, 1f, SpriteEffects.None, 0); + return false; + } - public override void PostDrawInWorld(SpriteBatch spriteBatch, Color lightColor, Color alphaColor, float rotation, float scale, int whoAmI) - { - Texture2D texture = ModContent.GetTexture("CalamityMod/Items/Materials/AuricBarGlow"); - spriteBatch.Draw(texture, item.position - Main.screenPosition, item.GetCurrentFrame(ref frame, ref frameCounter, 5, 15, false), Color.White, 0f, Vector2.Zero, 1f, SpriteEffects.None, 0); - } + public override void PostDrawInWorld(SpriteBatch spriteBatch, Color lightColor, Color alphaColor, float rotation, float scale, int whoAmI) + { + Texture2D texture = ModContent.GetTexture("CalamityMod/Items/Materials/AuricBarGlow"); + spriteBatch.Draw(texture, item.position - Main.screenPosition, item.GetCurrentFrame(ref frame, ref frameCounter, 5, 15, false), Color.White, 0f, Vector2.Zero, 1f, SpriteEffects.None, 0); + } public override void Update(ref float gravity, ref float maxFallSpeed) { @@ -69,15 +69,11 @@ namespace CalamityMod.Items.Materials public override void AddRecipes() { ModRecipe recipe = new ModRecipe(mod); - recipe.AddIngredient(ModContent.ItemType()); - recipe.AddIngredient(ModContent.ItemType(), 10); - recipe.AddIngredient(ModContent.ItemType(), 2); - recipe.AddIngredient(ModContent.ItemType()); - recipe.AddIngredient(ModContent.ItemType()); - recipe.AddIngredient(ModContent.ItemType()); + recipe.AddIngredient(ModContent.ItemType(), 60); recipe.AddIngredient(ModContent.ItemType()); + // TODO -- Cosmic Anvil, you won't have DF yet for Auric Bars recipe.AddTile(ModContent.TileType()); - recipe.SetResult(this, 2); + recipe.SetResult(this, 5); recipe.AddRecipe(); } } diff --git a/Items/Materials/CalamitousEssence.cs b/Items/Materials/CalamitousEssence.cs index 80c39e2ecc..3251382159 100644 --- a/Items/Materials/CalamitousEssence.cs +++ b/Items/Materials/CalamitousEssence.cs @@ -13,7 +13,7 @@ namespace CalamityMod.Items.Materials public override void SetStaticDefaults() { DisplayName.SetDefault("Ashes of Annihilation"); - Tooltip.SetDefault("It burns with untold power"); + Tooltip.SetDefault("The smoldering essence of the Witch's wrath"); Main.RegisterItemAnimation(item.type, new DrawAnimationVertical(7, 6)); } @@ -23,7 +23,7 @@ namespace CalamityMod.Items.Materials item.height = 56; item.maxStack = 999; item.rare = ItemRarityID.Purple; - item.value = Item.sellPrice(gold: 24); + item.value = Item.sellPrice(gold: 66, silver: 66, copper: 66); item.Calamity().customRarity = CalamityRarity.Violet; } diff --git a/Items/Materials/DarksunFragment.cs b/Items/Materials/DarksunFragment.cs index 4f3ebb9e58..ff79d29716 100644 --- a/Items/Materials/DarksunFragment.cs +++ b/Items/Materials/DarksunFragment.cs @@ -9,12 +9,12 @@ namespace CalamityMod.Items.Materials { public class DarksunFragment : ModItem { - public int frameCounter = 0; - public int frame = 0; + public int frameCounter = 0; + public int frame = 0; public override void SetStaticDefaults() { DisplayName.SetDefault("Darksun Fragment"); - Tooltip.SetDefault("A shard of lunar and solar energy"); + Tooltip.SetDefault("An impacted crystal suffused with opposing celestial energies"); Main.RegisterItemAnimation(item.type, new DrawAnimationVertical(6, 8)); } @@ -23,23 +23,23 @@ namespace CalamityMod.Items.Materials item.width = 28; item.height = 32; item.maxStack = 999; - item.rare = ItemRarityID.Purple; + item.rare = ItemRarityID.Purple; item.value = Item.sellPrice(gold: 12); item.Calamity().customRarity = CalamityRarity.DarkBlue; } - public override bool PreDrawInWorld(SpriteBatch spriteBatch, Color lightColor, Color alphaColor, ref float rotation, ref float scale, int whoAmI) - { - Texture2D texture = Main.itemTexture[item.type]; - spriteBatch.Draw(texture, item.position - Main.screenPosition, item.GetCurrentFrame(ref frame, ref frameCounter, 6, 8), lightColor, 0f, Vector2.Zero, 1f, SpriteEffects.None, 0); - return false; - } + public override bool PreDrawInWorld(SpriteBatch spriteBatch, Color lightColor, Color alphaColor, ref float rotation, ref float scale, int whoAmI) + { + Texture2D texture = Main.itemTexture[item.type]; + spriteBatch.Draw(texture, item.position - Main.screenPosition, item.GetCurrentFrame(ref frame, ref frameCounter, 6, 8), lightColor, 0f, Vector2.Zero, 1f, SpriteEffects.None, 0); + return false; + } - public override void PostDrawInWorld(SpriteBatch spriteBatch, Color lightColor, Color alphaColor, float rotation, float scale, int whoAmI) - { - Texture2D texture = ModContent.GetTexture("CalamityMod/Items/Materials/DarksunFragmentGlow"); - spriteBatch.Draw(texture, item.position - Main.screenPosition, item.GetCurrentFrame(ref frame, ref frameCounter, 6, 8, false), Color.White, 0f, Vector2.Zero, 1f, SpriteEffects.None, 0); - } + public override void PostDrawInWorld(SpriteBatch spriteBatch, Color lightColor, Color alphaColor, float rotation, float scale, int whoAmI) + { + Texture2D texture = ModContent.GetTexture("CalamityMod/Items/Materials/DarksunFragmentGlow"); + spriteBatch.Draw(texture, item.position - Main.screenPosition, item.GetCurrentFrame(ref frame, ref frameCounter, 6, 8, false), Color.White, 0f, Vector2.Zero, 1f, SpriteEffects.None, 0); + } public override void Update(ref float gravity, ref float maxFallSpeed) { diff --git a/Items/Materials/EndothermicEnergy.cs b/Items/Materials/EndothermicEnergy.cs index 3c3124302e..1777bc85ea 100644 --- a/Items/Materials/EndothermicEnergy.cs +++ b/Items/Materials/EndothermicEnergy.cs @@ -7,14 +7,14 @@ using Terraria.ID; namespace CalamityMod.Items.Materials { - public class EndothermicEnergy : ModItem + public class EndothermicEnergy : ModItem { - public int frameCounter = 0; - public int frame = 0; + public int frameCounter = 0; + public int frame = 0; public override void SetStaticDefaults() { DisplayName.SetDefault("Endothermic Energy"); - Tooltip.SetDefault("Great for preventing heat stroke"); + Tooltip.SetDefault("Its deathly chill sucks the life from its surroundings"); Main.RegisterItemAnimation(item.type, new DrawAnimationVertical(6, 6)); } @@ -28,18 +28,18 @@ namespace CalamityMod.Items.Materials item.Calamity().customRarity = CalamityRarity.DarkBlue; } - public override bool PreDrawInWorld(SpriteBatch spriteBatch, Color lightColor, Color alphaColor, ref float rotation, ref float scale, int whoAmI) - { - Texture2D texture = Main.itemTexture[item.type]; - spriteBatch.Draw(texture, item.position - Main.screenPosition, item.GetCurrentFrame(ref frame, ref frameCounter, 6, 6), lightColor, 0f, Vector2.Zero, 1f, SpriteEffects.None, 0); - return false; - } + public override bool PreDrawInWorld(SpriteBatch spriteBatch, Color lightColor, Color alphaColor, ref float rotation, ref float scale, int whoAmI) + { + Texture2D texture = Main.itemTexture[item.type]; + spriteBatch.Draw(texture, item.position - Main.screenPosition, item.GetCurrentFrame(ref frame, ref frameCounter, 6, 6), lightColor, 0f, Vector2.Zero, 1f, SpriteEffects.None, 0); + return false; + } - public override void PostDrawInWorld(SpriteBatch spriteBatch, Color lightColor, Color alphaColor, float rotation, float scale, int whoAmI) - { - Texture2D texture = ModContent.GetTexture("CalamityMod/Items/Materials/EndothermicEnergyGlow"); - spriteBatch.Draw(texture, item.position - Main.screenPosition, item.GetCurrentFrame(ref frame, ref frameCounter, 6, 6, false), Color.White, 0f, Vector2.Zero, 1f, SpriteEffects.None, 0); - } + public override void PostDrawInWorld(SpriteBatch spriteBatch, Color lightColor, Color alphaColor, float rotation, float scale, int whoAmI) + { + Texture2D texture = ModContent.GetTexture("CalamityMod/Items/Materials/EndothermicEnergyGlow"); + spriteBatch.Draw(texture, item.position - Main.screenPosition, item.GetCurrentFrame(ref frame, ref frameCounter, 6, 6, false), Color.White, 0f, Vector2.Zero, 1f, SpriteEffects.None, 0); + } public override void Update(ref float gravity, ref float maxFallSpeed) { diff --git a/Items/Materials/ExoCrystal.cs b/Items/Materials/ExoPrism.cs similarity index 94% rename from Items/Materials/ExoCrystal.cs rename to Items/Materials/ExoPrism.cs index 7c72d3f92c..640a5fb3ec 100644 --- a/Items/Materials/ExoCrystal.cs +++ b/Items/Materials/ExoPrism.cs @@ -6,11 +6,11 @@ using Terraria.ModLoader; namespace CalamityMod.Items.Materials { - public class ExoCrystal : ModItem + public class ExoPrism : ModItem { public override void SetStaticDefaults() { - DisplayName.SetDefault("Exocrystal"); + DisplayName.SetDefault("Exo Prism"); Tooltip.SetDefault("Fractal energies shimmer across its surface"); } @@ -20,7 +20,7 @@ namespace CalamityMod.Items.Materials item.height = 52; item.maxStack = 999; item.rare = ItemRarityID.Purple; - item.value = Item.sellPrice(gold: 24); + item.value = Item.sellPrice(gold: 60); item.Calamity().customRarity = CalamityRarity.Violet; } diff --git a/Items/Materials/ExoCrystal.png b/Items/Materials/ExoPrism.png similarity index 100% rename from Items/Materials/ExoCrystal.png rename to Items/Materials/ExoPrism.png diff --git a/Items/Materials/HellcasterFragment.cs b/Items/Materials/HellcasterFragment.cs index 3b153a6f6e..0b16696df3 100644 --- a/Items/Materials/HellcasterFragment.cs +++ b/Items/Materials/HellcasterFragment.cs @@ -23,7 +23,7 @@ namespace CalamityMod.Items.Materials item.width = 10; item.height = 14; item.maxStack = 999; - item.value = Item.sellPrice(gold: 16); + item.value = Item.sellPrice(gold: 45); item.Calamity().customRarity = CalamityRarity.Violet; } } diff --git a/Items/Materials/MiracleMatter.cs b/Items/Materials/MiracleMatter.cs new file mode 100644 index 0000000000..d59c761839 --- /dev/null +++ b/Items/Materials/MiracleMatter.cs @@ -0,0 +1,44 @@ +using CalamityMod.Tiles.Furniture.CraftingStations; +using Microsoft.Xna.Framework; +using Terraria; +using Terraria.ID; +using Terraria.ModLoader; + +namespace CalamityMod.Items.Materials +{ + public class MiracleMatter : ModItem + { + public override void SetStaticDefaults() + { + DisplayName.SetDefault("Miracle Matter"); + Tooltip.SetDefault("Its amorphous form contains untold potential\n" + "One is required for every Exo Weapon"); + } + + public override void SetDefaults() + { + item.width = 46; + item.height = 64; + item.maxStack = 999; + item.rare = ItemRarityID.Purple; + item.value = Item.sellPrice(platinum: 6, gold: 50); + item.Calamity().customRarity = CalamityRarity.Violet; + } + + // TODO -- Miracle Matter should probably look cooler than it does. Right now it just glows in the dark. + public override Color? GetAlpha(Color lightColor) => new Color(200, 200, 200, 0); + + public override void AddRecipes() + { + ModRecipe recipe = new ModRecipe(mod); + recipe.AddIngredient(ModContent.ItemType(), 5); + recipe.AddIngredient(ModContent.ItemType(), 5); + recipe.AddIngredient(ModContent.ItemType(), 1); + recipe.AddIngredient(ModContent.ItemType(), 1); + recipe.AddIngredient(ModContent.ItemType(), 1); + recipe.AddIngredient(ModContent.ItemType(), 3); + recipe.AddTile(ModContent.TileType()); + recipe.SetResult(this, 1); + recipe.AddRecipe(); + } + } +} diff --git a/Items/Materials/MiracleMatter.png b/Items/Materials/MiracleMatter.png new file mode 100644 index 0000000000..a313570748 Binary files /dev/null and b/Items/Materials/MiracleMatter.png differ diff --git a/Items/Materials/NightmareFuel.cs b/Items/Materials/NightmareFuel.cs index a5d4424624..960ba7b30e 100644 --- a/Items/Materials/NightmareFuel.cs +++ b/Items/Materials/NightmareFuel.cs @@ -7,10 +7,10 @@ using Terraria.ID; namespace CalamityMod.Items.Materials { - public class NightmareFuel : ModItem + public class NightmareFuel : ModItem { - public int frameCounter = 0; - public int frame = 0; + public int frameCounter = 0; + public int frame = 0; public override void SetStaticDefaults() { DisplayName.SetDefault("Nightmare Fuel"); @@ -28,18 +28,18 @@ namespace CalamityMod.Items.Materials item.Calamity().customRarity = CalamityRarity.DarkBlue; } - public override bool PreDrawInWorld(SpriteBatch spriteBatch, Color lightColor, Color alphaColor, ref float rotation, ref float scale, int whoAmI) - { - Texture2D texture = Main.itemTexture[item.type]; - spriteBatch.Draw(texture, item.position - Main.screenPosition, item.GetCurrentFrame(ref frame, ref frameCounter, 6, 6), lightColor, 0f, Vector2.Zero, 1f, SpriteEffects.None, 0); - return false; - } + public override bool PreDrawInWorld(SpriteBatch spriteBatch, Color lightColor, Color alphaColor, ref float rotation, ref float scale, int whoAmI) + { + Texture2D texture = Main.itemTexture[item.type]; + spriteBatch.Draw(texture, item.position - Main.screenPosition, item.GetCurrentFrame(ref frame, ref frameCounter, 6, 6), lightColor, 0f, Vector2.Zero, 1f, SpriteEffects.None, 0); + return false; + } - public override void PostDrawInWorld(SpriteBatch spriteBatch, Color lightColor, Color alphaColor, float rotation, float scale, int whoAmI) - { - Texture2D texture = ModContent.GetTexture("CalamityMod/Items/Materials/NightmareFuelGlow"); - spriteBatch.Draw(texture, item.position - Main.screenPosition, item.GetCurrentFrame(ref frame, ref frameCounter, 6, 6, false), Color.White, 0f, Vector2.Zero, 1f, SpriteEffects.None, 0); - } + public override void PostDrawInWorld(SpriteBatch spriteBatch, Color lightColor, Color alphaColor, float rotation, float scale, int whoAmI) + { + Texture2D texture = ModContent.GetTexture("CalamityMod/Items/Materials/NightmareFuelGlow"); + spriteBatch.Draw(texture, item.position - Main.screenPosition, item.GetCurrentFrame(ref frame, ref frameCounter, 6, 6, false), Color.White, 0f, Vector2.Zero, 1f, SpriteEffects.None, 0); + } public override void Update(ref float gravity, ref float maxFallSpeed) { diff --git a/Items/Materials/Phantoplasm.cs b/Items/Materials/Phantoplasm.cs index 823014cd4f..8294440c40 100644 --- a/Items/Materials/Phantoplasm.cs +++ b/Items/Materials/Phantoplasm.cs @@ -11,6 +11,7 @@ namespace CalamityMod.Items.Materials public override void SetStaticDefaults() { DisplayName.SetDefault("Phantoplasm"); + Tooltip.SetDefault("It churns and seethes with ghastly malice"); Main.RegisterItemAnimation(item.type, new DrawAnimationVertical(5, 5)); } @@ -20,8 +21,8 @@ namespace CalamityMod.Items.Materials item.height = 12; item.maxStack = 999; item.value = Item.sellPrice(gold: 1); - item.rare = ItemRarityID.Purple; - } + item.rare = ItemRarityID.Purple; + } public override Color? GetAlpha(Color lightColor) => new Color(200, 200, 200, 0); } diff --git a/Items/Materials/ShadowspecBar.cs b/Items/Materials/ShadowspecBar.cs index bd65f21617..93568afe8f 100644 --- a/Items/Materials/ShadowspecBar.cs +++ b/Items/Materials/ShadowspecBar.cs @@ -12,9 +12,11 @@ namespace CalamityMod.Items.Materials { public int frameCounter = 0; public int frame = 0; + public override void SetStaticDefaults() { DisplayName.SetDefault("Shadowspec Bar"); + Tooltip.SetDefault("A vile, black metal, so horrendous and powerful as to defy explanation"); } public override void SetDefaults() @@ -30,7 +32,7 @@ namespace CalamityMod.Items.Materials item.autoReuse = true; item.consumable = true; - item.value = Item.sellPrice(gold: 85); + item.value = Item.sellPrice(platinum: 1, gold: 92); item.Calamity().customRarity = CalamityRarity.HotPink; item.Calamity().devItem = true; } @@ -53,7 +55,7 @@ namespace CalamityMod.Items.Materials { ModRecipe recipe = new ModRecipe(mod); recipe.AddIngredient(ModContent.ItemType()); - recipe.AddIngredient(ModContent.ItemType()); + recipe.AddIngredient(ModContent.ItemType()); recipe.AddIngredient(ModContent.ItemType()); recipe.AddTile(ModContent.TileType()); recipe.SetResult(this); diff --git a/Items/Placeables/Ores/AuricOre.cs b/Items/Placeables/Ores/AuricOre.cs index ab00f8060a..f920a0d970 100644 --- a/Items/Placeables/Ores/AuricOre.cs +++ b/Items/Placeables/Ores/AuricOre.cs @@ -9,6 +9,7 @@ namespace CalamityMod.Items.Placeables.Ores public override void SetStaticDefaults() { DisplayName.SetDefault("Auric Ore"); + Tooltip.SetDefault("Laced with the dormant power of a deity"); } public override void SetDefaults() @@ -23,7 +24,7 @@ namespace CalamityMod.Items.Placeables.Ores item.width = 10; item.height = 10; item.maxStack = 999; - item.value = Item.sellPrice(gold: 2); + item.value = Item.sellPrice(gold: 4); item.Calamity().customRarity = CalamityRarity.Violet; } } diff --git a/Items/Weapons/Magic/SubsumingVortex.cs b/Items/Weapons/Magic/SubsumingVortex.cs index e28cd8e865..ea34617737 100644 --- a/Items/Weapons/Magic/SubsumingVortex.cs +++ b/Items/Weapons/Magic/SubsumingVortex.cs @@ -9,7 +9,7 @@ using Terraria.ModLoader; namespace CalamityMod.Items.Weapons.Magic { - public class SubsumingVortex : ModItem + public class SubsumingVortex : ModItem { public override void SetStaticDefaults() { @@ -33,7 +33,7 @@ namespace CalamityMod.Items.Weapons.Magic item.knockBack = 5f; item.rare = ItemRarityID.Red; item.Calamity().customRarity = CalamityRarity.Violet; - item.value = Item.buyPrice(platinum: 2, gold: 50); + item.value = CalamityGlobalItem.Rarity15BuyPrice; item.autoReuse = true; item.shoot = ModContent.ProjectileType(); item.shootSpeed = 7f; @@ -41,7 +41,7 @@ namespace CalamityMod.Items.Weapons.Magic public override void PostDrawInWorld(SpriteBatch spriteBatch, Color lightColor, Color alphaColor, float rotation, float scale, int whoAmI) { - item.DrawItemGlowmaskSingleFrame(spriteBatch, rotation, ModContent.GetTexture("CalamityMod/Items/Weapons/Magic/SubsumingVortexGlow")); + item.DrawItemGlowmaskSingleFrame(spriteBatch, rotation, ModContent.GetTexture("CalamityMod/Items/Weapons/Magic/SubsumingVortexGlow")); } public override bool Shoot(Player player, ref Vector2 position, ref float speedX, ref float speedY, ref int type, ref int damage, ref float knockBack) @@ -56,8 +56,7 @@ namespace CalamityMod.Items.Weapons.Magic recipe.AddIngredient(ModContent.ItemType()); recipe.AddIngredient(ModContent.ItemType()); recipe.AddIngredient(ModContent.ItemType()); - recipe.AddIngredient(ModContent.ItemType(), 4); - recipe.AddIngredient(ModContent.ItemType(), 3); + recipe.AddIngredient(ModContent.ItemType()); recipe.AddTile(ModContent.TileType()); recipe.SetResult(this); recipe.AddRecipe(); diff --git a/Items/Weapons/Magic/VividClarity.cs b/Items/Weapons/Magic/VividClarity.cs index e52ff7d4ae..78523538c4 100644 --- a/Items/Weapons/Magic/VividClarity.cs +++ b/Items/Weapons/Magic/VividClarity.cs @@ -14,10 +14,10 @@ namespace CalamityMod.Items.Weapons.Magic { DisplayName.SetDefault("Vivid Clarity"); Tooltip.SetDefault("Fires five randomized beams of elemental energy at the cursor\n" + - "On enemy and tile hits, beams either explode into a big flash,\n" + - "summon an additonal laser from the sky,\n" + - "or split into energy orbs\n" + - "High IQ increases the weapon's potential"); + "On enemy and tile hits, beams either explode into a big flash,\n" + + "summon an additonal laser from the sky,\n" + + "or split into energy orbs\n" + + "Its majesty inspires a stroke of unparalleled genius"); Item.staff[item.type] = true; } @@ -34,7 +34,7 @@ namespace CalamityMod.Items.Weapons.Magic item.useStyle = ItemUseStyleID.HoldingOut; item.noMelee = true; item.knockBack = 7.5f; - item.value = Item.buyPrice(2, 50, 0, 0); + item.value = CalamityGlobalItem.Rarity15BuyPrice; item.rare = ItemRarityID.Red; item.UseSound = SoundID.Item60; item.autoReuse = true; @@ -84,8 +84,7 @@ namespace CalamityMod.Items.Weapons.Magic recipe.AddIngredient(ModContent.ItemType()); recipe.AddIngredient(ModContent.ItemType()); recipe.AddIngredient(ModContent.ItemType()); - recipe.AddIngredient(ModContent.ItemType(), 4); - recipe.AddIngredient(ModContent.ItemType(), 3); + recipe.AddIngredient(ModContent.ItemType()); recipe.AddTile(ModContent.TileType()); recipe.SetResult(this); recipe.AddRecipe(); diff --git a/Items/Weapons/Melee/DraedonsExoblade.cs b/Items/Weapons/Melee/DraedonsExoblade.cs index 8877a566b9..2496b82d26 100644 --- a/Items/Weapons/Melee/DraedonsExoblade.cs +++ b/Items/Weapons/Melee/DraedonsExoblade.cs @@ -8,17 +8,17 @@ using Terraria.ModLoader; namespace CalamityMod.Items.Weapons.Melee { - public class DraedonsExoblade : ModItem - { - public override void SetStaticDefaults() - { - DisplayName.SetDefault("Exoblade"); - Tooltip.SetDefault("Ancient blade of Yharim's weapons and armors expert, Draedon\n" + - "Fires an exo beam that homes in on the player and explodes\n" + - "Striking an enemy with the blade causes several comets to fire\n" + - "All attacks briefly freeze enemies hit\n" + - "Enemies hit at very low HP explode into frost energy and freeze nearby enemies"); - } + public class DraedonsExoblade : ModItem + { + public override void SetStaticDefaults() + { + DisplayName.SetDefault("Exoblade"); + Tooltip.SetDefault("Ancient blade of Yharim's weapons and armors expert, Draedon\n" + + "Fires an exo beam that homes in on the player and explodes\n" + + "Striking an enemy with the blade causes several comets to fire\n" + + "All attacks briefly freeze enemies hit\n" + + "Enemies hit at very low HP explode into frost energy and freeze nearby enemies"); + } public override void SetDefaults() { @@ -33,104 +33,103 @@ namespace CalamityMod.Items.Weapons.Melee item.UseSound = SoundID.Item1; item.autoReuse = true; item.height = 114; - item.value = Item.buyPrice(2, 50, 0, 0); + item.value = CalamityGlobalItem.Rarity15BuyPrice; item.rare = ItemRarityID.Red; item.shoot = ModContent.ProjectileType(); item.shootSpeed = 19f; item.Calamity().customRarity = CalamityRarity.Violet; } - public override void MeleeEffects(Player player, Rectangle hitbox) - { - if (Main.rand.NextBool(4)) - Dust.NewDust(new Vector2(hitbox.X, hitbox.Y), hitbox.Width, hitbox.Height, 107, 0f, 0f, 100, new Color(0, 255, 255)); - } + public override void MeleeEffects(Player player, Rectangle hitbox) + { + if (Main.rand.NextBool(4)) + Dust.NewDust(new Vector2(hitbox.X, hitbox.Y), hitbox.Width, hitbox.Height, 107, 0f, 0f, 100, new Color(0, 255, 255)); + } - public override void OnHitNPC(Player player, NPC target, int damage, float knockback, bool crit) - { - if (crit) - damage /= 2; + public override void OnHitNPC(Player player, NPC target, int damage, float knockback, bool crit) + { + if (crit) + damage /= 2; - if (target.life <= (target.lifeMax * 0.05f)) - Projectile.NewProjectile(target.Center, Vector2.Zero, ModContent.ProjectileType(), damage, knockback, Main.myPlayer); + if (target.life <= (target.lifeMax * 0.05f)) + Projectile.NewProjectile(target.Center, Vector2.Zero, ModContent.ProjectileType(), damage, knockback, Main.myPlayer); - target.ExoDebuffs(); - Main.PlaySound(SoundID.Item88, player.Center); - float xPos = player.position.X + 800 * Main.rand.NextBool(2).ToDirectionInt(); - float yPos = player.position.Y + Main.rand.Next(-800, 801); - Vector2 startPos = new Vector2(xPos, yPos); - Vector2 velocity = target.position - startPos; - float dir = 10 / startPos.X; - velocity.X *= dir * 150; - velocity.Y *= dir * 150; - velocity.X = MathHelper.Clamp(velocity.X, -15f, 15f); - velocity.Y = MathHelper.Clamp(velocity.Y, -15f, 15f); - if (player.ownedProjectileCounts[ModContent.ProjectileType()] < 8) - { - for (int comet = 0; comet < 2; comet++) - { - float ai1 = Main.rand.NextFloat() + 0.5f; - Projectile.NewProjectile(startPos, velocity, ModContent.ProjectileType(), damage, knockback, player.whoAmI, 0f, ai1); - } - } + target.ExoDebuffs(); + Main.PlaySound(SoundID.Item88, player.Center); + float xPos = player.position.X + 800 * Main.rand.NextBool(2).ToDirectionInt(); + float yPos = player.position.Y + Main.rand.Next(-800, 801); + Vector2 startPos = new Vector2(xPos, yPos); + Vector2 velocity = target.position - startPos; + float dir = 10 / startPos.X; + velocity.X *= dir * 150; + velocity.Y *= dir * 150; + velocity.X = MathHelper.Clamp(velocity.X, -15f, 15f); + velocity.Y = MathHelper.Clamp(velocity.Y, -15f, 15f); + if (player.ownedProjectileCounts[ModContent.ProjectileType()] < 8) + { + for (int comet = 0; comet < 2; comet++) + { + float ai1 = Main.rand.NextFloat() + 0.5f; + Projectile.NewProjectile(startPos, velocity, ModContent.ProjectileType(), damage, knockback, player.whoAmI, 0f, ai1); + } + } - if (!target.canGhostHeal || player.moonLeech) - return; + if (!target.canGhostHeal || player.moonLeech) + return; - int healAmount = Main.rand.Next(3) + 5; - player.statLife += healAmount; - player.HealEffect(healAmount); - } + int healAmount = Main.rand.Next(3) + 5; + player.statLife += healAmount; + player.HealEffect(healAmount); + } - public override void OnHitPvp(Player player, Player target, int damage, bool crit) - { - if (crit) - damage /= 2; + public override void OnHitPvp(Player player, Player target, int damage, bool crit) + { + if (crit) + damage /= 2; - if (target.statLife <= (target.statLifeMax2 * 0.05f)) - Projectile.NewProjectile(target.Center.X, target.Center.Y, 0f, 0f, ModContent.ProjectileType(), damage, item.knockBack, Main.myPlayer); + if (target.statLife <= (target.statLifeMax2 * 0.05f)) + Projectile.NewProjectile(target.Center.X, target.Center.Y, 0f, 0f, ModContent.ProjectileType(), damage, item.knockBack, Main.myPlayer); - target.ExoDebuffs(); - Main.PlaySound(SoundID.Item88, player.Center); - float xPos = player.position.X + 800 * Main.rand.NextBool(2).ToDirectionInt(); - float yPos = player.position.Y + Main.rand.Next(-800, 801); - Vector2 startPos = new Vector2(xPos, yPos); - Vector2 velocity = target.position - startPos; - float dir = 10 / startPos.X; - velocity.X *= dir * 150; - velocity.Y *= dir * 150; - velocity.X = MathHelper.Clamp(velocity.X, -15f, 15f); - velocity.Y = MathHelper.Clamp(velocity.Y, -15f, 15f); - if (player.ownedProjectileCounts[ModContent.ProjectileType()] < 8) - { - for (int comet = 0; comet < 2; comet++) - { - float ai1 = Main.rand.NextFloat() + 0.5f; - Projectile.NewProjectile(startPos, velocity, ModContent.ProjectileType(), damage, item.knockBack, player.whoAmI, 0f, ai1); - } - } + target.ExoDebuffs(); + Main.PlaySound(SoundID.Item88, player.Center); + float xPos = player.position.X + 800 * Main.rand.NextBool(2).ToDirectionInt(); + float yPos = player.position.Y + Main.rand.Next(-800, 801); + Vector2 startPos = new Vector2(xPos, yPos); + Vector2 velocity = target.position - startPos; + float dir = 10 / startPos.X; + velocity.X *= dir * 150; + velocity.Y *= dir * 150; + velocity.X = MathHelper.Clamp(velocity.X, -15f, 15f); + velocity.Y = MathHelper.Clamp(velocity.Y, -15f, 15f); + if (player.ownedProjectileCounts[ModContent.ProjectileType()] < 8) + { + for (int comet = 0; comet < 2; comet++) + { + float ai1 = Main.rand.NextFloat() + 0.5f; + Projectile.NewProjectile(startPos, velocity, ModContent.ProjectileType(), damage, item.knockBack, player.whoAmI, 0f, ai1); + } + } - if (player.moonLeech) - return; + if (player.moonLeech) + return; - int healAmount = Main.rand.Next(3) + 5; - player.statLife += healAmount; - player.HealEffect(healAmount); - } + int healAmount = Main.rand.Next(3) + 5; + player.statLife += healAmount; + player.HealEffect(healAmount); + } - public override void AddRecipes() - { - ModRecipe recipe = new ModRecipe(mod); - recipe.AddIngredient(ModContent.ItemType()); - recipe.AddIngredient(ModContent.ItemType()); - recipe.AddIngredient(ModContent.ItemType()); - recipe.AddIngredient(ModContent.ItemType()); - recipe.AddIngredient(ModContent.ItemType()); - recipe.AddIngredient(ModContent.ItemType(), 4); - recipe.AddIngredient(ModContent.ItemType(), 3); - recipe.AddTile(ModContent.TileType()); - recipe.SetResult(this); - recipe.AddRecipe(); - } - } + public override void AddRecipes() + { + ModRecipe recipe = new ModRecipe(mod); + recipe.AddIngredient(ModContent.ItemType()); + recipe.AddIngredient(ModContent.ItemType()); + recipe.AddIngredient(ModContent.ItemType()); + recipe.AddIngredient(ModContent.ItemType()); + recipe.AddIngredient(ModContent.ItemType()); + recipe.AddIngredient(ModContent.ItemType()); + recipe.AddTile(ModContent.TileType()); + recipe.SetResult(this); + recipe.AddRecipe(); + } + } } diff --git a/Items/Weapons/Melee/ExoGladius.cs b/Items/Weapons/Melee/ExoGladius.cs index 4d5c6c96e1..c366f358a6 100644 --- a/Items/Weapons/Melee/ExoGladius.cs +++ b/Items/Weapons/Melee/ExoGladius.cs @@ -2,7 +2,6 @@ using CalamityMod.Items.Materials; using CalamityMod.Projectiles.Melee; using CalamityMod.Tiles.Furniture.CraftingStations; using Microsoft.Xna.Framework; -using System; using Terraria; using Terraria.ID; using Terraria.ModLoader; @@ -33,7 +32,7 @@ namespace CalamityMod.Items.Weapons.Melee item.UseSound = SoundID.Item1; item.useTurn = true; item.autoReuse = true; - item.value = Item.buyPrice(2, 50, 0, 0); + item.value = CalamityGlobalItem.Rarity15BuyPrice; item.rare = ItemRarityID.Red; item.shoot = ModContent.ProjectileType(); item.shootSpeed = 19f; @@ -52,8 +51,7 @@ namespace CalamityMod.Items.Weapons.Melee recipe.AddIngredient(ModContent.ItemType()); recipe.AddIngredient(ModContent.ItemType()); recipe.AddIngredient(ModContent.ItemType()); - recipe.AddIngredient(ModContent.ItemType(), 4); - recipe.AddIngredient(ModContent.ItemType(), 3); + recipe.AddIngredient(ModContent.ItemType()); recipe.AddTile(ModContent.TileType()); recipe.SetResult(this); recipe.AddRecipe(); @@ -65,27 +63,27 @@ namespace CalamityMod.Items.Weapons.Melee Dust.NewDust(new Vector2(hitbox.X, hitbox.Y), hitbox.Width, hitbox.Height, 107); } - public override void OnHitNPC(Player player, NPC target, int damage, float knockback, bool crit) - { - target.ExoDebuffs(); - OnHitEffects(player); - } + public override void OnHitNPC(Player player, NPC target, int damage, float knockback, bool crit) + { + target.ExoDebuffs(); + OnHitEffects(player); + } - public override void OnHitPvp(Player player, Player target, int damage, bool crit) - { - target.ExoDebuffs(); - OnHitEffects(player); - } + public override void OnHitPvp(Player player, Player target, int damage, bool crit) + { + target.ExoDebuffs(); + OnHitEffects(player); + } private void OnHitEffects(Player player) { - bool isImmune = false; - for (int j = 0; j < player.hurtCooldowns.Length; j++) - { - if (player.hurtCooldowns[j] > 0) - isImmune = true; - } - if (!isImmune) + bool isImmune = false; + for (int j = 0; j < player.hurtCooldowns.Length; j++) + { + if (player.hurtCooldowns[j] > 0) + isImmune = true; + } + if (!isImmune) { player.immune = true; if (player.immuneTime < item.useTime) @@ -102,5 +100,5 @@ namespace CalamityMod.Items.Weapons.Melee CalamityUtils.ProjectileRain(player.Center, 400f, 100f, 500f, 800f, 25f, ModContent.ProjectileType(), damage, 15f, player.whoAmI); } } - } + } } diff --git a/Items/Weapons/Ranged/HeavenlyGale.cs b/Items/Weapons/Ranged/HeavenlyGale.cs index b979cbecae..ee6008bfc4 100644 --- a/Items/Weapons/Ranged/HeavenlyGale.cs +++ b/Items/Weapons/Ranged/HeavenlyGale.cs @@ -110,8 +110,7 @@ namespace CalamityMod.Items.Weapons.Ranged recipe.AddIngredient(ItemType()); recipe.AddIngredient(ItemType()); recipe.AddIngredient(ItemType()); - recipe.AddIngredient(ItemType(), 4); - recipe.AddIngredient(ItemType(), 3); + recipe.AddIngredient(ItemType()); recipe.AddTile(TileType()); recipe.SetResult(this); recipe.AddRecipe(); diff --git a/Items/Weapons/Ranged/MagnomalyCannon.cs b/Items/Weapons/Ranged/MagnomalyCannon.cs index 931da16e9e..038a5f6335 100644 --- a/Items/Weapons/Ranged/MagnomalyCannon.cs +++ b/Items/Weapons/Ranged/MagnomalyCannon.cs @@ -15,7 +15,7 @@ namespace CalamityMod.Items.Weapons.Ranged { DisplayName.SetDefault("Magnomaly Cannon"); Tooltip.SetDefault("Launches a powerful exo rocket to nuke anything and everything\n" + - "Rockets are surrounded by an invisible damaging aura and split into damaging beams on hit\n" + + "Rockets are surrounded by an invisible damaging aura and split into damaging beams on hit\n" + "66% chance to not consume rockets"); } @@ -65,8 +65,7 @@ namespace CalamityMod.Items.Weapons.Ranged recipe.AddIngredient(ModContent.ItemType()); recipe.AddIngredient(ModContent.ItemType()); recipe.AddIngredient(ItemID.ElectrosphereLauncher); - recipe.AddIngredient(ModContent.ItemType(), 4); - recipe.AddIngredient(ModContent.ItemType(), 3); + recipe.AddIngredient(ModContent.ItemType()); recipe.AddTile(ModContent.TileType()); recipe.SetResult(this); recipe.AddRecipe(); diff --git a/Items/Weapons/Ranged/Photoviscerator.cs b/Items/Weapons/Ranged/Photoviscerator.cs index f6846d17ca..1c9e1adbb6 100644 --- a/Items/Weapons/Ranged/Photoviscerator.cs +++ b/Items/Weapons/Ranged/Photoviscerator.cs @@ -110,8 +110,7 @@ namespace CalamityMod.Items.Weapons.Ranged recipe.AddIngredient(ModContent.ItemType()); recipe.AddIngredient(ModContent.ItemType()); recipe.AddIngredient(ModContent.ItemType()); - recipe.AddIngredient(ModContent.ItemType(), 4); - recipe.AddIngredient(ModContent.ItemType(), 3); + recipe.AddIngredient(ModContent.ItemType()); recipe.AddTile(ModContent.TileType()); recipe.SetResult(this); recipe.AddRecipe(); diff --git a/Items/Weapons/Rogue/Celestus.cs b/Items/Weapons/Rogue/Celestus.cs index ce514843fa..b45ee9fb9a 100644 --- a/Items/Weapons/Rogue/Celestus.cs +++ b/Items/Weapons/Rogue/Celestus.cs @@ -32,7 +32,7 @@ namespace CalamityMod.Items.Weapons.Rogue item.UseSound = SoundID.Item1; item.noMelee = true; item.noUseGraphic = true; - item.value = Item.buyPrice(platinum: 2, gold: 50); + item.value = CalamityGlobalItem.Rarity15BuyPrice; item.rare = ItemRarityID.Red; item.Calamity().customRarity = CalamityRarity.Violet; } @@ -56,8 +56,7 @@ namespace CalamityMod.Items.Weapons.Rogue recipe.AddIngredient(ModContent.ItemType()); recipe.AddIngredient(ModContent.ItemType()); recipe.AddIngredient(ModContent.ItemType()); - recipe.AddIngredient(ModContent.ItemType(), 4); - recipe.AddIngredient(ModContent.ItemType(), 3); + recipe.AddIngredient(ModContent.ItemType()); recipe.AddTile(ModContent.TileType()); recipe.SetResult(this); recipe.AddRecipe(); diff --git a/Items/Weapons/Rogue/Supernova.cs b/Items/Weapons/Rogue/Supernova.cs index 06b5825a11..b83fc23564 100644 --- a/Items/Weapons/Rogue/Supernova.cs +++ b/Items/Weapons/Rogue/Supernova.cs @@ -31,7 +31,7 @@ Stealth strikes release energy as they fly"); item.UseSound = SoundID.Item15; item.autoReuse = true; item.height = 36; - item.value = Item.buyPrice(platinum: 2, gold: 50); + item.value = CalamityGlobalItem.Rarity15BuyPrice; item.rare = ItemRarityID.Red; item.shoot = ModContent.ProjectileType(); item.shootSpeed = 16f; @@ -45,8 +45,8 @@ Stealth strikes release energy as they fly"); { damage = (int)(damage * 0.9f); int stealth = Projectile.NewProjectile(position, new Vector2(speedX, speedY), type, damage, knockBack, player.whoAmI); - if (stealth.WithinBounds(Main.maxProjectiles)) - Main.projectile[stealth].Calamity().stealthStrike = true; + if (stealth.WithinBounds(Main.maxProjectiles)) + Main.projectile[stealth].Calamity().stealthStrike = true; return false; } return true; @@ -61,10 +61,9 @@ Stealth strikes release energy as they fly"); recipe.AddIngredient(ModContent.ItemType(), 200); recipe.AddIngredient(ModContent.ItemType()); recipe.AddIngredient(ModContent.ItemType()); - recipe.AddIngredient(ModContent.ItemType()); + recipe.AddIngredient(ModContent.ItemType()); - recipe.AddIngredient(ModContent.ItemType(), 4); - recipe.AddIngredient(ModContent.ItemType(), 3); + recipe.AddIngredient(ModContent.ItemType()); recipe.AddTile(ModContent.TileType()); recipe.SetResult(this); recipe.AddRecipe(); diff --git a/Items/Weapons/Summon/CosmicImmaterializer.cs b/Items/Weapons/Summon/CosmicImmaterializer.cs index 094211d69e..1f93c01ea4 100644 --- a/Items/Weapons/Summon/CosmicImmaterializer.cs +++ b/Items/Weapons/Summon/CosmicImmaterializer.cs @@ -31,7 +31,7 @@ namespace CalamityMod.Items.Weapons.Summon item.useTime = item.useAnimation = 10; item.noMelee = true; item.knockBack = 0f; - item.value = Item.buyPrice(2, 50, 0, 0); + item.value = CalamityGlobalItem.Rarity15BuyPrice; item.rare = ItemRarityID.Red; item.UseSound = SoundID.Item60; item.shoot = ModContent.ProjectileType(); @@ -58,7 +58,7 @@ namespace CalamityMod.Items.Weapons.Summon recipe.AddIngredient(ModContent.ItemType()); recipe.AddIngredient(ModContent.ItemType()); recipe.AddIngredient(ModContent.ItemType()); - recipe.AddIngredient(ModContent.ItemType(), 3); + recipe.AddIngredient(ModContent.ItemType()); recipe.AddTile(ModContent.TileType()); recipe.SetResult(this); recipe.AddRecipe(); diff --git a/NPCs/ExoMechs/Ares/AresBody.cs b/NPCs/ExoMechs/Ares/AresBody.cs index caff66e8a4..3d28186717 100644 --- a/NPCs/ExoMechs/Ares/AresBody.cs +++ b/NPCs/ExoMechs/Ares/AresBody.cs @@ -726,7 +726,7 @@ namespace CalamityMod.NPCs.ExoMechs.Ares // Materials int minCrystalQuantity = Main.expertMode ? 15 : 12; int maxCrystalQuantity = Main.expertMode ? 18 : 15; - DropHelper.DropItem(npc, ModContent.ItemType(), true, minCrystalQuantity, maxCrystalQuantity); + DropHelper.DropItem(npc, ModContent.ItemType(), true, minCrystalQuantity, maxCrystalQuantity); // All other drops are contained in the bag, so they only drop directly on Normal if (!Main.expertMode)