Monday, January 25, 2010

Hard-Boiled Eggs

This is a basic recipe that is intended for use with more complex recipes.
ingredients = {
:eggs => you.decide
}

pot << :water
pot.element.set_heat :high

if pot.boiling?
# this means don't break the eggs :P
pot.insert :eggs, :with => :shell
end

you.wait 10.minutes

pot.element.set_heat :off
pot.remove :water

unless you.can_wait?
cold_tap.turn_on
you.put :eggs, :under => :tap
else
you.wait 10.minutes
end

eggs.remove_shell

you.eat

Sunday, January 24, 2010

Poached Eggs

This is a very basic recipe, intended as a building block for more complex recipes.

ingredients = {
:eggs => 2,

# vinegar helps keep the eggs from coming apart
:vinegar => 1.tbsp
}

pot << :water
pot.set_heat :high

if pot.boiling?
pot << :vinegar
pot.set_heat :medium
end

if pot.simmering?
ladle << (you.crack :eggs)
pot.submerge ladle
end

if pot.eggs.cooked?
pot.remove :eggs, :with => :slotted_spoon
end

you.eat

Monday, January 18, 2010

Egg-fried Rice

require "white_rice"

ingredients = {
:white_rice => 1.recipe,
:olive_oil => 2.tbsp, # you can use vegetable oil if you like
:garlic => 1.clove,
:soy_sauce => 2.tbsp,
:eggs => 2,

# use whatever vegetables you like here,
# this is a list of suggestions
:corn => 0.5.cups,
:peas => 0.5.cups,
:carrots => 1,
:snow_peas => 1.cup
}

if you.like? :garlic, :a_lot
ingredients[:garlic] += 1.clove
end

if not you.have? :fresh_ginger
ingredients[:ginger_powder] = 2.tsp
else
ingredients[:ginger] = 1.tsp
end

you.make :white_rice

you.chop :garlic, :finely or you.press :garlic
you.chop :ginger, :finely if you.have? :fresh_ginger

pan << :olive_oil << :garlic << :ginger << :soy_sauce
pan.element.set_heat :medium_low

you.wait 1.minute

while pot.contains? :rice
pan << pot.remove(:rice, :amount => 1.wooden_spoonful)
you.stir
end

pan << :vegetables

eggs.each do |egg|
pan << egg
you.stir
end

you.wait until egg.cooked

you.eat

Sunday, January 17, 2010

Shepherd's Pie

require 'mashed_potatoes'

ingredients = {
:mashed_potatoes => 1.recipe, # do this exactly like in the other recipe
:ground_beef => 0.5.pounds,

# for the vegetables, use whichever ones you want
# these are the ones I like
:corn => 1.cup,
:carrots => 1,
:peas => 1.cup,

:worcestershire_sauce => 2.tbsp,
:chili_powder => 2.tbsp,
:paprika => 1.dash,
:cheese => you.decide,
}

you.peel :carrot
you.slice :carrot, :into => :small_pieces

pan << :ground_beef << :worcestershire_sauce << :chili_powder << :carrot << :peas << :corn
pan.element.set_heat :medium

class Meat
def cooked?
not self.red?
end
end

until meat.cooked?
you.stir :occasionally, :with => :wooden_spoon
end

casserole_dish << :meat_mixture

casserole_dish << :mashed_potatoes
you.spread :mashed_potatoes, :evenly

casserole_dish << :paprika

you.grate :cheese
casserole_dish << :grated_cheese

if not food.hot?
oven.turn_on 150 # doesn't need a very high heat
oven << casserole_dish until food.hot?
end

you.eat

Saturday, January 16, 2010

Hash Browns

ingredients = {
:potatoes => 3,
(:olive_oil or :vegetable_oil or :butter) => 3.tbsp,
:chili_powder => you.decide, # I like to use a fair bit of chili powder,
# but it is slightly spicy so you may not
:oregano => you.decide,
:salt => you.decide
}

unless you.like? :potato_skins
you.peel :potatoes
end

you.slice :potatoes, :into => 1.cm.cubes

pan << :oil
pan.element.set_heat :medium

you.wait 1.minute

pan << :sliced_potatoes

you.stir until potatoes.slightly_coated?

pan << :chili_power << :oregano << :salt

10.minutes do
# you have to stir constantly or the potatoes get stuck to the
# bottom of the pan, or they might burn
you.stir :constantly, :with => :wooden_spoon

break if potatoes.cooked?
end

you.wait until not potatoes.hot?
you.eat

Friday, January 15, 2010

Mashed Potatoes

ingredients = {
:potatoes => 6,
:milk => 1.cup,
:butter => 2.tbsp
}

unless you.like :potato_skins
you.peel :potatoes
end

you.cut :potatoes, :small_pieces

pot << water
pot.element.set_heat :high

if pot.boiling
pot << :cut_potatoes
end

class Potato
def soft?
you.poke :potato, :with => :fork and potato.falls_off? :fork
end
end

you.wait until potatoes.soft? # usually about 20 minutes

strainer << pot.contents
pot << strainer.contents << :milk << :butter

you.mash :potatoes, :with => (:fork or :potato_masher)
you.eat

Thursday, January 14, 2010

Spaghetti with Basil

ingredients = {
:spaghetti => 1.package,
:basil => 4.tbsp,
:garlic_salt => 2.tsp,
:parmesan => 1.tbsp,
:olive_oil => 2.tbsp
}

pot << :water
pot.element.set_heat :high

if pot.boiling?
pot << :spaghetti
pot.element.set_heat :medium
end

until pot.spaghetti == :soft
you.stir :occasionally
end

strainer.contents = pot.empty
pot.contents = strainer.empty

pot << :everything_else

you.stir
you.eat