Place the washed rice, as much water as needed, butter, ketchup, onion, corn, peas, ham and some salt and pepper into the rice cooker pot, and mix together. Then set the rice cooker to cook on the White Rice or Quick Cooking function. Fluff the rice with a rice spatula when it is ready, and set aside.