Files
CalamityModPublic/Tiles/FurnitureMarnite/MarniteWorkBench.cs
T
Heart-Plus-Up 186ed8eeb1 Marnite Wall and some fixes
I don't know how to fix the chest and dresser names
2024-05-24 02:56:57 -07:00

24 lines
712 B
C#

using Microsoft.Xna.Framework;
using Terraria;
using Terraria.ID;
using Terraria.ModLoader;
namespace CalamityMod.Tiles.FurnitureMarnite
{
public class MarniteWorkBench : ModTile
{
public override void SetStaticDefaults() => this.SetUpWorkBench(ModContent.ItemType<Items.Placeables.FurnitureMarnite.MarniteWorkBench>(), true);
public override bool CreateDust(int i, int j, ref int type)
{
Dust.NewDust(new Vector2(i, j) * 16f, 16, 16, DustID.Stone, 0f, 0f, 1, new Color(255, 255, 255), 1f);
return false;
}
public override void NumDust(int i, int j, bool fail, ref int num)
{
num = fail ? 1 : 3;
}
}
}