Iggysaur
Plantera
Can someone help me out with a crafting station I'm making? it looks like this:
and when I put it into the game its all glitched out.
Here's its code
Some things are off cause I was screwing around with stuff and trying to figure out whats wrong. I'm really confused someone help me out please
Here's its code
Code:
using Microsoft.Xna.Framework;
using Terraria;
using Terraria.ID;
using Terraria.ModLoader;
using Terraria.ObjectData;
namespace EdgeWood.Tiles
{
public class BakeryBench : ModTile
{
public override void SetDefaults()
{
Main.tileSolidTop[Type] = true;
Main.tileFrameImportant[Type] = true;
Main.tileNoAttach[Type] = true;
Main.tileTable[Type] = true;
Main.tileLavaDeath[Type] = true;
TileObjectData.newTile.CopyFrom(TileObjectData.Style6x3);
TileObjectData.newTile.CoordinateHeights = new int[]{ 54 };
TileObjectData.addTile(Type);
AddMapEntry(new Color(200, 200, 200), "Bakery Bench");
disableSmartCursor = true;
adjTiles = new int[]{ TileID.WorkBenches };
}
public override void NumDust(int i, int j, bool fail, ref int num)
{
num = fail ? 1 : 3;
}
public override void KillMultiTile(int i, int j, int frameX, int frameY)
{
Item.NewItem(i * 16, j * 16, 32, 16, mod.ItemType("BakeryBench"));
}
}
}
Some things are off cause I was screwing around with stuff and trying to figure out whats wrong. I'm really confused someone help me out please