[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [glob2-devel] upgrade times
From: |
Stéphane Magnenat |
Subject: |
Re: [glob2-devel] upgrade times |
Date: |
Sun, 3 May 2009 13:47:01 +0200 |
User-agent: |
KMail/1.9.10 |
Hello,
Here are some ideas on how we could implement the aging mechanism.
Let us have an "age" variable for every unit. The value of this variable
always increases with time, but not at a constant speed. If this variable
reaches a limit, the unit dies.
The parameters that could affect the increase rate of this variables could be
the followings:
- the level of the hospitals (anyone for the rejuvenilation building? ;-) ),
- when starving, the age increases faster,
- if walking on a paving area, the age increases slower,
- if unit has fruits, the age increases slower (subject to balance of course).
Have a nice day,
Steph
--
http://stephane.magnenat.net