From a965b2d25eab79afb84bdfd87e46bf0feeec3792 Mon Sep 17 00:00:00 2001 From: Ron Koenderink Date: Tue, 17 Aug 2004 13:17:50 +0000 Subject: [PATCH] (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. --- include/prototypes.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/prototypes.h b/include/prototypes.h index 74b86d6d..8a2b4231 100644 --- a/include/prototypes.h +++ b/include/prototypes.h @@ -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 *);