Age che just like reserves (1% per 24 ETUs)
Factor aging out of age_levels() into new age_people(). Use it in do_feed() to age che.
This commit is contained in:
parent
a090b7878a
commit
cacc393c53
3 changed files with 12 additions and 9 deletions
|
@ -114,6 +114,9 @@ do_feed(struct sctstr *sp, struct natstr *np, short *vec,
|
|||
if (!player->simulation)
|
||||
sp->sct_work = sctwork;
|
||||
grow_people(sp, etu, np, &work_avail, sctwork, vec);
|
||||
/* age che */
|
||||
if (!player->simulation)
|
||||
sp->sct_che = age_people(sp->sct_che, etu);
|
||||
}
|
||||
if (manna)
|
||||
/* Take away food we conjured up */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue