From b4ff078f61fb3e8afc7b7cdbcfcf3af5d1dacd1f Mon Sep 17 00:00:00 2001 From: ben-tk <45545085+ben-tk@users.noreply.github.com> Date: Thu, 18 Nov 2021 18:00:14 -0500 Subject: [PATCH] Added map entries for several walls --- Walls/AbyssGravelWall.cs | 1 + Walls/EutrophicSandWall.cs | 6 ++---- Walls/MossyGravelWall.cs | 1 + Walls/NavystoneWall.cs | 6 ++---- Walls/VoidstoneWallUnsafe.cs | 1 + 5 files changed, 7 insertions(+), 8 deletions(-) diff --git a/Walls/AbyssGravelWall.cs b/Walls/AbyssGravelWall.cs index 363ca3cd0b..ec2fbd9939 100644 --- a/Walls/AbyssGravelWall.cs +++ b/Walls/AbyssGravelWall.cs @@ -8,6 +8,7 @@ namespace CalamityMod.Walls public override void SetDefaults() { dustType = 33; + AddMapEntry(new Color(41, 56, 80)); } public override void RandomUpdate(int i, int j) diff --git a/Walls/EutrophicSandWall.cs b/Walls/EutrophicSandWall.cs index c9db330b63..e81746a786 100644 --- a/Walls/EutrophicSandWall.cs +++ b/Walls/EutrophicSandWall.cs @@ -8,6 +8,7 @@ namespace CalamityMod.Walls public override void SetDefaults() { dustType = 108; + AddMapEntry(new Color(100, 100, 150)); } public override void RandomUpdate(int i, int j) @@ -19,9 +20,6 @@ namespace CalamityMod.Walls } } - public override void NumDust(int i, int j, bool fail, ref int num) - { - num = fail ? 1 : 3; - } + public override void NumDust(int i, int j, bool fail, ref int num) => num = fail ? 1 : 3; } } diff --git a/Walls/MossyGravelWall.cs b/Walls/MossyGravelWall.cs index 1d5f30820e..9619d97d99 100644 --- a/Walls/MossyGravelWall.cs +++ b/Walls/MossyGravelWall.cs @@ -6,6 +6,7 @@ namespace CalamityMod.Walls public override void SetDefaults() { dustType = 2; + AddMapEntry(new Color(41, 80, 65)); } public override void KillWall(int i, int j, ref bool fail) => fail = true; diff --git a/Walls/NavystoneWall.cs b/Walls/NavystoneWall.cs index 95860f3014..67c5b9460c 100644 --- a/Walls/NavystoneWall.cs +++ b/Walls/NavystoneWall.cs @@ -6,11 +6,9 @@ namespace CalamityMod.Walls public override void SetDefaults() { dustType = 96; + AddMapEntry(new Color(0, 50, 50)); } - public override void NumDust(int i, int j, bool fail, ref int num) - { - num = fail ? 1 : 3; - } + public override void NumDust(int i, int j, bool fail, ref int num) => num = fail ? 1 : 3; } } diff --git a/Walls/VoidstoneWallUnsafe.cs b/Walls/VoidstoneWallUnsafe.cs index 9bf2c965a3..24d048f4a4 100644 --- a/Walls/VoidstoneWallUnsafe.cs +++ b/Walls/VoidstoneWallUnsafe.cs @@ -8,6 +8,7 @@ namespace CalamityMod.Walls public override void SetDefaults() { dustType = 187; + AddMapEntry(new Color(5, 5, 5)); } public override void RandomUpdate(int i, int j)