title: Text Based Python RPG - Storing Weapons
body: <p>I am new to programming and I am teaching myself Python and as a hobby I am making a text-based RPG. </p>
  
  <p>My question is this; I want to store a list of weapons, armours etc that can be easily edited without screwing up my whole program. My thinking is that I make a separate module for them <code>equipment.py</code> and store them in a list like;</p>
  
  <pre><code>equipment = [ 
  #Longsword
  w1 = 15
  #Axe
  w2 = 17
  ]
  </code></pre>
  
  <p>I would just import this and use the values assigned to them would be used in whatever combat engine I decide to create. Is this even correct? Terrible coding conventions? I have much to learn and any wisdom you have to share is much appreciated.</p>
  
  <p>EDIT: From the excellent answer below I have started it code it, how does my code look?</p>
  
  <pre><code>equipment = {
  
  'Longsword':     {  'cost': 50,
                      'damage': 19,
                      'element': 'physical',
                      'description': 'Long steel blade used by the knights of Coamrin. The weight allows it to cleave foes with relative ease.'}
  
  'Estoc':        {   'cost': 45,
                      'damage': 17,
                      'element': 'physical',
                      'description': 'Expertly crafted thin, steel blade designed for thrust and swiping motions.'}
  
  }
  </code></pre>
  
  <p>Any tips? I have read through <a href="http://www.python.org/dev/peps/pep-0008/" rel="nofollow">PEP 8</a> but my knowledge is not good enough or there is nothing specific enough to help in this particular case</p>