diff --git a/CalPlayer/CalamityPlayerHitHurt.cs b/CalPlayer/CalamityPlayerHitHurt.cs index 4828a8629a..a03b32ad2c 100644 --- a/CalPlayer/CalamityPlayerHitHurt.cs +++ b/CalPlayer/CalamityPlayerHitHurt.cs @@ -32,6 +32,7 @@ using CalamityMod.NPCs.ProfanedGuardians; using CalamityMod.NPCs.Providence; using CalamityMod.NPCs.SupremeCalamitas; using CalamityMod.Particles; +using CalamityMod.Projectiles.Melee; using CalamityMod.Projectiles.Ranged; using CalamityMod.Projectiles.Rogue; using CalamityMod.Projectiles.Typeless; @@ -2635,20 +2636,25 @@ namespace CalamityMod.CalPlayer } } // TODO -- Make Deific Amulet and Rampart of Deities' retaliation effects way cooler + // In the meantime, gave them homing astral bombers instead of the lame falling stars if (dAmulet) { var source = Player.GetSource_Accessory(FindAccessory(ModContent.ItemType())); - for (int n = 0; n < 3; n++) + int projAmount = (rampartOfDeities ? 12 : 6); + for (int n = 0; n < projAmount; n++) { int baseDamage = 130 * (Main.masterMode ? 3 : Main.expertMode ? 2 : 1); - int deificStarDamage = (int)Player.GetBestClassDamage().ApplyTo(baseDamage); + int deificProjDamage = (int)Player.GetBestClassDamage().ApplyTo(baseDamage); - Projectile star = CalamityUtils.ProjectileRain(source, Player.Center, 400f, 100f, 500f, 800f, 29f, ProjectileID.StarVeilStar, deificStarDamage, 4f, Player.whoAmI); - if (star.whoAmI.WithinBounds(Main.maxProjectiles)) + Projectile onHitProj = Main.projectile[Projectile.NewProjectile(source, Player.Center, new Vector2(0,-15).RotatedBy(MathHelper.TwoPi/projAmount*n), ModContent.ProjectileType(), deificProjDamage, 4f, Player.whoAmI)]; + if (onHitProj.whoAmI.WithinBounds(Main.maxProjectiles)) { - star.DamageType = DamageClass.Generic; - star.usesLocalNPCImmunity = true; - star.localNPCHitCooldown = 5; + onHitProj.DamageType = DamageClass.Generic; + onHitProj.usesLocalNPCImmunity = true; + onHitProj.localNPCHitCooldown = 5; + onHitProj.tileCollide = false; + onHitProj.extraUpdates = 1; + onHitProj.Calamity().conditionalHomingRange = 500f; } } } diff --git a/Items/Accessories/AbyssalDivingSuit.cs b/Items/Accessories/AbyssalDivingSuit.cs index 8fa999b765..17b15c0aba 100644 --- a/Items/Accessories/AbyssalDivingSuit.cs +++ b/Items/Accessories/AbyssalDivingSuit.cs @@ -67,7 +67,7 @@ namespace CalamityMod.Items.Accessories AddIngredient(). AddIngredient(ItemID.LunarBar, 5). AddIngredient(15). - AddTile(TileID.LunarCraftingStation). + AddTile(TileID.MythrilAnvil). Register(); } } diff --git a/Items/Accessories/AscendantInsignia.cs b/Items/Accessories/AscendantInsignia.cs index 307cc2620b..d1d22d9a12 100644 --- a/Items/Accessories/AscendantInsignia.cs +++ b/Items/Accessories/AscendantInsignia.cs @@ -41,7 +41,7 @@ namespace CalamityMod.Items.Accessories AddIngredient(5). AddIngredient(5). AddIngredient(ItemID.SoulofFlight, 10). - AddTile(TileID.LunarCraftingStation). + AddTile(TileID.MythrilAnvil). Register(); } } diff --git a/Items/Accessories/AuricSoulArtifact.cs b/Items/Accessories/AuricSoulArtifact.cs index f20364b034..794f987a70 100644 --- a/Items/Accessories/AuricSoulArtifact.cs +++ b/Items/Accessories/AuricSoulArtifact.cs @@ -3,6 +3,7 @@ using CalamityMod.Items.Materials; using CalamityMod.Items.Placeables.Ores; using CalamityMod.Items.Placeables.Plates; using CalamityMod.Rarities; +using CalamityMod.Tiles.Furniture.CraftingStations; using Terraria; using Terraria.ID; using Terraria.ModLoader; @@ -34,7 +35,7 @@ namespace CalamityMod.Items.Accessories AddIngredient(5). AddIngredient(25). AddIngredient(25). - AddTile(TileID.DemonAltar). + AddTile(). Register(); } } diff --git a/Items/Accessories/BadgeofBravery.cs b/Items/Accessories/BadgeofBravery.cs index 8f68dd37c7..14d252e5f0 100644 --- a/Items/Accessories/BadgeofBravery.cs +++ b/Items/Accessories/BadgeofBravery.cs @@ -31,7 +31,7 @@ namespace CalamityMod.Items.Accessories CreateRecipe(). AddIngredient(ItemID.WarriorEmblem). AddIngredient(2). - AddTile(TileID.LunarCraftingStation). + AddTile(TileID.MythrilAnvil). Register(); } } diff --git a/Items/Accessories/BlunderBooster.cs b/Items/Accessories/BlunderBooster.cs index f702b21117..1a1b2bac13 100644 --- a/Items/Accessories/BlunderBooster.cs +++ b/Items/Accessories/BlunderBooster.cs @@ -39,7 +39,7 @@ namespace CalamityMod.Items.Accessories CreateRecipe(). AddIngredient(). AddIngredient(8). - AddTile(TileID.LunarCraftingStation). + AddTile(TileID.MythrilAnvil). Register(); } } diff --git a/Items/Accessories/DaawnlightSpiritOrigin.cs b/Items/Accessories/DaawnlightSpiritOrigin.cs index 41291522ae..58ac8d754c 100644 --- a/Items/Accessories/DaawnlightSpiritOrigin.cs +++ b/Items/Accessories/DaawnlightSpiritOrigin.cs @@ -152,7 +152,7 @@ namespace CalamityMod.Items.Accessories AddIngredient(15). AddIngredient(ItemID.LunarBar, 10). AddIngredient(4). - AddTile(TileID.LunarCraftingStation). + AddTile(TileID.MythrilAnvil). Register(); } } diff --git a/Items/Accessories/DimensionalSoulArtifact.cs b/Items/Accessories/DimensionalSoulArtifact.cs index e449c12a33..434063f4be 100644 --- a/Items/Accessories/DimensionalSoulArtifact.cs +++ b/Items/Accessories/DimensionalSoulArtifact.cs @@ -3,6 +3,7 @@ using CalamityMod.Items.Materials; using CalamityMod.Items.Placeables.Ores; using CalamityMod.Items.Placeables.Plates; using CalamityMod.Rarities; +using CalamityMod.Tiles.Furniture.CraftingStations; using Terraria; using Terraria.ID; using Terraria.ModLoader; @@ -33,7 +34,7 @@ namespace CalamityMod.Items.Accessories AddIngredient(5). AddIngredient(25). AddIngredient(25). - AddTile(TileID.DemonAltar). + AddTile(). Register(); } } diff --git a/Items/Accessories/EldritchSoulArtifact.cs b/Items/Accessories/EldritchSoulArtifact.cs index 5bb6405a7c..0e1299f0ed 100644 --- a/Items/Accessories/EldritchSoulArtifact.cs +++ b/Items/Accessories/EldritchSoulArtifact.cs @@ -35,7 +35,7 @@ namespace CalamityMod.Items.Accessories AddIngredient(5). AddIngredient(25). AddIngredient(25). - AddTile(TileID.DemonAltar). + AddTile(TileID.MythrilAnvil). Register(); } } diff --git a/Items/Accessories/HeartoftheElements.cs b/Items/Accessories/HeartoftheElements.cs index 8ea3582908..223d3dc0c0 100644 --- a/Items/Accessories/HeartoftheElements.cs +++ b/Items/Accessories/HeartoftheElements.cs @@ -183,6 +183,7 @@ namespace CalamityMod.Items.Accessories AddIngredient(). AddIngredient(). AddIngredient(). + AddIngredient(ItemID.FragmentStardust, 6). AddTile(TileID.LunarCraftingStation). Register(); } diff --git a/Items/Accessories/OccultSkullCrown.cs b/Items/Accessories/OccultSkullCrown.cs index 96480eb4f3..60b9a16ca6 100644 --- a/Items/Accessories/OccultSkullCrown.cs +++ b/Items/Accessories/OccultSkullCrown.cs @@ -53,7 +53,7 @@ namespace CalamityMod.Items.Accessories AddIngredient(). AddIngredient(). AddIngredient(3). - AddTile(TileID.LunarCraftingStation). + AddTile(TileID.MythrilAnvil). Register(); } } diff --git a/Items/Accessories/PhantomicArtifact.cs b/Items/Accessories/PhantomicArtifact.cs index 15ea7c2134..12171a8034 100644 --- a/Items/Accessories/PhantomicArtifact.cs +++ b/Items/Accessories/PhantomicArtifact.cs @@ -45,7 +45,7 @@ namespace CalamityMod.Items.Accessories AddIngredient(5). AddIngredient(25). AddIngredient(20). - AddTile(TileID.LunarCraftingStation). + AddTile(TileID.MythrilAnvil). Register(); } diff --git a/Items/Accessories/ProfanedSoulArtifact.cs b/Items/Accessories/ProfanedSoulArtifact.cs index 01232cb368..0450a4c4fe 100644 --- a/Items/Accessories/ProfanedSoulArtifact.cs +++ b/Items/Accessories/ProfanedSoulArtifact.cs @@ -106,7 +106,7 @@ namespace CalamityMod.Items.Accessories AddIngredient(5). AddIngredient(25). AddIngredient(25). - AddTile(TileID.DemonAltar). + AddTile(TileID.MythrilAnvil). Register(); } diff --git a/Items/Accessories/QuiverofNihility.cs b/Items/Accessories/QuiverofNihility.cs index 11717b66cd..9efd1466f7 100644 --- a/Items/Accessories/QuiverofNihility.cs +++ b/Items/Accessories/QuiverofNihility.cs @@ -51,7 +51,7 @@ namespace CalamityMod.Items.Accessories AddRecipeGroup("AnyQuiver"). AddIngredient(5). AddIngredient(3). - AddTile(TileID.LunarCraftingStation). + AddTile(TileID.MythrilAnvil). Register(); } diff --git a/Items/Accessories/StatisCurse.cs b/Items/Accessories/StatisCurse.cs index efe65bb8df..5e6decb0b0 100644 --- a/Items/Accessories/StatisCurse.cs +++ b/Items/Accessories/StatisCurse.cs @@ -44,7 +44,7 @@ namespace CalamityMod.Items.Accessories CreateRecipe(). AddIngredient(). AddIngredient(). - AddIngredient(ItemID.FragmentStardust, 10). + AddIngredient(ItemID.FragmentStardust, 6). AddTile(TileID.LunarCraftingStation). Register(); } diff --git a/Items/Accessories/StatisNinjaBelt.cs b/Items/Accessories/StatisNinjaBelt.cs index 9ac868fe4a..e42a2bbca1 100644 --- a/Items/Accessories/StatisNinjaBelt.cs +++ b/Items/Accessories/StatisNinjaBelt.cs @@ -51,7 +51,7 @@ namespace CalamityMod.Items.Accessories AddIngredient(ItemID.FrogFlipper). AddIngredient(25). AddIngredient(5). - AddTile(TileID.LunarCraftingStation). + AddTile(TileID.MythrilAnvil). Register(); CreateRecipe(). @@ -60,7 +60,7 @@ namespace CalamityMod.Items.Accessories AddIngredient(ItemID.FrogGear). AddIngredient(25). AddIngredient(5). - AddTile(TileID.LunarCraftingStation). + AddTile(TileID.MythrilAnvil). Register(); } } diff --git a/Items/Accessories/Wings/TarragonWings.cs b/Items/Accessories/Wings/TarragonWings.cs index 7692df6166..7dea37ee71 100644 --- a/Items/Accessories/Wings/TarragonWings.cs +++ b/Items/Accessories/Wings/TarragonWings.cs @@ -60,7 +60,7 @@ namespace CalamityMod.Items.Accessories.Wings CreateRecipe(). AddIngredient(ItemID.SoulofFlight, 20). AddIngredient(5). - AddTile(TileID.LunarCraftingStation). + AddTile(TileID.MythrilAnvil). Register(); } } diff --git a/Items/Ammo/BloodfireArrow.cs b/Items/Ammo/BloodfireArrow.cs index 93de0fc981..6fd88990ef 100644 --- a/Items/Ammo/BloodfireArrow.cs +++ b/Items/Ammo/BloodfireArrow.cs @@ -35,7 +35,7 @@ namespace CalamityMod.Items.Ammo { CreateRecipe(333). AddIngredient(). - AddTile(TileID.LunarCraftingStation). + AddTile(TileID.MythrilAnvil). Register(); } } diff --git a/Items/Ammo/BloodfireBullet.cs b/Items/Ammo/BloodfireBullet.cs index 915a56bf28..91630337cb 100644 --- a/Items/Ammo/BloodfireBullet.cs +++ b/Items/Ammo/BloodfireBullet.cs @@ -35,7 +35,7 @@ namespace CalamityMod.Items.Ammo { CreateRecipe(333). AddIngredient(). - AddTile(TileID.LunarCraftingStation). + AddTile(TileID.MythrilAnvil). Register(); } } diff --git a/Items/Ammo/ElysianArrow.cs b/Items/Ammo/ElysianArrow.cs index 7f60191950..52dcc7ba58 100644 --- a/Items/Ammo/ElysianArrow.cs +++ b/Items/Ammo/ElysianArrow.cs @@ -35,7 +35,7 @@ namespace CalamityMod.Items.Ammo CreateRecipe(150). AddIngredient(ItemID.HolyArrow, 150). AddIngredient(). - AddTile(TileID.LunarCraftingStation). + AddTile(TileID.MythrilAnvil). Register(); } } diff --git a/Items/Ammo/HallowPointRound.cs b/Items/Ammo/HallowPointRound.cs index c3316d90fa..725c8dab0a 100644 --- a/Items/Ammo/HallowPointRound.cs +++ b/Items/Ammo/HallowPointRound.cs @@ -46,7 +46,7 @@ namespace CalamityMod.Items.Ammo CreateRecipe(100). AddIngredient(ItemID.EmptyBullet, 100). AddIngredient(ItemID.HallowedBar). - AddTile(TileID.MythrilAnvil). + AddTile(TileID.WorkBenches). Register(); } } diff --git a/Items/Ammo/HolyFireBullet.cs b/Items/Ammo/HolyFireBullet.cs index 794853a48b..f92a3dbda8 100644 --- a/Items/Ammo/HolyFireBullet.cs +++ b/Items/Ammo/HolyFireBullet.cs @@ -36,7 +36,7 @@ namespace CalamityMod.Items.Ammo CreateRecipe(333). AddIngredient(ItemID.ExplodingBullet, 333). AddIngredient(). - AddTile(TileID.LunarCraftingStation). + AddTile(TileID.MythrilAnvil). Register(); } } diff --git a/Items/Armor/Bloodflare/BloodflareBodyArmor.cs b/Items/Armor/Bloodflare/BloodflareBodyArmor.cs index 7139b25e18..c1fee61ca3 100644 --- a/Items/Armor/Bloodflare/BloodflareBodyArmor.cs +++ b/Items/Armor/Bloodflare/BloodflareBodyArmor.cs @@ -31,7 +31,7 @@ namespace CalamityMod.Items.Armor.Bloodflare CreateRecipe(). AddIngredient(16). AddIngredient(4). - AddTile(TileID.LunarCraftingStation). + AddTile(TileID.MythrilAnvil). Register(); } } diff --git a/Items/Armor/Bloodflare/BloodflareCuisses.cs b/Items/Armor/Bloodflare/BloodflareCuisses.cs index a34517488d..e604477feb 100644 --- a/Items/Armor/Bloodflare/BloodflareCuisses.cs +++ b/Items/Armor/Bloodflare/BloodflareCuisses.cs @@ -31,7 +31,7 @@ namespace CalamityMod.Items.Armor.Bloodflare CreateRecipe(). AddIngredient(13). AddIngredient(3). - AddTile(TileID.LunarCraftingStation). + AddTile(TileID.MythrilAnvil). Register(); } } diff --git a/Items/Armor/Bloodflare/BloodflareHeadMagic.cs b/Items/Armor/Bloodflare/BloodflareHeadMagic.cs index f3da4ef71c..8a4569fc13 100644 --- a/Items/Armor/Bloodflare/BloodflareHeadMagic.cs +++ b/Items/Armor/Bloodflare/BloodflareHeadMagic.cs @@ -53,7 +53,7 @@ namespace CalamityMod.Items.Armor.Bloodflare CreateRecipe(). AddIngredient(11). AddIngredient(2). - AddTile(TileID.LunarCraftingStation). + AddTile(TileID.MythrilAnvil). SortBeforeFirstRecipesOf(ModContent.ItemType()). Register(); } diff --git a/Items/Armor/Bloodflare/BloodflareHeadMelee.cs b/Items/Armor/Bloodflare/BloodflareHeadMelee.cs index 542373cdbc..a65be7a702 100644 --- a/Items/Armor/Bloodflare/BloodflareHeadMelee.cs +++ b/Items/Armor/Bloodflare/BloodflareHeadMelee.cs @@ -53,7 +53,7 @@ namespace CalamityMod.Items.Armor.Bloodflare CreateRecipe(). AddIngredient(11). AddIngredient(2). - AddTile(TileID.LunarCraftingStation). + AddTile(TileID.MythrilAnvil). SortBeforeFirstRecipesOf(ModContent.ItemType()). Register(); } diff --git a/Items/Armor/Bloodflare/BloodflareHeadRanged.cs b/Items/Armor/Bloodflare/BloodflareHeadRanged.cs index a1bef0cca6..b8a9e4f5ef 100644 --- a/Items/Armor/Bloodflare/BloodflareHeadRanged.cs +++ b/Items/Armor/Bloodflare/BloodflareHeadRanged.cs @@ -55,7 +55,7 @@ namespace CalamityMod.Items.Armor.Bloodflare CreateRecipe(). AddIngredient(11). AddIngredient(2). - AddTile(TileID.LunarCraftingStation). + AddTile(TileID.MythrilAnvil). SortBeforeFirstRecipesOf(ModContent.ItemType()). Register(); } diff --git a/Items/Armor/Bloodflare/BloodflareHeadRogue.cs b/Items/Armor/Bloodflare/BloodflareHeadRogue.cs index 75e086447a..fbf4e7f488 100644 --- a/Items/Armor/Bloodflare/BloodflareHeadRogue.cs +++ b/Items/Armor/Bloodflare/BloodflareHeadRogue.cs @@ -54,7 +54,7 @@ namespace CalamityMod.Items.Armor.Bloodflare CreateRecipe(). AddIngredient(11). AddIngredient(2). - AddTile(TileID.LunarCraftingStation). + AddTile(TileID.MythrilAnvil). SortBeforeFirstRecipesOf(ModContent.ItemType()). Register(); } diff --git a/Items/Armor/Bloodflare/BloodflareHeadSummon.cs b/Items/Armor/Bloodflare/BloodflareHeadSummon.cs index 0aa577c5bb..20e647a2cb 100644 --- a/Items/Armor/Bloodflare/BloodflareHeadSummon.cs +++ b/Items/Armor/Bloodflare/BloodflareHeadSummon.cs @@ -55,7 +55,7 @@ namespace CalamityMod.Items.Armor.Bloodflare CreateRecipe(). AddIngredient(11). AddIngredient(2). - AddTile(TileID.LunarCraftingStation). + AddTile(TileID.MythrilAnvil). SortBeforeFirstRecipesOf(ModContent.ItemType()). Register(); } diff --git a/Items/Armor/OmegaBlue/OmegaBlueChestplate.cs b/Items/Armor/OmegaBlue/OmegaBlueChestplate.cs index 86e43aab19..0f02976040 100644 --- a/Items/Armor/OmegaBlue/OmegaBlueChestplate.cs +++ b/Items/Armor/OmegaBlue/OmegaBlueChestplate.cs @@ -47,7 +47,7 @@ namespace CalamityMod.Items.Armor.OmegaBlue AddIngredient(5). AddIngredient(18). AddIngredient(3). - AddTile(TileID.LunarCraftingStation). + AddTile(TileID.MythrilAnvil). Register(); } } diff --git a/Items/Armor/OmegaBlue/OmegaBlueHelmet.cs b/Items/Armor/OmegaBlue/OmegaBlueHelmet.cs index b40932ff94..9f284fee8e 100644 --- a/Items/Armor/OmegaBlue/OmegaBlueHelmet.cs +++ b/Items/Armor/OmegaBlue/OmegaBlueHelmet.cs @@ -92,7 +92,7 @@ namespace CalamityMod.Items.Armor.OmegaBlue AddIngredient(3). AddIngredient(12). AddIngredient(). - AddTile(TileID.LunarCraftingStation). + AddTile(TileID.MythrilAnvil). SortBeforeFirstRecipesOf(ModContent.ItemType()). Register(); } diff --git a/Items/Armor/OmegaBlue/OmegaBlueTentacles.cs b/Items/Armor/OmegaBlue/OmegaBlueTentacles.cs index 54f1cbbf0a..8c853d54f7 100644 --- a/Items/Armor/OmegaBlue/OmegaBlueTentacles.cs +++ b/Items/Armor/OmegaBlue/OmegaBlueTentacles.cs @@ -44,7 +44,7 @@ namespace CalamityMod.Items.Armor.OmegaBlue AddIngredient(4). AddIngredient(15). AddIngredient(2). - AddTile(TileID.LunarCraftingStation). + AddTile(TileID.MythrilAnvil). Register(); } } diff --git a/Items/Armor/Prismatic/PrismaticGreaves.cs b/Items/Armor/Prismatic/PrismaticGreaves.cs index ea73d76edf..2af82a1c33 100644 --- a/Items/Armor/Prismatic/PrismaticGreaves.cs +++ b/Items/Armor/Prismatic/PrismaticGreaves.cs @@ -39,7 +39,7 @@ namespace CalamityMod.Items.Armor.Prismatic AddIngredient(5). AddIngredient(6). AddIngredient(ItemID.Nanites, 300). - AddTile(TileID.LunarCraftingStation). + AddTile(TileID.MythrilAnvil). Register(); } } diff --git a/Items/Armor/Prismatic/PrismaticHelmet.cs b/Items/Armor/Prismatic/PrismaticHelmet.cs index fa39d36891..d21c375da9 100644 --- a/Items/Armor/Prismatic/PrismaticHelmet.cs +++ b/Items/Armor/Prismatic/PrismaticHelmet.cs @@ -60,7 +60,7 @@ namespace CalamityMod.Items.Armor.Prismatic AddIngredient(5). AddIngredient(4). AddIngredient(ItemID.Nanites, 300). - AddTile(TileID.LunarCraftingStation). + AddTile(TileID.MythrilAnvil). SortBeforeFirstRecipesOf(ModContent.ItemType()). Register(); } diff --git a/Items/Armor/Prismatic/PrismaticRegalia.cs b/Items/Armor/Prismatic/PrismaticRegalia.cs index fbb6023108..05f840849e 100644 --- a/Items/Armor/Prismatic/PrismaticRegalia.cs +++ b/Items/Armor/Prismatic/PrismaticRegalia.cs @@ -52,7 +52,7 @@ namespace CalamityMod.Items.Armor.Prismatic AddIngredient(5). AddIngredient(8). AddIngredient(ItemID.Nanites, 300). - AddTile(TileID.LunarCraftingStation). + AddTile(TileID.MythrilAnvil). SortBeforeFirstRecipesOf(ModContent.ItemType()). Register(); } diff --git a/Items/Armor/Tarragon/TarragonBreastplate.cs b/Items/Armor/Tarragon/TarragonBreastplate.cs index 0596b39c82..c68efe1199 100644 --- a/Items/Armor/Tarragon/TarragonBreastplate.cs +++ b/Items/Armor/Tarragon/TarragonBreastplate.cs @@ -32,7 +32,7 @@ namespace CalamityMod.Items.Armor.Tarragon CreateRecipe(). AddIngredient(15). AddIngredient(18). - AddTile(TileID.LunarCraftingStation). + AddTile(TileID.MythrilAnvil). Register(); } } diff --git a/Items/Armor/Tarragon/TarragonHeadMagic.cs b/Items/Armor/Tarragon/TarragonHeadMagic.cs index d51fa12857..815101dd45 100644 --- a/Items/Armor/Tarragon/TarragonHeadMagic.cs +++ b/Items/Armor/Tarragon/TarragonHeadMagic.cs @@ -54,7 +54,7 @@ namespace CalamityMod.Items.Armor.Tarragon CreateRecipe(). AddIngredient(7). AddIngredient(6). - AddTile(TileID.LunarCraftingStation). + AddTile(TileID.MythrilAnvil). SortBeforeFirstRecipesOf(ModContent.ItemType()). Register(); } diff --git a/Items/Armor/Tarragon/TarragonHeadMelee.cs b/Items/Armor/Tarragon/TarragonHeadMelee.cs index 94f2ae5883..3fe7096a8a 100644 --- a/Items/Armor/Tarragon/TarragonHeadMelee.cs +++ b/Items/Armor/Tarragon/TarragonHeadMelee.cs @@ -55,7 +55,7 @@ namespace CalamityMod.Items.Armor.Tarragon CreateRecipe(). AddIngredient(7). AddIngredient(6). - AddTile(TileID.LunarCraftingStation). + AddTile(TileID.MythrilAnvil). SortBeforeFirstRecipesOf(ModContent.ItemType()). Register(); } diff --git a/Items/Armor/Tarragon/TarragonHeadRanged.cs b/Items/Armor/Tarragon/TarragonHeadRanged.cs index 7d29dbab8a..c225f23b8c 100644 --- a/Items/Armor/Tarragon/TarragonHeadRanged.cs +++ b/Items/Armor/Tarragon/TarragonHeadRanged.cs @@ -52,7 +52,7 @@ namespace CalamityMod.Items.Armor.Tarragon CreateRecipe(). AddIngredient(7). AddIngredient(6). - AddTile(TileID.LunarCraftingStation). + AddTile(TileID.MythrilAnvil). SortBeforeFirstRecipesOf(ModContent.ItemType()). Register(); } diff --git a/Items/Armor/Tarragon/TarragonHeadRogue.cs b/Items/Armor/Tarragon/TarragonHeadRogue.cs index 91f8785758..77a1ddca54 100644 --- a/Items/Armor/Tarragon/TarragonHeadRogue.cs +++ b/Items/Armor/Tarragon/TarragonHeadRogue.cs @@ -55,7 +55,7 @@ namespace CalamityMod.Items.Armor.Tarragon CreateRecipe(). AddIngredient(7). AddIngredient(6). - AddTile(TileID.LunarCraftingStation). + AddTile(TileID.MythrilAnvil). SortBeforeFirstRecipesOf(ModContent.ItemType()). Register(); } diff --git a/Items/Armor/Tarragon/TarragonHeadSummon.cs b/Items/Armor/Tarragon/TarragonHeadSummon.cs index ebaadb2a02..503c51a98a 100644 --- a/Items/Armor/Tarragon/TarragonHeadSummon.cs +++ b/Items/Armor/Tarragon/TarragonHeadSummon.cs @@ -56,7 +56,7 @@ namespace CalamityMod.Items.Armor.Tarragon CreateRecipe(). AddIngredient(7). AddIngredient(6). - AddTile(TileID.LunarCraftingStation). + AddTile(TileID.MythrilAnvil). SortBeforeFirstRecipesOf(ModContent.ItemType()). Register(); } diff --git a/Items/Armor/Tarragon/TarragonLeggings.cs b/Items/Armor/Tarragon/TarragonLeggings.cs index 4aeeca59c1..3d52ab04c0 100644 --- a/Items/Armor/Tarragon/TarragonLeggings.cs +++ b/Items/Armor/Tarragon/TarragonLeggings.cs @@ -31,7 +31,7 @@ namespace CalamityMod.Items.Armor.Tarragon CreateRecipe(). AddIngredient(11). AddIngredient(12). - AddTile(TileID.LunarCraftingStation). + AddTile(TileID.MythrilAnvil). Register(); } } diff --git a/Items/CalamityGlobalItemTooltip.cs b/Items/CalamityGlobalItemTooltip.cs index bfb8475015..3e7c1050ba 100644 --- a/Items/CalamityGlobalItemTooltip.cs +++ b/Items/CalamityGlobalItemTooltip.cs @@ -570,12 +570,17 @@ namespace CalamityMod.Items if (item.healLife > 0 && Main.LocalPlayer.Calamity().healingPotionMultiplier != 1f) EditTooltipByName("HealLife", (line) => line.Text = Language.GetOrRegister("CommonItemTooltip.RestoresLife").Format((int)(item.healLife * Main.LocalPlayer.Calamity().healingPotionMultiplier))); + // Ancient Manipulator also crafts stuff with Astral Bars + if (item.type == ItemID.LunarCraftingStation) + EditTooltipByNum(0, (line) => line.Text = EditedTooltip("LunarCraftingStation")); + + // Reworked Gravity Globe if (item.type == ItemID.GravityGlobe) - EditTooltipByName("Tooltip1", (line) => line.Text = EditedTooltip("GravityGlobe")); - + EditTooltipByNum(1, (line) => line.Text = EditedTooltip("GravityGlobe")); + // "Buffed" Step Stool if (item.type == ItemID.PortableStool) - EditTooltipByName("Tooltip0", (line) => line.Text += AddedTooltip("Stepstool")); + EditTooltipByNum(0, (line) => line.Text += AddedTooltip("PortableStool")); #endregion // For boss summon item clarity diff --git a/Items/DraedonMisc/VoltageRegulationSystem.cs b/Items/DraedonMisc/VoltageRegulationSystem.cs index 149fc0e488..08079cd86a 100644 --- a/Items/DraedonMisc/VoltageRegulationSystem.cs +++ b/Items/DraedonMisc/VoltageRegulationSystem.cs @@ -62,7 +62,7 @@ namespace CalamityMod.Items.DraedonMisc AddIngredient(5). AddIngredient(ItemID.LunarBar, 5). AddCondition(ArsenalTierGatedRecipe.ConstructRecipeCondition(4, out Func condition), condition). - AddTile(TileID.LunarCraftingStation). + AddTile(TileID.MythrilAnvil). Register(); } } diff --git a/Items/Fishing/FishingRods/EarlyBloomRod.cs b/Items/Fishing/FishingRods/EarlyBloomRod.cs index fa92d6cf33..ea7cbacd81 100644 --- a/Items/Fishing/FishingRods/EarlyBloomRod.cs +++ b/Items/Fishing/FishingRods/EarlyBloomRod.cs @@ -52,7 +52,7 @@ namespace CalamityMod.Items.Fishing.FishingRods CreateRecipe(). AddIngredient(ItemID.WoodFishingPole). AddIngredient(6). - AddTile(TileID.LunarCraftingStation). + AddTile(TileID.MythrilAnvil). Register(); } } diff --git a/Items/Materials/AscendantSpiritEssence.cs b/Items/Materials/AscendantSpiritEssence.cs index 731d9c31c9..de3467dd4f 100644 --- a/Items/Materials/AscendantSpiritEssence.cs +++ b/Items/Materials/AscendantSpiritEssence.cs @@ -57,7 +57,7 @@ namespace CalamityMod.Items.Materials AddIngredient(5). AddIngredient(5). AddIngredient(2). - AddTile(TileID.LunarCraftingStation). + AddTile(TileID.MythrilAnvil). Register(); } } diff --git a/Items/Materials/AuricBar.cs b/Items/Materials/AuricBar.cs index 494cdca070..fd301108ee 100644 --- a/Items/Materials/AuricBar.cs +++ b/Items/Materials/AuricBar.cs @@ -94,8 +94,7 @@ namespace CalamityMod.Items.Materials CreateRecipe(5). AddIngredient(50). AddIngredient(). - //Not Cosmic Anvil because making a bar at an anvil is a little odd? also allows pre-moon lord scal for those who really want to do it. win-win. - AddTile(TileID.LunarCraftingStation). + AddTile(TileID.AdamantiteForge). Register(); } } diff --git a/Items/Materials/BloodstoneCore.cs b/Items/Materials/BloodstoneCore.cs index 68cbb03212..2e5607f957 100644 --- a/Items/Materials/BloodstoneCore.cs +++ b/Items/Materials/BloodstoneCore.cs @@ -29,7 +29,7 @@ namespace CalamityMod.Items.Materials AddIngredient(5). AddIngredient(). AddIngredient(). - AddTile(TileID.LunarCraftingStation). + AddTile(TileID.MythrilAnvil). Register(); } } diff --git a/Items/Mounts/Brimrose.cs b/Items/Mounts/Brimrose.cs index f23f2c5298..ce4728ef24 100644 --- a/Items/Mounts/Brimrose.cs +++ b/Items/Mounts/Brimrose.cs @@ -28,7 +28,7 @@ namespace CalamityMod.Items.Mounts CreateRecipe(). AddIngredient(5). AddIngredient(20). - AddTile(TileID.LunarCraftingStation). + AddTile(TileID.MythrilAnvil). Register(); } } diff --git a/Items/NormalityRelocator.cs b/Items/NormalityRelocator.cs index 12efc351c0..65138dcd96 100644 --- a/Items/NormalityRelocator.cs +++ b/Items/NormalityRelocator.cs @@ -49,7 +49,7 @@ namespace CalamityMod.Items AddIngredient(ItemID.FragmentStardust, 30). AddIngredient(5). AddIngredient(10). - AddTile(TileID.LunarCraftingStation). + AddTile(TileID.MythrilAnvil). Register(); } } diff --git a/Items/PermanentBoosters/MiracleFruit.cs b/Items/PermanentBoosters/MiracleFruit.cs index ad1b42d30f..974b0cbc05 100644 --- a/Items/PermanentBoosters/MiracleFruit.cs +++ b/Items/PermanentBoosters/MiracleFruit.cs @@ -73,8 +73,7 @@ namespace CalamityMod.Items.PermanentBoosters AddIngredient(ItemID.LifeFruit, 5). AddIngredient(5). AddIngredient(12). - //Not an anvil because making fruit at an anvil is a little weird, so here's something more magical. - AddTile(TileID.DemonAltar). + AddTile(TileID.MythrilAnvil). Register(); } } diff --git a/Items/PermanentBoosters/PhantomHeart.cs b/Items/PermanentBoosters/PhantomHeart.cs index 2ec582f5fd..79b1f0ce12 100644 --- a/Items/PermanentBoosters/PhantomHeart.cs +++ b/Items/PermanentBoosters/PhantomHeart.cs @@ -72,7 +72,7 @@ namespace CalamityMod.Items.PermanentBoosters CreateRecipe(). AddIngredient(5). AddIngredient(25). - AddTile(TileID.LunarCraftingStation). + AddTile(TileID.MythrilAnvil). Register(); } } diff --git a/Items/PermanentBoosters/SacredStrawberry.cs b/Items/PermanentBoosters/SacredStrawberry.cs index 623ccd1731..d6e040021e 100644 --- a/Items/PermanentBoosters/SacredStrawberry.cs +++ b/Items/PermanentBoosters/SacredStrawberry.cs @@ -76,8 +76,7 @@ namespace CalamityMod.Items.PermanentBoosters AddIngredient(ItemID.LifeFruit, 5). AddIngredient(5). AddIngredient(). - //Not an anvil because making fruit at an anvil is a little weird, so here's something more magical. - AddTile(TileID.LunarCraftingStation). + AddTile(). Register(); } } diff --git a/Items/PermanentBoosters/SanguineTangerine.cs b/Items/PermanentBoosters/SanguineTangerine.cs index 49ab59f968..1348fda9fe 100644 --- a/Items/PermanentBoosters/SanguineTangerine.cs +++ b/Items/PermanentBoosters/SanguineTangerine.cs @@ -76,8 +76,7 @@ namespace CalamityMod.Items.PermanentBoosters AddIngredient(ItemID.SoulofFright, 5). AddIngredient(ItemID.SoulofMight, 5). AddIngredient(ItemID.SoulofSight, 5). - //Not an anvil because making fruit at an anvil is a little weird, so here's something more magical. - AddTile(TileID.DemonAltar). + AddTile(TileID.MythrilAnvil). Register(); } } diff --git a/Items/PermanentBoosters/TaintedCloudberry.cs b/Items/PermanentBoosters/TaintedCloudberry.cs index 67207446de..56fc3b45ac 100644 --- a/Items/PermanentBoosters/TaintedCloudberry.cs +++ b/Items/PermanentBoosters/TaintedCloudberry.cs @@ -75,7 +75,7 @@ namespace CalamityMod.Items.PermanentBoosters AddIngredient(ItemID.LifeFruit, 5). AddIngredient(10). AddIngredient(8). - AddTile(TileID.LunarCraftingStation). + AddTile(TileID.MythrilAnvil). Register(); } } diff --git a/Items/Placeables/Furniture/AstralBeaconItem.cs b/Items/Placeables/Furniture/AstralBeaconItem.cs index 97e7a66d44..b63a91fa2c 100644 --- a/Items/Placeables/Furniture/AstralBeaconItem.cs +++ b/Items/Placeables/Furniture/AstralBeaconItem.cs @@ -24,7 +24,7 @@ namespace CalamityMod.Items.Placeables.Furniture AddIngredient(5). AddIngredient(20). AddIngredient(30). - AddTile(TileID.LunarCraftingStation). + AddTile(TileID.HeavyWorkBench). Register(); } } diff --git a/Items/Placeables/Furniture/CraftingStations/BotanicPlanter.cs b/Items/Placeables/Furniture/CraftingStations/BotanicPlanter.cs index 63ab5d8089..bdaac5f684 100644 --- a/Items/Placeables/Furniture/CraftingStations/BotanicPlanter.cs +++ b/Items/Placeables/Furniture/CraftingStations/BotanicPlanter.cs @@ -22,7 +22,7 @@ namespace CalamityMod.Items.Placeables.Furniture.CraftingStations CreateRecipe(). AddIngredient(20). AddIngredient(ItemID.JungleSpores, 5). - AddTile(TileID.LunarCraftingStation). + AddTile(TileID.MythrilAnvil). Register(); } } diff --git a/Items/Placeables/Furniture/CraftingStations/DraedonsForge.cs b/Items/Placeables/Furniture/CraftingStations/DraedonsForge.cs index 8f6217f917..b7a9a85f65 100644 --- a/Items/Placeables/Furniture/CraftingStations/DraedonsForge.cs +++ b/Items/Placeables/Furniture/CraftingStations/DraedonsForge.cs @@ -30,7 +30,7 @@ namespace CalamityMod.Items.Placeables.Furniture.CraftingStations AddIngredient(ItemID.LunarCraftingStation). AddIngredient(15). AddIngredient(12). - AddIngredient(25). + AddIngredient(15). Register(); } } diff --git a/Items/Placeables/Furniture/CraftingStations/EffulgentManipulator.cs b/Items/Placeables/Furniture/CraftingStations/EffulgentManipulator.cs index da3038d601..38cd253bdc 100644 --- a/Items/Placeables/Furniture/CraftingStations/EffulgentManipulator.cs +++ b/Items/Placeables/Furniture/CraftingStations/EffulgentManipulator.cs @@ -25,7 +25,7 @@ namespace CalamityMod.Items.Placeables.Furniture.CraftingStations CreateRecipe(). AddIngredient(10). AddRecipeGroup("AnyGoldBar", 5). - AddTile(TileID.LunarCraftingStation). + AddTile(TileID.MythrilAnvil). Register(); } } diff --git a/Items/Placeables/Furniture/CraftingStations/ProfanedCrucible.cs b/Items/Placeables/Furniture/CraftingStations/ProfanedCrucible.cs index 67c0ddf555..dc9fb777f9 100644 --- a/Items/Placeables/Furniture/CraftingStations/ProfanedCrucible.cs +++ b/Items/Placeables/Furniture/CraftingStations/ProfanedCrucible.cs @@ -25,7 +25,7 @@ namespace CalamityMod.Items.Placeables.Furniture.CraftingStations CreateRecipe(). AddIngredient(10). AddIngredient(5). - AddTile(TileID.LunarCraftingStation). + AddTile(TileID.MythrilAnvil). Register(); } } diff --git a/Items/Placeables/Furniture/Monoliths/DraconicIncense.cs b/Items/Placeables/Furniture/Monoliths/DraconicIncense.cs index 3fd80fc669..ece5bf1f44 100644 --- a/Items/Placeables/Furniture/Monoliths/DraconicIncense.cs +++ b/Items/Placeables/Furniture/Monoliths/DraconicIncense.cs @@ -37,7 +37,7 @@ namespace CalamityMod.Items.Placeables.Furniture.Monoliths { CreateRecipe(). AddIngredient(15). - AddTile(TileID.LunarCraftingStation). + AddTile(). Register(); } } diff --git a/Items/Placeables/FurnitureOtherworldly/OtherworldlyBathtub.cs b/Items/Placeables/FurnitureOtherworldly/OtherworldlyBathtub.cs index 36312630cf..65070a845f 100644 --- a/Items/Placeables/FurnitureOtherworldly/OtherworldlyBathtub.cs +++ b/Items/Placeables/FurnitureOtherworldly/OtherworldlyBathtub.cs @@ -17,7 +17,7 @@ namespace CalamityMod.Items.Placeables.FurnitureOtherworldly { CreateRecipe(). AddIngredient(14). - AddTile(TileID.LunarCraftingStation). + AddTile(TileID.Sawmill). Register(); } } diff --git a/Items/Placeables/FurnitureOtherworldly/OtherworldlyBed.cs b/Items/Placeables/FurnitureOtherworldly/OtherworldlyBed.cs index f3140813d1..353a1c5f8c 100644 --- a/Items/Placeables/FurnitureOtherworldly/OtherworldlyBed.cs +++ b/Items/Placeables/FurnitureOtherworldly/OtherworldlyBed.cs @@ -18,7 +18,7 @@ namespace CalamityMod.Items.Placeables.FurnitureOtherworldly CreateRecipe(). AddIngredient(15). AddIngredient(ItemID.Silk, 5). - AddTile(TileID.LunarCraftingStation). + AddTile(TileID.Sawmill). Register(); } } diff --git a/Items/Placeables/FurnitureOtherworldly/OtherworldlyBookcase.cs b/Items/Placeables/FurnitureOtherworldly/OtherworldlyBookcase.cs index d3df9dcdc5..f3ff94fd47 100644 --- a/Items/Placeables/FurnitureOtherworldly/OtherworldlyBookcase.cs +++ b/Items/Placeables/FurnitureOtherworldly/OtherworldlyBookcase.cs @@ -18,7 +18,7 @@ namespace CalamityMod.Items.Placeables.FurnitureOtherworldly CreateRecipe(). AddIngredient(20). AddIngredient(ItemID.Book, 10). - AddTile(TileID.LunarCraftingStation). + AddTile(TileID.Sawmill). Register(); } } diff --git a/Items/Placeables/FurnitureOtherworldly/OtherworldlyCandelabra.cs b/Items/Placeables/FurnitureOtherworldly/OtherworldlyCandelabra.cs index 11c794c0f6..033e29b840 100644 --- a/Items/Placeables/FurnitureOtherworldly/OtherworldlyCandelabra.cs +++ b/Items/Placeables/FurnitureOtherworldly/OtherworldlyCandelabra.cs @@ -18,7 +18,7 @@ namespace CalamityMod.Items.Placeables.FurnitureOtherworldly CreateRecipe(). AddIngredient(5). AddIngredient(ItemID.Torch, 3). - AddTile(TileID.LunarCraftingStation). + AddTile(TileID.WorkBenches). Register(); } } diff --git a/Items/Placeables/FurnitureOtherworldly/OtherworldlyCandle.cs b/Items/Placeables/FurnitureOtherworldly/OtherworldlyCandle.cs index ba12961307..d6a2c55a98 100644 --- a/Items/Placeables/FurnitureOtherworldly/OtherworldlyCandle.cs +++ b/Items/Placeables/FurnitureOtherworldly/OtherworldlyCandle.cs @@ -18,7 +18,7 @@ namespace CalamityMod.Items.Placeables.FurnitureOtherworldly CreateRecipe(). AddIngredient(4). AddIngredient(ItemID.Torch). - AddTile(TileID.LunarCraftingStation). + AddTile(TileID.WorkBenches). Register(); } } diff --git a/Items/Placeables/FurnitureOtherworldly/OtherworldlyChair.cs b/Items/Placeables/FurnitureOtherworldly/OtherworldlyChair.cs index d2d7338feb..133d1339f9 100644 --- a/Items/Placeables/FurnitureOtherworldly/OtherworldlyChair.cs +++ b/Items/Placeables/FurnitureOtherworldly/OtherworldlyChair.cs @@ -17,7 +17,7 @@ namespace CalamityMod.Items.Placeables.FurnitureOtherworldly { CreateRecipe(). AddIngredient(4). - AddTile(TileID.LunarCraftingStation). + AddTile(TileID.WorkBenches). Register(); } } diff --git a/Items/Placeables/FurnitureOtherworldly/OtherworldlyChandelier.cs b/Items/Placeables/FurnitureOtherworldly/OtherworldlyChandelier.cs index 3de2820561..d90850b4d3 100644 --- a/Items/Placeables/FurnitureOtherworldly/OtherworldlyChandelier.cs +++ b/Items/Placeables/FurnitureOtherworldly/OtherworldlyChandelier.cs @@ -19,7 +19,7 @@ namespace CalamityMod.Items.Placeables.FurnitureOtherworldly AddIngredient(4). AddIngredient(ItemID.Torch, 4). AddIngredient(ItemID.Chain). - AddTile(TileID.LunarCraftingStation). + AddTile(TileID.Anvils). Register(); } } diff --git a/Items/Placeables/FurnitureOtherworldly/OtherworldlyChest.cs b/Items/Placeables/FurnitureOtherworldly/OtherworldlyChest.cs index 88192ef233..d3f1b0136c 100644 --- a/Items/Placeables/FurnitureOtherworldly/OtherworldlyChest.cs +++ b/Items/Placeables/FurnitureOtherworldly/OtherworldlyChest.cs @@ -18,7 +18,7 @@ namespace CalamityMod.Items.Placeables.FurnitureOtherworldly CreateRecipe(). AddIngredient(8). AddRecipeGroup("IronBar", 2). - AddTile(TileID.LunarCraftingStation). + AddTile(TileID.WorkBenches). Register(); } } diff --git a/Items/Placeables/FurnitureOtherworldly/OtherworldlyClock.cs b/Items/Placeables/FurnitureOtherworldly/OtherworldlyClock.cs index f0ff836923..1a7282ccef 100644 --- a/Items/Placeables/FurnitureOtherworldly/OtherworldlyClock.cs +++ b/Items/Placeables/FurnitureOtherworldly/OtherworldlyClock.cs @@ -19,7 +19,7 @@ namespace CalamityMod.Items.Placeables.FurnitureOtherworldly AddIngredient(10). AddRecipeGroup("IronBar", 3). AddIngredient(ItemID.Glass, 6). - AddTile(TileID.LunarCraftingStation). + AddTile(TileID.Sawmill). Register(); } } diff --git a/Items/Placeables/FurnitureOtherworldly/OtherworldlyDoor.cs b/Items/Placeables/FurnitureOtherworldly/OtherworldlyDoor.cs index 2a3a1e7b02..b6508de82b 100644 --- a/Items/Placeables/FurnitureOtherworldly/OtherworldlyDoor.cs +++ b/Items/Placeables/FurnitureOtherworldly/OtherworldlyDoor.cs @@ -18,7 +18,7 @@ namespace CalamityMod.Items.Placeables.FurnitureOtherworldly { CreateRecipe(). AddIngredient(6). - AddTile(TileID.LunarCraftingStation). + AddTile(TileID.WorkBenches). Register(); } } diff --git a/Items/Placeables/FurnitureOtherworldly/OtherworldlyDresser.cs b/Items/Placeables/FurnitureOtherworldly/OtherworldlyDresser.cs index 61a8967584..f347347fb4 100644 --- a/Items/Placeables/FurnitureOtherworldly/OtherworldlyDresser.cs +++ b/Items/Placeables/FurnitureOtherworldly/OtherworldlyDresser.cs @@ -17,7 +17,7 @@ namespace CalamityMod.Items.Placeables.FurnitureOtherworldly { CreateRecipe(). AddIngredient(16). - AddTile(TileID.LunarCraftingStation). + AddTile(TileID.Sawmill). Register(); } } diff --git a/Items/Placeables/FurnitureOtherworldly/OtherworldlyLamp.cs b/Items/Placeables/FurnitureOtherworldly/OtherworldlyLamp.cs index 65d2590d83..3970db46da 100644 --- a/Items/Placeables/FurnitureOtherworldly/OtherworldlyLamp.cs +++ b/Items/Placeables/FurnitureOtherworldly/OtherworldlyLamp.cs @@ -18,7 +18,7 @@ namespace CalamityMod.Items.Placeables.FurnitureOtherworldly CreateRecipe(). AddIngredient(3). AddIngredient(ItemID.Torch). - AddTile(TileID.LunarCraftingStation). + AddTile(TileID.WorkBenches). Register(); } } diff --git a/Items/Placeables/FurnitureOtherworldly/OtherworldlyLantern.cs b/Items/Placeables/FurnitureOtherworldly/OtherworldlyLantern.cs index 41dcfc2525..1833b7a940 100644 --- a/Items/Placeables/FurnitureOtherworldly/OtherworldlyLantern.cs +++ b/Items/Placeables/FurnitureOtherworldly/OtherworldlyLantern.cs @@ -18,7 +18,7 @@ namespace CalamityMod.Items.Placeables.FurnitureOtherworldly CreateRecipe(). AddIngredient(6). AddIngredient(ItemID.Torch). - AddTile(TileID.LunarCraftingStation). + AddTile(TileID.WorkBenches). Register(); } } diff --git a/Items/Placeables/FurnitureOtherworldly/OtherworldlyPiano.cs b/Items/Placeables/FurnitureOtherworldly/OtherworldlyPiano.cs index d84715b21d..208c7a75d3 100644 --- a/Items/Placeables/FurnitureOtherworldly/OtherworldlyPiano.cs +++ b/Items/Placeables/FurnitureOtherworldly/OtherworldlyPiano.cs @@ -19,7 +19,7 @@ namespace CalamityMod.Items.Placeables.FurnitureOtherworldly AddIngredient(15). AddIngredient(ItemID.Bone, 4). AddIngredient(ItemID.Book). - AddTile(TileID.LunarCraftingStation). + AddTile(TileID.Sawmill). Register(); } } diff --git a/Items/Placeables/FurnitureOtherworldly/OtherworldlySink.cs b/Items/Placeables/FurnitureOtherworldly/OtherworldlySink.cs index 75ced4a50f..da49bd9456 100644 --- a/Items/Placeables/FurnitureOtherworldly/OtherworldlySink.cs +++ b/Items/Placeables/FurnitureOtherworldly/OtherworldlySink.cs @@ -18,7 +18,7 @@ namespace CalamityMod.Items.Placeables.FurnitureOtherworldly CreateRecipe(). AddIngredient(6). AddIngredient(ItemID.WaterBucket). - AddTile(TileID.LunarCraftingStation). + AddTile(TileID.WorkBenches). Register(); } } diff --git a/Items/Placeables/FurnitureOtherworldly/OtherworldlySofa.cs b/Items/Placeables/FurnitureOtherworldly/OtherworldlySofa.cs index 3e992a78d7..b95b3622d4 100644 --- a/Items/Placeables/FurnitureOtherworldly/OtherworldlySofa.cs +++ b/Items/Placeables/FurnitureOtherworldly/OtherworldlySofa.cs @@ -18,7 +18,7 @@ namespace CalamityMod.Items.Placeables.FurnitureOtherworldly CreateRecipe(). AddIngredient(5). AddIngredient(ItemID.Silk, 2). - AddTile(TileID.LunarCraftingStation). + AddTile(TileID.Sawmill). Register(); } } diff --git a/Items/Placeables/FurnitureOtherworldly/OtherworldlyStone.cs b/Items/Placeables/FurnitureOtherworldly/OtherworldlyStone.cs index 718a840b8c..3e7acb41e0 100644 --- a/Items/Placeables/FurnitureOtherworldly/OtherworldlyStone.cs +++ b/Items/Placeables/FurnitureOtherworldly/OtherworldlyStone.cs @@ -24,7 +24,7 @@ namespace CalamityMod.Items.Placeables.FurnitureOtherworldly AddIngredient(). AddIngredient(). AddIngredient(ItemID.Silk, 10). - AddTile(TileID.LunarCraftingStation). + AddTile(TileID.AdamantiteForge). Register(); CreateRecipe(). AddIngredient(4). diff --git a/Items/Placeables/FurnitureOtherworldly/OtherworldlyTable.cs b/Items/Placeables/FurnitureOtherworldly/OtherworldlyTable.cs index d390b64ae9..8517f93ef5 100644 --- a/Items/Placeables/FurnitureOtherworldly/OtherworldlyTable.cs +++ b/Items/Placeables/FurnitureOtherworldly/OtherworldlyTable.cs @@ -17,7 +17,7 @@ namespace CalamityMod.Items.Placeables.FurnitureOtherworldly { CreateRecipe(). AddIngredient(8). - AddTile(TileID.LunarCraftingStation). + AddTile(TileID.WorkBenches). Register(); } } diff --git a/Items/Placeables/FurnitureOtherworldly/OtherworldlyWorkBench.cs b/Items/Placeables/FurnitureOtherworldly/OtherworldlyWorkBench.cs index 2cf9018b78..f1efd85ac8 100644 --- a/Items/Placeables/FurnitureOtherworldly/OtherworldlyWorkBench.cs +++ b/Items/Placeables/FurnitureOtherworldly/OtherworldlyWorkBench.cs @@ -17,7 +17,6 @@ namespace CalamityMod.Items.Placeables.FurnitureOtherworldly { CreateRecipe(). AddIngredient(10). - AddTile(TileID.LunarCraftingStation). Register(); } } diff --git a/Items/Placeables/FurnitureProfaned/ProfanedCrystal.cs b/Items/Placeables/FurnitureProfaned/ProfanedCrystal.cs index 2100d817a9..6202b9a5e6 100644 --- a/Items/Placeables/FurnitureProfaned/ProfanedCrystal.cs +++ b/Items/Placeables/FurnitureProfaned/ProfanedCrystal.cs @@ -19,7 +19,7 @@ namespace CalamityMod.Items.Placeables.FurnitureProfaned CreateRecipe(50). AddIngredient(ItemID.Glass, 50). AddIngredient(). - AddTile(TileID.LunarCraftingStation). + AddTile(TileID.AdamantiteForge). Register(); CreateRecipe(). AddIngredient(4). diff --git a/Items/Placeables/FurnitureProfaned/ProfanedRock.cs b/Items/Placeables/FurnitureProfaned/ProfanedRock.cs index 7a5b532e7c..bb3ca2015c 100644 --- a/Items/Placeables/FurnitureProfaned/ProfanedRock.cs +++ b/Items/Placeables/FurnitureProfaned/ProfanedRock.cs @@ -19,7 +19,7 @@ namespace CalamityMod.Items.Placeables.FurnitureProfaned CreateRecipe(50). AddRecipeGroup("AnyStoneBlock", 50). AddIngredient(). - AddTile(TileID.LunarCraftingStation). + AddTile(TileID.AdamantiteForge). Register(); CreateRecipe(). AddIngredient(4). diff --git a/Items/Placeables/FurnitureProfaned/ProfanedSlab.cs b/Items/Placeables/FurnitureProfaned/ProfanedSlab.cs index c3d7fc12d3..f91de46d0a 100644 --- a/Items/Placeables/FurnitureProfaned/ProfanedSlab.cs +++ b/Items/Placeables/FurnitureProfaned/ProfanedSlab.cs @@ -17,7 +17,7 @@ namespace CalamityMod.Items.Placeables.FurnitureProfaned { CreateRecipe(5). AddIngredient(5). - AddTile(TileID.LunarCraftingStation). + AddTile(TileID.AdamantiteForge). Register(); CreateRecipe(). AddIngredient(4). diff --git a/Items/Placeables/FurnitureProfaned/RunicProfanedBrick.cs b/Items/Placeables/FurnitureProfaned/RunicProfanedBrick.cs index b975aced10..1e8e4c6e6e 100644 --- a/Items/Placeables/FurnitureProfaned/RunicProfanedBrick.cs +++ b/Items/Placeables/FurnitureProfaned/RunicProfanedBrick.cs @@ -19,7 +19,7 @@ namespace CalamityMod.Items.Placeables.FurnitureProfaned CreateRecipe(5). AddIngredient(4). AddIngredient(). - AddTile(TileID.LunarCraftingStation). + AddTile(TileID.AdamantiteForge). Register(); CreateRecipe(). AddIngredient(4). diff --git a/Items/Placeables/FurnitureStratus/StratusBathtub.cs b/Items/Placeables/FurnitureStratus/StratusBathtub.cs index 3f5e3b6b76..ff810e5010 100644 --- a/Items/Placeables/FurnitureStratus/StratusBathtub.cs +++ b/Items/Placeables/FurnitureStratus/StratusBathtub.cs @@ -16,7 +16,7 @@ namespace CalamityMod.Items.Placeables.FurnitureStratus { CreateRecipe(). AddIngredient(14). - AddTile(TileID.LunarCraftingStation). + AddTile(TileID.Sawmill). Register(); } } diff --git a/Items/Placeables/FurnitureStratus/StratusBed.cs b/Items/Placeables/FurnitureStratus/StratusBed.cs index 6ce98dccab..65c93798ec 100644 --- a/Items/Placeables/FurnitureStratus/StratusBed.cs +++ b/Items/Placeables/FurnitureStratus/StratusBed.cs @@ -17,7 +17,7 @@ namespace CalamityMod.Items.Placeables.FurnitureStratus CreateRecipe(). AddIngredient(15). AddIngredient(ItemID.Silk, 5). - AddTile(TileID.LunarCraftingStation). + AddTile(TileID.Sawmill). Register(); } } diff --git a/Items/Placeables/FurnitureStratus/StratusBookcase.cs b/Items/Placeables/FurnitureStratus/StratusBookcase.cs index 558a78bfec..ac1226a1f8 100644 --- a/Items/Placeables/FurnitureStratus/StratusBookcase.cs +++ b/Items/Placeables/FurnitureStratus/StratusBookcase.cs @@ -17,7 +17,7 @@ namespace CalamityMod.Items.Placeables.FurnitureStratus CreateRecipe(). AddIngredient(20). AddIngredient(ItemID.Book, 10). - AddTile(TileID.LunarCraftingStation). + AddTile(TileID.Sawmill). Register(); } } diff --git a/Items/Placeables/FurnitureStratus/StratusBricks.cs b/Items/Placeables/FurnitureStratus/StratusBricks.cs index c8e4ecead9..36f87a04c9 100644 --- a/Items/Placeables/FurnitureStratus/StratusBricks.cs +++ b/Items/Placeables/FurnitureStratus/StratusBricks.cs @@ -22,7 +22,7 @@ namespace CalamityMod.Items.Placeables.FurnitureStratus AddIngredient(3). AddIngredient(). AddIngredient(). - AddTile(TileID.LunarCraftingStation). + AddTile(TileID.AdamantiteForge). Register(); CreateRecipe(). AddIngredient(4). diff --git a/Items/Placeables/FurnitureStratus/StratusCandelabra.cs b/Items/Placeables/FurnitureStratus/StratusCandelabra.cs index 3f4a616950..63228f55f2 100644 --- a/Items/Placeables/FurnitureStratus/StratusCandelabra.cs +++ b/Items/Placeables/FurnitureStratus/StratusCandelabra.cs @@ -17,7 +17,7 @@ namespace CalamityMod.Items.Placeables.FurnitureStratus CreateRecipe(). AddIngredient(5). AddIngredient(ItemID.Torch, 3). - AddTile(TileID.LunarCraftingStation). + AddTile(TileID.WorkBenches). Register(); } } diff --git a/Items/Placeables/FurnitureStratus/StratusCandle.cs b/Items/Placeables/FurnitureStratus/StratusCandle.cs index 1e0c3bc8ea..f8dd4f71ea 100644 --- a/Items/Placeables/FurnitureStratus/StratusCandle.cs +++ b/Items/Placeables/FurnitureStratus/StratusCandle.cs @@ -17,7 +17,7 @@ namespace CalamityMod.Items.Placeables.FurnitureStratus CreateRecipe(). AddIngredient(4). AddIngredient(ItemID.Torch). - AddTile(TileID.LunarCraftingStation). + AddTile(TileID.WorkBenches). Register(); } } diff --git a/Items/Placeables/FurnitureStratus/StratusChair.cs b/Items/Placeables/FurnitureStratus/StratusChair.cs index 20dd9f148d..8a6ff76d53 100644 --- a/Items/Placeables/FurnitureStratus/StratusChair.cs +++ b/Items/Placeables/FurnitureStratus/StratusChair.cs @@ -16,7 +16,7 @@ namespace CalamityMod.Items.Placeables.FurnitureStratus { CreateRecipe(). AddIngredient(4). - AddTile(TileID.LunarCraftingStation). + AddTile(TileID.WorkBenches). Register(); } } diff --git a/Items/Placeables/FurnitureStratus/StratusChandelier.cs b/Items/Placeables/FurnitureStratus/StratusChandelier.cs index 84b7f7fe5d..5f21142e57 100644 --- a/Items/Placeables/FurnitureStratus/StratusChandelier.cs +++ b/Items/Placeables/FurnitureStratus/StratusChandelier.cs @@ -18,7 +18,7 @@ namespace CalamityMod.Items.Placeables.FurnitureStratus AddIngredient(4). AddIngredient(ItemID.Torch, 4). AddIngredient(ItemID.Chain). - AddTile(TileID.LunarCraftingStation). + AddTile(TileID.Anvils). Register(); } } diff --git a/Items/Placeables/FurnitureStratus/StratusChest.cs b/Items/Placeables/FurnitureStratus/StratusChest.cs index 9137ca711c..753df53dec 100644 --- a/Items/Placeables/FurnitureStratus/StratusChest.cs +++ b/Items/Placeables/FurnitureStratus/StratusChest.cs @@ -17,7 +17,7 @@ namespace CalamityMod.Items.Placeables.FurnitureStratus CreateRecipe(). AddIngredient(8). AddRecipeGroup("IronBar", 2). - AddTile(TileID.LunarCraftingStation). + AddTile(TileID.WorkBenches). Register(); } } diff --git a/Items/Placeables/FurnitureStratus/StratusClock.cs b/Items/Placeables/FurnitureStratus/StratusClock.cs index 35591f9dac..01b94235d7 100644 --- a/Items/Placeables/FurnitureStratus/StratusClock.cs +++ b/Items/Placeables/FurnitureStratus/StratusClock.cs @@ -18,7 +18,7 @@ namespace CalamityMod.Items.Placeables.FurnitureStratus AddIngredient(10). AddRecipeGroup("IronBar", 3). AddIngredient(ItemID.Glass, 6). - AddTile(TileID.LunarCraftingStation). + AddTile(TileID.Sawmill). Register(); } } diff --git a/Items/Placeables/FurnitureStratus/StratusDoor.cs b/Items/Placeables/FurnitureStratus/StratusDoor.cs index c0086b86cc..9182e72e40 100644 --- a/Items/Placeables/FurnitureStratus/StratusDoor.cs +++ b/Items/Placeables/FurnitureStratus/StratusDoor.cs @@ -17,7 +17,7 @@ namespace CalamityMod.Items.Placeables.FurnitureStratus { CreateRecipe(). AddIngredient(6). - AddTile(TileID.LunarCraftingStation). + AddTile(TileID.WorkBenches). Register(); } } diff --git a/Items/Placeables/FurnitureStratus/StratusDresser.cs b/Items/Placeables/FurnitureStratus/StratusDresser.cs index 3371fd2794..12e18ed01a 100644 --- a/Items/Placeables/FurnitureStratus/StratusDresser.cs +++ b/Items/Placeables/FurnitureStratus/StratusDresser.cs @@ -16,7 +16,7 @@ namespace CalamityMod.Items.Placeables.FurnitureStratus { CreateRecipe(). AddIngredient(16). - AddTile(TileID.LunarCraftingStation). + AddTile(TileID.Sawmill). Register(); } } diff --git a/Items/Placeables/FurnitureStratus/StratusLamp.cs b/Items/Placeables/FurnitureStratus/StratusLamp.cs index 10dd94a614..3d1e1f2488 100644 --- a/Items/Placeables/FurnitureStratus/StratusLamp.cs +++ b/Items/Placeables/FurnitureStratus/StratusLamp.cs @@ -17,7 +17,7 @@ namespace CalamityMod.Items.Placeables.FurnitureStratus CreateRecipe(). AddIngredient(3). AddIngredient(ItemID.Torch). - AddTile(TileID.LunarCraftingStation). + AddTile(TileID.WorkBenches). Register(); } } diff --git a/Items/Placeables/FurnitureStratus/StratusLantern.cs b/Items/Placeables/FurnitureStratus/StratusLantern.cs index 96d8746e51..050ea27365 100644 --- a/Items/Placeables/FurnitureStratus/StratusLantern.cs +++ b/Items/Placeables/FurnitureStratus/StratusLantern.cs @@ -17,7 +17,7 @@ namespace CalamityMod.Items.Placeables.FurnitureStratus CreateRecipe(). AddIngredient(6). AddIngredient(ItemID.Torch). - AddTile(TileID.LunarCraftingStation). + AddTile(TileID.WorkBenches). Register(); } } diff --git a/Items/Placeables/FurnitureStratus/StratusPiano.cs b/Items/Placeables/FurnitureStratus/StratusPiano.cs index daf3753343..8d305c2cc2 100644 --- a/Items/Placeables/FurnitureStratus/StratusPiano.cs +++ b/Items/Placeables/FurnitureStratus/StratusPiano.cs @@ -18,7 +18,7 @@ namespace CalamityMod.Items.Placeables.FurnitureStratus AddIngredient(15). AddIngredient(ItemID.Bone, 4). AddIngredient(ItemID.Book). - AddTile(TileID.LunarCraftingStation). + AddTile(TileID.Sawmill). Register(); } } diff --git a/Items/Placeables/FurnitureStratus/StratusSink.cs b/Items/Placeables/FurnitureStratus/StratusSink.cs index adbc891824..82c625509b 100644 --- a/Items/Placeables/FurnitureStratus/StratusSink.cs +++ b/Items/Placeables/FurnitureStratus/StratusSink.cs @@ -17,7 +17,7 @@ namespace CalamityMod.Items.Placeables.FurnitureStratus CreateRecipe(). AddIngredient(6). AddIngredient(ItemID.WaterBucket). - AddTile(TileID.LunarCraftingStation). + AddTile(TileID.WorkBenches). Register(); } } diff --git a/Items/Placeables/FurnitureStratus/StratusSofa.cs b/Items/Placeables/FurnitureStratus/StratusSofa.cs index 53c00d843d..705a35948b 100644 --- a/Items/Placeables/FurnitureStratus/StratusSofa.cs +++ b/Items/Placeables/FurnitureStratus/StratusSofa.cs @@ -17,7 +17,7 @@ namespace CalamityMod.Items.Placeables.FurnitureStratus CreateRecipe(). AddIngredient(5). AddIngredient(ItemID.Silk, 2). - AddTile(TileID.LunarCraftingStation). + AddTile(TileID.Sawmill). Register(); } } diff --git a/Items/Placeables/FurnitureStratus/StratusTable.cs b/Items/Placeables/FurnitureStratus/StratusTable.cs index dd7749ac4f..3e21e4e5b8 100644 --- a/Items/Placeables/FurnitureStratus/StratusTable.cs +++ b/Items/Placeables/FurnitureStratus/StratusTable.cs @@ -16,7 +16,7 @@ namespace CalamityMod.Items.Placeables.FurnitureStratus { CreateRecipe(). AddIngredient(8). - AddTile(TileID.LunarCraftingStation). + AddTile(TileID.WorkBenches). Register(); } } diff --git a/Items/Placeables/FurnitureStratus/StratusWorkBench.cs b/Items/Placeables/FurnitureStratus/StratusWorkBench.cs index 12f8d5edcd..69f1b33b25 100644 --- a/Items/Placeables/FurnitureStratus/StratusWorkBench.cs +++ b/Items/Placeables/FurnitureStratus/StratusWorkBench.cs @@ -18,7 +18,6 @@ namespace CalamityMod.Items.Placeables.FurnitureStratus { CreateRecipe(). AddIngredient(10). - AddTile(TileID.LunarCraftingStation). Register(); } } diff --git a/Items/Placeables/UelibloomBrick.cs b/Items/Placeables/UelibloomBrick.cs index b90fd18f95..4866fe0c39 100644 --- a/Items/Placeables/UelibloomBrick.cs +++ b/Items/Placeables/UelibloomBrick.cs @@ -21,7 +21,7 @@ namespace CalamityMod.Items.Placeables CreateRecipe(50). AddRecipeGroup("AnyStoneBlock", 50). AddIngredient(). - AddTile(TileID.LunarCraftingStation). + AddTile(TileID.AdamantiteForge). Register(); CreateRecipe(). AddIngredient(4). diff --git a/Items/SummonItems/CosmicWorm.cs b/Items/SummonItems/CosmicWorm.cs index 1b60432d04..7b3e79c937 100644 --- a/Items/SummonItems/CosmicWorm.cs +++ b/Items/SummonItems/CosmicWorm.cs @@ -54,7 +54,7 @@ namespace CalamityMod.Items.SummonItems AddIngredient(). AddIngredient(). AddIngredient(). - AddTile(TileID.LunarCraftingStation). + AddTile(TileID.MythrilAnvil). Register() .DisableDecraft(); @@ -63,7 +63,7 @@ namespace CalamityMod.Items.SummonItems AddIngredient(ItemID.LunarBar, 40). AddIngredient(10). AddIngredient(40). - AddTile(TileID.LunarCraftingStation). + AddTile(TileID.MythrilAnvil). Register(); } } diff --git a/Items/SummonItems/DeathWhistle.cs b/Items/SummonItems/DeathWhistle.cs index 017f3eddee..7fa4d05df6 100644 --- a/Items/SummonItems/DeathWhistle.cs +++ b/Items/SummonItems/DeathWhistle.cs @@ -52,7 +52,14 @@ namespace CalamityMod.Items.SummonItems CreateRecipe(). AddIngredient(ItemID.LunarTabletFragment, 15). AddIngredient(ItemID.LihzahrdBrick, 25). - AddTile(TileID.MythrilAnvil). + AddTile(TileID.DemonAltar). + Register(); + + + CreateRecipe(). + AddIngredient(ItemID.LunarTabletFragment, 15). + AddIngredient(ItemID.LihzahrdBrick, 25). + AddTile(TileID.LihzahrdAltar). Register(); } } diff --git a/Items/SummonItems/MarkofProvidence.cs b/Items/SummonItems/MarkofProvidence.cs index d41c16641b..fb8b8032d1 100644 --- a/Items/SummonItems/MarkofProvidence.cs +++ b/Items/SummonItems/MarkofProvidence.cs @@ -84,7 +84,7 @@ namespace CalamityMod.Items.SummonItems AddIngredient(ItemID.LunarBar, 3). AddIngredient(40). AddIngredient(ItemID.FragmentSolar, 5). - AddTile(TileID.LunarCraftingStation). + AddTile(TileID.MythrilAnvil). Register(); } } diff --git a/Items/SummonItems/NecroplasmicBeacon.cs b/Items/SummonItems/NecroplasmicBeacon.cs index ff4eabadb1..93b6e698ef 100644 --- a/Items/SummonItems/NecroplasmicBeacon.cs +++ b/Items/SummonItems/NecroplasmicBeacon.cs @@ -56,7 +56,7 @@ namespace CalamityMod.Items.SummonItems CreateRecipe(). AddRecipeGroup("Wood", 25). AddIngredient(50). - AddTile(TileID.LunarCraftingStation). + AddTile(TileID.MythrilAnvil). Register(); } } diff --git a/Items/SummonItems/ProfanedShard.cs b/Items/SummonItems/ProfanedShard.cs index 11a1a9a4df..4899ececdd 100644 --- a/Items/SummonItems/ProfanedShard.cs +++ b/Items/SummonItems/ProfanedShard.cs @@ -50,7 +50,7 @@ namespace CalamityMod.Items.SummonItems CreateRecipe(). AddIngredient(ItemID.LunarBar, 5). AddIngredient(25). - AddTile(TileID.LunarCraftingStation). + AddTile(TileID.MythrilAnvil). Register(); } } diff --git a/Items/SummonItems/YharonEgg.cs b/Items/SummonItems/YharonEgg.cs index ccd197a89e..2a91bbe100 100644 --- a/Items/SummonItems/YharonEgg.cs +++ b/Items/SummonItems/YharonEgg.cs @@ -56,7 +56,7 @@ namespace CalamityMod.Items.SummonItems CreateRecipe(). AddIngredient(10). AddIngredient(15). - AddTile(TileID.LunarCraftingStation). + AddTile(TileID.MythrilAnvil). Register(); } } diff --git a/Items/Tools/BlossomPickaxe.cs b/Items/Tools/BlossomPickaxe.cs index 6030917674..3af6f63a84 100644 --- a/Items/Tools/BlossomPickaxe.cs +++ b/Items/Tools/BlossomPickaxe.cs @@ -34,7 +34,7 @@ namespace CalamityMod.Items.Tools { CreateRecipe(). AddIngredient(7). - AddTile(TileID.LunarCraftingStation). + AddTile(TileID.MythrilAnvil). Register(); } diff --git a/Items/Tools/Grax.cs b/Items/Tools/Grax.cs index dfa90262bf..1cd4cc87d7 100644 --- a/Items/Tools/Grax.cs +++ b/Items/Tools/Grax.cs @@ -66,7 +66,7 @@ namespace CalamityMod.Items.Tools AddIngredient(). AddRecipeGroup("LunarHamaxe"). AddIngredient(5). - AddTile(TileID.LunarCraftingStation). + AddTile(TileID.MythrilAnvil). Register(); } diff --git a/Items/Weapons/DraedonsArsenal/PhalanxSurge.cs b/Items/Weapons/DraedonsArsenal/PhalanxSurge.cs index e7cf6bd724..00ab2ba3b1 100644 --- a/Items/Weapons/DraedonsArsenal/PhalanxSurge.cs +++ b/Items/Weapons/DraedonsArsenal/PhalanxSurge.cs @@ -80,7 +80,7 @@ namespace CalamityMod.Items.Weapons.DraedonsArsenal AddIngredient(8). AddIngredient(ItemID.LunarBar, 4). AddCondition(ArsenalTierGatedRecipe.ConstructRecipeCondition(4, out Func condition), condition). - AddTile(TileID.LunarCraftingStation). + AddTile(TileID.MythrilAnvil). Register(); } } diff --git a/Items/Weapons/DraedonsArsenal/PlasmaCaster.cs b/Items/Weapons/DraedonsArsenal/PlasmaCaster.cs index 544c5818aa..cbeeac183f 100644 --- a/Items/Weapons/DraedonsArsenal/PlasmaCaster.cs +++ b/Items/Weapons/DraedonsArsenal/PlasmaCaster.cs @@ -108,7 +108,7 @@ namespace CalamityMod.Items.Weapons.DraedonsArsenal AddIngredient(8). AddIngredient(ItemID.LunarBar, 4). AddCondition(ArsenalTierGatedRecipe.ConstructRecipeCondition(4, out Func condition), condition). - AddTile(TileID.LunarCraftingStation). + AddTile(TileID.MythrilAnvil). Register(); } } diff --git a/Items/Weapons/DraedonsArsenal/PulseDragon.cs b/Items/Weapons/DraedonsArsenal/PulseDragon.cs index 25fd1376a2..321f65a022 100644 --- a/Items/Weapons/DraedonsArsenal/PulseDragon.cs +++ b/Items/Weapons/DraedonsArsenal/PulseDragon.cs @@ -64,7 +64,7 @@ namespace CalamityMod.Items.Weapons.DraedonsArsenal AddIngredient(8). AddIngredient(ItemID.LunarBar, 4). AddCondition(ArsenalTierGatedRecipe.ConstructRecipeCondition(4, out Func condition), condition). - AddTile(TileID.LunarCraftingStation). + AddTile(TileID.MythrilAnvil). Register(); } } diff --git a/Items/Weapons/DraedonsArsenal/SnakeEyes.cs b/Items/Weapons/DraedonsArsenal/SnakeEyes.cs index 1b041e028e..f5ca444db6 100644 --- a/Items/Weapons/DraedonsArsenal/SnakeEyes.cs +++ b/Items/Weapons/DraedonsArsenal/SnakeEyes.cs @@ -64,7 +64,7 @@ namespace CalamityMod.Items.Weapons.DraedonsArsenal AddIngredient(8). AddIngredient(ItemID.LunarBar, 4). AddCondition(ArsenalTierGatedRecipe.ConstructRecipeCondition(4, out Func condition), condition). - AddTile(TileID.LunarCraftingStation). + AddTile(TileID.MythrilAnvil). Register(); } } diff --git a/Items/Weapons/DraedonsArsenal/WavePounder.cs b/Items/Weapons/DraedonsArsenal/WavePounder.cs index cd2d2ec4c1..26be6ef44b 100644 --- a/Items/Weapons/DraedonsArsenal/WavePounder.cs +++ b/Items/Weapons/DraedonsArsenal/WavePounder.cs @@ -61,7 +61,7 @@ namespace CalamityMod.Items.Weapons.DraedonsArsenal AddIngredient(8). AddIngredient(ItemID.LunarBar, 4). AddCondition(ArsenalTierGatedRecipe.ConstructRecipeCondition(4, out Func condition), condition). - AddTile(TileID.LunarCraftingStation). + AddTile(TileID.MythrilAnvil). Register(); } } diff --git a/Items/Weapons/Magic/AethersWhisper.cs b/Items/Weapons/Magic/AethersWhisper.cs index ebb944edd7..1dbbdb3623 100644 --- a/Items/Weapons/Magic/AethersWhisper.cs +++ b/Items/Weapons/Magic/AethersWhisper.cs @@ -40,7 +40,7 @@ namespace CalamityMod.Items.Weapons.Magic CreateRecipe(). AddIngredient(). AddIngredient(3). - AddTile(TileID.LunarCraftingStation). + AddTile(TileID.MythrilAnvil). Register(); } } diff --git a/Items/Weapons/Magic/ChronomancersScythe.cs b/Items/Weapons/Magic/ChronomancersScythe.cs index 2902fe0d98..7785365ef0 100644 --- a/Items/Weapons/Magic/ChronomancersScythe.cs +++ b/Items/Weapons/Magic/ChronomancersScythe.cs @@ -81,7 +81,7 @@ namespace CalamityMod.Items.Weapons.Magic AddIngredient(ItemID.FastClock). AddIngredient(ItemID.LunarBar, 10). AddIngredient(6). - AddTile(TileID.LunarCraftingStation). + AddTile(TileID.MythrilAnvil). Register(); } } diff --git a/Items/Weapons/Magic/ClamorNoctus.cs b/Items/Weapons/Magic/ClamorNoctus.cs index a54e500163..feef2c3ed4 100644 --- a/Items/Weapons/Magic/ClamorNoctus.cs +++ b/Items/Weapons/Magic/ClamorNoctus.cs @@ -107,7 +107,7 @@ namespace CalamityMod.Items.Weapons.Magic AddIngredient(6). AddIngredient(5). AddIngredient(10). - AddTile(TileID.LunarCraftingStation). + AddTile(TileID.MythrilAnvil). Register(); } } diff --git a/Items/Weapons/Magic/DarkSpark.cs b/Items/Weapons/Magic/DarkSpark.cs index bfb28a081d..ed3956944a 100644 --- a/Items/Weapons/Magic/DarkSpark.cs +++ b/Items/Weapons/Magic/DarkSpark.cs @@ -48,7 +48,7 @@ namespace CalamityMod.Items.Weapons.Magic AddIngredient(10). AddIngredient(20). AddIngredient(30). - AddTile(TileID.LunarCraftingStation). + AddTile(TileID.MythrilAnvil). Register(); } } diff --git a/Items/Weapons/Magic/DivineRetribution.cs b/Items/Weapons/Magic/DivineRetribution.cs index 91f0211d95..c45ed84228 100644 --- a/Items/Weapons/Magic/DivineRetribution.cs +++ b/Items/Weapons/Magic/DivineRetribution.cs @@ -61,7 +61,7 @@ namespace CalamityMod.Items.Weapons.Magic AddIngredient(). AddIngredient(8). AddIngredient(10). - AddTile(TileID.LunarCraftingStation). + AddTile(TileID.MythrilAnvil). Register(); } } diff --git a/Items/Weapons/Magic/Effervescence.cs b/Items/Weapons/Magic/Effervescence.cs index 971a031c93..e594491c7e 100644 --- a/Items/Weapons/Magic/Effervescence.cs +++ b/Items/Weapons/Magic/Effervescence.cs @@ -50,7 +50,7 @@ namespace CalamityMod.Items.Weapons.Magic AddIngredient(ItemID.BubbleGun). AddIngredient(ItemID.LunarBar, 5). AddIngredient(ItemID.ShimmerBlock, 5). - AddTile(TileID.LunarCraftingStation). + AddTile(TileID.MythrilAnvil). Register(); } } diff --git a/Items/Weapons/Magic/Genesis.cs b/Items/Weapons/Magic/Genesis.cs index 20af5325b0..85f3e019ea 100644 --- a/Items/Weapons/Magic/Genesis.cs +++ b/Items/Weapons/Magic/Genesis.cs @@ -57,7 +57,7 @@ namespace CalamityMod.Items.Weapons.Magic AddIngredient(ItemID.LaserRifle). AddIngredient(ItemID.LunarBar, 5). AddIngredient(5). - AddTile(TileID.LunarCraftingStation). + AddTile(TileID.MythrilAnvil). Register(); } } diff --git a/Items/Weapons/Magic/MagneticMeltdown.cs b/Items/Weapons/Magic/MagneticMeltdown.cs index 0e5266cef6..c3a329728b 100644 --- a/Items/Weapons/Magic/MagneticMeltdown.cs +++ b/Items/Weapons/Magic/MagneticMeltdown.cs @@ -57,7 +57,7 @@ namespace CalamityMod.Items.Weapons.Magic CreateRecipe(). AddIngredient(ItemID.MagnetSphere). AddIngredient(3). - AddTile(TileID.LunarCraftingStation). + AddTile(TileID.MythrilAnvil). Register(); } } diff --git a/Items/Weapons/Magic/Mistlestorm.cs b/Items/Weapons/Magic/Mistlestorm.cs index 17811fcf7d..426c3841ea 100644 --- a/Items/Weapons/Magic/Mistlestorm.cs +++ b/Items/Weapons/Magic/Mistlestorm.cs @@ -62,7 +62,7 @@ namespace CalamityMod.Items.Weapons.Magic AddIngredient(ItemID.LeafBlower). AddIngredient(5). AddIngredient(3). - AddTile(TileID.LunarCraftingStation). + AddTile(TileID.MythrilAnvil). Register(); } } diff --git a/Items/Weapons/Magic/NanoPurge.cs b/Items/Weapons/Magic/NanoPurge.cs index c5cd65b095..d78bf8a75f 100644 --- a/Items/Weapons/Magic/NanoPurge.cs +++ b/Items/Weapons/Magic/NanoPurge.cs @@ -54,7 +54,7 @@ namespace CalamityMod.Items.Weapons.Magic AddIngredient(ItemID.LaserMachinegun). AddIngredient(7). AddIngredient(ItemID.Nanites, 100). - AddTile(TileID.LunarCraftingStation). + AddTile(TileID.MythrilAnvil). Register(); } } diff --git a/Items/Weapons/Magic/NebulousCataclysm.cs b/Items/Weapons/Magic/NebulousCataclysm.cs index ad891db07e..9ba21a61be 100644 --- a/Items/Weapons/Magic/NebulousCataclysm.cs +++ b/Items/Weapons/Magic/NebulousCataclysm.cs @@ -1,6 +1,7 @@ using CalamityMod.Items.Materials; using CalamityMod.Projectiles.Magic; using CalamityMod.Rarities; +using CalamityMod.Tiles.Furniture.CraftingStations; using Microsoft.Xna.Framework; using Terraria; using Terraria.DataStructures; @@ -52,7 +53,7 @@ namespace CalamityMod.Items.Weapons.Magic AddIngredient(ItemID.NebulaBlaze). AddIngredient(8). AddIngredient(20). - AddTile(TileID.LunarCraftingStation). + AddTile(). Register(); } } diff --git a/Items/Weapons/Magic/Nucleosynthesis.cs b/Items/Weapons/Magic/Nucleosynthesis.cs index f00df0ee15..76e953984c 100644 --- a/Items/Weapons/Magic/Nucleosynthesis.cs +++ b/Items/Weapons/Magic/Nucleosynthesis.cs @@ -87,7 +87,7 @@ namespace CalamityMod.Items.Weapons.Magic AddIngredient(ItemID.LunarBar, 5). AddIngredient(5). AddIngredient(ItemID.FragmentNebula, 5). - AddTile(TileID.LunarCraftingStation). + AddTile(TileID.MythrilAnvil). Register(); } } diff --git a/Items/Weapons/Magic/PhantasmalFury.cs b/Items/Weapons/Magic/PhantasmalFury.cs index 067916b491..c28e307911 100644 --- a/Items/Weapons/Magic/PhantasmalFury.cs +++ b/Items/Weapons/Magic/PhantasmalFury.cs @@ -62,7 +62,7 @@ namespace CalamityMod.Items.Weapons.Magic AddIngredient(ItemID.SpectreStaff). AddIngredient(2). AddIngredient(). - AddTile(TileID.LunarCraftingStation). + AddTile(TileID.MythrilAnvil). Register(); } } diff --git a/Items/Weapons/Magic/SHPC.cs b/Items/Weapons/Magic/SHPC.cs index b7771ca946..e5262ae1e6 100644 --- a/Items/Weapons/Magic/SHPC.cs +++ b/Items/Weapons/Magic/SHPC.cs @@ -20,6 +20,9 @@ namespace CalamityMod.Items.Weapons.Magic { public new string LocalizationCategory => "Items.Weapons.Magic"; public static readonly SoundStyle FireSound = new("CalamityMod/Sounds/Item/AnomalysNanogunMPFBShot"); + public static readonly SoundStyle VacuumStart = new SoundStyle("CalamityMod/Sounds/Item/SHPCVacuumStart"); + public static readonly SoundStyle VacuumLoop = new SoundStyle("CalamityMod/Sounds/Item/SHPCVacuumLoop"); + public static readonly SoundStyle VacuumEnd = new SoundStyle("CalamityMod/Sounds/Item/SHPCVacuumEnd"); public const int ShotsPerSoul = 50; public int storedSoulpower = 0; @@ -157,6 +160,7 @@ namespace CalamityMod.Items.Weapons.Magic public override bool CanUseItem(Player player) { Item.channel = Item.noUseGraphic = player.altFunctionUse == 2; + Item.UseSound = player.altFunctionUse == 2 ? null : FireSound; return ((player.altFunctionUse == 0 && (storedSoulpower > 0 || (FindSoulForAmmo(player) != -1))) || player.altFunctionUse == 2) && player.ownedProjectileCounts[ModContent.ProjectileType()] <= 0; } diff --git a/Items/Weapons/Magic/SanguineFlare.cs b/Items/Weapons/Magic/SanguineFlare.cs index 8ec88cc393..a2e52d3dac 100644 --- a/Items/Weapons/Magic/SanguineFlare.cs +++ b/Items/Weapons/Magic/SanguineFlare.cs @@ -48,7 +48,7 @@ namespace CalamityMod.Items.Weapons.Magic { CreateRecipe(). AddIngredient(5). - AddTile(TileID.LunarCraftingStation). + AddTile(TileID.MythrilAnvil). Register(); } } diff --git a/Items/Weapons/Magic/ShadowboltStaff.cs b/Items/Weapons/Magic/ShadowboltStaff.cs index c5073452b4..4fb9bc890a 100644 --- a/Items/Weapons/Magic/ShadowboltStaff.cs +++ b/Items/Weapons/Magic/ShadowboltStaff.cs @@ -42,7 +42,7 @@ namespace CalamityMod.Items.Weapons.Magic AddIngredient(ItemID.ShadowbeamStaff). AddIngredient(2). AddIngredient(). - AddTile(TileID.LunarCraftingStation). + AddTile(TileID.MythrilAnvil). Register(); } } diff --git a/Items/Weapons/Magic/TacticiansTrumpCard.cs b/Items/Weapons/Magic/TacticiansTrumpCard.cs index 4e26e129e7..f6e98b2b9f 100644 --- a/Items/Weapons/Magic/TacticiansTrumpCard.cs +++ b/Items/Weapons/Magic/TacticiansTrumpCard.cs @@ -55,7 +55,7 @@ namespace CalamityMod.Items.Weapons.Magic AddIngredient(). AddIngredient(5). AddIngredient(3). - AddTile(TileID.LunarCraftingStation). + AddTile(TileID.MythrilAnvil). Register(); CreateRecipe(). AddIngredient(ItemID.TinShortsword). @@ -65,7 +65,7 @@ namespace CalamityMod.Items.Weapons.Magic AddIngredient(). AddIngredient(5). AddIngredient(3). - AddTile(TileID.LunarCraftingStation). + AddTile(TileID.MythrilAnvil). Register(); } } diff --git a/Items/Weapons/Magic/Teslastaff.cs b/Items/Weapons/Magic/Teslastaff.cs index ac23efa9d6..ac1a2b30c9 100644 --- a/Items/Weapons/Magic/Teslastaff.cs +++ b/Items/Weapons/Magic/Teslastaff.cs @@ -48,7 +48,7 @@ namespace CalamityMod.Items.Weapons.Magic AddRecipeGroup("AnyCopperBar", 20). AddIngredient(6). AddIngredient(3). - AddTile(TileID.LunarCraftingStation). + AddTile(TileID.MythrilAnvil). Register(); } } diff --git a/Items/Weapons/Magic/ThePrince.cs b/Items/Weapons/Magic/ThePrince.cs index 2cf5bc192a..7aec53e0f5 100644 --- a/Items/Weapons/Magic/ThePrince.cs +++ b/Items/Weapons/Magic/ThePrince.cs @@ -52,7 +52,7 @@ namespace CalamityMod.Items.Weapons.Magic AddIngredient(). AddIngredient(15). AddIngredient(10). - AddTile(TileID.LunarCraftingStation). + AddTile(TileID.MythrilAnvil). Register(); } } diff --git a/Items/Weapons/Magic/ThornBlossom.cs b/Items/Weapons/Magic/ThornBlossom.cs index e727186d01..d948d7f944 100644 --- a/Items/Weapons/Magic/ThornBlossom.cs +++ b/Items/Weapons/Magic/ThornBlossom.cs @@ -58,7 +58,7 @@ namespace CalamityMod.Items.Weapons.Magic AddIngredient(). AddIngredient(10). AddIngredient(10). - AddTile(TileID.LunarCraftingStation). + AddTile(TileID.MythrilAnvil). Register(); } } diff --git a/Items/Weapons/Magic/UltraLiquidator.cs b/Items/Weapons/Magic/UltraLiquidator.cs index 1095523651..6dc127929d 100644 --- a/Items/Weapons/Magic/UltraLiquidator.cs +++ b/Items/Weapons/Magic/UltraLiquidator.cs @@ -75,7 +75,7 @@ namespace CalamityMod.Items.Weapons.Magic AddIngredient(ItemID.AquaScepter). AddIngredient(ItemID.LunarBar, 5). AddIngredient(5). - AddTile(TileID.LunarCraftingStation). + AddTile(TileID.MythrilAnvil). Register(); } } diff --git a/Items/Weapons/Magic/VenusianTrident.cs b/Items/Weapons/Magic/VenusianTrident.cs index 407eaf612a..4ef2d9ec6c 100644 --- a/Items/Weapons/Magic/VenusianTrident.cs +++ b/Items/Weapons/Magic/VenusianTrident.cs @@ -45,7 +45,7 @@ namespace CalamityMod.Items.Weapons.Magic AddIngredient(ItemID.InfernoFork). AddIngredient(2). AddIngredient(). - AddTile(TileID.LunarCraftingStation). + AddTile(TileID.MythrilAnvil). Register(); } } diff --git a/Items/Weapons/Magic/Viscera.cs b/Items/Weapons/Magic/Viscera.cs index ec75d92d53..72b80b47bd 100644 --- a/Items/Weapons/Magic/Viscera.cs +++ b/Items/Weapons/Magic/Viscera.cs @@ -60,7 +60,7 @@ namespace CalamityMod.Items.Weapons.Magic { CreateRecipe(). AddIngredient(4). - AddTile(TileID.LunarCraftingStation). + AddTile(TileID.MythrilAnvil). Register(); } } diff --git a/Items/Weapons/Melee/ArkoftheElements.cs b/Items/Weapons/Melee/ArkoftheElements.cs index 39b95d5473..8a65882035 100644 --- a/Items/Weapons/Melee/ArkoftheElements.cs +++ b/Items/Weapons/Melee/ArkoftheElements.cs @@ -211,7 +211,7 @@ namespace CalamityMod.Items.Weapons.Melee AddIngredient(ItemID.LunarBar, 5). AddIngredient(5). AddIngredient(ItemID.FragmentSolar, 5). - AddTile(TileID.LunarCraftingStation). + AddTile(TileID.MythrilAnvil). Register(); } } diff --git a/Items/Weapons/Melee/BlightedCleaver.cs b/Items/Weapons/Melee/BlightedCleaver.cs index ec16818ed4..cf51e42102 100644 --- a/Items/Weapons/Melee/BlightedCleaver.cs +++ b/Items/Weapons/Melee/BlightedCleaver.cs @@ -93,7 +93,7 @@ namespace CalamityMod.Items.Weapons.Melee AddIngredient(ItemID.BrokenHeroSword). AddIngredient(ItemID.ChlorophyteBar, 15). AddIngredient(ItemID.VialofVenom, 10). - AddTile(TileID.DemonAltar). + AddTile(TileID.MythrilAnvil). Register(); } } diff --git a/Items/Weapons/Melee/CrescentMoon.cs b/Items/Weapons/Melee/CrescentMoon.cs index 4452ea6789..d873cada7f 100644 --- a/Items/Weapons/Melee/CrescentMoon.cs +++ b/Items/Weapons/Melee/CrescentMoon.cs @@ -48,7 +48,7 @@ namespace CalamityMod.Items.Weapons.Melee AddIngredient(8). AddIngredient(3). AddIngredient(16). - AddTile(TileID.LunarCraftingStation). + AddTile(TileID.MythrilAnvil). Register(); } } diff --git a/Items/Weapons/Melee/DeathsAscension.cs b/Items/Weapons/Melee/DeathsAscension.cs index a71bc50700..b180aeca3d 100644 --- a/Items/Weapons/Melee/DeathsAscension.cs +++ b/Items/Weapons/Melee/DeathsAscension.cs @@ -125,7 +125,7 @@ namespace CalamityMod.Items.Weapons.Melee AddIngredient(4). AddIngredient(ItemID.SoulofNight, 15). AddIngredient(3). - AddTile(TileID.LunarCraftingStation). + AddTile(TileID.MythrilAnvil). Register(); } } diff --git a/Items/Weapons/Melee/DefiledGreatsword.cs b/Items/Weapons/Melee/DefiledGreatsword.cs index b46bdb4425..b5f9b9150a 100644 --- a/Items/Weapons/Melee/DefiledGreatsword.cs +++ b/Items/Weapons/Melee/DefiledGreatsword.cs @@ -137,7 +137,7 @@ namespace CalamityMod.Items.Weapons.Melee AddIngredient(). AddIngredient(). AddIngredient(15). - AddTile(TileID.DemonAltar). + AddTile(TileID.MythrilAnvil). Register(); } } diff --git a/Items/Weapons/Melee/DevilsSunrise.cs b/Items/Weapons/Melee/DevilsSunrise.cs index 0706ed19c2..99c244a22e 100644 --- a/Items/Weapons/Melee/DevilsSunrise.cs +++ b/Items/Weapons/Melee/DevilsSunrise.cs @@ -51,7 +51,7 @@ namespace CalamityMod.Items.Weapons.Melee AddIngredient(ItemID.Terragrim). AddIngredient(25). AddIngredient(10). - AddTile(TileID.LunarCraftingStation). + AddTile(TileID.MythrilAnvil). Register(); } } diff --git a/Items/Weapons/Melee/EmpyreanKnives.cs b/Items/Weapons/Melee/EmpyreanKnives.cs index a1b1ac172f..7ba9adab64 100644 --- a/Items/Weapons/Melee/EmpyreanKnives.cs +++ b/Items/Weapons/Melee/EmpyreanKnives.cs @@ -98,7 +98,7 @@ namespace CalamityMod.Items.Weapons.Melee AddIngredient(ItemID.VampireKnives). AddIngredient(). AddIngredient(3). - AddTile(TileID.LunarCraftingStation). + AddTile(TileID.MythrilAnvil). Register(); } } diff --git a/Items/Weapons/Melee/FourSeasonsGalaxia.cs b/Items/Weapons/Melee/FourSeasonsGalaxia.cs index d729006844..046c14ccfa 100644 --- a/Items/Weapons/Melee/FourSeasonsGalaxia.cs +++ b/Items/Weapons/Melee/FourSeasonsGalaxia.cs @@ -297,7 +297,7 @@ namespace CalamityMod.Items.Weapons.Melee AddIngredient(). AddIngredient(). AddIngredient(). - AddTile(TileID.LunarCraftingStation). + AddTile(TileID.MythrilAnvil). Register(); } } diff --git a/Items/Weapons/Melee/GalactusBlade.cs b/Items/Weapons/Melee/GalactusBlade.cs index eeddb62413..93ba5d4a87 100644 --- a/Items/Weapons/Melee/GalactusBlade.cs +++ b/Items/Weapons/Melee/GalactusBlade.cs @@ -135,7 +135,7 @@ namespace CalamityMod.Items.Weapons.Melee AddIngredient(ItemID.StarWrath). AddIngredient(10). AddIngredient(5). - AddTile(TileID.LunarCraftingStation). + AddTile(TileID.MythrilAnvil). Register(); } } diff --git a/Items/Weapons/Melee/GalileoGladius.cs b/Items/Weapons/Melee/GalileoGladius.cs index fa34986a90..d8f2e8341b 100644 --- a/Items/Weapons/Melee/GalileoGladius.cs +++ b/Items/Weapons/Melee/GalileoGladius.cs @@ -40,7 +40,7 @@ namespace CalamityMod.Items.Weapons.Melee AddIngredient(8). AddIngredient(5). AddIngredient(15). - AddTile(TileID.LunarCraftingStation). + AddTile(TileID.MythrilAnvil). Register(); } } diff --git a/Items/Weapons/Melee/GrandDad.cs b/Items/Weapons/Melee/GrandDad.cs index 05109ea63c..5be0d1d2a9 100644 --- a/Items/Weapons/Melee/GrandDad.cs +++ b/Items/Weapons/Melee/GrandDad.cs @@ -61,7 +61,7 @@ namespace CalamityMod.Items.Weapons.Melee CreateRecipe(). AddIngredient(). AddIngredient(3). - AddTile(TileID.LunarCraftingStation). + AddTile(TileID.MythrilAnvil). Register(); } public override void OnSpawn(IEntitySource source) diff --git a/Items/Weapons/Melee/Lacerator.cs b/Items/Weapons/Melee/Lacerator.cs index f0b0564e82..a23c35ba04 100644 --- a/Items/Weapons/Melee/Lacerator.cs +++ b/Items/Weapons/Melee/Lacerator.cs @@ -56,7 +56,7 @@ namespace CalamityMod.Items.Weapons.Melee { CreateRecipe(). AddIngredient(4). - AddTile(TileID.LunarCraftingStation). + AddTile(TileID.MythrilAnvil). Register(); } } diff --git a/Items/Weapons/Melee/LifehuntScythe.cs b/Items/Weapons/Melee/LifehuntScythe.cs index 54c3aaf1e1..488dc49969 100644 --- a/Items/Weapons/Melee/LifehuntScythe.cs +++ b/Items/Weapons/Melee/LifehuntScythe.cs @@ -62,7 +62,7 @@ namespace CalamityMod.Items.Weapons.Melee { CreateRecipe(). AddIngredient(15). - AddTile(TileID.LunarCraftingStation). + AddTile(TileID.MythrilAnvil). Register(); } } diff --git a/Items/Weapons/Melee/Mourningstar.cs b/Items/Weapons/Melee/Mourningstar.cs index c04ecb3315..672286eabd 100644 --- a/Items/Weapons/Melee/Mourningstar.cs +++ b/Items/Weapons/Melee/Mourningstar.cs @@ -49,7 +49,7 @@ namespace CalamityMod.Items.Weapons.Melee AddIngredient(6). AddIngredient(6). AddIngredient(6). - AddTile(TileID.LunarCraftingStation). + AddTile(TileID.MythrilAnvil). Register(); } } diff --git a/Items/Weapons/Melee/NeptunesBounty.cs b/Items/Weapons/Melee/NeptunesBounty.cs index 91c8905696..7b14d34968 100644 --- a/Items/Weapons/Melee/NeptunesBounty.cs +++ b/Items/Weapons/Melee/NeptunesBounty.cs @@ -42,7 +42,7 @@ namespace CalamityMod.Items.Weapons.Melee AddIngredient(). AddIngredient(6). AddIngredient(5). - AddTile(TileID.LunarCraftingStation). + AddTile(TileID.MythrilAnvil). Register(); } } diff --git a/Items/Weapons/Melee/RemsRevenge.cs b/Items/Weapons/Melee/RemsRevenge.cs index 6b59d9ff1b..9be51a7c3a 100644 --- a/Items/Weapons/Melee/RemsRevenge.cs +++ b/Items/Weapons/Melee/RemsRevenge.cs @@ -42,7 +42,7 @@ namespace CalamityMod.Items.Weapons.Melee AddIngredient(ItemID.BlueMoon). AddIngredient(ItemID.LunarBar, 5). AddIngredient(10). - AddTile(TileID.LunarCraftingStation). + AddTile(TileID.MythrilAnvil). Register(); } } diff --git a/Items/Weapons/Melee/SeekingScorcher.cs b/Items/Weapons/Melee/SeekingScorcher.cs index f7fb0a7c67..b84e6481c7 100644 --- a/Items/Weapons/Melee/SeekingScorcher.cs +++ b/Items/Weapons/Melee/SeekingScorcher.cs @@ -43,7 +43,7 @@ namespace CalamityMod.Items.Weapons.Melee AddIngredient(ItemID.PossessedHatchet). AddIngredient(5). AddIngredient(8). - AddTile(TileID.LunarCraftingStation). + AddTile(TileID.MythrilAnvil). Register(); } } diff --git a/Items/Weapons/Melee/StarburstShiv.cs b/Items/Weapons/Melee/StarburstShiv.cs index 5fdd6a0f4f..88897649f7 100644 --- a/Items/Weapons/Melee/StarburstShiv.cs +++ b/Items/Weapons/Melee/StarburstShiv.cs @@ -43,7 +43,7 @@ namespace CalamityMod.Items.Weapons.Melee AddIngredient(ItemID.LunarBar, 5). AddIngredient(5). AddIngredient(ItemID.FragmentSolar, 5). - AddTile(TileID.LunarCraftingStation). + AddTile(TileID.MythrilAnvil). Register(); } } diff --git a/Items/Weapons/Melee/TaintedBlade.cs b/Items/Weapons/Melee/TaintedBlade.cs index eb0e887f73..82b65ddff0 100644 --- a/Items/Weapons/Melee/TaintedBlade.cs +++ b/Items/Weapons/Melee/TaintedBlade.cs @@ -53,7 +53,7 @@ namespace CalamityMod.Items.Weapons.Melee AddIngredient(10). AddRecipeGroup("Boss2Material", 8). AddIngredient(ItemID.Deathweed, 2). - AddTile(TileID.DemonAltar). + AddTile(TileID.Anvils). Register(); } } diff --git a/Items/Weapons/Melee/Terratomere.cs b/Items/Weapons/Melee/Terratomere.cs index 519bed62e3..b8b499265d 100644 --- a/Items/Weapons/Melee/Terratomere.cs +++ b/Items/Weapons/Melee/Terratomere.cs @@ -62,7 +62,7 @@ namespace CalamityMod.Items.Weapons.Melee AddIngredient(ItemID.TerraBlade). AddIngredient(7). AddIngredient(9). - AddTile(TileID.LunarCraftingStation). + AddTile(TileID.MythrilAnvil). Register(); } } diff --git a/Items/Weapons/Melee/TheLastMourning.cs b/Items/Weapons/Melee/TheLastMourning.cs index ebe94fe490..8f59702b28 100644 --- a/Items/Weapons/Melee/TheLastMourning.cs +++ b/Items/Weapons/Melee/TheLastMourning.cs @@ -80,7 +80,7 @@ namespace CalamityMod.Items.Weapons.Melee AddIngredient(ItemID.SoulofNight, 30). AddIngredient(5). AddIngredient(3). - AddTile(TileID.LunarCraftingStation). + AddTile(TileID.MythrilAnvil). Register(); } } diff --git a/Items/Weapons/Melee/TheMutilator.cs b/Items/Weapons/Melee/TheMutilator.cs index 36f630ecd4..1953ce9c2f 100644 --- a/Items/Weapons/Melee/TheMutilator.cs +++ b/Items/Weapons/Melee/TheMutilator.cs @@ -84,7 +84,7 @@ namespace CalamityMod.Items.Weapons.Melee { CreateRecipe(). AddIngredient(5). - AddTile(TileID.LunarCraftingStation). + AddTile(TileID.MythrilAnvil). Register(); } } diff --git a/Items/Weapons/Melee/TrueCausticEdge.cs b/Items/Weapons/Melee/TrueCausticEdge.cs index ccfead5620..8a73810a4e 100644 --- a/Items/Weapons/Melee/TrueCausticEdge.cs +++ b/Items/Weapons/Melee/TrueCausticEdge.cs @@ -60,7 +60,7 @@ namespace CalamityMod.Items.Weapons.Melee AddIngredient(). AddRecipeGroup("CursedFlameIchor", 8). AddIngredient(ItemID.SpiderFang, 8). - AddTile(TileID.DemonAltar). + AddTile(TileID.Anvils). Register(); } } diff --git a/Items/Weapons/Melee/VanishingPoint.cs b/Items/Weapons/Melee/VanishingPoint.cs index 5aee60aefa..3ff7b24a5e 100644 --- a/Items/Weapons/Melee/VanishingPoint.cs +++ b/Items/Weapons/Melee/VanishingPoint.cs @@ -45,7 +45,7 @@ namespace CalamityMod.Items.Weapons.Melee AddIngredient(ItemID.LunarBar, 5). AddIngredient(5). AddIngredient(ItemID.FragmentSolar, 5). - AddTile(TileID.LunarCraftingStation). + AddTile(TileID.MythrilAnvil). Register(); } } diff --git a/Items/Weapons/Ranged/AngelicShotgun.cs b/Items/Weapons/Ranged/AngelicShotgun.cs index 4057a09072..3f2a2b21ce 100644 --- a/Items/Weapons/Ranged/AngelicShotgun.cs +++ b/Items/Weapons/Ranged/AngelicShotgun.cs @@ -88,7 +88,7 @@ namespace CalamityMod.Items.Weapons.Ranged AddIngredient(ItemID.SunplateBlock, 75). AddIngredient(15). AddIngredient(7). - AddTile(TileID.LunarCraftingStation). + AddTile(TileID.MythrilAnvil). Register(); } diff --git a/Items/Weapons/Ranged/ArterialAssault.cs b/Items/Weapons/Ranged/ArterialAssault.cs index 79856f0ca1..643bf310ea 100644 --- a/Items/Weapons/Ranged/ArterialAssault.cs +++ b/Items/Weapons/Ranged/ArterialAssault.cs @@ -59,7 +59,7 @@ namespace CalamityMod.Items.Weapons.Ranged { CreateRecipe(). AddIngredient(5). - AddTile(TileID.LunarCraftingStation). + AddTile(TileID.MythrilAnvil). Register(); } } diff --git a/Items/Weapons/Ranged/AstrealDefeat.cs b/Items/Weapons/Ranged/AstrealDefeat.cs index 4bef0633a7..d28afd895a 100644 --- a/Items/Weapons/Ranged/AstrealDefeat.cs +++ b/Items/Weapons/Ranged/AstrealDefeat.cs @@ -55,7 +55,7 @@ namespace CalamityMod.Items.Weapons.Ranged AddIngredient(ItemID.ShadowFlameBow). AddIngredient(ItemID.LunarBar, 5). AddIngredient(5). - AddTile(TileID.LunarCraftingStation). + AddTile(TileID.MythrilAnvil). Register(); } } diff --git a/Items/Weapons/Ranged/Auralis.cs b/Items/Weapons/Ranged/Auralis.cs index 1d5ca3004e..8de3d051de 100644 --- a/Items/Weapons/Ranged/Auralis.cs +++ b/Items/Weapons/Ranged/Auralis.cs @@ -70,7 +70,7 @@ namespace CalamityMod.Items.Weapons.Ranged AddIngredient(5). AddIngredient(5). AddIngredient(50). - AddTile(TileID.LunarCraftingStation). + AddTile(TileID.MythrilAnvil). Register(); } } diff --git a/Items/Weapons/Ranged/BarracudaGun.cs b/Items/Weapons/Ranged/BarracudaGun.cs index 87895c9b14..086e5fb6b6 100644 --- a/Items/Weapons/Ranged/BarracudaGun.cs +++ b/Items/Weapons/Ranged/BarracudaGun.cs @@ -62,7 +62,7 @@ namespace CalamityMod.Items.Weapons.Ranged AddIngredient(ItemID.PiranhaGun). AddIngredient(ItemID.LunarBar, 5). AddIngredient(ItemID.SharkFin, 2). - AddTile(TileID.LunarCraftingStation). + AddTile(TileID.MythrilAnvil). Register(); } } diff --git a/Items/Weapons/Ranged/BloodBoiler.cs b/Items/Weapons/Ranged/BloodBoiler.cs index 894f37aa5e..3067ec1c17 100644 --- a/Items/Weapons/Ranged/BloodBoiler.cs +++ b/Items/Weapons/Ranged/BloodBoiler.cs @@ -63,7 +63,7 @@ namespace CalamityMod.Items.Weapons.Ranged { CreateRecipe(). AddIngredient(6). - AddTile(TileID.LunarCraftingStation). + AddTile(TileID.MythrilAnvil). Register(); } } diff --git a/Items/Weapons/Ranged/ChromaticEruption.cs b/Items/Weapons/Ranged/ChromaticEruption.cs index dd1cab2c5d..050e7ec691 100644 --- a/Items/Weapons/Ranged/ChromaticEruption.cs +++ b/Items/Weapons/Ranged/ChromaticEruption.cs @@ -65,7 +65,7 @@ namespace CalamityMod.Items.Weapons.Ranged AddIngredient(ItemID.LunarBar, 5). AddIngredient(5). AddIngredient(ItemID.FragmentVortex, 5). - AddTile(TileID.LunarCraftingStation). + AddTile(TileID.MythrilAnvil). Register(); } } diff --git a/Items/Weapons/Ranged/ClockworkBow.cs b/Items/Weapons/Ranged/ClockworkBow.cs index d2de85e06e..78a96f7bd5 100644 --- a/Items/Weapons/Ranged/ClockworkBow.cs +++ b/Items/Weapons/Ranged/ClockworkBow.cs @@ -51,7 +51,7 @@ namespace CalamityMod.Items.Weapons.Ranged CreateRecipe(). AddIngredient(ItemID.LunarBar, 5). AddIngredient(ItemID.Cog, 50). - AddTile(TileID.LunarCraftingStation). + AddTile(TileID.MythrilAnvil). Register(); } } diff --git a/Items/Weapons/Ranged/CorinthPrime.cs b/Items/Weapons/Ranged/CorinthPrime.cs index 2bcfaa60db..77b516c7f8 100644 --- a/Items/Weapons/Ranged/CorinthPrime.cs +++ b/Items/Weapons/Ranged/CorinthPrime.cs @@ -91,7 +91,7 @@ namespace CalamityMod.Items.Weapons.Ranged AddIngredient(ItemID.VortexBeater). AddIngredient(ItemID.IllegalGunParts). AddIngredient(3). - AddTile(TileID.LunarCraftingStation). + AddTile(TileID.MythrilAnvil). Register(); } } diff --git a/Items/Weapons/Ranged/DodusHandcannon.cs b/Items/Weapons/Ranged/DodusHandcannon.cs index f36fde133d..5e7c814098 100644 --- a/Items/Weapons/Ranged/DodusHandcannon.cs +++ b/Items/Weapons/Ranged/DodusHandcannon.cs @@ -51,7 +51,7 @@ namespace CalamityMod.Items.Weapons.Ranged AddIngredient(). AddIngredient(ItemID.LunarBar, 15). AddIngredient(5). - AddTile(TileID.LunarCraftingStation). + AddTile(TileID.MythrilAnvil). Register(); } } diff --git a/Items/Weapons/Ranged/FreedomStar.cs b/Items/Weapons/Ranged/FreedomStar.cs index cf45be4de1..2f24196d9f 100644 --- a/Items/Weapons/Ranged/FreedomStar.cs +++ b/Items/Weapons/Ranged/FreedomStar.cs @@ -63,7 +63,7 @@ namespace CalamityMod.Items.Weapons.Ranged AddIngredient(18). AddIngredient(8). AddIngredient(ItemID.LunarBar, 4). - AddTile(TileID.LunarCraftingStation). + AddTile(TileID.MythrilAnvil). Register(); } } diff --git a/Items/Weapons/Ranged/HalleysInferno.cs b/Items/Weapons/Ranged/HalleysInferno.cs index 4068714c06..5ba8938841 100644 --- a/Items/Weapons/Ranged/HalleysInferno.cs +++ b/Items/Weapons/Ranged/HalleysInferno.cs @@ -58,7 +58,7 @@ namespace CalamityMod.Items.Weapons.Ranged AddIngredient(6). AddIngredient(4). AddIngredient(12). - AddTile(TileID.LunarCraftingStation). + AddTile(TileID.MythrilAnvil). Register(); } } diff --git a/Items/Weapons/Ranged/HandheldTank.cs b/Items/Weapons/Ranged/HandheldTank.cs index aec808cfbe..9e0189cacd 100644 --- a/Items/Weapons/Ranged/HandheldTank.cs +++ b/Items/Weapons/Ranged/HandheldTank.cs @@ -55,7 +55,7 @@ namespace CalamityMod.Items.Weapons.Ranged AddRecipeGroup("IronBar", 50). AddIngredient(5). AddIngredient(ItemID.TigerSkin). - AddTile(TileID.LunarCraftingStation). + AddTile(TileID.MythrilAnvil). Register(); } } diff --git a/Items/Weapons/Ranged/Monsoon.cs b/Items/Weapons/Ranged/Monsoon.cs index 0efe846d37..803457a30d 100644 --- a/Items/Weapons/Ranged/Monsoon.cs +++ b/Items/Weapons/Ranged/Monsoon.cs @@ -88,7 +88,7 @@ namespace CalamityMod.Items.Weapons.Ranged AddIngredient(). AddIngredient(6). AddIngredient(10). - AddTile(TileID.LunarCraftingStation). + AddTile(TileID.MythrilAnvil). Register(); } } diff --git a/Items/Weapons/Ranged/NettlevineGreatbow.cs b/Items/Weapons/Ranged/NettlevineGreatbow.cs index db0811ac93..683f4a03bd 100644 --- a/Items/Weapons/Ranged/NettlevineGreatbow.cs +++ b/Items/Weapons/Ranged/NettlevineGreatbow.cs @@ -77,7 +77,7 @@ namespace CalamityMod.Items.Weapons.Ranged { CreateRecipe(). AddIngredient(12). - AddTile(TileID.LunarCraftingStation). + AddTile(TileID.MythrilAnvil). Register(); } } diff --git a/Items/Weapons/Ranged/OntologicalDespoiler.cs b/Items/Weapons/Ranged/OntologicalDespoiler.cs index 935f42b12a..5e8eb56f16 100644 --- a/Items/Weapons/Ranged/OntologicalDespoiler.cs +++ b/Items/Weapons/Ranged/OntologicalDespoiler.cs @@ -119,7 +119,7 @@ namespace CalamityMod.Items.Weapons.Ranged AddIngredient(). AddIngredient(2). AddIngredient(). - AddTile(TileID.LunarCraftingStation). + AddTile(TileID.MythrilAnvil). Register(); } } diff --git a/Items/Weapons/Ranged/OnyxChainBlaster.cs b/Items/Weapons/Ranged/OnyxChainBlaster.cs index 659e5b422e..e0ec40a167 100644 --- a/Items/Weapons/Ranged/OnyxChainBlaster.cs +++ b/Items/Weapons/Ranged/OnyxChainBlaster.cs @@ -66,7 +66,7 @@ namespace CalamityMod.Items.Weapons.Ranged AddIngredient(ItemID.OnyxBlaster). AddIngredient(ItemID.ChainGun). AddIngredient(ItemID.LunarBar, 5). - AddTile(TileID.LunarCraftingStation). + AddTile(TileID.MythrilAnvil). Register(); } } diff --git a/Items/Weapons/Ranged/PearlGod.cs b/Items/Weapons/Ranged/PearlGod.cs index d5b25e3154..60f8d757f1 100644 --- a/Items/Weapons/Ranged/PearlGod.cs +++ b/Items/Weapons/Ranged/PearlGod.cs @@ -159,7 +159,7 @@ namespace CalamityMod.Items.Weapons.Ranged AddIngredient(5). AddIngredient(2). AddIngredient(ItemID.WhitePearl). - AddTile(TileID.LunarCraftingStation). + AddTile(TileID.MythrilAnvil). Register(); } } diff --git a/Items/Weapons/Ranged/PlanetaryAnnihilation.cs b/Items/Weapons/Ranged/PlanetaryAnnihilation.cs index 6838dd2b28..380832d89e 100644 --- a/Items/Weapons/Ranged/PlanetaryAnnihilation.cs +++ b/Items/Weapons/Ranged/PlanetaryAnnihilation.cs @@ -106,7 +106,7 @@ namespace CalamityMod.Items.Weapons.Ranged AddIngredient(ItemID.LunarBar, 5). AddIngredient(5). AddIngredient(ItemID.FragmentVortex, 5). - AddTile(TileID.LunarCraftingStation). + AddTile(TileID.MythrilAnvil). Register(); } } diff --git a/Items/Weapons/Ranged/PridefulHuntersPlanarRipper.cs b/Items/Weapons/Ranged/PridefulHuntersPlanarRipper.cs index fd0a634b5e..baefda8bf8 100644 --- a/Items/Weapons/Ranged/PridefulHuntersPlanarRipper.cs +++ b/Items/Weapons/Ranged/PridefulHuntersPlanarRipper.cs @@ -63,7 +63,7 @@ namespace CalamityMod.Items.Weapons.Ranged AddIngredient(ItemID.Uzi). AddIngredient(ItemID.LunarBar, 5). AddIngredient(ItemID.FragmentVortex, 10). - AddTile(TileID.LunarCraftingStation). + AddTile(TileID.MythrilAnvil). Register(); } } diff --git a/Items/Weapons/Ranged/Seadragon.cs b/Items/Weapons/Ranged/Seadragon.cs index 6e4b33c8a2..39ca453361 100644 --- a/Items/Weapons/Ranged/Seadragon.cs +++ b/Items/Weapons/Ranged/Seadragon.cs @@ -100,7 +100,7 @@ namespace CalamityMod.Items.Weapons.Ranged AddIngredient(9). AddIngredient(10). AddIngredient(3). - AddTile(TileID.LunarCraftingStation). + AddTile(TileID.MythrilAnvil). Register(); } } diff --git a/Items/Weapons/Ranged/Shredder.cs b/Items/Weapons/Ranged/Shredder.cs index 25edac78bc..a31575ec1d 100644 --- a/Items/Weapons/Ranged/Shredder.cs +++ b/Items/Weapons/Ranged/Shredder.cs @@ -68,7 +68,7 @@ namespace CalamityMod.Items.Weapons.Ranged AddIngredient(). AddIngredient(). AddIngredient(ItemID.LunarBar, 5). - AddTile(TileID.LunarCraftingStation). + AddTile(TileID.MythrilAnvil). Register(); } } diff --git a/Items/Weapons/Ranged/Spyker.cs b/Items/Weapons/Ranged/Spyker.cs index 52c0aa0e0a..739a788ce0 100644 --- a/Items/Weapons/Ranged/Spyker.cs +++ b/Items/Weapons/Ranged/Spyker.cs @@ -53,7 +53,7 @@ namespace CalamityMod.Items.Weapons.Ranged AddIngredient(). AddIngredient(ItemID.Stynger). AddIngredient(5). - AddTile(TileID.LunarCraftingStation). + AddTile(TileID.MythrilAnvil). Register(); } } diff --git a/Items/Weapons/Ranged/Starfleet.cs b/Items/Weapons/Ranged/Starfleet.cs index d3797af0c3..1c00b9b89b 100644 --- a/Items/Weapons/Ranged/Starfleet.cs +++ b/Items/Weapons/Ranged/Starfleet.cs @@ -55,7 +55,7 @@ namespace CalamityMod.Items.Weapons.Ranged AddIngredient(6). AddIngredient(4). AddIngredient(12). - AddTile(TileID.LunarCraftingStation). + AddTile(TileID.MythrilAnvil). Register(); } } diff --git a/Items/Weapons/Ranged/SuperradiantSlaughterer.cs b/Items/Weapons/Ranged/SuperradiantSlaughterer.cs index 9f5f5c080d..45a7d7984d 100644 --- a/Items/Weapons/Ranged/SuperradiantSlaughterer.cs +++ b/Items/Weapons/Ranged/SuperradiantSlaughterer.cs @@ -125,7 +125,7 @@ namespace CalamityMod.Items.Weapons.Ranged AddIngredient(ItemID.LunarBar, 5). AddIngredient(5). AddIngredient(ItemID.FragmentVortex, 5). - AddTile(TileID.LunarCraftingStation). + AddTile(TileID.MythrilAnvil). Register(); } } diff --git a/Items/Weapons/Ranged/TauCannon.cs b/Items/Weapons/Ranged/TauCannon.cs index 189682bcad..e1cbe89f59 100644 --- a/Items/Weapons/Ranged/TauCannon.cs +++ b/Items/Weapons/Ranged/TauCannon.cs @@ -49,7 +49,7 @@ namespace CalamityMod.Items.Weapons.Ranged AddIngredient(15). AddIngredient(10). AddIngredient(2). - AddTile(TileID.LunarCraftingStation). + AddTile(TileID.MythrilAnvil). Register(); } } diff --git a/Items/Weapons/Ranged/TheMaelstrom.cs b/Items/Weapons/Ranged/TheMaelstrom.cs index 81342eb7a0..5a2e736fee 100644 --- a/Items/Weapons/Ranged/TheMaelstrom.cs +++ b/Items/Weapons/Ranged/TheMaelstrom.cs @@ -49,7 +49,7 @@ namespace CalamityMod.Items.Weapons.Ranged AddIngredient(3). AddIngredient(20). AddIngredient(50). - AddTile(TileID.LunarCraftingStation). + AddTile(TileID.MythrilAnvil). Register(); } } diff --git a/Items/Weapons/Ranged/TheSevensStriker.cs b/Items/Weapons/Ranged/TheSevensStriker.cs index 347ed65b3a..398c0e4c66 100644 --- a/Items/Weapons/Ranged/TheSevensStriker.cs +++ b/Items/Weapons/Ranged/TheSevensStriker.cs @@ -174,7 +174,7 @@ namespace CalamityMod.Items.Weapons.Ranged AddIngredient(ItemID.GoldCoin, 77). AddIngredient(ItemID.LunarBar, 12). AddIngredient(3). - AddTile(TileID.LunarCraftingStation). + AddTile(TileID.MythrilAnvil). Register(); } } diff --git a/Items/Weapons/Rogue/BloodsoakedCrasher.cs b/Items/Weapons/Rogue/BloodsoakedCrasher.cs index f2387e8a45..6c1da5bf6e 100644 --- a/Items/Weapons/Rogue/BloodsoakedCrasher.cs +++ b/Items/Weapons/Rogue/BloodsoakedCrasher.cs @@ -44,7 +44,7 @@ namespace CalamityMod.Items.Weapons.Rogue CreateRecipe(). AddIngredient(). AddIngredient(12). - AddTile(TileID.LunarCraftingStation). + AddTile(TileID.MythrilAnvil). Register(); } } diff --git a/Items/Weapons/Rogue/JawsOfOblivion.cs b/Items/Weapons/Rogue/JawsOfOblivion.cs index 82b1ec85be..b910cf3358 100644 --- a/Items/Weapons/Rogue/JawsOfOblivion.cs +++ b/Items/Weapons/Rogue/JawsOfOblivion.cs @@ -65,7 +65,7 @@ namespace CalamityMod.Items.Weapons.Rogue AddIngredient(6). AddIngredient(15). AddIngredient(2). - AddTile(TileID.LunarCraftingStation). + AddTile(TileID.MythrilAnvil). Register(); } } diff --git a/Items/Weapons/Rogue/NightsGaze.cs b/Items/Weapons/Rogue/NightsGaze.cs index 04afde8631..a986396917 100644 --- a/Items/Weapons/Rogue/NightsGaze.cs +++ b/Items/Weapons/Rogue/NightsGaze.cs @@ -60,7 +60,7 @@ namespace CalamityMod.Items.Weapons.Rogue AddIngredient(7). AddIngredient(4). AddIngredient(12). - AddTile(TileID.LunarCraftingStation). + AddTile(TileID.MythrilAnvil). Register(); } } diff --git a/Items/Weapons/Rogue/ProfanedPartisan.cs b/Items/Weapons/Rogue/ProfanedPartisan.cs index c6d2aec7aa..51b0207b43 100644 --- a/Items/Weapons/Rogue/ProfanedPartisan.cs +++ b/Items/Weapons/Rogue/ProfanedPartisan.cs @@ -53,7 +53,7 @@ namespace CalamityMod.Items.Weapons.Rogue CreateRecipe(). AddIngredient(). AddIngredient(25). - AddTile(TileID.LunarCraftingStation). + AddTile(TileID.MythrilAnvil). Register(); } } diff --git a/Items/Weapons/Rogue/RealityRupture.cs b/Items/Weapons/Rogue/RealityRupture.cs index f88d479661..715d4575c6 100644 --- a/Items/Weapons/Rogue/RealityRupture.cs +++ b/Items/Weapons/Rogue/RealityRupture.cs @@ -85,7 +85,7 @@ namespace CalamityMod.Items.Weapons.Rogue AddIngredient(). AddIngredient(). AddIngredient(). - AddTile(TileID.LunarCraftingStation). + AddTile(TileID.MythrilAnvil). Register(); } } diff --git a/Items/Weapons/Rogue/ReboundingRainbow.cs b/Items/Weapons/Rogue/ReboundingRainbow.cs index a874f6347d..e006335ca7 100644 --- a/Items/Weapons/Rogue/ReboundingRainbow.cs +++ b/Items/Weapons/Rogue/ReboundingRainbow.cs @@ -57,7 +57,7 @@ namespace CalamityMod.Items.Weapons.Rogue AddIngredient(ItemID.LunarBar, 5). AddIngredient(5). AddIngredient(5). - AddTile(TileID.LunarCraftingStation). + AddTile(TileID.MythrilAnvil). Register(); } } diff --git a/Items/Weapons/Rogue/SealedSingularity.cs b/Items/Weapons/Rogue/SealedSingularity.cs index 0c81d9d686..1aa1b4dd1f 100644 --- a/Items/Weapons/Rogue/SealedSingularity.cs +++ b/Items/Weapons/Rogue/SealedSingularity.cs @@ -50,7 +50,7 @@ namespace CalamityMod.Items.Weapons.Rogue CreateRecipe(). AddIngredient(). AddIngredient(3). - AddTile(TileID.LunarCraftingStation). + AddTile(TileID.MythrilAnvil). Register(); } } diff --git a/Items/Weapons/Rogue/ShatteredDawn.cs b/Items/Weapons/Rogue/ShatteredDawn.cs index ddd03e1541..0602d4e927 100644 --- a/Items/Weapons/Rogue/ShatteredDawn.cs +++ b/Items/Weapons/Rogue/ShatteredDawn.cs @@ -53,7 +53,7 @@ namespace CalamityMod.Items.Weapons.Rogue CreateRecipe(). AddIngredient(). AddIngredient(6). - AddTile(TileID.LunarCraftingStation). + AddTile(TileID.MythrilAnvil). Register(); } } diff --git a/Items/Weapons/Rogue/TarragonThrowingDart.cs b/Items/Weapons/Rogue/TarragonThrowingDart.cs index cc2beb46e3..d76c7cc2d6 100644 --- a/Items/Weapons/Rogue/TarragonThrowingDart.cs +++ b/Items/Weapons/Rogue/TarragonThrowingDart.cs @@ -47,7 +47,7 @@ namespace CalamityMod.Items.Weapons.Rogue { CreateRecipe(). AddIngredient(12). - AddTile(TileID.LunarCraftingStation). + AddTile(TileID.MythrilAnvil). Register(); } } diff --git a/Items/Weapons/Rogue/TimeBolt.cs b/Items/Weapons/Rogue/TimeBolt.cs index 6d48b1f18c..f5605f6e5f 100644 --- a/Items/Weapons/Rogue/TimeBolt.cs +++ b/Items/Weapons/Rogue/TimeBolt.cs @@ -52,7 +52,7 @@ namespace CalamityMod.Items.Weapons.Rogue AddIngredient(ItemID.FastClock). AddIngredient(5). AddIngredient(20). - AddTile(TileID.LunarCraftingStation). + AddTile(TileID.MythrilAnvil). Register(); } } diff --git a/Items/Weapons/Rogue/TwistingThunder.cs b/Items/Weapons/Rogue/TwistingThunder.cs index 55cfb38d91..1ff0517975 100644 --- a/Items/Weapons/Rogue/TwistingThunder.cs +++ b/Items/Weapons/Rogue/TwistingThunder.cs @@ -59,7 +59,7 @@ namespace CalamityMod.Items.Weapons.Rogue AddIngredient(). AddIngredient(15). AddIngredient(3). - AddTile(TileID.LunarCraftingStation). + AddTile(TileID.MythrilAnvil). Register(); } } diff --git a/Items/Weapons/Summon/AquasScepter.cs b/Items/Weapons/Summon/AquasScepter.cs index f97b61c3c5..8ac9423c62 100644 --- a/Items/Weapons/Summon/AquasScepter.cs +++ b/Items/Weapons/Summon/AquasScepter.cs @@ -50,12 +50,12 @@ namespace CalamityMod.Items.Weapons.Summon public override void AddRecipes() { - Recipe recipe = Recipe.Create(ModContent.ItemType()); - recipe.AddIngredient(ItemID.NimbusRod); - recipe.AddIngredient(ItemID.AquaScepter); - recipe.AddIngredient(3); - recipe.AddTile(TileID.LunarCraftingStation); //LunarCraftingStation = Ancient Manipulator - recipe.Register(); + CreateRecipe(). + AddIngredient(ItemID.NimbusRod). + AddIngredient(ItemID.AquaScepter). + AddIngredient(3). + AddTile(TileID.MythrilAnvil). + Register(); } } } diff --git a/Items/Weapons/Summon/DragonbloodDisgorger.cs b/Items/Weapons/Summon/DragonbloodDisgorger.cs index 2adca37808..c27c8fb840 100644 --- a/Items/Weapons/Summon/DragonbloodDisgorger.cs +++ b/Items/Weapons/Summon/DragonbloodDisgorger.cs @@ -47,7 +47,7 @@ namespace CalamityMod.Items.Weapons.Summon { CreateRecipe(). AddIngredient(12). - AddTile(TileID.LunarCraftingStation). + AddTile(TileID.MythrilAnvil). Register(); } } diff --git a/Items/Weapons/Summon/FlowersOfMortality.cs b/Items/Weapons/Summon/FlowersOfMortality.cs index 2778b1c5a0..ee43914ad1 100644 --- a/Items/Weapons/Summon/FlowersOfMortality.cs +++ b/Items/Weapons/Summon/FlowersOfMortality.cs @@ -53,7 +53,7 @@ namespace CalamityMod.Items.Weapons.Summon AddIngredient(ItemID.LunarBar, 5). AddIngredient(5). AddIngredient(ItemID.FragmentStardust, 5). - AddTile(TileID.LunarCraftingStation). + AddTile(TileID.MythrilAnvil). Register(); } } diff --git a/Items/Weapons/Summon/KingofConstellationsTenryu.cs b/Items/Weapons/Summon/KingofConstellationsTenryu.cs index c8e3d512af..f8c677a7a7 100644 --- a/Items/Weapons/Summon/KingofConstellationsTenryu.cs +++ b/Items/Weapons/Summon/KingofConstellationsTenryu.cs @@ -73,7 +73,7 @@ namespace CalamityMod.Items.Weapons.Summon AddIngredient(ItemID.DarkShard). AddIngredient(ItemID.LightShard). AddIngredient(3). - AddTile(TileID.LunarCraftingStation). + AddTile(TileID.Bookcases). Register(); } } diff --git a/Items/Weapons/Summon/LegionofCelestia.cs b/Items/Weapons/Summon/LegionofCelestia.cs index 227aa6aed1..4e49f639e6 100644 --- a/Items/Weapons/Summon/LegionofCelestia.cs +++ b/Items/Weapons/Summon/LegionofCelestia.cs @@ -61,7 +61,7 @@ namespace CalamityMod.Items.Weapons.Summon AddIngredient(ItemID.LunarBar, 5). AddIngredient(5). AddIngredient(ItemID.FragmentStardust, 5). - AddTile(TileID.LunarCraftingStation). + AddTile(TileID.MythrilAnvil). Register(); } } diff --git a/Items/Weapons/Summon/Sirius.cs b/Items/Weapons/Summon/Sirius.cs index deee425550..4c39a7837c 100644 --- a/Items/Weapons/Summon/Sirius.cs +++ b/Items/Weapons/Summon/Sirius.cs @@ -50,7 +50,7 @@ namespace CalamityMod.Items.Weapons.Summon AddIngredient(5). AddIngredient(2). AddIngredient(12). - AddTile(TileID.LunarCraftingStation). + AddTile(TileID.MythrilAnvil). Register(); } } diff --git a/Items/Weapons/Summon/StellarTorusStaff.cs b/Items/Weapons/Summon/StellarTorusStaff.cs index 2540e43a21..23e2df9b9d 100644 --- a/Items/Weapons/Summon/StellarTorusStaff.cs +++ b/Items/Weapons/Summon/StellarTorusStaff.cs @@ -57,7 +57,7 @@ namespace CalamityMod.Items.Weapons.Summon AddIngredient(ItemID.XenoStaff). AddIngredient(ItemID.FragmentStardust, 6). AddIngredient(3). - AddTile(TileID.LunarCraftingStation). + AddTile(TileID.MythrilAnvil). Register(); } } diff --git a/Items/Weapons/Summon/TacticalPlagueEngine.cs b/Items/Weapons/Summon/TacticalPlagueEngine.cs index f29284f1c7..2a672d25f5 100644 --- a/Items/Weapons/Summon/TacticalPlagueEngine.cs +++ b/Items/Weapons/Summon/TacticalPlagueEngine.cs @@ -48,7 +48,7 @@ namespace CalamityMod.Items.Weapons.Summon AddIngredient(). AddIngredient(). AddIngredient(ItemID.LunarBar, 5). - AddTile(TileID.LunarCraftingStation). + AddTile(TileID.MythrilAnvil). Register(); } } diff --git a/Items/Weapons/Summon/ViridVanguard.cs b/Items/Weapons/Summon/ViridVanguard.cs index 0da9bba37e..affd241fee 100644 --- a/Items/Weapons/Summon/ViridVanguard.cs +++ b/Items/Weapons/Summon/ViridVanguard.cs @@ -80,7 +80,7 @@ namespace CalamityMod.Items.Weapons.Summon { CreateRecipe(). AddIngredient(15). - AddTile(TileID.LunarCraftingStation). + AddTile(TileID.MythrilAnvil). Register(); } } diff --git a/Items/Weapons/Summon/WarloksMoonFist.cs b/Items/Weapons/Summon/WarloksMoonFist.cs index b346171917..edc2b0338b 100644 --- a/Items/Weapons/Summon/WarloksMoonFist.cs +++ b/Items/Weapons/Summon/WarloksMoonFist.cs @@ -63,7 +63,7 @@ namespace CalamityMod.Items.Weapons.Summon AddIngredient(10). AddIngredient(5). AddIngredient(5). - AddTile(TileID.LunarCraftingStation). + AddTile(TileID.MythrilAnvil). Register(); } } diff --git a/Items/Weapons/Typeless/ClaretCannon.cs b/Items/Weapons/Typeless/ClaretCannon.cs index 3903e15e5c..01a5c409e2 100644 --- a/Items/Weapons/Typeless/ClaretCannon.cs +++ b/Items/Weapons/Typeless/ClaretCannon.cs @@ -52,7 +52,7 @@ namespace CalamityMod.Items.Weapons.Typeless { CreateRecipe(). AddIngredient(4). - AddTile(TileID.LunarCraftingStation). + AddTile(TileID.MythrilAnvil). Register(); } diff --git a/Localization/en-US/Mods.CalamityMod.Vanilla.hjson b/Localization/en-US/Mods.CalamityMod.Vanilla.hjson index 77afe9d29b..130ede50d9 100644 --- a/Localization/en-US/Mods.CalamityMod.Vanilla.hjson +++ b/Localization/en-US/Mods.CalamityMod.Vanilla.hjson @@ -29,7 +29,8 @@ AddedTooltip: { WarmthPotion: Greatly reduces the duration of Chilled, Frozen, and Glacial State HandWarmer: Provides a regeneration boost while wearing the Snow armor GoldenFishingRod: Its fishing line will never break - Stepstool: Standing on the stool grants 5% increased critical strike chance + // Step Stool + PortableStool: Standing on the stool grants 5% increased critical strike chance Tombstones: ''' 13 of any tombstone turns the surrounding area into a graveyard @@ -149,6 +150,8 @@ EditedTooltip: { Throws a mixture of slime and sparkling crystals Slimed enemies take more damage from fire-based debuffs ''' + // Ancient Manipulator + LunarCraftingStation: Used to craft items from Lunar Fragments, Luminite, and Astral Bars AnkhShield1: Grants immunity to knockback AnkhShield2: Grants immunity to most debuffs, including Mighty Wind Campfires: Life regen is increased by 0.5 HP/s when near a campfire diff --git a/NPCs/NormalNPCs/Eidolist.cs b/NPCs/NormalNPCs/Eidolist.cs index fe9bf61205..7fde916b9d 100644 --- a/NPCs/NormalNPCs/Eidolist.cs +++ b/NPCs/NormalNPCs/Eidolist.cs @@ -316,15 +316,13 @@ namespace CalamityMod.NPCs.NormalNPCs public override float SpawnChance(NPCSpawnInfo spawnInfo) { - // waffles% stipulation: eidolists are accessible by beating cal clone, even without beating WoF - bool hardmodeOrCalClone = Main.hardMode || DownedBossSystem.downedCalamitasClone; - if (!hardmodeOrCalClone || !spawnInfo.Player.InAbyss()) + if (!spawnInfo.Player.InAbyss()) return 0f; // Keep this as a separate if check, because it's a loop and we don't want to be checking it constantly. if (NPC.AnyNPCs(NPC.type)) return 0f; - + if (spawnInfo.Player.Calamity().ZoneAbyssLayer3 && spawnInfo.Water) return Main.remixWorld ? 2.25f : 0.25f; diff --git a/NPCs/SunkenSea/Jellyghoul.cs b/NPCs/SunkenSea/Jellyghoul.cs index d86b9f83e4..52a24f4be8 100644 --- a/NPCs/SunkenSea/Jellyghoul.cs +++ b/NPCs/SunkenSea/Jellyghoul.cs @@ -1,12 +1,14 @@ using CalamityMod.BiomeManagers; +using CalamityMod.DataStructures; using CalamityMod.Items.Placeables; using CalamityMod.Particles; using CalamityMod.Projectiles.Enemy; -using CalamityMod.Tiles.SunkenSea; using CalamityMod.Walls; using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Graphics; +using ReLogic.Content; using System; +using System.Collections.Generic; using Terraria; using Terraria.Audio; using Terraria.DataStructures; @@ -32,6 +34,13 @@ namespace CalamityMod.NPCs.SunkenSea public static SoundStyle JellyGhoulScream = SoundID.NPCDeath51 with { Pitch = -1, Volume = 0.2f, MaxInstances = 0 }; + public static Asset tentacleTexture; + + public override void Load() + { + tentacleTexture = ModContent.Request(Texture + "Tentacle"); + } + public override void SetStaticDefaults() { Main.npcFrameCount[Type] = 1; @@ -207,9 +216,6 @@ namespace CalamityMod.NPCs.SunkenSea public override bool PreDraw(SpriteBatch spriteBatch, Vector2 screenPos, Color drawColor) { - if (NPC.IsABestiaryIconDummy) - return true; - SpriteEffects spriteEffects = SpriteEffects.None; if (NPC.spriteDirection == 1) spriteEffects = SpriteEffects.FlipHorizontally; @@ -221,13 +227,16 @@ namespace CalamityMod.NPCs.SunkenSea Vector2 afterimageOffset = new Vector2((float)Math.Cos(Main.GlobalTimeWrappedHourly * afterimageRotationSpeed) + NPC.localAI[1], (float)Math.Sin(Main.GlobalTimeWrappedHourly * afterimageRotationSpeed) + NPC.localAI[1]) * afterimageDistance; // Spooky glowey aura effect - spriteBatch.End(); - spriteBatch.Begin(SpriteSortMode.Immediate, BlendState.Additive, Main.DefaultSamplerState, DepthStencilState.None, Main.Rasterizer, null, Main.GameViewMatrix.TransformationMatrix); - Texture2D bloom = ModContent.Request("CalamityMod/Particles/SmallBloom").Value; + if (!NPC.IsABestiaryIconDummy) + { + spriteBatch.End(); + spriteBatch.Begin(SpriteSortMode.Immediate, BlendState.Additive, Main.DefaultSamplerState, DepthStencilState.None, Main.Rasterizer, null, Main.GameViewMatrix.TransformationMatrix); + Texture2D bloom = ModContent.Request("CalamityMod/Particles/SmallBloom").Value; - spriteBatch.Draw(bloom, NPC.Center - Main.screenPosition + afterimageOffset, null, FinalColor * 0.45f, 0f, bloom.Size() / 2f, 0.6f, SpriteEffects.None, 0); - spriteBatch.End(); - spriteBatch.Begin(SpriteSortMode.Deferred, BlendState.AlphaBlend, Main.DefaultSamplerState, DepthStencilState.None, Main.Rasterizer, null, Main.GameViewMatrix.TransformationMatrix); + spriteBatch.Draw(bloom, NPC.Center - screenPos + afterimageOffset, null, FinalColor * 0.45f, 0f, bloom.Size() / 2f, 0.6f, SpriteEffects.None, 0); + spriteBatch.End(); + spriteBatch.Begin(SpriteSortMode.Deferred, BlendState.AlphaBlend, Main.DefaultSamplerState, DepthStencilState.None, Main.Rasterizer, null, Main.GameViewMatrix.TransformationMatrix); + } Texture2D texture = TextureAssets.Npc[Type].Value; Vector2 origin = new Vector2((float)(texture.Width / 2), (float)(texture.Height / Main.npcFrameCount[Type] / 2)); @@ -239,6 +248,55 @@ namespace CalamityMod.NPCs.SunkenSea npcOffset -= new Vector2((float)texture.Width, (float)(texture.Height / Main.npcFrameCount[Type])) * NPC.scale / 2f; npcOffset += origin * NPC.scale + new Vector2(0f, NPC.gfxOffY); + // Tentacles + Texture2D tentacle = tentacleTexture.Value; + for (int i = 0; i < 4; i++) + { + // Is the tentacle on the outside? + bool outerTentacle = i == 0 || i == 3; + // Is the tentacle one of the left ones? + int leftTentacle = i < 2 ? -1 : 1; + // Start position x offset + int xOffset = outerTentacle ? 4 : 2; + // How much the end position is rotated by + int endDeg = outerTentacle ? 20 : 5; + // Length of each tentacle + int tentacleLength = outerTentacle ? 60 : 50; + // A psuedo randomness value between tentacles and the NPC's index used to desync tentacles from each other + int randomness = i % 2 + NPC.whoAmI; + // Start position of the tentacle + Vector2 anchor = npcOffset + afterimageOffset + new Vector2(leftTentacle * xOffset, 10); + // End position of the tentacle + Vector2 end = npcOffset + afterimageOffset + Vector2.UnitY.RotatedBy(MathHelper.ToRadians(endDeg * -leftTentacle)).RotatedBy(MathHelper.ToRadians(MathF.Sin(Main.GlobalTimeWrappedHourly * 4) * 5 * -leftTentacle)) * tentacleLength; + + // Store the previous tentacle's location + Vector2 prevTentacle = npcOffset + afterimageOffset; + int segmentCount = 10; + Vector2 direction = anchor.DirectionTo(end).RotatedBy(MathHelper.PiOver2); + BezierCurve curve = new BezierCurve(anchor, anchor + (end - anchor) * 0.33f + direction * MathF.Sin(Main.GlobalTimeWrappedHourly * 4 + randomness) * 8, anchor + (end - anchor) * 0.66f + direction * MathF.Cos(Main.GlobalTimeWrappedHourly * 4 + randomness) * 16, end); + List points = curve.GetPoints(segmentCount); + for (int j = 0; j < segmentCount; j++) + { + // Which texture variant the tentacle uses is based on the horizontal position on its sheet + int texX = i == 0 ? 0 : i == (segmentCount - 1) ? 16 : 8; + // Which segment type. + // The first segment (0 is invisible) uses the first frame + // The final segment uses the last frame + // The rest alternate between frames 2 and 3 + int texY = j % 2 == 0 ? 16 : 8; + if (j == 1) + texY = 0; + else if (j == segmentCount - 1) + texY = 24; + + int segHeight = (j == segmentCount - 1) ? 8 : 6; + + if (j != 0) + spriteBatch.Draw(tentacle, points[j], new Rectangle(texX, texY, 6, segHeight), FinalColor * NPC.Opacity, points[j].DirectionTo(prevTentacle).ToRotation() + MathHelper.PiOver2, new Vector2(2), NPC.scale, spriteEffects, 0); + prevTentacle = points[j]; + } + } + // Draws transparent clones around itself to look woozy int cloneAmt = 4; for (int i = 0; i < cloneAmt; i++) diff --git a/NPCs/SunkenSea/Jellyghoul.png b/NPCs/SunkenSea/Jellyghoul.png index 26bfb3154d..4ca9f182b3 100644 Binary files a/NPCs/SunkenSea/Jellyghoul.png and b/NPCs/SunkenSea/Jellyghoul.png differ diff --git a/NPCs/SunkenSea/JellyghoulTentacle.png b/NPCs/SunkenSea/JellyghoulTentacle.png new file mode 100644 index 0000000000..573995d970 Binary files /dev/null and b/NPCs/SunkenSea/JellyghoulTentacle.png differ diff --git a/Projectiles/Magic/SHPL.cs b/Projectiles/Magic/SHPL.cs index 1fe19bc6c0..374445d84b 100644 --- a/Projectiles/Magic/SHPL.cs +++ b/Projectiles/Magic/SHPL.cs @@ -14,7 +14,7 @@ namespace CalamityMod.Projectiles.Magic { Projectile.width = 5; Projectile.height = 5; - Projectile.scale = 3f; + Projectile.scale = 2.5f; Projectile.friendly = true; Projectile.extraUpdates = 3; Projectile.timeLeft = 600; diff --git a/Projectiles/Magic/SHPV.cs b/Projectiles/Magic/SHPV.cs index ad11cffbc3..38e9ccdf43 100644 --- a/Projectiles/Magic/SHPV.cs +++ b/Projectiles/Magic/SHPV.cs @@ -1,15 +1,15 @@ using System; using System.Collections.Generic; -using System.Threading; using CalamityMod.Items.Weapons.Magic; using CalamityMod.Particles; using CalamityMod.Sounds; using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Graphics; +using ReLogic.Content; +using ReLogic.Utilities; using Terraria; using Terraria.Audio; using Terraria.GameContent; -using Terraria.ID; using Terraria.ModLoader; namespace CalamityMod.Projectiles.Magic @@ -18,14 +18,22 @@ namespace CalamityMod.Projectiles.Magic { public new string LocalizationCategory => "Projectiles.Magic"; public override string Texture => "CalamityMod/Projectiles/InvisibleProj"; + private static Asset Smoke = ModContent.Request("CalamityMod/Particles/MediumMist"); + private static Asset SoulSquare = ModContent.Request("CalamityMod/Particles/Square"); private Player Owner => Main.player[Projectile.owner]; + private SlotId VacuumSound; + private const int VacuumStartFrames = 78; + private const int VacuumLoopFrames = 132; + private bool PlayedEndSound = false; public ref float Timer => ref Projectile.ai[0]; // The maximum distance in pixels out from the tip of the gun in which souls can be sucked in. private const float Size = 480f; // The spread of the suction on each side. 25 degrees on each side, 50 degrees total. private const float Spread = MathHelper.Pi / 7.2f; + // Maximum number of souls per visual ring drawn on the gun. Additional souls get moved into additional rings. + private const int MaxSoulsRing = 10; // Manual offset used for drawing the gun. private static Vector2 Offset => new Vector2(27f, -10f); // The position of the tip of the gun. Used for most projectile logic. @@ -34,6 +42,8 @@ namespace CalamityMod.Projectiles.Magic public List SoulColors = []; // Tracks whether or not the gun should be doing the laser attack. private bool FiringLasers = false; + // Allows for current soul color to be "consumed" every other laser shot. + private bool ConsumeSoul = false; public override void SetDefaults() { @@ -51,6 +61,12 @@ namespace CalamityMod.Projectiles.Magic Projectile.Kill(); return; } + // Start sound + if (Timer == 0f) + VacuumSound = SoundEngine.PlaySound(SHPC.VacuumStart, Owner.Center); + // Move the vacuum sound on top of the player constantly + if (SoundEngine.TryGetActiveSound(VacuumSound, out var ChargeSound) && ChargeSound.IsPlaying) + ChargeSound.Position = Owner.Center; Timer++; // If you release right click, use the laser attack @@ -58,17 +74,30 @@ namespace CalamityMod.Projectiles.Magic FiringLasers = true; if (FiringLasers) { + // Vacuum end sound + if (!PlayedEndSound) + { + if (SoundEngine.TryGetActiveSound(VacuumSound, out var Vacuum)) + Vacuum?.Stop(); + VacuumSound = SoundEngine.PlaySound(SHPC.VacuumEnd, Owner.Center); + PlayedEndSound = true; + } + if (SoulColors.Count > 0) { - if (Timer % 10 == 0f) + if (Timer % 5 == 0f) { if (Owner.HeldItem.ModItem is SHPC shpc && shpc.storedSoulpower > 0) { - shpc.storedSoulpower -= Math.Min(shpc.storedSoulpower, 2); + shpc.storedSoulpower--; SoundEngine.PlaySound(CommonCalamitySounds.ELRFireSound, Owner.Center); + Vector2 laserPos = TipPosition + Vector2.UnitY.RotatedBy(Projectile.rotation) * Main.rand.NextFloat(-7f, 7f); Vector2 laserVel = Utils.DirectionTo(Owner.Center, Owner.Calamity().mouseWorld) * 20f; - Projectile.NewProjectile(Projectile.GetSource_FromThis(), TipPosition, laserVel, ModContent.ProjectileType(), Projectile.damage, 3f, Projectile.owner, SoulColors[0]); - SoulColors.RemoveAt(0); + Projectile.NewProjectile(Projectile.GetSource_FromThis(), laserPos, laserVel, ModContent.ProjectileType(), Projectile.damage, 3f, Projectile.owner, SoulColors[0]); + + if (ConsumeSoul) + SoulColors.RemoveAt(0); + ConsumeSoul = !ConsumeSoul; } else SoulColors.Clear(); @@ -90,6 +119,10 @@ namespace CalamityMod.Projectiles.Magic MediumMistParticle smoky = new(spawn, Utils.DirectionTo(spawn, TipPosition) * 4.5f, Color.Gray, Color.DarkGray, 1.25f, 96f); GeneralParticleHandler.SpawnParticle(smoky); } + + // Vacuum loop sound + if ((Timer - VacuumStartFrames) % VacuumLoopFrames == 0) + VacuumSound = SoundEngine.PlaySound(SHPC.VacuumLoop, Owner.Center); } // Typical held projectile shit @@ -99,9 +132,15 @@ namespace CalamityMod.Projectiles.Magic Projectile.rotation = Utils.DirectionTo(Owner.Center, Owner.Calamity().mouseWorld).ToRotation(); Projectile.velocity = Vector2.Zero; Projectile.Center = Owner.Center; - // This is used to make the projectile naturally despawn after running out of souls + // This is used to make the projectile naturally despawn with a delay after running out of souls or if you stop firing with no souls if (!FiringLasers || SoulColors.Count > 0) - Projectile.timeLeft = 30; + Projectile.timeLeft = 50; + } + + public override void OnKill(int timeLeft) + { + if (SoundEngine.TryGetActiveSound(VacuumSound, out var ChargeSound)) + ChargeSound?.Stop(); } public override bool? Colliding(Rectangle projHitbox, Rectangle targetHitbox) @@ -119,7 +158,7 @@ namespace CalamityMod.Projectiles.Magic float rotation = Utils.DirectionTo(TipPosition, farthestPos).ToRotation(); if (!FiringLasers) { - Texture2D tex = ModContent.Request("CalamityMod/Particles/MediumMist").Value; + Texture2D tex = Smoke.Value; Rectangle frame = tex.Frame(1, 3, 0, Main.rand.Next(3)); Main.spriteBatch.SetBlendState(BlendState.Additive); @@ -142,6 +181,25 @@ namespace CalamityMod.Projectiles.Magic Vector2 position = Owner.Center - Main.screenPosition + Vector2.UnitX.RotatedBy(rotation) * Offset.X + Vector2.UnitY * Offset.Y; SpriteEffects sp = Owner.Calamity().mouseWorld.X < Owner.Center.X ? SpriteEffects.FlipVertically : SpriteEffects.None; Main.EntitySpriteDraw(shpc, position, null, lightColor, rotation, shpc.Size() / 2f, 1f, sp); + + // Draw souls around the gun as a sort of indicator of how many you have sucked in + if (SoulColors.Count > 0) + { + Texture2D sq = SoulSquare.Value; + for (int i = 0; i < SoulColors.Count; i++) + { + int soulsInRing = SoulColors.Count > MaxSoulsRing ? (SoulColors.Count - i > SoulColors.Count % MaxSoulsRing ? MaxSoulsRing : SoulColors.Count % MaxSoulsRing) : SoulColors.Count; + // Souls past 10 get moved into additional rings + int ringsBack = i / MaxSoulsRing; + Vector2 soulPosition = Projectile.Center + Vector2.UnitX.RotatedBy(rotation) * (68f - (ringsBack * 9f)) + Vector2.UnitY * -12.5f; + Vector2 posOffset = new Vector2(MathF.Sin(Main.GameUpdateCount * MathHelper.Pi / 30f + MathHelper.TwoPi / soulsInRing * (i % MaxSoulsRing)) * 3f, MathF.Cos(Main.GameUpdateCount * MathHelper.Pi / 30f + MathHelper.TwoPi / soulsInRing * (i % MaxSoulsRing)) * 25f).RotatedBy(rotation); + + // Makes the souls disappear when they go "behind" the gun + bool shouldDraw = posOffset.RotatedBy(-rotation).X <= 2.7f; + if (shouldDraw) + Main.EntitySpriteDraw(sq, soulPosition + posOffset - Main.screenPosition, null, SHPB.FindColorForSoul((int)SoulColors[i]), 0f, sq.Size() / 2f, 1f, SpriteEffects.None); + } + } return false; } } diff --git a/Projectiles/Melee/SaharaSlicersBolt.cs b/Projectiles/Melee/SaharaSlicersBolt.cs index 3304c67806..6628ec23f1 100644 --- a/Projectiles/Melee/SaharaSlicersBolt.cs +++ b/Projectiles/Melee/SaharaSlicersBolt.cs @@ -1,8 +1,9 @@ -using System; -using CalamityMod.Particles; +using CalamityMod.Particles; using Microsoft.Xna.Framework; +using Microsoft.Xna.Framework.Graphics; using Terraria; using Terraria.Audio; +using Terraria.GameContent; using Terraria.ID; using Terraria.ModLoader; @@ -35,6 +36,7 @@ namespace CalamityMod.Projectiles.Melee { Player Owner = Main.player[Projectile.owner]; float playerDist = Vector2.Distance(Owner.Center, Projectile.Center); + Projectile.ai[2]++; // Shot Mode if (Projectile.ai[0] == 1) @@ -102,7 +104,28 @@ namespace CalamityMod.Projectiles.Melee { if (Projectile.ai[0] == 1) CalamityUtils.DrawAfterimagesCentered(Projectile, ProjectileID.Sets.TrailingMode[Type], lightColor, 1); - return true; + Vector2 scale = new Vector2(Projectile.scale); + // Squishy fade in. This does not occur if the slicer is instantly thrown + if (Projectile.ai[0] == 0) + { + int endStretch = 4; + int endSquash = 8; + Vector2 stretch = new Vector2(0.8f, 1.6f); + if (Projectile.ai[2] < endStretch) + { + float completion = Utils.GetLerpValue(0, endStretch, Projectile.ai[2], true); + scale.X = MathHelper.Lerp(1.8f, stretch.X, completion); + scale.Y = MathHelper.Lerp(0.3f, stretch.Y, completion); + } + else + { + float completion = Utils.GetLerpValue(0, endSquash, Projectile.ai[2], true); + scale.X = MathHelper.Lerp(stretch.X, 1f, completion); + scale.Y = MathHelper.Lerp(stretch.Y, 1f, completion); + } + } + Main.EntitySpriteDraw(TextureAssets.Projectile[Type].Value, Projectile.Center - Main.screenPosition, null, Projectile.GetAlpha(lightColor), Projectile.rotation, TextureAssets.Projectile[Type].Size() / 2, scale, SpriteEffects.None); + return false; } public override bool? CanDamage() => Projectile.ai[0] == 1 ? true : false; } diff --git a/Sounds/Item/SHPCVacuumEnd.ogg b/Sounds/Item/SHPCVacuumEnd.ogg new file mode 100644 index 0000000000..025be3e9c2 Binary files /dev/null and b/Sounds/Item/SHPCVacuumEnd.ogg differ diff --git a/Sounds/Item/SHPCVacuumLoop.ogg b/Sounds/Item/SHPCVacuumLoop.ogg new file mode 100644 index 0000000000..bf81d0cbad Binary files /dev/null and b/Sounds/Item/SHPCVacuumLoop.ogg differ diff --git a/Sounds/Item/SHPCVacuumStart.ogg b/Sounds/Item/SHPCVacuumStart.ogg new file mode 100644 index 0000000000..79ef8a962f Binary files /dev/null and b/Sounds/Item/SHPCVacuumStart.ogg differ