diff --git a/Waters/AstralWater.cs b/Waters/AstralWater.cs index 7064c4fadf..b8aad01961 100644 --- a/Waters/AstralWater.cs +++ b/Waters/AstralWater.cs @@ -9,10 +9,15 @@ namespace CalamityMod.Waters public class AstralWater : ModWaterStyle { public override int ChooseWaterfallStyle() => ModContent.Find("CalamityMod/AstralWaterflow").Slot; + public override int GetSplashDust() => 52; //corruption water? + public override int GetDropletGore() => ModContent.Find("CalamityMod/AstralWaterDroplet").Type; + public override Asset GetRainTexture() => ModContent.Request("CalamityMod/Waters/AstralRain"); + public override byte GetRainVariant() => (byte)Main.rand.Next(3); + public override Color BiomeHairColor() => Color.MediumPurple; } } diff --git a/Waters/BasaltGullyWater.cs b/Waters/BasaltGullyWater.cs index 6aa26ea180..22c879b5ee 100644 --- a/Waters/BasaltGullyWater.cs +++ b/Waters/BasaltGullyWater.cs @@ -6,28 +6,13 @@ namespace CalamityMod.Waters public class BasaltGullyWater : ModWaterStyle { public static int Type; - public override void SetStaticDefaults() - { - Type = Slot; - } - public override int ChooseWaterfallStyle() - { - return ModContent.Find("CalamityMod/BasaltGullyWaterflow").Slot; - } + public override void SetStaticDefaults() => Type = Slot; + public override int ChooseWaterfallStyle() => ModContent.Find("CalamityMod/BasaltGullyWaterflow").Slot; - public override int GetSplashDust() - { - return 33; - } + public override int GetSplashDust() => 33; - public override int GetDropletGore() - { - return 713; - } + public override int GetDropletGore() => 713; - public override Color BiomeHairColor() - { - return Color.DarkGray; - } + public override Color BiomeHairColor() => Color.DarkGray; } } diff --git a/Waters/FloralParadiseWater.png b/Waters/FloralParadiseWater.png index d8a0958b63..050b018ea8 100644 Binary files a/Waters/FloralParadiseWater.png and b/Waters/FloralParadiseWater.png differ diff --git a/Waters/FloralParadiseWater_Block.png b/Waters/FloralParadiseWater_Block.png index 5fe701ea91..0294eb4b3c 100644 Binary files a/Waters/FloralParadiseWater_Block.png and b/Waters/FloralParadiseWater_Block.png differ diff --git a/Waters/FloralParadiseWater_Slope.png b/Waters/FloralParadiseWater_Slope.png index a8a6fde86a..2bd68c8094 100644 Binary files a/Waters/FloralParadiseWater_Slope.png and b/Waters/FloralParadiseWater_Slope.png differ diff --git a/Waters/FloralParadiseWaterflow.png b/Waters/FloralParadiseWaterflow.png index aa0d689eb7..6ac360d4b4 100644 Binary files a/Waters/FloralParadiseWaterflow.png and b/Waters/FloralParadiseWaterflow.png differ diff --git a/Waters/MiddleAbyssWater.cs b/Waters/MiddleAbyssWater.cs index 1c7f8250f8..ea8bc68c57 100644 --- a/Waters/MiddleAbyssWater.cs +++ b/Waters/MiddleAbyssWater.cs @@ -5,24 +5,12 @@ namespace CalamityMod.Waters { public class MiddleAbyssWater : ModWaterStyle { - public override int ChooseWaterfallStyle() - { - return ModContent.Find("CalamityMod/MiddleAbyssWaterflow").Slot; - } + public override int ChooseWaterfallStyle() => ModContent.Find("CalamityMod/MiddleAbyssWaterflow").Slot; - public override int GetSplashDust() - { - return 33; - } + public override int GetSplashDust() => 33; - public override int GetDropletGore() - { - return 713; - } + public override int GetDropletGore() => 713; - public override Color BiomeHairColor() - { - return Color.Blue; - } + public override Color BiomeHairColor() => Color.Blue; } } diff --git a/Waters/PissWater.cs b/Waters/PissWater.cs index 0b315df535..1ec4846f81 100644 --- a/Waters/PissWater.cs +++ b/Waters/PissWater.cs @@ -5,24 +5,12 @@ namespace CalamityMod.Waters { public class PissWater : ModWaterStyle { - public override int ChooseWaterfallStyle() - { - return ModContent.Find("CalamityMod/PissWaterflow").Slot; - } + public override int ChooseWaterfallStyle() => ModContent.Find("CalamityMod/PissWaterflow").Slot; - public override int GetSplashDust() - { - return 102; - } + public override int GetSplashDust() => 102; - public override int GetDropletGore() - { - return 711; - } + public override int GetDropletGore() => 711; - public override Color BiomeHairColor() - { - return Color.Yellow; - } + public override Color BiomeHairColor() => Color.Yellow; } } diff --git a/Waters/SulphuricDepthsWater.cs b/Waters/SulphuricDepthsWater.cs index 64aa588c33..6dff20bb74 100644 --- a/Waters/SulphuricDepthsWater.cs +++ b/Waters/SulphuricDepthsWater.cs @@ -6,28 +6,13 @@ namespace CalamityMod.Waters public class SulphuricDepthsWater : ModWaterStyle { public static int Type; - public override void SetStaticDefaults() - { - Type = Slot; - } - public override int ChooseWaterfallStyle() - { - return ModContent.Find("CalamityMod/SulphuricDepthsWaterflow").Slot; - } + public override void SetStaticDefaults() => Type = Slot; + public override int ChooseWaterfallStyle() => ModContent.Find("CalamityMod/SulphuricDepthsWaterflow").Slot; - public override int GetSplashDust() - { - return 33; - } + public override int GetSplashDust() => 33; - public override int GetDropletGore() - { - return 713; - } + public override int GetDropletGore() => 713; - public override Color BiomeHairColor() - { - return Color.Teal; - } + public override Color BiomeHairColor() => Color.Teal; } } diff --git a/Waters/SulphuricWater.cs b/Waters/SulphuricWater.cs index ef9ce540ea..7994cc2de7 100644 --- a/Waters/SulphuricWater.cs +++ b/Waters/SulphuricWater.cs @@ -9,15 +9,19 @@ namespace CalamityMod.Waters public class SulphuricWater : ModWaterStyle { public static int Type; - public override void SetStaticDefaults() - { - Type = Slot; - } + + public override void SetStaticDefaults() => Type = Slot; + public override int ChooseWaterfallStyle() => ModContent.Find("CalamityMod/SulphuricWaterflow").Slot; + public override int GetSplashDust() => 101; + public override int GetDropletGore() => 708; + public override Asset GetRainTexture() => ModContent.Request("CalamityMod/Waters/SulphuricRain"); + public override byte GetRainVariant() => (byte)Main.rand.Next(3); + public override Color BiomeHairColor() => Color.Turquoise; } } diff --git a/Waters/SulphuricWaterflow.png b/Waters/SulphuricWaterflow.png index cd519bf721..a7fc32ffbb 100644 Binary files a/Waters/SulphuricWaterflow.png and b/Waters/SulphuricWaterflow.png differ diff --git a/Waters/SunkenSeaBurrowsWater.cs b/Waters/SunkenSeaBurrowsWater.cs index c01f2bbcc6..d982ade3f1 100644 --- a/Waters/SunkenSeaBurrowsWater.cs +++ b/Waters/SunkenSeaBurrowsWater.cs @@ -6,29 +6,14 @@ namespace CalamityMod.Waters public class SunkenSeaBurrowsWater : ModWaterStyle { public static int Type; - public override void SetStaticDefaults() - { - Type = Slot; - } - public override int ChooseWaterfallStyle() - { - return ModContent.Find("CalamityMod/SunkenSeaBurrowsWaterflow").Slot; - } + public override void SetStaticDefaults() => Type = Slot; + public override int ChooseWaterfallStyle() => ModContent.Find("CalamityMod/SunkenSeaBurrowsWaterflow").Slot; - public override int GetSplashDust() - { - return 33; - } + public override int GetSplashDust() => 33; - public override int GetDropletGore() - { - return 713; - } + public override int GetDropletGore() => 713; - public override Color BiomeHairColor() - { - return Color.Blue; - } + public override Color BiomeHairColor() => Color.Blue; public override void LightColorMultiplier(ref float r, ref float g, ref float b) { diff --git a/Waters/SunkenSeaPolypWater.cs b/Waters/SunkenSeaPolypWater.cs index 11a8967142..7607e8b506 100644 --- a/Waters/SunkenSeaPolypWater.cs +++ b/Waters/SunkenSeaPolypWater.cs @@ -6,28 +6,13 @@ namespace CalamityMod.Waters public class SunkenSeaPolypWater : ModWaterStyle { public static int Type; - public override void SetStaticDefaults() - { - Type = Slot; - } - public override int ChooseWaterfallStyle() - { - return ModContent.Find("CalamityMod/SunkenSeaPolypWaterflow").Slot; - } + public override void SetStaticDefaults() => Type = Slot; + public override int ChooseWaterfallStyle() => ModContent.Find("CalamityMod/SunkenSeaPolypWaterflow").Slot; - public override int GetSplashDust() - { - return 33; - } + public override int GetSplashDust() => 33; - public override int GetDropletGore() - { - return 713; - } + public override int GetDropletGore() => 713; - public override Color BiomeHairColor() - { - return Color.Coral; - } + public override Color BiomeHairColor() => Color.Coral; } } diff --git a/Waters/SunkenSeaReefsWater.cs b/Waters/SunkenSeaReefsWater.cs index b83f7f4b57..a3e0ab2903 100644 --- a/Waters/SunkenSeaReefsWater.cs +++ b/Waters/SunkenSeaReefsWater.cs @@ -6,28 +6,13 @@ namespace CalamityMod.Waters public class SunkenSeaReefsWater : ModWaterStyle { public static int Type; - public override void SetStaticDefaults() - { - Type = Slot; - } - public override int ChooseWaterfallStyle() - { - return ModContent.Find("CalamityMod/SunkenSeaReefsWaterflow").Slot; - } + public override void SetStaticDefaults() => Type = Slot; + public override int ChooseWaterfallStyle() => ModContent.Find("CalamityMod/SunkenSeaReefsWaterflow").Slot; - public override int GetSplashDust() - { - return 33; - } + public override int GetSplashDust() => 33; - public override int GetDropletGore() - { - return 713; - } + public override int GetDropletGore() => 713; - public override Color BiomeHairColor() - { - return Color.SkyBlue; - } + public override Color BiomeHairColor() => Color.SkyBlue; } } diff --git a/Waters/SunkenSeaShoresWater.cs b/Waters/SunkenSeaShoresWater.cs index 5dd4c5e590..d2fa6b33f8 100644 --- a/Waters/SunkenSeaShoresWater.cs +++ b/Waters/SunkenSeaShoresWater.cs @@ -6,28 +6,13 @@ namespace CalamityMod.Waters public class SunkenSeaShoresWater : ModWaterStyle { public static int Type; - public override void SetStaticDefaults() - { - Type = Slot; - } - public override int ChooseWaterfallStyle() - { - return ModContent.Find("CalamityMod/SunkenSeaShoresWaterflow").Slot; - } + public override void SetStaticDefaults() => Type = Slot; + public override int ChooseWaterfallStyle() => ModContent.Find("CalamityMod/SunkenSeaShoresWaterflow").Slot; - public override int GetSplashDust() - { - return 33; - } + public override int GetSplashDust() => 33; - public override int GetDropletGore() - { - return 713; - } + public override int GetDropletGore() => 713; - public override Color BiomeHairColor() - { - return Color.OrangeRed; - } + public override Color BiomeHairColor() => Color.OrangeRed; } } diff --git a/Waters/UpperAbyssWater.cs b/Waters/UpperAbyssWater.cs index 965861fdf7..6f5e9908fd 100644 --- a/Waters/UpperAbyssWater.cs +++ b/Waters/UpperAbyssWater.cs @@ -5,24 +5,12 @@ namespace CalamityMod.Waters { public class UpperAbyssWater : ModWaterStyle { - public override int ChooseWaterfallStyle() - { - return ModContent.Find("CalamityMod/UpperAbyssWaterflow").Slot; - } + public override int ChooseWaterfallStyle() => ModContent.Find("CalamityMod/UpperAbyssWaterflow").Slot; - public override int GetSplashDust() - { - return 33; - } + public override int GetSplashDust() => 33; - public override int GetDropletGore() - { - return 713; - } + public override int GetDropletGore() => 713; - public override Color BiomeHairColor() - { - return Color.Blue; - } + public override Color BiomeHairColor() => Color.Blue; } } diff --git a/Waters/VoidWater.cs b/Waters/VoidWater.cs index bff3e0bf78..a4f93235ae 100644 --- a/Waters/VoidWater.cs +++ b/Waters/VoidWater.cs @@ -5,24 +5,12 @@ namespace CalamityMod.Waters { public class VoidWater : ModWaterStyle { - public override int ChooseWaterfallStyle() - { - return ModContent.Find("CalamityMod/VoidWaterflow").Slot; - } + public override int ChooseWaterfallStyle() => ModContent.Find("CalamityMod/VoidWaterflow").Slot; - public override int GetSplashDust() - { - return 33; - } + public override int GetSplashDust() => 33; - public override int GetDropletGore() - { - return 713; - } + public override int GetDropletGore() => 713; - public override Color BiomeHairColor() - { - return Color.Blue; - } + public override Color BiomeHairColor() => Color.Blue; } }