package net.shadowfacts.foodies.item;

import cpw.mods.fml.common.registry.GameRegistry;

/**
 * Helper class for registering items.
 * @author shadowfacts
 */
public class FItems {
	// Foods
	public static Food toast;
	public static Food tomato;
	public static Food beefPattie;
	public static Food hamburger;
	public static Food cheese;
	public static Food cheeseburger;
	public static Food lettuce;

	public static void preInit() {
		// Create Items
		toast = new Food(3, 0.3f).setUnlocalizedName("foodToast").setTextureName("foodToast");
		tomato = new Food(1, 0.1f).setUnlocalizedName("fruitTomato").setTextureName("fruitTomato");
		beefPattie = new Food(3, 0.6f).setUnlocalizedName("foodBeefPattie").setTextureName("foodBeefPattie");
		hamburger = new Food(5, 0.7f).setUnlocalizedName("foodHamburger").setTextureName("foodHamburger");
		cheese = new Food(2, 0.3f).setUnlocalizedName("foodCheese").setTextureName("foodCheese");
		cheeseburger = new Food(10, 0.8f).setUnlocalizedName("foodCheeseburger").setTextureName("foodCheeseburger");
		lettuce = new Food(1, 0.1f).setUnlocalizedName("vegeLettuce").setTextureName("vegeLettuce");

		// Register items
		GameRegistry.registerItem(toast, "foodToast");
		GameRegistry.registerItem(tomato, "fruitTomato");
		GameRegistry.registerItem(beefPattie, "foodBeefPattie");
		GameRegistry.registerItem(hamburger, "foodHamburger");
		GameRegistry.registerItem(cheese, "foodCheese");
		GameRegistry.registerItem(cheeseburger, "foodCheeseburger");
		GameRegistry.registerItem(lettuce, "vegeLettuce");
	}

	public static void load() {

	}

	public static void postInit() {

	}
}

@@ -393,16 +393,56 @@
 lettuce;
+%0A%09public static Food deluxeCheeseburger;
 %0A%0A%09publi
@@ -1170,16 +1170,145 @@
 ttuce%22);
+%0A%09%09deluxeCheeseburger = new Food(15, 1.0f).setUnlocalizedName(%22foodDeluxeCheeseburger%22).setTextureName(%22foodDeluxeCheeseburger%22);
 %0A%0A%09%09// R
@@ -1705,16 +1705,91 @@
 tuce%22);%0A
+%09%09GameRegistry.registerItem(deluxeCheeseburger, %22foodDeluxeCheeseburger%22);%0A
 %09%7D%0A%0A%09pub

Add lettuce and deluxe cheeseburger