 
   game.mode = 'survival'
 
-  playerInventory = new Inventory(10, 5)
   #playerInventory.give new ItemPile('stick', 32)
   #playerInventory.give new ItemPile('logOak', 10)
   #playerInventory.give new ItemPile('plankOak', 10)

    ['tree.leaves', 'tree.leaves', 'tree.leaves'],
    [undefined, 'stick', undefined],
    [undefined, 'stick', undefined]], new ItemPile('pickaxeDiamond', 1))


  game.materials.load registry.getBlockPropsAll 'texture'

  registry.registerBlock 'plankOak', {texture: 'planks_oak'}
  registry.registerBlock 'logBirch', {texture: ['log_birch_top', 'log_birch_top', 'log_birch'], hardness:8} # TODO: generate

  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 PositionalRecipe([
    ['wood.plank', 'wood.plank', 'wood.plank'],
