To add a recipe to your item, go into the item that you want to add the recipe to and append this code and making sure that you have appended it inside of the class brackets.
Code:
public override void AddRecipes()
{
ModRecipe recipe = new ModRecipe(mod);
recipe.AddIngredient(ItemID, int);
recipe.SetResult(ItemID, int);
recipe.AddRecipe();
}
If you are creating more than one recipe then do this
Code:
public override void AddRecipes()
{
ModRecipe recipe = new ModRecipe(mod);
recipe.AddIngredient(ItemID, int);
recipe.SetResult(ItemID, int);
recipe.AddRecipe();
recipe = new ModRecipe(mod);
recipe.AddIngredient(ItemID, int);
recipe.SetResult(ItemID, int);
recipe.AddRecipe();
}
However if you are not adding a mod item, go to your main cs file and do the same thing except of this
do this
To change the appearance of the item you have created just get an image editor that allows transparancy such as gimp, or Paint.NET and edit the image that came with your mod skeleton or create an image with the dimensions of 40x40. To add the image just name the image exactly the same as the class name and place it in the same folder as that cs file or else it will not locate image