2 * Empire - A multi-player, client/server Internet based war game.
3 * Copyright (C) 1986-2004, Dave Pare, Jeff Bailey, Thomas Ruschak,
4 * Ken Stevens, Steve McClure
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2 of the License, or
9 * (at your option) any later version.
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
16 * You should have received a copy of the GNU General Public License
17 * along with this program; if not, write to the Free Software
18 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
22 * See the "LEGAL", "LICENSE", "CREDITS" and "README" files for all the
23 * related information and legal notices. It is expected that any future
24 * projects/authors will amend these files as needed.
28 * product.c: Product information
30 * Known contributors to this file:
42 struct pchrstr pchr[] = {
43 /* level cost nrndx nrdep nlndx nlmin nllag effic sname name */
44 {{I_NONE, I_NONE, I_NONE}, {0, 0, 0},
45 0, 0, 0, 0, 0, 0, 0, 0, 0,
47 {{I_LCM, I_HCM, I_NONE}, {2, 1, 0},
48 I_SHELL, -1, 3, 0, 0, NAT_TLEV, 20, 10, 100,
50 {{I_OIL, I_LCM, I_HCM}, {1, 5, 10},
51 I_GUN, -1, 30, 0, 0, NAT_TLEV, 20, 10, 100,
53 {{I_OIL, I_NONE, I_NONE}, {1, 0, 0},
54 I_PETROL, -1, 1, 0, 0, NAT_TLEV, 20, 10, 1000,
56 {{I_NONE, I_NONE, I_NONE}, {0, 0, 0},
57 I_IRON, -1, 0, offsetof(struct sctstr, sct_min), 0, -1, 0, 0, 100,
59 {{I_NONE, I_NONE, I_NONE}, {0, 0, 0},
60 I_DUST, -1, 0, offsetof(struct sctstr, sct_gmin), 20, -1, 0, 0, 100,
61 "gold dust", "dust",},
62 {{I_DUST, I_NONE, I_NONE}, {5, 0, 0},
63 I_BAR, -1, 10, 0, 0, -1, 0, 0, 100,
64 "gold bars", "bars",},
65 {{I_NONE, I_NONE, I_NONE}, {0, 0, 0},
66 I_FOOD, -1, 0, offsetof(struct sctstr, sct_fertil), 0, NAT_TLEV, -10, 10, 900,
68 {{I_NONE, I_NONE, I_NONE}, {0, 0, 0},
69 I_OIL, -1, 0, offsetof(struct sctstr, sct_oil), 10, NAT_TLEV, -10, 10, 100,
71 {{I_IRON, I_NONE, I_NONE}, {1, 0, 0},
72 I_LCM, -1, 0, 0, 0, NAT_TLEV, -10, 10, 100,
73 "light construction materials", "lcm",},
74 {{I_IRON, I_NONE, I_NONE}, {2, 0, 0},
75 I_HCM, -1, 0, 0, 0, NAT_TLEV, -10, 10, 100,
76 "heavy construction materials", "hcm",},
77 {{I_DUST, I_OIL, I_LCM}, {1, 5, 10},
78 0, NAT_TLEV, 300, 0, 0, NAT_ELEV, 5, 10, 100,
79 "technological breakthroughs", "tech",},
80 {{I_DUST, I_OIL, I_LCM}, {1, 5, 10},
81 0, NAT_RLEV, 90, 0, 0, NAT_ELEV, 5, 10, 100,
82 "medical discoveries", "medical",},
83 {{I_LCM, I_NONE, I_NONE}, {1, 0, 0},
84 0, NAT_ELEV, 9, 0, 0, -1, 0, 0, 100,
85 "a class of graduates", "edu",},
86 {{I_LCM, I_NONE, I_NONE}, {1, 0, 0},
87 0, NAT_HLEV, 9, 0, 0, -1, 0, 0, 100,
88 "happy strollers", "happy",},
89 {{I_NONE, I_NONE, I_NONE}, {0, 0, 0},
90 I_RAD, -1, 2, offsetof(struct sctstr, sct_uran), 35, NAT_TLEV, 40, 10, 100,
91 "radioactive materials", "rad",},
92 {{I_NONE, I_NONE, I_NONE}, {0, 0, 0},
93 I_DUST, -1, 0, offsetof(struct sctstr, sct_gmin), 20, -1, 0, 0, 75,
94 "gold dust", "dust",},
95 {{I_NONE, I_NONE, I_NONE}, {0, 0, 0},
96 0, 0, 0, 0, 0, 0, 0, 0, 0, "", "",}
99 int prd_maxno = (sizeof(pchr) / sizeof(struct pchrstr)) - 1;