diff --git a/Content/Items/Placeable/ShrineoftheMoltenOne/ShrineBrick.png b/Content/Items/Placeable/ShrineoftheMoltenOne/ShrineBrick.png index 7386f51..0ac3fe2 100644 Binary files a/Content/Items/Placeable/ShrineoftheMoltenOne/ShrineBrick.png and b/Content/Items/Placeable/ShrineoftheMoltenOne/ShrineBrick.png differ diff --git a/Content/Tiles/ShrineoftheMoltenOne/ShrineBrick.cs b/Content/Tiles/ShrineoftheMoltenOne/ShrineBrick.cs index 7a73634..e69e895 100644 --- a/Content/Tiles/ShrineoftheMoltenOne/ShrineBrick.cs +++ b/Content/Tiles/ShrineoftheMoltenOne/ShrineBrick.cs @@ -1,28 +1,20 @@ -using Microsoft.Xna.Framework; -using System; +using Decimation.Lib.Tiles; +using Microsoft.Xna.Framework; using Terraria; using Terraria.ID; using Terraria.ModLoader; namespace Decimation.Content.Tiles.ShrineoftheMoltenOne { - class ShrineBrick : ModTile + public class ShrineBrick : DecimationFramedTile { + public override Color MapColor => new Color(33, 28, 25); + public override int TileItem => ModContent.ItemType(); + public override int DustType => DustID.Stone; - public override void SetDefaults() + protected override void InitFramedTile() { - Main.tileSolid[Type] = true; - Main.tileMergeDirt[Type] = true; - Main.tileBlockLight[Type] = true; Main.tileLighted[Type] = true; - dustType = DustID.Stone; - drop = ModContent.ItemType(); - AddMapEntry(new Color(33, 28, 25)); - } - - public override void NumDust(int i, int j, bool fail, ref int num) - { - num = fail ? 1 : 3; } public override bool CanKillTile(int i, int j, ref bool blockDamaged) diff --git a/Content/Tiles/ShrineoftheMoltenOne/ShrineBrick.png b/Content/Tiles/ShrineoftheMoltenOne/ShrineBrick.png index 3dfbf8d..5a065e9 100644 Binary files a/Content/Tiles/ShrineoftheMoltenOne/ShrineBrick.png and b/Content/Tiles/ShrineoftheMoltenOne/ShrineBrick.png differ diff --git a/Lib/Items/DecimationPlaceableItem.cs b/Lib/Items/DecimationPlaceableItem.cs index 6998332..b180190 100644 --- a/Lib/Items/DecimationPlaceableItem.cs +++ b/Lib/Items/DecimationPlaceableItem.cs @@ -14,9 +14,9 @@ item.useTime = 15; item.useAnimation = 15; item.useStyle = 1; - item.consumable = true; item.autoReuse = true; item.useTurn = true; + InitPlaceable();