My browser seems to be out of order recently. I really had a hard time getting in the forum.
Anyways, I get some questions about tiles.
So I'm trying to make some craftable altars, some sorta Man-made Demon Altars.
Code:
public override void SetDefaults()
{
item.name = "Man-made Demon Altar";
item.width = 12;
item.height = 12;
item.maxStack = 999;
item.useTurn = true;
item.autoReuse = true;
item.useAnimation = 15;
item.useTime = 10;
item.useStyle = 1;
item.consumable = true;
item.createTile = mod.TileType("ManmadeDemonAltarTile");
}
And its texture like(which I've cut from the vanilla texture):
View attachment 89442
Then, ofc., I put it in the game, and it appears to be some error blocks... I guess the game probably doesn't regard this as an altar, but a normal tile block, just like the dirt block. I checked the examplemod and found there are actually some extra settings about these special tiles, which I think they're telling the game that these are sprites. Maybe I should add some of those "Main" stuff to define this.
But, well, I don't know how should I set up for this altar, so it would look like what it should look like just like the vanilla altar, when I place it. This is just a crafting station which can craft same items as the true altars, but doesn't need to be exactly the same as the true altar. It can be removed, and can't be smashed by hammers. So I made this altar, anyway.