removed mossy gravel walls

This commit is contained in:
ben-tk committed 2021-11-18 18:25:19 -05:00
1 parent 809752fcc5
commit 7ca80e7f38
3 files changed
+1 -21

No files matched your search

+1 -2
View File
@@ -51,8 +51,7 @@ namespace CalamityMod.Tiles.Abyss
if (!Main.tile[i, j + 1].active() && Main.tile[i, j + 1].type != (ushort)ModContent.TileType<ViperVines>())
{
if (Main.tile[i, j + 1].liquid == 255 &&
(Main.tile[i, j + 1].wall == (ushort)ModContent.WallType<MossyGravelWall>() ||
Main.tile[i, j + 1].wall == (ushort)ModContent.WallType<AbyssGravelWall>()) &&
Main.tile[i, j + 1].wall == (ushort)ModContent.WallType<AbyssGravelWall>() &&
!Main.tile[i, j + 1].lava())
{
bool flag13 = false;
-19
View File
@@ -1,19 +0,0 @@
using Microsoft.Xna.Framework;
using Terraria.ModLoader;
namespace CalamityMod.Walls
{
public class MossyGravelWall : ModWall
{
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;
public override bool CanExplode(int i, int j) => false;
public override void NumDust(int i, int j, bool fail, ref int num) => num = fail ? 1 : 3;
}
}
Binary file not shown.

Before

Width:  |  Height:  |  Size: 17 KiB