#!/usr/bin/python3

armor= { 'None' : 9, 'Leather' : 7, 'Leather, Shield' : 6, 'Chain' : 5, 'Chain, Shield' : 4, 'Plate' : 3, 'Plate, Shield' : 2 }

weapons = [
    { 'name' : 'battle axe',   'damage-dice' : 8,  'traits' : [ 'melee', 'slow', 'two-handed' ] },
    { 'name' : 'club',         'damage-dice' : 4,  'traits' : [ 'melee', 'blunt' ] },
    { 'name' : 'crossbow',     'damage-dice' : 6,  'traits' : [ 'missile', 'reload','slow','two-handed'], 'ammo' : '20 bolts'},
    { 'name' : 'hand axe',     'damage-dice' : 6,  'traits' : [ 'melee', 'missile'] },
    { 'name' : 'mace',         'damage-dice' : 6,  'traits' : [ 'melee', 'blunt' ] },
    { 'name' : 'pole arm',     'damage-dice' : 10, 'traits' : [ 'melee', 'brace', 'slow', 'two-handed' ] },
    { 'name' : 'short bow',    'damage-dice' : 6,  'traits' : [ 'missile', 'two-handed' ], 'ammo' : '20 arrows'},
    { 'name' : 'short sword',  'damage-dice' : 6,  'traits' : [ 'melee' ] },
    { 'name' : 'silver dagger','damage-dice' : 4,  'traits' : [ 'melee', 'missile' ] },
    { 'name' : 'sling',        'damage-dice' : 4,  'traits' : [ 'missile', 'blunt' ], 'ammo' : '20 stones'},
    { 'name' : 'staff',        'damage-dice' : 4,  'traits' : [ 'melee', 'blunt', 'slow', 'two-handed' ] },
    { 'name' : 'spear',        'damage-dice' : 6,  'traits' : [ 'melee', 'missile', 'brace' ] },
    { 'name' : 'sword',        'damage-dice' : 8,  'traits' : [ 'melee' ] },
    { 'name' : 'war hammer',   'damage-dice' : 6,  'traits' : [ 'melee', 'blunt' ] }
]

adventuring_gear = [ 
    "crowbar", "hammer (small)+12 iron spikes", "holy water", "lantern+3 flasks of oil", "mirror (small, steel)", "pole (10' long, wooden)", 
    "rope (50')", "rope (50')+grappling hook", "sack (large)", "sack (small)", "stakes (3)+mallet", "wolfsbane (1 bunch)"
    ]
