So I am making a mod for Terraria ( A test mod before I make my real mod. ) and require assistance.
I keep getting an error CS0103: The name 'TileID' does not exist in the current context
with this code:
public override void AddRecipes()
{
ModRecipe recipe = new ModRecipe(mod);
recipe.AddIngredient(null, "Item", 60);
recipe.AddTile(TileID.MythrilAnvil);
recipe.SetResult(this);
recipe.AddRecipe();
}
}
}...
Recipe Troubles.
I keep getting an error CS0103: The name 'TileID' does not exist in the current context
with this code:
public override void AddRecipes()
{
ModRecipe recipe = new ModRecipe(mod);
recipe.AddIngredient(null, "Item", 60);
recipe.AddTile(TileID.MythrilAnvil);
recipe.SetResult(this);
recipe.AddRecipe();
}
}
}...
Recipe Troubles.