comparison gamelib/equipment.py @ 422:ab4fc3fe0f96

chickens scatter; chop wood
author Adrianna Pińska <adrianna.pinska@gmail.com>
date Sat, 21 Nov 2009 15:35:23 +0000
parents 8f012ef1f64f
children 97dd557504a2
comparison
equal deleted inserted replaced
421:e65536ca215b 422:ab4fc3fe0f96
135 BASE_HIT = 70 135 BASE_HIT = 70
136 RANGE_PENALTY = 0 136 RANGE_PENALTY = 0
137 137
138 CHICKEN_IMAGE_FILE = 'sprites/equip_knife.png' 138 CHICKEN_IMAGE_FILE = 'sprites/equip_knife.png'
139 139
140 class Axe(Weapon):
141 TYPE = "AXE"
142 NAME = "Axe"
143 BUY_PRICE = 50
144 SELL_PRICE = 30
145
146 RANGE = 1
147 BASE_HIT = 25
148 RANGE_PENALTY = 0
149
150 CHICKEN_IMAGE_FILE = 'sprites/equip_axe.png'
151
140 class Armour(Equipment): 152 class Armour(Equipment):
141 IS_ARMOUR = True 153 IS_ARMOUR = True
142 DRAW_LAYER = 5 154 DRAW_LAYER = 5
143 155
144 def __init__(self): 156 def __init__(self):
240 8 : [Kevlar, Knife], 252 8 : [Kevlar, Knife],
241 9 : [Kevlar, Helmet, Knife], 253 9 : [Kevlar, Helmet, Knife],
242 10 : [Helmet, Rifle], 254 10 : [Helmet, Rifle],
243 11 : [Kevlar, Rifle], 255 11 : [Kevlar, Rifle],
244 12 : [Kevlar, Helmet, Rifle], 256 12 : [Kevlar, Helmet, Rifle],
257 13 : [Axe],
258 14 : [Helmet, Axe],
259 15 : [Kevlar, Axe],
260 16 : [Kevlar, Helmet, Axe],
245 } 261 }