Ignore:
Timestamp:
Nov 21, 2009, 9:40:29 AM (11 years ago)
Author:
Neil Muller <drnlmuller@…>
Branch:
default
Convert:
svn:b4e93282-eac8-4b8b-b765-0f5d36de2b68/trunk/rinkhals@413
Message:

Levels can include starting equipment

File:
1 edited

Legend:

Unmodified
Added
Removed
  • gamelib/equipment.py

    r380 r408  
    197197    except TypeError:
    198198        pass
     199
     200
     201EQUIP_MAP = { # Map chicken level codes to equipment
     202        1  : [],
     203        2  : [Helmet],
     204        3  : [Kevlar],
     205        4  : [Knife],
     206        5  : [Rifle],
     207        6  : [Kevlar, Helmet],
     208        7  : [Helmet, Knife],
     209        8  : [Kevlar, Knife],
     210        9  : [Kevlar, Helmet, Knife],
     211        10 : [Helmet, Rifle],
     212        11 : [Kevlar, Rifle],
     213        12 : [Kevlar, Helmet, Rifle],
     214        }
Note: See TracChangeset for help on using the changeset viewer.