daniel_wasding
Terrarian
So in my mod I am making an item called sword of demons, and I tried to build it and it says "error CS1003: syntax error, ',' expected"
My code if it helps:
My code if it helps:
public override void AddRecipes()
{
ModRecipe recipe = new ModRecipe(mod);
recipe.AddIngredient(ItemID.IronBar, 10);
recipe.AddIngredient(ItemID.PaintingCursedSaint, 1);
recipe.AddIngredient(ItemID.PalmWoodSword, 1);
recipe.AddIngredient(ItemID.BrainOfConfusion, 1);
recipe.AddIngredient(ItemID.WormScarf, 1);
recipe.AddTile(TileID.Anvils); //Many crafting interfaces use plural terms here. Not sure if any.anvil also works. I've never tried it.
recipe.SetResult(this);
recipe.AddRecipe();
}