Updated Shrine Bricks.

This commit is contained in:
FyloZ 2020-07-09 14:33:18 -04:00
parent 71430b610f
commit f106ab2738
4 changed files with 8 additions and 16 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 246 B

After

Width:  |  Height:  |  Size: 261 B

View File

@ -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<Items.Placeable.ShrineoftheMoltenOne.ShrineBrick>();
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<Items.Placeable.ShrineoftheMoltenOne.ShrineBrick>();
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)

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.5 KiB

After

Width:  |  Height:  |  Size: 5.5 KiB

View File

@ -14,9 +14,9 @@
item.useTime = 15;
item.useAnimation = 15;
item.useStyle = 1;
item.consumable = true;
item.autoReuse = true;
item.useTurn = true;
InitPlaceable();