kyrasantae: (Default)
[personal profile] kyrasantae
not like my lame attempt at geekiness:

/*
 * Shortbread v2.2
 * ----------------------
 * Author: MrTrick
 * Date: 2005-07-27
 * Filename: shortbread.recipe
 * 
 * This recipe is licensed under the BSD (Bad-for-you Snack Distribution) license.
 * Permission is freely granted for any person to compile (cook) this recipe.
 * Permission is freely granted for any person to distribute this recipe in source (text) form.
 * Permission is granted for any person to distribute binary (biscuit) forms of this recipe, provided
 * the source (text) form is also offered to all recipients.
 * Permission is granted for any person to alter and republish the source form of this recipe, as long
 * as this license is not removed.
**/

recipe Shortbread
{
	butter = Butter( 250 * grams );
	flour = PlainFlour( 2 * cups );
	sugar = CasterSugar( .33 * cups );
	rice_flour = RiceFlour( .5 * cups );
	vanilla = VanillaEssence( .5 * teaspoons )
	
	method ()
	{
		bowl1 = MediumBowl({butter});
		bowl1.melt(MICROWAVE);
		bowl1.add({sugar, vanilla});
		bowl1.mix(SPOON);
		
		bowl2 = MediumBowl({flour, rice_flour});
		bowl2.mix();
		bowl2.add( bowl1 );
		
		while (bowl2.consistency() != POWDER)		
			bowl2.mix(ELECTRIC_BEATER);
		
		tray1 = Tray( 40*cm, 30*cm );
		tray1.grease(OIL_SPRAY, LIGHT);
		
		tray1.add( bowl2 );
		tray1.level(SPOON, SPREAD_EVENLY);
		tray1.cover( GLAD_BAKE | WAXED_PAPER );
		
		pin = RollingPin();
		while (tray1.consistency() != DOUGHY)
			tray1.level(pin, FLATTEN); 
		
		tray1.uncover();
		
		knife = Knife(LONG & SHARP);
		tray1.cut_pattern(knife, RECTANGLES);
		
		oven = Oven( 150 * celsius );
		oven.add(tray1);
		
		if (oven.type() == FAN_FORCED) 
			wait(35 * minutes);
		else 
			wait(45 * minutes);
		
		tray1.cool();
		wait(15 * minutes);
		
		rack = WireRack();
		
		tray1.cover(rack);
		tray1.flip( UPSIDE_DOWN );
		rack.add( tray1.contents );
		
		biscuits = rack.contents.breakIntoPieces(RECTANGLES);
		biscuits -= 1; //Hey, you have to eat a few of them.
		
		container = StorageContainer();
		container.add(biscuits);
	}
}


I'm only going to post my interpretation of the instructions if you folks can't figure it out on your own. It's fairly intuitive.

Profile

kyrasantae: (Default)
kyrasantae

July 2013

S M T W T F S
 1234 56
78910111213
14151617181920
21222324252627
28293031   

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Jan. 21st, 2026 07:55 pm
Powered by Dreamwidth Studios