peachy
Skeletron Prime
Followed a 2018 tutorial on Youtube to make an ore and it's tile. Here is the error:
C:\whatevs\ModSources\ModName\Tiles\OreTile.cs(12,13) : error CS0103: The name 'Main' does not exist in the current context.
CODE:
VIDEO:
I followed exactly, and i don't know what i've done wrong.
C:\whatevs\ModSources\ModName\Tiles\OreTile.cs(12,13) : error CS0103: The name 'Main' does not exist in the current context.
CODE:
Code:
using Terraria.ID;
using Terraria.ModLoader;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
namespace Packastrophy.Tiles
{
public class EquibriumTile : ModItem
{
public override void SetDefaults()
{
Main.tileSolid[Type] = true;
Main.tileMergeDirt[Type] = true;
Main.tileLighted[Type] = true;
Main.tileBlockLight[Type] = false;
drop = mod.ItemType("EquibriumOre");
MapTranslation name = CreatedMapEntryName();
name.SetDefault("Equibrium Ore");
AddMapEntry(new Color(76, 116, 72), name);
minPick = 50;
}
}
}
VIDEO:
I followed exactly, and i don't know what i've done wrong.