]> git.pond.sub.org Git - empserver/blob - src/lib/global/nuke.c
Update copyright notice.
[empserver] / src / lib / global / nuke.c
1 /*
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
5  *
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.
10  *
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.
15  *
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
19  *
20  *  ---
21  *
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.
25  *
26  *  ---
27  *
28  *  nuke.c: Nuke characteristics
29  * 
30  *  Known contributors to this file:
31  *     
32  */
33
34 #include "misc.h"
35 #include "nuke.h"
36
37
38 struct nchrstr nchr[N_MAXNUKE] = {
39     /* name         lcm  hcm  oil  rads blst dam    cost  tech lbs flags */
40     {"10kt  fission", 50, 50, 25, 70, 3, 70, 10000, 280, 4, 0},
41     {"15kt  fission", 50, 50, 25, 80, 3, 90, 15000, 290, 5, 0},
42     {"50kt  fission", 60, 60, 30, 90, 3, 100, 25000, 300, 6, 0},
43     {"100kt fission", 75, 75, 40, 120, 4, 125, 30000, 310, 8, 0},
44     {"5kt   fusion", 15, 15, 15, 30, 2, 80, 12500, 315, 1, 0},
45     {"75kt  fusion", 40, 40, 35, 50, 3, 90, 20000, 320, 3, 0},
46     {"250kt fusion", 50, 50, 45, 60, 4, 110, 25000, 330, 4, 0},
47     {"500kt fusion", 60, 60, 50, 80, 5, 120, 35000, 340, 5, 0},
48     {"1mt   fusion", 75, 75, 50, 110, 6, 150, 40000, 350, 5, 0},
49     {"60kt  neutron", 60, 60, 30, 100, 3, 30, 30000, 355, 2, N_NEUT},
50     {"3mt   fusion", 100, 100, 75, 130, 7, 170, 45000, 360, 6, 0},
51     {"5mt   fusion", 120, 120, 100, 150, 8, 190, 50000, 370, 8, 0},
52     {"120kt neutron", 75, 75, 40, 120, 5, 50, 36000, 375, 3, N_NEUT},
53     {"", 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
54     {"", 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}
55 };
56
57 int nuk_maxno = (sizeof(nchr) / sizeof(struct nchrstr)) - 1;