(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:
parent
09486ad3ed
commit
a965b2d25e
1 changed files with 1 additions and 0 deletions
|
@ -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 *);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue