Mercurial > sypikslang
comparison gamelib/products.py @ 24:23720d0fd9a0
Make SCIENCE_TYPE explicit.
author | Jeremy Thurgood <firxen@gmail.com> |
---|---|
date | Sun, 06 May 2012 19:17:04 +0200 |
parents | 718d1ec382f7 |
children | 00aff02bc6fc |
comparison
equal
deleted
inserted
replaced
23:f6a3b213857b | 24:23720d0fd9a0 |
---|---|
6 PREREQUISITES = () | 6 PREREQUISITES = () |
7 ACQUISITION_CHANCE = 0.8 | 7 ACQUISITION_CHANCE = 0.8 |
8 COST = 0 | 8 COST = 0 |
9 UPGRADE_REQUIREMENT = 1 | 9 UPGRADE_REQUIREMENT = 1 |
10 STARTING_PRODUCT = False | 10 STARTING_PRODUCT = False |
11 SCIENCE_TYPE = 'product' | |
11 | 12 |
12 def __init__(self, points=0): | 13 def __init__(self, points=0): |
13 self.points = points | 14 self.points = points |
14 | 15 |
15 def spend_point(self): | 16 def spend_point(self): |