diff --git a/Projectiles/Pets/SeaSlug.cs b/Projectiles/Pets/SeaSlug.cs index 086a022db8..7854cab241 100644 --- a/Projectiles/Pets/SeaSlug.cs +++ b/Projectiles/Pets/SeaSlug.cs @@ -16,7 +16,7 @@ namespace CalamityMod.Projectiles.Pets private Form SeaSlugColor = Form.Normal; private enum Form { - Normal, Sulphur, Abyss, Sunken, Astral, Crags, Snow, Desert, Jungle + Normal, Sulphur, Abyss, Sunken, Astral, Hell, Snow, Desert, Jungle, Mushroom } public override void SetStaticDefaults() @@ -56,9 +56,9 @@ namespace CalamityMod.Projectiles.Pets { SeaSlugColor = Form.Astral; } - else if (player.InCalamity()) + else if (player.ZoneUnderworldHeight) { - SeaSlugColor = Form.Crags; + SeaSlugColor = Form.Hell; } else if (player.ZoneSnow) { @@ -72,6 +72,10 @@ namespace CalamityMod.Projectiles.Pets { SeaSlugColor = Form.Jungle; } + else if (player.ZoneGlowshroom) + { + SeaSlugColor = Form.Mushroom; + } else { SeaSlugColor = Form.Normal; @@ -91,10 +95,11 @@ namespace CalamityMod.Projectiles.Pets ModContent.Request("CalamityMod/Projectiles/Pets/SeaSlugAbyss_Glow").Value, ModContent.Request("CalamityMod/Projectiles/Pets/SeaSlugSunken_Glow").Value, ModContent.Request("CalamityMod/Projectiles/Pets/SeaSlugAstral_Glow").Value, - ModContent.Request("CalamityMod/Projectiles/Pets/SeaSlugCrags_Glow").Value, + ModContent.Request("CalamityMod/Projectiles/Pets/SeaSlugHell_Glow").Value, ModContent.Request("CalamityMod/Projectiles/Pets/SeaSlugSnow_Glow").Value, ModContent.Request("CalamityMod/Projectiles/Pets/SeaSlugDesert_Glow").Value, - ModContent.Request("CalamityMod/Projectiles/Pets/SeaSlugJungle_Glow").Value); + ModContent.Request("CalamityMod/Projectiles/Pets/SeaSlugJungle_Glow").Value, + ModContent.Request("CalamityMod/Projectiles/Pets/SeaSlugMushroom_Glow").Value); } private void Draw(Color color, Texture2D texture) @@ -108,7 +113,7 @@ namespace CalamityMod.Projectiles.Pets Main.EntitySpriteDraw(texture, Projectile.Center - Main.screenPosition + new Vector2(0f, Projectile.gfxOffY), new Microsoft.Xna.Framework.Rectangle?(new Rectangle(0, frameHeight, texture.Width, height)), color, Projectile.rotation, new Vector2(texture.Width / 2f, height / 2f), Projectile.scale, spriteEffects, 0); } - private void DrawGlowmask(Color color, Texture2D normal, Texture2D sulphur, Texture2D abyss, Texture2D sunken, Texture2D astral, Texture2D crags, Texture2D snow, Texture2D desert, Texture2D jungle) + private void DrawGlowmask(Color color, Texture2D normal, Texture2D sulphur, Texture2D abyss, Texture2D sunken, Texture2D astral, Texture2D hell, Texture2D snow, Texture2D desert, Texture2D jungle, Texture2D mushroom) { Texture2D texture = normal; switch (SeaSlugColor) @@ -128,8 +133,8 @@ namespace CalamityMod.Projectiles.Pets case Form.Astral: texture = astral; break; - case Form.Crags: - texture = crags; + case Form.Hell: + texture = hell; break; case Form.Snow: texture = snow; @@ -140,6 +145,9 @@ namespace CalamityMod.Projectiles.Pets case Form.Jungle: texture = jungle; break; + case Form.Mushroom: + texture = mushroom; + break; } int height = texture.Height / Main.projFrames[Projectile.type]; diff --git a/Projectiles/Pets/SeaSlugAbyss_Glow.png b/Projectiles/Pets/SeaSlugAbyss_Glow.png index 9bebb47fd5..3e4512d983 100644 Binary files a/Projectiles/Pets/SeaSlugAbyss_Glow.png and b/Projectiles/Pets/SeaSlugAbyss_Glow.png differ diff --git a/Projectiles/Pets/SeaSlugAstral_Glow.png b/Projectiles/Pets/SeaSlugAstral_Glow.png index 79ca874914..adad6049d7 100644 Binary files a/Projectiles/Pets/SeaSlugAstral_Glow.png and b/Projectiles/Pets/SeaSlugAstral_Glow.png differ diff --git a/Projectiles/Pets/SeaSlugCrags_Glow.png b/Projectiles/Pets/SeaSlugCrags_Glow.png deleted file mode 100644 index a48ae83743..0000000000 Binary files a/Projectiles/Pets/SeaSlugCrags_Glow.png and /dev/null differ diff --git a/Projectiles/Pets/SeaSlugDesert_Glow.png b/Projectiles/Pets/SeaSlugDesert_Glow.png index ab66005a3a..1c22ff850f 100644 Binary files a/Projectiles/Pets/SeaSlugDesert_Glow.png and b/Projectiles/Pets/SeaSlugDesert_Glow.png differ diff --git a/Projectiles/Pets/SeaSlugHell_Glow.png b/Projectiles/Pets/SeaSlugHell_Glow.png new file mode 100644 index 0000000000..243adcc097 Binary files /dev/null and b/Projectiles/Pets/SeaSlugHell_Glow.png differ diff --git a/Projectiles/Pets/SeaSlugJungle_Glow.png b/Projectiles/Pets/SeaSlugJungle_Glow.png index 867ca38784..9a1df673d5 100644 Binary files a/Projectiles/Pets/SeaSlugJungle_Glow.png and b/Projectiles/Pets/SeaSlugJungle_Glow.png differ diff --git a/Projectiles/Pets/SeaSlugMushroom_Glow.png b/Projectiles/Pets/SeaSlugMushroom_Glow.png new file mode 100644 index 0000000000..6f5424a5c4 Binary files /dev/null and b/Projectiles/Pets/SeaSlugMushroom_Glow.png differ diff --git a/Projectiles/Pets/SeaSlugSnow_Glow.png b/Projectiles/Pets/SeaSlugSnow_Glow.png index 7d1a29a4a2..a7a00c7118 100644 Binary files a/Projectiles/Pets/SeaSlugSnow_Glow.png and b/Projectiles/Pets/SeaSlugSnow_Glow.png differ diff --git a/Projectiles/Pets/SeaSlugSunken_Glow.png b/Projectiles/Pets/SeaSlugSunken_Glow.png index 44145c20cd..f5ea6d83fa 100644 Binary files a/Projectiles/Pets/SeaSlugSunken_Glow.png and b/Projectiles/Pets/SeaSlugSunken_Glow.png differ diff --git a/World/BrimstoneCrag.cs b/World/BrimstoneCrag.cs index 530e9fc9f9..60d3da5a74 100644 --- a/World/BrimstoneCrag.cs +++ b/World/BrimstoneCrag.cs @@ -229,11 +229,11 @@ namespace CalamityMod.World Tile tileRight = Main.tile[x + 1, y]; //only place ore nearby lava - if (WorldGen.genRand.Next(200) == 0 && tile.TileType == ModContent.TileType() && (tileUp.LiquidAmount > 0 || + if (WorldGen.genRand.Next(180) == 0 && tile.TileType == ModContent.TileType() && (tileUp.LiquidAmount > 0 || tileDown.LiquidAmount > 0 || tileLeft.LiquidAmount > 0 || tileRight.LiquidAmount > 0)) { WorldGen.TileRunner(x + WorldGen.genRand.Next(-15, 15), y + WorldGen.genRand.Next(-15, 15), - WorldGen.genRand.Next(8, 12), WorldGen.genRand.Next(8, 12), ModContent.TileType(), false, 0f, 0f, false, true); + WorldGen.genRand.Next(10, 12), WorldGen.genRand.Next(10, 12), ModContent.TileType(), false, 0f, 0f, false, true); } } }