Mercurial > sypikslang
comparison gamelib/schematics.py @ 191:0b746c72cb5b
Weather control station.
author | Jeremy Thurgood <firxen@gmail.com> |
---|---|
date | Sat, 12 May 2012 14:56:54 +0200 |
parents | 9d7d273a278f |
children | 9e86ed5343d9 |
comparison
equal
deleted
inserted
replaced
190:9d7d273a278f | 191:0b746c72cb5b |
---|---|
18 'BEAST', | 18 'BEAST', |
19 'AQUATIC', | 19 'AQUATIC', |
20 'INTELLIGENCE', | 20 'INTELLIGENCE', |
21 'AI', | 21 'AI', |
22 'COUNTERMEASURE', | 22 'COUNTERMEASURE', |
23 'SPACE', | |
23 ) | 24 ) |
24 | 25 |
25 K = 1000 | 26 K = 1000 |
26 M = 1000 * K | 27 M = 1000 * K |
27 | 28 |
248 | 249 |
249 | 250 |
250 class SpySatellite(Schematic): | 251 class SpySatellite(Schematic): |
251 NAME = "spy satellite" | 252 NAME = "spy satellite" |
252 COST = 100 * K | 253 COST = 100 * K |
253 CATEGORIES = (cat.INTELLIGENCE,) | 254 CATEGORIES = (cat.INTELLIGENCE, cat.SPACE) |
254 PREREQUISITES = ( | 255 PREREQUISITES = ( |
255 (research.Rocketry, 5), | 256 (research.Rocketry, 5), |
256 (research.Space, 1), | 257 (research.Space, 1), |
257 ) | 258 ) |
258 | 259 |
330 | 331 |
331 | 332 |
332 class OrbitalLaserPlatform(Schematic): | 333 class OrbitalLaserPlatform(Schematic): |
333 NAME = "orbital laser platform" | 334 NAME = "orbital laser platform" |
334 COST = 10 * M | 335 COST = 10 * M |
335 CATEGORIES = (cat.DOOMSDAY_DEVICE,) | 336 CATEGORIES = (cat.DOOMSDAY_DEVICE, cat.SPACE) |
336 PREREQUISITES = ( | 337 PREREQUISITES = ( |
337 (SpySatellite, 3), | 338 (SpySatellite, 3), |
338 (research.Lasers, 15), | 339 (research.Lasers, 15), |
339 (research.Space, 5), | 340 (research.Space, 5), |
340 ) | 341 ) |
341 | 342 |
342 BASE_POWER = 1500 | 343 BASE_POWER = 1500 |
343 POWER_INCREMENT = 200 | 344 POWER_INCREMENT = 200 |
345 | |
346 | |
347 class WeatherControlStation(Schematic): | |
348 NAME = "weather control station" | |
349 COST = 15 * M | |
350 CATEGORIES = (cat.DOOMSDAY_DEVICE, cat.SPACE) | |
351 PREREQUISITES = ( | |
352 (SpySatellite, 3), | |
353 (research.Lasers, 5), | |
354 (research.Space, 8), | |
355 (research.Meteorology, 15), | |
356 ) | |
357 | |
358 BASE_POWER = 2200 | |
359 POWER_INCREMENT = 150 |