var textMessages = { 
    'skills':{
      'jumpBuilding': { 'player': { 'fail' : ["You can't find a way between these buidlings"],
                                    'learn' : 
                                                                ['You think you are getting better at moving between buildings'] 
                               } 
                               },
                               'punch':{ 'player': { 'pass' : ['You hit the zombie!'],
                                 'fail' : ['You fail to hit the zombie.'] },
                                 'zombie': { 'pass' : ['A zombie manages to hit you.'],
                                   'fail' : ['A zombie tries to hit you but fails.'] }  
                               },      
                               'kick':{ 'player': { 'pass' : ['You hit the zombie!'],
                                 'fail' : ['You fail to hit the zombie.'] }
                               }, 							   
                               'bite':{ 'zombie': { 'pass' : ['A zombie bites you.'],
                                 'fail' : ['A zombie fails to bite you.'] }
                               },
							   'animation':{ 'zombie': { 
                                 'fail' : ["A zombie falls to the ground it's mockery of life ended.",
								 'A zombie sways and then crumples into heap'] }
                               },
                               'dodge': { 'player': { 'learn' : [ 'Your reactions are getting faster.' ] } 
                               },
                               'pistol': 
                               {
                                 'player' : 
                                 {
                                  'pass': [ 'Your pistol shot strikes true.' ],
                                  'fail': [ 'You fail to hit the zombie.' ],
                                  'learn' : [ 'You think you are getting the hang of shooting your pistol.']
                                 }
                               },
							   'chainsaw': 
                               {
                                 'player' : 
                                 {
                                  'pass': [ 'Vvrrrrrmmmmmm. Squish.', 'Chainsaw meet zombie, zombie chainsaw.... oooops',
										    "Oh yeah. I think we'll call you Mr Slicey" ],
                                  'fail': [ "You'd think those things would be easier to hit.", "Oh well if at first you don't succeed..." ],
                                  'learn' : [ 'Yup, this seems easy enough, swing, slice, splat',
									'The longer you use you chainsaw the quicker it seems to move' ]
                                 }
                               },
							   'first aid':
							   {
								'player' :
								{
									'pass': [ 'After a few minutes work the pain from this wound seems less'],
									'fail': [ "Try what you might you can't make this feel better" ],
									'learn' : [ 'You seem to be getting a steady hand when it comes to bandaging' ]
								}
							   }
  } };
  
var textDamageDesc = { 'player' :{ 'upper' : { 1:['a minor scrape on your arm'],
    2:['a nasty cut to your torso'],
    3:['a large gash on your shoulder that bleeds profusely'],
    4:['a crushing blow to your arm leaving it heavily bruised and possibly broken'],
    5:['a gaping wound in your chest revealing you ribs beneath.']},
    'lower' : { 1:['a minor scrape on your leg'],
      2:['a nasty cut just above your groin'],
      3:['a large gash on your thigh that bleeds profusely'],
      4:['a crushing blow to your leg leaving it heavily bruised and possibly broken'],
      5:['a gaping wound from your groin to your knee, bone can just be seen below']},
      'head' : { 1:['a minor scrape on your neck'],
        2:['a nasty cut to your scalp'],
        3:['a large gash along your jaw'],
        4:['a crushing blow you your skull, sending shooting pains through your body'],
        5:['a disfiguring scar down your face, the skin hanging ragged']},
        'base' : ['You suffer ', 'You take ','You receive ']
  },
  'zombie' :{ 'upper' : { 1:['a minor scrape on their arm'],
    2:['a nasty cut to their torso'],
    3:['a large gash on their shoulder that oozes black ichor'],
    4:['a crushing blow to their arm causing pieces to fall off'],
    5:['a gaping wound in their chest chrushing some of their rib cage']},
    'lower' : { 1:['a minor scrape on their leg'],
      2:['a nasty cut just above their groin'],
      3:['a large gash on their thigh that drips maggots'],
      4:['a crushing blow to their leg causing them to wobble on their feet'],
      5:['a gaping wound from their groin to their knee, shards of bone jut out']},
      'head' : { 1:['a minor scrape on their neck'],
        2:['a nasty cut to their scalp'],
        3:['a large gash along their jaw knocking it loose'],
        4:['a crushing blow you their skull, brains slowly drip from the hole'],
        5:['a horrific blow to he face ripping a huge chunk of skin off']},
        'base' : ['They suffer ', 'They take ','They receive ']
  }

};

var zombieDamage = 
{ 
  0: [ 'zombie' ],
  1: [ 'swaying zombie' ], 
  2: [ 'oozing zombie'], 
  3: [ 'limping zombie' ] , 
  4: [ 'broken zombie' ], 
  5: [ 'crawling zombie' ] 
};

  


