Mercurial > sypikslang
comparison gamelib/schematics.py @ 151:372d886f9e70
New suggest_research() method on Lab.
author | Jeremy Thurgood <firxen@gmail.com> |
---|---|
date | Fri, 11 May 2012 20:06:36 +0200 |
parents | 3abb05f7e720 |
children | f1efd252e8b0 |
comparison
equal
deleted
inserted
replaced
150:0090ecf08544 | 151:372d886f9e70 |
---|---|
17 'MIND_CONTROL', | 17 'MIND_CONTROL', |
18 'BEAST', | 18 'BEAST', |
19 'AQUATIC', | 19 'AQUATIC', |
20 'INTELLIGENCE', | 20 'INTELLIGENCE', |
21 'AI', | 21 'AI', |
22 'COUNTERMEASURE', | |
22 ) | 23 ) |
23 | 24 |
24 K = 1000 | 25 K = 1000 |
25 M = 1000 * K | 26 M = 1000 * K |
26 | 27 |
187 (research.ArtificialIntelligence, 3), | 188 (research.ArtificialIntelligence, 3), |
188 ) | 189 ) |
189 | 190 |
190 | 191 |
191 class LaserGun(Schematic): | 192 class LaserGun(Schematic): |
192 NAME = "Laser Gun" | 193 NAME = "laser gun" |
193 COST = 300 | 194 COST = 300 |
194 CATEGORIES = (cat.HAND_WEAPON,) | 195 CATEGORIES = (cat.HAND_WEAPON,) |
195 PREREQUISITES = ( | 196 PREREQUISITES = ( |
196 (research.Lasers, 2), | 197 (research.Lasers, 2), |
198 ) | |
199 | |
200 | |
201 class EmpMissile(Schematic): | |
202 NAME = "EMP missile" | |
203 COST = 1500 | |
204 CATEGORIES = (cat.COUNTERMEASURE,) | |
205 PREREQUISITES = ( | |
206 (research.Electrickery, 5), | |
207 (research.Rocketry, 2), | |
197 ) | 208 ) |
198 | 209 |
199 | 210 |
200 class DoomsdayVirus(Schematic): | 211 class DoomsdayVirus(Schematic): |
201 NAME = "doomsday virus" | 212 NAME = "doomsday virus" |