Mercurial > sypikslang
comparison gamelib/products.py @ 6:826b44731323
Start of basic lab implementation.
author | Jeremy Thurgood <firxen@gmail.com> |
---|---|
date | Sun, 06 May 2012 12:48:12 +0200 |
parents | 6ab4f1ab9eab |
children | 9d61abb3cfaf |
comparison
equal
deleted
inserted
replaced
5:dd9046d0680c | 6:826b44731323 |
---|---|
2 | 2 |
3 | 3 |
4 class Product(object): | 4 class Product(object): |
5 NAME = None | 5 NAME = None |
6 PREREQUISITES = () | 6 PREREQUISITES = () |
7 ACQUISITION_CHANCE = 0.8 | |
7 | 8 |
8 def __init__(self): | 9 def __init__(self): |
9 self.points = 0 | 10 self.points = 0 |
10 | 11 |
11 def spend_points(self, points): | 12 def spend_points(self, points): |