Mercurial > sypikslang
diff 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 |
line wrap: on
line diff
--- a/gamelib/schematics.py Sat May 12 17:56:49 2012 +0200 +++ b/gamelib/schematics.py Sat May 12 18:17:53 2012 +0200 @@ -22,6 +22,7 @@ 'COUNTERMEASURE', 'SPACE', 'WEATHER_MACHINE', + 'CLONE', ) K = 1000 @@ -376,3 +377,23 @@ BASE_POWER = 2200 POWER_INCREMENT = 150 + + +class Android(Schematic): + NAME = "Lifelike Android" + COST = 50 * K + CATEGORIS = (cat.INTELLIGENCE, cat.AI, cat.CLONE) + PREREQUISITES = ( + (research.ArtificialIntelligence, 5), + (research.Robotics, 5), + ) + + BASE_POWER = 10 + POWER_INCREMENT = 1 + + PRODUCTION_RELIABILITY = 0.6 + + FAILURE_TEXT = ( + "The sudden stuttering speech and sparks from the joints are the first" + " signs that things have gone horribly wrong. The ensuing explosion" + " of the android is merely the inevitable conclusion of the diaster.")