Mercurial > sypikslang
comparison gamelib/schematics.py @ 203:4159e34d7310
Replace the mayor
author | Neil Muller <drnlmuller@gmail.com> |
---|---|
date | Sat, 12 May 2012 18:17:53 +0200 |
parents | df350c2f8c10 |
children | 8d90a63895dd |
comparison
equal
deleted
inserted
replaced
202:eb506f431979 | 203:4159e34d7310 |
---|---|
20 'INTELLIGENCE', | 20 'INTELLIGENCE', |
21 'AI', | 21 'AI', |
22 'COUNTERMEASURE', | 22 'COUNTERMEASURE', |
23 'SPACE', | 23 'SPACE', |
24 'WEATHER_MACHINE', | 24 'WEATHER_MACHINE', |
25 'CLONE', | |
25 ) | 26 ) |
26 | 27 |
27 K = 1000 | 28 K = 1000 |
28 M = 1000 * K | 29 M = 1000 * K |
29 | 30 |
374 (research.Meteorology, 15), | 375 (research.Meteorology, 15), |
375 ) | 376 ) |
376 | 377 |
377 BASE_POWER = 2200 | 378 BASE_POWER = 2200 |
378 POWER_INCREMENT = 150 | 379 POWER_INCREMENT = 150 |
380 | |
381 | |
382 class Android(Schematic): | |
383 NAME = "Lifelike Android" | |
384 COST = 50 * K | |
385 CATEGORIS = (cat.INTELLIGENCE, cat.AI, cat.CLONE) | |
386 PREREQUISITES = ( | |
387 (research.ArtificialIntelligence, 5), | |
388 (research.Robotics, 5), | |
389 ) | |
390 | |
391 BASE_POWER = 10 | |
392 POWER_INCREMENT = 1 | |
393 | |
394 PRODUCTION_RELIABILITY = 0.6 | |
395 | |
396 FAILURE_TEXT = ( | |
397 "The sudden stuttering speech and sparks from the joints are the first" | |
398 " signs that things have gone horribly wrong. The ensuing explosion" | |
399 " of the android is merely the inevitable conclusion of the diaster.") |