   registry.registerBlock 'plankOak', {texture: 'planks_oak'}
   registry.registerBlock 'logBirch', {texture: ['log_birch_top', 'log_birch_top', 'log_birch'], hardness:8} # TODO: generate
 
-  registry.registerBlock 'workbench', {texture: ['crafting_table_top', 'planks_oak', 'crafting_table_side']}
-
   registry.registerItem 'pickaxeWood', {itemTexture: '../items/wood_pickaxe', speed: 2.0} # TODO: fix path
   registry.registerItem 'pickaxeDiamond', {itemTexture: '../items/diamond_pickaxe', speed: 10.0}
   registry.registerItem 'stick', {itemTexture: '../items/stick'}
 
   # recipes TODO: move to registry?
+  registry.recipes = RecipeLocator
+  registry.thesaurus = CraftingThesaurus
   CraftingThesaurus.registerName 'wood.log', new ItemPile('logOak')
   CraftingThesaurus.registerName 'wood.log', new ItemPile('logBirch')
   CraftingThesaurus.registerName 'wood.plank', new ItemPile('plankOak')
   CraftingThesaurus.registerName 'tree.leaves', new ItemPile('leavesOak')
   RecipeLocator.register new AmorphousRecipe(['wood.log'], new ItemPile('plankOak', 2))
   RecipeLocator.register new AmorphousRecipe(['wood.plank', 'wood.plank'], new ItemPile('stick', 4))
-  RecipeLocator.register new AmorphousRecipe(['wood.plank', 'wood.plank', 'wood.plank', 'wood.plank'], new ItemPile('workbench', 1))
 
   RecipeLocator.register new PositionalRecipe([
     ['wood.plank', 'wood.plank', 'wood.plank'],

  inventoryHotbar = plugins.load 'inventory-hotbar', {inventory:playerInventory, inventorySize:10}

  inventoryDialog = plugins.load 'inventory-dialog', {playerInventory:playerInventory}

  workbenchDialog = plugins.load 'workbench', {playerInventory:playerInventory}

  REACH_DISTANCE = 8
  reach = game.plugins.load 'reach', { reachDistance: REACH_DISTANCE }


  game.mode = 'survival'

  #playerInventory.give new ItemPile('stick', 32)
  #playerInventory.give new ItemPile('logOak', 10)
  #playerInventory.give new ItemPile('plankOak', 10)
