]> git.pond.sub.org Git - empserver/commitdiff
(prod_eff): New, factored out of produce() and prod().
authorRon Koenderink <rkoenderink@yahoo.ca>
Tue, 17 Aug 2004 13:17:50 +0000 (13:17 +0000)
committerRon Koenderink <rkoenderink@yahoo.ca>
Tue, 17 Aug 2004 13:17:50 +0000 (13:17 +0000)
(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

index 74b86d6d1277074798f0d1f6fd9f64a386a77fd4..8a2b4231fa74666dd13eccc97e5aaefbf99ebe6f 100644 (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 *);