(prod_eff): New, factored out of produce() and prod().

(upd_ship): Oil and food production used special rules that didn't
match ordinary production and didn't make much sense.  Made them
follow ordinary production rules.  This puts uw and mil to work, and
makes ship tech and efficiency relevant to production.  Closes #917461
and #955072.
This commit is contained in:
Ron Koenderink 2004-08-17 13:17:50 +00:00
parent 09486ad3ed
commit a965b2d25e

View file

@ -604,6 +604,7 @@ extern int prod_plane(int, int, int *, int);
extern void populace(struct natstr *, register struct sctstr *, int);
extern int total_work(register int, register int, register int,
register int, register int);
extern double prod_eff(struct pchrstr *, float);
/* prepare.c */
extern void tax(struct sctstr *, struct natstr *, int, long *, int *,
int *, int *);